[PATCH 01/10] dt-bindings: mfd: ene-kb[3]930: Use generic power-controller schema
"Peng Fan (OSS)" <[email protected]> Tue, 04 Aug 2026 22:16:36 +0800
| Newsgroups | org.kernel.vger.linux-samsung-soc,dev.linux.lists.mfd,org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-rockchip,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
From: Peng Fan <[email protected]> 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 <[email protected]> --- 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 9b11b6e2bbf7..1847a6d5b22e 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 <[email protected]> +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 02c111def5de..e0c8abf95bd9 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 <[email protected]> -$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.51.0