[PATCH 06/15] dt-bindings: mfd: ene-kb[3]930: Use generic power-controller schema
Peng Fan (OSS)
peng.fan at oss.nxp.com
Mon Mar 16 07:47:41 PDT 2026
From: Peng Fan <peng.fan at nxp.com>
Convert the binding to use the generic power-controller schema instead by
referencing power-controller.yaml and removing the local
`system-power-controller` property definition.
Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
Documentation/devicetree/bindings/mfd/ene-kb3930.yaml | 7 ++++---
Documentation/devicetree/bindings/mfd/ene-kb930.yaml | 6 +++---
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/ene-kb3930.yaml b/Documentation/devicetree/bindings/mfd/ene-kb3930.yaml
index 9b11b6e2bbf746f46406db268bf49b6775939fb3..1847a6d5b22e8ded8638424cfdc6605005d20846 100644
--- a/Documentation/devicetree/bindings/mfd/ene-kb3930.yaml
+++ b/Documentation/devicetree/bindings/mfd/ene-kb3930.yaml
@@ -13,6 +13,9 @@ description: |
maintainers:
- Lubomir Rintel <lkundrak at v3.sk>
+allOf:
+ - $ref: /schemas/power/power-controller.yaml#
+
properties:
compatible:
items:
@@ -26,13 +29,11 @@ properties:
description: GPIO used with the shutdown protocol on Ariel
maxItems: 2
- system-power-controller: true
-
required:
- compatible
- reg
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
diff --git a/Documentation/devicetree/bindings/mfd/ene-kb930.yaml b/Documentation/devicetree/bindings/mfd/ene-kb930.yaml
index 02c111def5de5fa480c59e70518e1de89b2aff08..e0c8abf95bd92f6aa463e3347c101a1c1589161e 100644
--- a/Documentation/devicetree/bindings/mfd/ene-kb930.yaml
+++ b/Documentation/devicetree/bindings/mfd/ene-kb930.yaml
@@ -13,7 +13,9 @@ description: |
maintainers:
- Dmitry Osipenko <digetx at gmail.com>
-$ref: /schemas/power/supply/power-supply.yaml
+allOf:
+ - $ref: /schemas/power/supply/power-supply.yaml
+ - $ref: /schemas/power/power-controller.yaml#
properties:
compatible:
@@ -24,8 +26,6 @@ properties:
reg:
maxItems: 1
- system-power-controller: true
-
required:
- compatible
- reg
--
2.37.1
More information about the Linux-rockchip
mailing list