* [PATCH 1/2] dt-bindings: regulator: ti,tps65219: Use generic power-controller schema
2026-08-04 14:37 [PATCH 0/2] dt-bindings: regulator: Use generic power-controller schema Peng Fan (OSS)
@ 2026-08-04 14:37 ` Peng Fan (OSS)
2026-08-04 15:27 ` sashiko-bot
2026-08-05 21:16 ` Rob Herring
2026-08-04 14:37 ` [PATCH 2/2] dt-bindings: regulator: act8x: " Peng Fan (OSS)
2026-08-04 20:06 ` [PATCH 0/2] dt-bindings: regulator: " Mark Brown
2 siblings, 2 replies; 7+ messages in thread
From: Peng Fan (OSS) @ 2026-08-04 14:37 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Jerome Neanne, Paul Cercueil
Cc: linux-kernel, devicetree, Peng Fan
From: Peng Fan <peng.fan@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.
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Documentation/devicetree/bindings/regulator/ti,tps65219.yaml | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml b/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml
index 7c64e588a8b5..d3a82aa7319f 100644
--- a/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml
+++ b/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml
@@ -31,11 +31,6 @@ properties:
reg:
maxItems: 1
- system-power-controller:
- type: boolean
- description: Optional property that indicates that this device is
- controlling system power.
-
interrupts:
description: Short-circuit, over-current, under-voltage for regulators, PB interrupts.
maxItems: 1
@@ -99,9 +94,10 @@ required:
- interrupts
- regulators
-additionalProperties: false
+unevaluatedProperties: false
allOf:
+ - $ref: /schemas/power/power-controller.yaml#
- if:
properties:
compatible:
--
2.51.0
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 2/2] dt-bindings: regulator: act8x: Use generic power-controller schema
2026-08-04 14:37 [PATCH 0/2] dt-bindings: regulator: Use generic power-controller schema Peng Fan (OSS)
2026-08-04 14:37 ` [PATCH 1/2] dt-bindings: regulator: ti,tps65219: " Peng Fan (OSS)
@ 2026-08-04 14:37 ` Peng Fan (OSS)
2026-08-04 15:39 ` sashiko-bot
2026-08-04 20:06 ` [PATCH 0/2] dt-bindings: regulator: " Mark Brown
2 siblings, 1 reply; 7+ messages in thread
From: Peng Fan (OSS) @ 2026-08-04 14:37 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Jerome Neanne, Paul Cercueil
Cc: linux-kernel, devicetree, Peng Fan
From: Peng Fan <peng.fan@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.
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
.../devicetree/bindings/regulator/active-semi,act8600.yaml | 11 ++++-------
.../devicetree/bindings/regulator/active-semi,act8846.yaml | 11 ++++-------
.../devicetree/bindings/regulator/active-semi,act8865.yaml | 11 ++++-------
.../devicetree/bindings/regulator/active-semi,act8945a.yaml | 11 ++++-------
4 files changed, 16 insertions(+), 28 deletions(-)
diff --git a/Documentation/devicetree/bindings/regulator/active-semi,act8600.yaml b/Documentation/devicetree/bindings/regulator/active-semi,act8600.yaml
index b8ca967bc83d..49f74a9b1eaa 100644
--- a/Documentation/devicetree/bindings/regulator/active-semi,act8600.yaml
+++ b/Documentation/devicetree/bindings/regulator/active-semi,act8600.yaml
@@ -9,6 +9,9 @@ title: Active-semi ACT8600 regulator
maintainers:
- Paul Cercueil <paul@crapouillou.net>
+allOf:
+ - $ref: /schemas/power/power-controller.yaml#
+
properties:
compatible:
const: active-semi,act8600
@@ -16,12 +19,6 @@ properties:
reg:
maxItems: 1
- system-power-controller:
- description:
- Indicates that the ACT8600 is responsible for powering OFF
- the system.
- type: boolean
-
active-semi,vsel-high:
description:
Indicates the VSEL pin is high. If this property is missing,
@@ -75,7 +72,7 @@ properties:
inl-supply:
description: Handle to the INL input supply
-additionalProperties: false
+unevaluatedProperties: false
required:
- reg
diff --git a/Documentation/devicetree/bindings/regulator/active-semi,act8846.yaml b/Documentation/devicetree/bindings/regulator/active-semi,act8846.yaml
index 02f45b5834d0..29ec8ab1b642 100644
--- a/Documentation/devicetree/bindings/regulator/active-semi,act8846.yaml
+++ b/Documentation/devicetree/bindings/regulator/active-semi,act8846.yaml
@@ -9,6 +9,9 @@ title: Active-semi ACT8846 regulator
maintainers:
- Paul Cercueil <paul@crapouillou.net>
+allOf:
+ - $ref: /schemas/power/power-controller.yaml#
+
properties:
compatible:
const: active-semi,act8846
@@ -16,12 +19,6 @@ properties:
reg:
maxItems: 1
- system-power-controller:
- description:
- Indicates that the ACT8846 is responsible for powering OFF
- the system.
- type: boolean
-
active-semi,vsel-high:
description:
Indicates the VSEL pin is high. If this property is missing,
@@ -59,7 +56,7 @@ properties:
$ref: /schemas/regulator/regulator.yaml#
unevaluatedProperties: false
-additionalProperties: false
+unevaluatedProperties: false
required:
- reg
diff --git a/Documentation/devicetree/bindings/regulator/active-semi,act8865.yaml b/Documentation/devicetree/bindings/regulator/active-semi,act8865.yaml
index afe1abc2d727..2423d9b65192 100644
--- a/Documentation/devicetree/bindings/regulator/active-semi,act8865.yaml
+++ b/Documentation/devicetree/bindings/regulator/active-semi,act8865.yaml
@@ -9,6 +9,9 @@ title: Active-semi ACT8865 regulator
maintainers:
- Paul Cercueil <paul@crapouillou.net>
+allOf:
+ - $ref: /schemas/power/power-controller.yaml#
+
properties:
compatible:
const: active-semi,act8865
@@ -16,12 +19,6 @@ properties:
reg:
maxItems: 1
- system-power-controller:
- description:
- Indicates that the ACT8865 is responsible for powering OFF
- the system.
- type: boolean
-
active-semi,vsel-high:
description:
Indicates the VSEL pin is high. If this property is missing,
@@ -79,7 +76,7 @@ properties:
inl67-supply:
description: Handle to the INL67 input supply
-additionalProperties: false
+unevaluatedProperties: false
required:
- reg
diff --git a/Documentation/devicetree/bindings/regulator/active-semi,act8945a.yaml b/Documentation/devicetree/bindings/regulator/active-semi,act8945a.yaml
index a8d579844dc7..f19d3f0e0784 100644
--- a/Documentation/devicetree/bindings/regulator/active-semi,act8945a.yaml
+++ b/Documentation/devicetree/bindings/regulator/active-semi,act8945a.yaml
@@ -9,6 +9,9 @@ title: Active-semi ACT8945a regulator
maintainers:
- Paul Cercueil <paul@crapouillou.net>
+allOf:
+ - $ref: /schemas/power/power-controller.yaml#
+
properties:
compatible:
const: active-semi,act8945a
@@ -16,12 +19,6 @@ properties:
reg:
maxItems: 1
- system-power-controller:
- description:
- Indicates that the ACT8945a is responsible for powering OFF
- the system.
- type: boolean
-
active-semi,vsel-high:
description:
Indicates the VSEL pin is high. If this property is missing,
@@ -127,7 +124,7 @@ properties:
- active-semi,chglev-gpios
- active-semi,lbo-gpios
-additionalProperties: false
+unevaluatedProperties: false
required:
- reg
--
2.51.0
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH 0/2] dt-bindings: regulator: Use generic power-controller schema
2026-08-04 14:37 [PATCH 0/2] dt-bindings: regulator: Use generic power-controller schema Peng Fan (OSS)
2026-08-04 14:37 ` [PATCH 1/2] dt-bindings: regulator: ti,tps65219: " Peng Fan (OSS)
2026-08-04 14:37 ` [PATCH 2/2] dt-bindings: regulator: act8x: " Peng Fan (OSS)
@ 2026-08-04 20:06 ` Mark Brown
2 siblings, 0 replies; 7+ messages in thread
From: Mark Brown @ 2026-08-04 20:06 UTC (permalink / raw)
To: Peng Fan (OSS)
Cc: Liam Girdwood, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Jerome Neanne, Paul Cercueil, linux-kernel, devicetree, Peng Fan
[-- Attachment #1: Type: text/plain, Size: 656 bytes --]
On Tue, Aug 04, 2026 at 10:37:51PM +0800, Peng Fan (OSS) wrote:
> The generic power-controller.yaml schema has been added to dt-schema,
> providing a common definition for the `system-power-controller` boolean
> property. Convert regulator bindings that locally define this property
> to instead reference the shared schema.
Please submit patches using subject lines reflecting the style for the
subsystem, this makes it easier for people to identify relevant patches.
Look at what existing commits in the area you're changing are doing and
make sure your subject lines visually resemble what they're doing.
There's no need to resubmit to fix this alone.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread