[RFC PATCH v3 1/7] dt-bindings: bus: add CDX bus device tree bindings
Gupta, Nipun
Nipun.Gupta at amd.com
Tue Sep 6 20:13:12 PDT 2022
[AMD Official Use Only - General]
> -----Original Message-----
> From: Rob Herring <robh at kernel.org>
> Sent: Tuesday, September 6, 2022 11:17 PM
> To: Gupta, Nipun <Nipun.Gupta at amd.com>
> Cc: gregkh at linuxfoundation.org; eric.auger at redhat.com;
> devicetree at vger.kernel.org; linux-kbuild at vger.kernel.org;
> jeffrey.l.hugo at gmail.com; maz at kernel.org; Gupta, Puneet (DCG-ENG)
> <puneet.gupta at amd.com>; Michael.Srba at seznam.cz; cohuck at redhat.com;
> will at kernel.org; masahiroy at kernel.org; mchehab+huawei at kernel.org;
> joro at 8bytes.org; okaya at kernel.org; alex.williamson at redhat.com;
> song.bao.hua at hisilicon.com; jgg at nvidia.com; mani at kernel.org; linux-
> kernel at vger.kernel.org; robin.murphy at arm.com; robh+dt at kernel.org;
> krzysztof.kozlowski+dt at linaro.org; rafael at kernel.org; f.fainelli at gmail.com;
> jgg at ziepe.ca; kvm at vger.kernel.org; Agarwal, Nikhil
> <nikhil.agarwal at amd.com>; Anand, Harpreet <harpreet.anand at amd.com>;
> yishaih at nvidia.com; linux-arm-kernel at lists.infradead.org; git (AMD-Xilinx)
> <git at amd.com>; saravanak at google.com; Radovanovic, Aleksandar
> <aleksandar.radovanovic at amd.com>; Simek, Michal
> <michal.simek at amd.com>; ndesaulniers at google.com
> Subject: Re: [RFC PATCH v3 1/7] dt-bindings: bus: add CDX bus device tree
> bindings
>
> [CAUTION: External Email]
>
> On Tue, 06 Sep 2022 19:17:55 +0530, Nipun Gupta wrote:
> > This patch adds a devicetree binding documentation for CDX
> > bus.
> >
> > CDX bus controller dynamically detects CDX bus and the
> > devices on these bus using CDX firmware.
> >
> > Signed-off-by: Nipun Gupta <nipun.gupta at amd.com>
> > ---
> > .../devicetree/bindings/bus/xlnx,cdx.yaml | 75 +++++++++++++++++++
> > MAINTAINERS | 6 ++
> > 2 files changed, 81 insertions(+)
> > create mode 100644 Documentation/devicetree/bindings/bus/xlnx,cdx.yaml
> >
>
> My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
> on your patch (DT_CHECKER_FLAGS is new in v5.13):
>
> yamllint warnings/errors:
>
> dtschema/dtc warnings/errors:
> Documentation/devicetree/bindings/bus/xlnx,cdx.example.dts:18.23-21.11:
> Warning (unit_address_vs_reg): /example-0/smmu at ec000000: node has a unit
> name, but no reg or ranges property
> Documentation/devicetree/bindings/bus/xlnx,cdx.example.dts:23.22-30.11:
> Warning (unit_address_vs_reg): /example-0/gic at e2000000: node has a unit
> name, but no reg or ranges property
> Documentation/devicetree/bindings/bus/xlnx,cdx.example.dts:26.35-29.15:
> Warning (unit_address_vs_reg): /example-0/gic at e2000000/gic-its at e2040000:
> node has a unit name, but no reg or ranges property
> /builds/robherring/linux-dt-
> review/Documentation/devicetree/bindings/bus/xlnx,cdx.example.dtb:
> smmu at ec000000: $nodename:0: 'smmu at ec000000' does not match
> '^iommu@[0-9a-f]*'
> From schema: /builds/robherring/linux-dt-
> review/Documentation/devicetree/bindings/iommu/arm,smmu-v3.yaml
> /builds/robherring/linux-dt-
> review/Documentation/devicetree/bindings/bus/xlnx,cdx.example.dtb:
> smmu at ec000000: 'reg' is a required property
> From schema: /builds/robherring/linux-dt-
> review/Documentation/devicetree/bindings/iommu/arm,smmu-v3.yaml
> /builds/robherring/linux-dt-
> review/Documentation/devicetree/bindings/bus/xlnx,cdx.example.dtb:
> gic at e2000000: $nodename:0: 'gic at e2000000' does not match '^interrupt-
> controller(@[0-9a-f,]+)*$'
> From schema: /builds/robherring/linux-dt-
> review/Documentation/devicetree/bindings/interrupt-controller/arm,gic-
> v3.yaml
> /builds/robherring/linux-dt-
> review/Documentation/devicetree/bindings/bus/xlnx,cdx.example.dtb:
> gic at e2000000: '#interrupt-cells' is a dependency of 'interrupt-controller'
> From schema: /builds/robherring/linux-dt-
> review/Documentation/devicetree/bindings/interrupt-controller/arm,gic-
> v3.yaml
> /builds/robherring/linux-dt-
> review/Documentation/devicetree/bindings/bus/xlnx,cdx.example.dtb:
> gic at e2000000: 'reg' is a required property
> From schema: /builds/robherring/linux-dt-
> review/Documentation/devicetree/bindings/interrupt-controller/arm,gic-
> v3.yaml
> /builds/robherring/linux-dt-
> review/Documentation/devicetree/bindings/bus/xlnx,cdx.example.dtb:
> gic at e2000000: gic-its at e2040000: False schema does not allow {'compatible':
> ['arm,gic-v3-its'], 'msi-controller': True, 'phandle': [[1]]}
> From schema: /builds/robherring/linux-dt-
> review/Documentation/devicetree/bindings/interrupt-controller/arm,gic-
> v3.yaml
> /builds/robherring/linux-dt-
> review/Documentation/devicetree/bindings/bus/xlnx,cdx.example.dtb:
> gic at e2000000: gic-its at e2040000: '#msi-cells' is a required property
> From schema: /builds/robherring/linux-dt-
> review/Documentation/devicetree/bindings/interrupt-controller/arm,gic-
> v3.yaml
> /builds/robherring/linux-dt-
> review/Documentation/devicetree/bindings/bus/xlnx,cdx.example.dtb:
> gic at e2000000: gic-its at e2040000: 'reg' is a required property
> From schema: /builds/robherring/linux-dt-
> review/Documentation/devicetree/bindings/interrupt-controller/arm,gic-
> v3.yaml
> /builds/robherring/linux-dt-
> review/Documentation/devicetree/bindings/bus/xlnx,cdx.example.dtb:
> gic at e2000000: 'oneOf' conditional failed, one must be fixed:
> 'interrupts' is a required property
> 'interrupts-extended' is a required property
> From schema: /builds/robherring/linux-dt-
> review/Documentation/devicetree/bindings/interrupt-controller/arm,gic-
> v3.yaml
> /builds/robherring/linux-dt-
> review/Documentation/devicetree/bindings/bus/xlnx,cdx.example.dtb:
> cdx at 4000000: reg: [[0, 67108864], [0, 4096]] is too long
> From schema: /builds/robherring/linux-dt-
> review/Documentation/devicetree/bindings/bus/xlnx,cdx.yaml
>
> doc reference errors (make refcheckdocs):
>
> See
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchw
> ork.ozlabs.org%2Fpatch%2F&data=05%7C01%7Cnipun.gupta%40amd.com
> %7C47f53d11f4024ba765f408da902fc525%7C3dd8961fe4884e608e11a82d994e
> 183d%7C0%7C0%7C637980832144301226%7CUnknown%7CTWFpbGZsb3d8eyJ
> WIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 3000%7C%7C%7C&sdata=BXO1d2OWdCQ1lb%2BEDNiUvmfSPPfxfzJET%2B
> uuAL9EdEY%3D&reserved=0
>
> This check can fail if there are any dependencies. The base for a patch
> series is generally the most recent rc1.
>
> If you already ran 'make dt_binding_check' and didn't see the above
> error(s), then make sure 'yamllint' is installed and dt-schema is up to
> date:
>
> pip3 install dtschema --upgrade
>
> Please check and re-submit.
I did run make dt_binding_check, but did not see the issue.
Will update the dtschema and fix this.
Thanks,
Nipun
More information about the linux-arm-kernel
mailing list