[PATCH 05/10] dt-bindings: mfd: netronix,ntxec: Use generic power-controller schema
"Peng Fan (OSS)" <[email protected]> Tue, 04 Aug 2026 22:16:40 +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. Signed-off-by: Peng Fan <[email protected]> --- Documentation/devicetree/bindings/mfd/netronix,ntxec.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/netronix,ntxec.yaml b/Documentation/devicetree/bindings/mfd/netronix,ntxec.yaml index 37fbb953ea12..2fa8b797c0dc 100644 --- a/Documentation/devicetree/bindings/mfd/netronix,ntxec.yaml +++ b/Documentation/devicetree/bindings/mfd/netronix,ntxec.yaml @@ -13,6 +13,9 @@ description: | This EC is found in e-book readers of multiple brands (e.g. Kobo, Tolino), and is typically implemented as a TI MSP430 microcontroller. +allOf: + - $ref: /schemas/power/power-controller.yaml# + properties: compatible: const: netronix,ntxec @@ -21,10 +24,6 @@ properties: items: - description: The I2C address of the EC - system-power-controller: - type: boolean - description: See Documentation/devicetree/bindings/power/power-controller.txt - interrupts: minItems: 1 description: @@ -42,7 +41,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - | -- 2.51.0