Re: [PATCH v6 17/18] dt-bindings: arm: msm: Convert kpss-gcc driver Documentation to yaml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 23, 2022 at 11:29:50AM +0100, Ansuel Smith wrote:
> On Mon, Mar 21, 2022 at 08:50:51PM -0500, Rob Herring wrote:
> > On Tue, 22 Mar 2022 00:15:47 +0100, Ansuel Smith wrote:
> > > Convert kpss-gcc driver Documentation to yaml. Since kpss-gcc expose a
> > > clock add the required '#clock-cells' binding while converting it.
> > > 
> > > Signed-off-by: Ansuel Smith <ansuelsmth@xxxxxxxxx>
> > > ---
> > >  .../bindings/arm/msm/qcom,kpss-gcc.txt        | 44 ------------
> > >  .../bindings/arm/msm/qcom,kpss-gcc.yaml       | 69 +++++++++++++++++++
> > >  2 files changed, 69 insertions(+), 44 deletions(-)
> > >  delete mode 100644 Documentation/devicetree/bindings/arm/msm/qcom,kpss-gcc.txt
> > >  create mode 100644 Documentation/devicetree/bindings/arm/msm/qcom,kpss-gcc.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/1607962
> > 
> > 
> > clock-controller@2011000: '#clock-cells' is a required property
> > 	arch/arm/boot/dts/qcom-ipq8064-ap148.dt.yaml
> > 	arch/arm/boot/dts/qcom-ipq8064-rb3011.dt.yaml
> > 
> > clock-controller@2011000: compatible:0: 'qcom,kpss-gcc' is not one of ['qcom,kpss-gcc-ipq8064', 'qcom,kpss-gcc-apq8064', 'qcom,kpss-gcc-msm8974', 'qcom,kpss-gcc-msm8960']
> > 	arch/arm/boot/dts/qcom-ipq8064-ap148.dt.yaml
> > 	arch/arm/boot/dts/qcom-ipq8064-rb3011.dt.yaml
> > 
> > clock-controller@2011000: compatible:1: 'qcom,kpss-gcc' was expected
> > 	arch/arm/boot/dts/qcom-ipq8064-ap148.dt.yaml
> > 	arch/arm/boot/dts/qcom-ipq8064-rb3011.dt.yaml
> > 
> > clock-controller@2011000: compatible: ['qcom,kpss-gcc', 'syscon'] is too short
> > 	arch/arm/boot/dts/qcom-ipq8064-ap148.dt.yaml
> > 	arch/arm/boot/dts/qcom-ipq8064-rb3011.dt.yaml
> > 
> 
> Sorry for the very stupid question but it's something i'm searching for
> a bit now... I can't really find Documentation or a guide on how to
> check single yaml and dts instead of using the make command and check
> everything. Am I missing something or this is not supported?

make allmodconfig
make dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/arm/msm/qcom,kpss-gcc.yaml

And now in next you can do just the filename or a pattern:

make dtbs_check DT_SCHEMA_FILES=qcom,kpss-gcc.yaml

Rob



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux