Re: [PATCH] dt-bindings: soc: qcom: convert GLINK binding to yaml

From: Rob Herring
Date: Tue Apr 26 2022 - 18:23:22 EST


On Sun, Apr 24, 2022 at 08:47:53AM -0500, Rob Herring wrote:
> On Sun, 24 Apr 2022 12:16:37 +0200, David Heidelberg wrote:
> > Convert Qualcomm GLINK binding to the yaml format.
> >
> > Signed-off-by: David Heidelberg <david@xxxxxxx>
> > ---
> > v1:
> > - remove quotes around qcom,intent
> > - use additionalProperties
> >
> > .../bindings/soc/qcom/qcom,glink.txt | 94 ----------------
> > .../bindings/soc/qcom/qcom,glink.yaml | 103 ++++++++++++++++++
> > 2 files changed, 103 insertions(+), 94 deletions(-)
> > delete mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,glink.txt
> > create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,glink.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/
>

Seems like a lot of warnings. That's fine if you deem they are
all/mostly valid and need to be fixed.

>
> rpm-glink: glink-channel: Additional properties are not allowed ('compatible', 'pms405-regulators', 'power-controller', 'clock-controller' were unexpected)
> arch/arm64/boot/dts/qcom/qcs404-evb-4000.dtb
>
> rpm-glink: glink-channel: Additional properties are not allowed ('compatible', 'regulators' were unexpected)
> arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dtb
>
> rpm-glink: glink-channel: Additional properties are not allowed ('pms405-regulators', 'clock-controller', 'power-controller', 'compatible' were unexpected)
> arch/arm64/boot/dts/qcom/qcs404-evb-1000.dtb
>
> rpm-glink: 'qcom,local-pid' is a required property
> arch/arm64/boot/dts/qcom/apq8096-db820c.dtb
> arch/arm64/boot/dts/qcom/apq8096-ifc6640.dtb
> arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dtb
> arch/arm64/boot/dts/qcom/msm8996-mtp.dtb
> arch/arm64/boot/dts/qcom/msm8996-pmi8996-sony-xperia-tone-dora.dtb
> arch/arm64/boot/dts/qcom/msm8996-pmi8996-sony-xperia-tone-kagura.dtb
> arch/arm64/boot/dts/qcom/msm8996-pmi8996-sony-xperia-tone-keyaki.dtb
> arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-dora.dtb
> arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-kagura.dtb
> arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-keyaki.dtb
> arch/arm64/boot/dts/qcom/msm8996-xiaomi-gemini.dtb
> arch/arm64/boot/dts/qcom/msm8996-xiaomi-scorpio.dtb
> arch/arm64/boot/dts/qcom/msm8998-asus-novago-tp370ql.dtb
> arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dtb
> arch/arm64/boot/dts/qcom/msm8998-hp-envy-x2.dtb
> arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dtb
> arch/arm64/boot/dts/qcom/msm8998-mtp.dtb
> arch/arm64/boot/dts/qcom/msm8998-oneplus-cheeseburger.dtb
> arch/arm64/boot/dts/qcom/msm8998-oneplus-dumpling.dtb
> arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-lilac.dtb
> arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-maple.dtb
> arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-poplar.dtb
> arch/arm64/boot/dts/qcom/qcs404-evb-1000.dtb
> arch/arm64/boot/dts/qcom/qcs404-evb-4000.dtb
> arch/arm64/boot/dts/qcom/sdm630-sony-xperia-ganges-kirin.dtb
> arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-discovery.dtb
> arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-pioneer.dtb
> arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-voyager.dtb
> arch/arm64/boot/dts/qcom/sdm636-sony-xperia-ganges-mermaid.dtb
> arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dtb
> arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dtb
>
> rpm-glink: 'qcom,remote-pid' is a required property
> arch/arm64/boot/dts/qcom/apq8096-db820c.dtb
> arch/arm64/boot/dts/qcom/apq8096-ifc6640.dtb
> arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dtb
> arch/arm64/boot/dts/qcom/msm8996-mtp.dtb
> arch/arm64/boot/dts/qcom/msm8996-pmi8996-sony-xperia-tone-dora.dtb
> arch/arm64/boot/dts/qcom/msm8996-pmi8996-sony-xperia-tone-kagura.dtb
> arch/arm64/boot/dts/qcom/msm8996-pmi8996-sony-xperia-tone-keyaki.dtb
> arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-dora.dtb
> arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-kagura.dtb
> arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-keyaki.dtb
> arch/arm64/boot/dts/qcom/msm8996-xiaomi-gemini.dtb
> arch/arm64/boot/dts/qcom/msm8996-xiaomi-scorpio.dtb
> arch/arm64/boot/dts/qcom/msm8998-asus-novago-tp370ql.dtb
> arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dtb
> arch/arm64/boot/dts/qcom/msm8998-hp-envy-x2.dtb
> arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dtb
> arch/arm64/boot/dts/qcom/msm8998-mtp.dtb
> arch/arm64/boot/dts/qcom/msm8998-oneplus-cheeseburger.dtb
> arch/arm64/boot/dts/qcom/msm8998-oneplus-dumpling.dtb
> arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-lilac.dtb
> arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-maple.dtb
> arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-poplar.dtb
> arch/arm64/boot/dts/qcom/qcs404-evb-1000.dtb
> arch/arm64/boot/dts/qcom/qcs404-evb-4000.dtb
> arch/arm64/boot/dts/qcom/sdm630-sony-xperia-ganges-kirin.dtb
> arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-discovery.dtb
> arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-pioneer.dtb
> arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-voyager.dtb
> arch/arm64/boot/dts/qcom/sdm636-sony-xperia-ganges-mermaid.dtb
> arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dtb
> arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dtb
>
> rpm-glink: 'qcom,smem' is a required property
> arch/arm64/boot/dts/qcom/apq8096-db820c.dtb
> arch/arm64/boot/dts/qcom/apq8096-ifc6640.dtb
> arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dtb
> arch/arm64/boot/dts/qcom/msm8996-mtp.dtb
> arch/arm64/boot/dts/qcom/msm8996-pmi8996-sony-xperia-tone-dora.dtb
> arch/arm64/boot/dts/qcom/msm8996-pmi8996-sony-xperia-tone-kagura.dtb
> arch/arm64/boot/dts/qcom/msm8996-pmi8996-sony-xperia-tone-keyaki.dtb
> arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-dora.dtb
> arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-kagura.dtb
> arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-keyaki.dtb
> arch/arm64/boot/dts/qcom/msm8996-xiaomi-gemini.dtb
> arch/arm64/boot/dts/qcom/msm8996-xiaomi-scorpio.dtb
> arch/arm64/boot/dts/qcom/msm8998-asus-novago-tp370ql.dtb
> arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dtb
> arch/arm64/boot/dts/qcom/msm8998-hp-envy-x2.dtb
> arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dtb
> arch/arm64/boot/dts/qcom/msm8998-mtp.dtb
> arch/arm64/boot/dts/qcom/msm8998-oneplus-cheeseburger.dtb
> arch/arm64/boot/dts/qcom/msm8998-oneplus-dumpling.dtb
> arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-lilac.dtb
> arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-maple.dtb
> arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-poplar.dtb
> arch/arm64/boot/dts/qcom/qcs404-evb-1000.dtb
> arch/arm64/boot/dts/qcom/qcs404-evb-4000.dtb
> arch/arm64/boot/dts/qcom/sdm630-sony-xperia-ganges-kirin.dtb
> arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-discovery.dtb
> arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-pioneer.dtb
> arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-voyager.dtb
> arch/arm64/boot/dts/qcom/sdm636-sony-xperia-ganges-mermaid.dtb
> arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dtb
> arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('clock-controller', 'compatible', 'pmi8998-regulators', 'pm8998-regulators', 'power-controller' were unexpected)
> arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('clock-controller', 'compatible', 'power-controller' were unexpected)
> arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('clock-controller', 'pm660l-regulators', 'pm660-regulators', 'compatible', 'power-controller' were unexpected)
> arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('clock-controller', 'power-controller', 'pmi8998-regulators', 'pm8998-regulators', 'compatible' were unexpected)
> arch/arm64/boot/dts/qcom/msm8998-oneplus-dumpling.dtb
> arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-maple.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('compatible', 'clock-controller', 'pm8998-regulators', 'power-controller', 'pmi8998-regulators' were unexpected)
> arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-poplar.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('compatible', 'clock-controller', 'pmi8998-regulators', 'power-controller', 'pm8998-regulators' were unexpected)
> arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-lilac.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('compatible', 'clock-controller', 'power-controller', 'pm660l-regulators', 'pm660-regulators' were unexpected)
> arch/arm64/boot/dts/qcom/sdm630-sony-xperia-ganges-kirin.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('compatible', 'pm660-regulators', 'clock-controller', 'pm660l-regulators', 'power-controller' were unexpected)
> arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-discovery.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('compatible', 'pm660-regulators', 'pm660l-regulators', 'power-controller', 'clock-controller' were unexpected)
> arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-voyager.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('compatible', 'power-controller', 'qcom,rpmcc', 'pm8994-regulators' were unexpected)
> arch/arm64/boot/dts/qcom/msm8996-pmi8996-sony-xperia-tone-dora.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('compatible', 'power-controller', 'qcom,rpmcc' were unexpected)
> arch/arm64/boot/dts/qcom/msm8996-mtp.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('compatible', 'qcom,rpmcc', 'pm8994-regulators', 'power-controller' were unexpected)
> arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-kagura.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('compatible', 'qcom,rpmcc', 'power-controller', 'pm8994-regulators' were unexpected)
> arch/arm64/boot/dts/qcom/apq8096-ifc6640.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('pm660-regulators', 'pm660l-regulators', 'power-controller', 'compatible', 'clock-controller' were unexpected)
> arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-pioneer.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('pm8994-regulators', 'compatible', 'qcom,rpmcc', 'power-controller' were unexpected)
> arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-dora.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('pm8994-regulators', 'qcom,rpmcc', 'compatible', 'pmi8994-regulators', 'power-controller' were unexpected)
> arch/arm64/boot/dts/qcom/apq8096-db820c.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('pm8998-regulators', 'compatible', 'clock-controller', 'power-controller' were unexpected)
> arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('pmi8994-regulators', 'compatible', 'pm8994-regulators', 'power-controller', 'qcom,rpmcc' were unexpected)
> arch/arm64/boot/dts/qcom/msm8996-xiaomi-scorpio.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('pmi8994-regulators', 'compatible', 'power-controller', 'qcom,rpmcc', 'pm8994-regulators' were unexpected)
> arch/arm64/boot/dts/qcom/msm8996-xiaomi-gemini.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('power-controller', 'compatible', 'clock-controller', 'pm660l-regulators', 'pm660-regulators' were unexpected)
> arch/arm64/boot/dts/qcom/sdm636-sony-xperia-ganges-mermaid.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('power-controller', 'compatible', 'clock-controller', 'pm8998-regulators', 'pmi8998-regulators' were unexpected)
> arch/arm64/boot/dts/qcom/msm8998-mtp.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('power-controller', 'compatible', 'pm8994-regulators', 'qcom,rpmcc' were unexpected)
> arch/arm64/boot/dts/qcom/msm8996-pmi8996-sony-xperia-tone-kagura.dtb
> arch/arm64/boot/dts/qcom/msm8996-pmi8996-sony-xperia-tone-keyaki.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('power-controller', 'pm8998-regulators', 'clock-controller', 'compatible' were unexpected)
> arch/arm64/boot/dts/qcom/msm8998-asus-novago-tp370ql.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('power-controller', 'pm8998-regulators', 'compatible', 'clock-controller' were unexpected)
> arch/arm64/boot/dts/qcom/msm8998-hp-envy-x2.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('power-controller', 'pm8998-regulators', 'pmi8998-regulators', 'compatible', 'clock-controller' were unexpected)
> arch/arm64/boot/dts/qcom/msm8998-oneplus-cheeseburger.dtb
>
> rpm-glink: rpm-requests: Additional properties are not allowed ('qcom,rpmcc', 'pm8994-regulators', 'power-controller', 'compatible' were unexpected)
> arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-keyaki.dtb
>