[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <63220732.500a0220.f190b.97f9@mx.google.com>
Date: Wed, 14 Sep 2022 18:54:08 +0200
From: Christian Marangi <ansuelsmth@...il.com>
To: Rob Herring <robh@...nel.org>
Cc: James Smart <jsmart2021@...il.com>,
Marc Herbert <marc.herbert@...el.com>,
Michael Turquette <mturquette@...libre.com>,
Justin Tee <justin.tee@...adcom.com>,
Ranjani Sridharan <ranjani.sridharan@...ux.intel.com>,
Konrad Dybcio <konrad.dybcio@...ainline.org>,
Alexey Dobriyan <adobriyan@...il.com>,
Christian Brauner <brauner@...nel.org>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-clk@...r.kernel.org, Stephen Boyd <sboyd@...nel.org>,
linux-kernel@...r.kernel.org, Takashi Iwai <tiwai@...e.de>,
Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
Bjorn Andersson <andersson@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Andy Gross <agross@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>
Subject: Re: [PATCH v5 2/5] dt-bindings: arm: msm: Convert kpss-acc driver
Documentation to yaml
On Wed, Sep 14, 2022 at 11:47:10AM -0500, Rob Herring wrote:
> On Wed, 14 Sep 2022 16:22:53 +0200, Christian Marangi wrote:
> > Convert kpss-acc driver Documentation to yaml.
> > The original Documentation was wrong all along. Fix it while we are
> > converting it.
> > The example was wrong as kpss-acc-v2 should only expose the regs but we
> > don't have any driver that expose additional clocks. The kpss-acc driver
> > is only specific to v1. For this exact reason, limit all the additional
> > bindings (clocks, clock-names, clock-output-names and #clock-cells) to
> > v1 and also flag that these bindings should NOT be used for v2.
> >
> > Signed-off-by: Christian Marangi <ansuelsmth@...il.com>
> > ---
> > .../bindings/arm/msm/qcom,kpss-acc.txt | 49 ----------
> > .../bindings/arm/msm/qcom,kpss-acc.yaml | 93 +++++++++++++++++++
> > 2 files changed, 93 insertions(+), 49 deletions(-)
> > delete mode 100644 Documentation/devicetree/bindings/arm/msm/qcom,kpss-acc.txt
> > create mode 100644 Documentation/devicetree/bindings/arm/msm/qcom,kpss-acc.yaml
> >
>
> Running 'make dtbs_check' with the schema in this patch gives the
> following warnings. Consider if they are expected or the schema is
> incorrect. These may not be new warnings.
>
> Note that it is not yet a requirement to have 0 warnings for dtbs_check.
> This will change in the future.
>
> Full log is available here: https://patchwork.ozlabs.org/patch/
>
>
> clock-controller@...8000: '#clock-cells' is a required property
> arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dtb
> arch/arm/boot/dts/qcom-apq8064-cm-qs600.dtb
> arch/arm/boot/dts/qcom-apq8064-ifc6410.dtb
> arch/arm/boot/dts/qcom-apq8064-sony-xperia-lagan-yuga.dtb
> arch/arm/boot/dts/qcom-ipq8064-ap148.dtb
> arch/arm/boot/dts/qcom-ipq8064-rb3011.dtb
> arch/arm/boot/dts/qcom-msm8960-cdp.dtb
>
> clock-controller@...8000: 'clock-names' is a required property
> arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dtb
> arch/arm/boot/dts/qcom-apq8064-cm-qs600.dtb
> arch/arm/boot/dts/qcom-apq8064-ifc6410.dtb
> arch/arm/boot/dts/qcom-apq8064-sony-xperia-lagan-yuga.dtb
> arch/arm/boot/dts/qcom-ipq8064-ap148.dtb
> arch/arm/boot/dts/qcom-ipq8064-rb3011.dtb
> arch/arm/boot/dts/qcom-msm8960-cdp.dtb
>
> clock-controller@...8000: 'clock-output-names' is a required property
> arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dtb
> arch/arm/boot/dts/qcom-apq8064-cm-qs600.dtb
> arch/arm/boot/dts/qcom-apq8064-ifc6410.dtb
> arch/arm/boot/dts/qcom-apq8064-sony-xperia-lagan-yuga.dtb
> arch/arm/boot/dts/qcom-ipq8064-ap148.dtb
> arch/arm/boot/dts/qcom-ipq8064-rb3011.dtb
> arch/arm/boot/dts/qcom-msm8960-cdp.dtb
>
> clock-controller@...8000: 'clocks' is a required property
> arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dtb
> arch/arm/boot/dts/qcom-apq8064-cm-qs600.dtb
> arch/arm/boot/dts/qcom-apq8064-ifc6410.dtb
> arch/arm/boot/dts/qcom-apq8064-sony-xperia-lagan-yuga.dtb
> arch/arm/boot/dts/qcom-ipq8064-ap148.dtb
> arch/arm/boot/dts/qcom-ipq8064-rb3011.dtb
> arch/arm/boot/dts/qcom-msm8960-cdp.dtb
>
> clock-controller@...8000: '#clock-cells' is a required property
> arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dtb
> arch/arm/boot/dts/qcom-apq8064-cm-qs600.dtb
> arch/arm/boot/dts/qcom-apq8064-ifc6410.dtb
> arch/arm/boot/dts/qcom-apq8064-sony-xperia-lagan-yuga.dtb
> arch/arm/boot/dts/qcom-ipq8064-ap148.dtb
> arch/arm/boot/dts/qcom-ipq8064-rb3011.dtb
> arch/arm/boot/dts/qcom-msm8960-cdp.dtb
>
> clock-controller@...8000: 'clock-names' is a required property
> arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dtb
> arch/arm/boot/dts/qcom-apq8064-cm-qs600.dtb
> arch/arm/boot/dts/qcom-apq8064-ifc6410.dtb
> arch/arm/boot/dts/qcom-apq8064-sony-xperia-lagan-yuga.dtb
> arch/arm/boot/dts/qcom-ipq8064-ap148.dtb
> arch/arm/boot/dts/qcom-ipq8064-rb3011.dtb
> arch/arm/boot/dts/qcom-msm8960-cdp.dtb
>
> clock-controller@...8000: 'clock-output-names' is a required property
> arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dtb
> arch/arm/boot/dts/qcom-apq8064-cm-qs600.dtb
> arch/arm/boot/dts/qcom-apq8064-ifc6410.dtb
> arch/arm/boot/dts/qcom-apq8064-sony-xperia-lagan-yuga.dtb
> arch/arm/boot/dts/qcom-ipq8064-ap148.dtb
> arch/arm/boot/dts/qcom-ipq8064-rb3011.dtb
> arch/arm/boot/dts/qcom-msm8960-cdp.dtb
>
> clock-controller@...8000: 'clocks' is a required property
> arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dtb
> arch/arm/boot/dts/qcom-apq8064-cm-qs600.dtb
> arch/arm/boot/dts/qcom-apq8064-ifc6410.dtb
> arch/arm/boot/dts/qcom-apq8064-sony-xperia-lagan-yuga.dtb
> arch/arm/boot/dts/qcom-ipq8064-ap148.dtb
> arch/arm/boot/dts/qcom-ipq8064-rb3011.dtb
> arch/arm/boot/dts/qcom-msm8960-cdp.dtb
>
> clock-controller@...8000: '#clock-cells' is a required property
> arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dtb
> arch/arm/boot/dts/qcom-apq8064-cm-qs600.dtb
> arch/arm/boot/dts/qcom-apq8064-ifc6410.dtb
> arch/arm/boot/dts/qcom-apq8064-sony-xperia-lagan-yuga.dtb
>
> clock-controller@...8000: 'clock-names' is a required property
> arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dtb
> arch/arm/boot/dts/qcom-apq8064-cm-qs600.dtb
> arch/arm/boot/dts/qcom-apq8064-ifc6410.dtb
> arch/arm/boot/dts/qcom-apq8064-sony-xperia-lagan-yuga.dtb
>
> clock-controller@...8000: 'clock-output-names' is a required property
> arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dtb
> arch/arm/boot/dts/qcom-apq8064-cm-qs600.dtb
> arch/arm/boot/dts/qcom-apq8064-ifc6410.dtb
> arch/arm/boot/dts/qcom-apq8064-sony-xperia-lagan-yuga.dtb
>
> clock-controller@...8000: 'clocks' is a required property
> arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dtb
> arch/arm/boot/dts/qcom-apq8064-cm-qs600.dtb
> arch/arm/boot/dts/qcom-apq8064-ifc6410.dtb
> arch/arm/boot/dts/qcom-apq8064-sony-xperia-lagan-yuga.dtb
>
> clock-controller@...8000: '#clock-cells' is a required property
> arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dtb
> arch/arm/boot/dts/qcom-apq8064-cm-qs600.dtb
> arch/arm/boot/dts/qcom-apq8064-ifc6410.dtb
> arch/arm/boot/dts/qcom-apq8064-sony-xperia-lagan-yuga.dtb
>
> clock-controller@...8000: 'clock-names' is a required property
> arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dtb
> arch/arm/boot/dts/qcom-apq8064-cm-qs600.dtb
> arch/arm/boot/dts/qcom-apq8064-ifc6410.dtb
> arch/arm/boot/dts/qcom-apq8064-sony-xperia-lagan-yuga.dtb
>
> clock-controller@...8000: 'clock-output-names' is a required property
> arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dtb
> arch/arm/boot/dts/qcom-apq8064-cm-qs600.dtb
> arch/arm/boot/dts/qcom-apq8064-ifc6410.dtb
> arch/arm/boot/dts/qcom-apq8064-sony-xperia-lagan-yuga.dtb
>
> clock-controller@...8000: 'clocks' is a required property
> arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dtb
> arch/arm/boot/dts/qcom-apq8064-cm-qs600.dtb
> arch/arm/boot/dts/qcom-apq8064-ifc6410.dtb
> arch/arm/boot/dts/qcom-apq8064-sony-xperia-lagan-yuga.dtb
>
Hi,
I fixed these warning in the last 2 commit of this series.
--
Ansuel
Powered by blists - more mailing lists