[PATCH v2 3/3] dt-bindings: arm: mediatek: infracfg: Convert to DT schema
Rob Herring
robh at kernel.org
Sun Apr 24 06:47:53 PDT 2022
On Sun, 24 Apr 2022 12:46:47 +0400, Yassine Oudjana wrote:
> From: Yassine Oudjana <y.oudjana at protonmail.com>
>
> Convert infracfg bindings to DT schema format. Not all drivers
> currently implement resets, so #reset-cells is made a required
> property only for those that do. Using power-controller in the
> example node name makes #power-domain-cells required causing
> a dt_binding_check error. To solve this, the node is renamed to
> syscon at 10001000.
>
> Signed-off-by: Yassine Oudjana <y.oudjana at protonmail.com>
> ---
> .../arm/mediatek/mediatek,infracfg.txt | 42 ----------
> .../arm/mediatek/mediatek,infracfg.yaml | 81 +++++++++++++++++++
> 2 files changed, 81 insertions(+), 42 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt
> create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.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/
infracfg at 10001000: '#reset-cells' is a required property
arch/arm64/boot/dts/mediatek/mt7986a-rfb.dtb
arch/arm64/boot/dts/mediatek/mt7986b-rfb.dtb
syscon at 10001000: '#reset-cells' is a required property
arch/arm64/boot/dts/mediatek/mt2712-evb.dtb
More information about the Linux-mediatek
mailing list