diff options
author | Rob Herring (Arm) <robh@kernel.org> | 2025-02-04 00:30:56 +0300 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2025-02-10 13:21:57 +0300 |
commit | b921f66ccf5e8cf1b8a5052b35ceda454f19f5dd (patch) | |
tree | a233ab676dcd6515387ad3c1b96c7523c00d30a8 | |
parent | a1d939055a22be06d8c12bf53afb258b9d38575f (diff) | |
download | linux-b921f66ccf5e8cf1b8a5052b35ceda454f19f5dd.tar.xz |
dt-bindings: rockchip: pmu: Ensure all properties are defined
Device specific schemas should not allow undefined properties which is
what 'additionalProperties: true' allows. Add the missing child nodes
and fix this constraint.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250203213056.13827-1-robh@kernel.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r-- | Documentation/devicetree/bindings/arm/rockchip/pmu.yaml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml b/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml index 932f981265cc..52016a141227 100644 --- a/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml +++ b/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml @@ -53,11 +53,17 @@ properties: reg: maxItems: 1 + power-controller: + type: object + + reboot-mode: + type: object + required: - compatible - reg -additionalProperties: true +additionalProperties: false examples: - | |