dt-bindings: arm: mediatek: infracfg: Convert to DT schema
authorYassine Oudjana <y.oudjana@protonmail.com>
Sun, 24 Apr 2022 08:46:47 +0000 (12:46 +0400)
committerRob Herring <robh@kernel.org>
Tue, 26 Apr 2022 18:48:11 +0000 (13:48 -0500)
commit4ae547cee61252b105115eabee27ec7466861179
tree8cc480cdb7caf48a05c94b63ececf33f67e9fc68
parent16a146735df3b67941ebf09a5fc871ac4584892d
dt-bindings: arm: mediatek: infracfg: Convert to DT schema

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@10001000.

Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220424084647.76577-4-y.oudjana@protonmail.com
Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt [deleted file]
Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.yaml [new file with mode: 0644]