* [PATCH 01/15] dt-bindings: power: power-controller: Convert to yaml format
2026-03-16 14:47 [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it Peng Fan (OSS)
@ 2026-03-16 14:47 ` Peng Fan (OSS)
2026-03-16 14:49 ` Krzysztof Kozlowski
2026-03-24 6:31 ` Peng Fan
2026-03-16 14:47 ` [PATCH 02/15] dt-bindings: soc: bcm2835-pm: Use generic power-controller schema Peng Fan (OSS)
` (15 subsequent siblings)
16 siblings, 2 replies; 26+ messages in thread
From: Peng Fan (OSS) @ 2026-03-16 14:47 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rafael J. Wysocki,
Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Mark Brown,
Shree Ramamoorthy, Jerome Neanne, Paul Cercueil,
Alexandre Belloni, Dmitry Osipenko, Heiko Stuebner, Joseph Chen,
Chris Zhong, Zhang Qing, Sebastian Reichel, Andreas Kemnade,
Jonathan Neuschäfer, Lubomir Rintel, Julien Panis,
Matti Vaittinen, Alexander Kurz, Krzysztof Kozlowski,
André Draszik
Cc: devicetree, linux-kernel, linux-rpi-kernel, linux-arm-kernel,
linux-rtc, linux-rockchip, linux-samsung-soc, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
Convert power-controller.txt to yaml format. Drop the example because
there is already one in regulator/active-semi,act8846.yaml.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
.../devicetree/bindings/power/power-controller.txt | 17 ------------
.../bindings/power/power-controller.yaml | 30 ++++++++++++++++++++++
2 files changed, 30 insertions(+), 17 deletions(-)
diff --git a/Documentation/devicetree/bindings/power/power-controller.txt b/Documentation/devicetree/bindings/power/power-controller.txt
deleted file mode 100644
index e45affea80781292316c75ed387ba38402501c5b..0000000000000000000000000000000000000000
--- a/Documentation/devicetree/bindings/power/power-controller.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-* Generic system power control capability
-
-Power-management integrated circuits or miscellaneous hardware components are
-sometimes able to control the system power. The device driver associated with these
-components might need to define this capability, which tells the kernel that
-it can be used to switch off the system. The corresponding device must have the
-standard property "system-power-controller" in its device node. This property
-marks the device as able to control the system power. In order to test if this
-property is found programmatically, use the helper function
-"of_device_is_system_power_controller" from of.h .
-
-Example:
-
-act8846: act8846@5 {
- compatible = "active-semi,act8846";
- system-power-controller;
-}
diff --git a/Documentation/devicetree/bindings/power/power-controller.yaml b/Documentation/devicetree/bindings/power/power-controller.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..ff698365d778446c08ceeb5f3ef144d5e97d2f79
--- /dev/null
+++ b/Documentation/devicetree/bindings/power/power-controller.yaml
@@ -0,0 +1,30 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/power/power-controller.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Generic System Power Control Capability
+
+maintainers:
+ - Rafael J. Wysocki <rafael@kernel.org>
+ - Ulf Hansson <ulf.hansson@linaro.org>
+
+description: |
+ Power-management integrated circuits or miscellaneous hardware components
+ are sometimes able to control the system power. The device driver associated
+ with these components might need to define this capability, which tells the
+ kernel that it can be used to switch off the system. The corresponding device
+ must have the standard property "system-power-controller" in its device node. This
+ property marks the device as able to control the system power.
+
+ In order to test if this property is found programmatically, use the helper
+ function "of_device_is_system_power_controller" from of.h.
+
+properties:
+ system-power-controller:
+ type: boolean
+ description:
+ Indicates that this device can be used to control the system power.
+
+additionalProperties: true
--
2.37.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* Re: [PATCH 01/15] dt-bindings: power: power-controller: Convert to yaml format
2026-03-16 14:47 ` [PATCH 01/15] dt-bindings: power: power-controller: Convert to yaml format Peng Fan (OSS)
@ 2026-03-16 14:49 ` Krzysztof Kozlowski
2026-03-17 5:40 ` Peng Fan
2026-03-24 6:31 ` Peng Fan
1 sibling, 1 reply; 26+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-16 14:49 UTC (permalink / raw)
To: Peng Fan (OSS), Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Rafael J. Wysocki, Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Mark Brown,
Shree Ramamoorthy, Jerome Neanne, Paul Cercueil,
Alexandre Belloni, Dmitry Osipenko, Heiko Stuebner, Joseph Chen,
Chris Zhong, Zhang Qing, Sebastian Reichel, Andreas Kemnade,
Jonathan Neuschäfer, Lubomir Rintel, Julien Panis,
Matti Vaittinen, Alexander Kurz, André Draszik
Cc: devicetree, linux-kernel, linux-rpi-kernel, linux-arm-kernel,
linux-rtc, linux-rockchip, linux-samsung-soc, Peng Fan
On 16/03/2026 15:47, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> Convert power-controller.txt to yaml format. Drop the example because
> there is already one in regulator/active-semi,act8846.yaml.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
> .../devicetree/bindings/power/power-controller.txt | 17 ------------
> .../bindings/power/power-controller.yaml | 30 ++++++++++++++++++++++
> 2 files changed, 30 insertions(+), 17 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/power/power-controller.txt b/Documentation/devicetree/bindings/power/power-controller.txt
> deleted file mode 100644
> index e45affea80781292316c75ed387ba38402501c5b..0000000000000000000000000000000000000000
> --- a/Documentation/devicetree/bindings/power/power-controller.txt
> +++ /dev/null
> @@ -1,17 +0,0 @@
> -* Generic system power control capability
> -
> -Power-management integrated circuits or miscellaneous hardware components are
> -sometimes able to control the system power. The device driver associated with these
> -components might need to define this capability, which tells the kernel that
> -it can be used to switch off the system. The corresponding device must have the
> -standard property "system-power-controller" in its device node. This property
> -marks the device as able to control the system power. In order to test if this
> -property is found programmatically, use the helper function
> -"of_device_is_system_power_controller" from of.h .
> -
> -Example:
> -
> -act8846: act8846@5 {
> - compatible = "active-semi,act8846";
> - system-power-controller;
> -}
> diff --git a/Documentation/devicetree/bindings/power/power-controller.yaml b/Documentation/devicetree/bindings/power/power-controller.yaml
> new file mode 100644
> index 0000000000000000000000000000000000000000..ff698365d778446c08ceeb5f3ef144d5e97d2f79
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/power/power-controller.yaml
> @@ -0,0 +1,30 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
You relicensed the text, so you need to get some acks for that. Your
cover letter or patch changelog should explicitly ask for that and of
course you must Cc previous authors.
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/power/power-controller.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Generic System Power Control Capability
> +
> +maintainers:
> + - Rafael J. Wysocki <rafael@kernel.org>
> + - Ulf Hansson <ulf.hansson@linaro.org>
> +
> +description: |
> + Power-management integrated circuits or miscellaneous hardware components
> + are sometimes able to control the system power. The device driver associated
> + with these components might need to define this capability, which tells the
> + kernel that it can be used to switch off the system. The corresponding device
> + must have the standard property "system-power-controller" in its device node. This
> + property marks the device as able to control the system power.
> +
> + In order to test if this property is found programmatically, use the helper
> + function "of_device_is_system_power_controller" from of.h.
> +
> +properties:
> + system-power-controller:
> + type: boolean
> + description:
> + Indicates that this device can be used to control the system power.
Just like it was in case of other core properties, I think this should
go to dtschema.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 26+ messages in thread* Re: [PATCH 01/15] dt-bindings: power: power-controller: Convert to yaml format
2026-03-16 14:49 ` Krzysztof Kozlowski
@ 2026-03-17 5:40 ` Peng Fan
0 siblings, 0 replies; 26+ messages in thread
From: Peng Fan @ 2026-03-17 5:40 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rafael J. Wysocki,
Ulf Hansson, Florian Fainelli, Andreas Kemnade, devicetree,
linux-kernel, linux-rpi-kernel, linux-arm-kernel, linux-rtc,
linux-rockchip, linux-samsung-soc, Peng Fan
Hi Krzysztof,
On Mon, Mar 16, 2026 at 03:49:46PM +0100, Krzysztof Kozlowski wrote:
>On 16/03/2026 15:47, Peng Fan (OSS) wrote:
>> From: Peng Fan <peng.fan@nxp.com>
>>
>> Convert power-controller.txt to yaml format. Drop the example because
>> there is already one in regulator/active-semi,act8846.yaml.
>>
>> +properties:
>> + system-power-controller:
>> + type: boolean
>> + description:
>> + Indicates that this device can be used to control the system power.
>
>Just like it was in case of other core properties, I think this should
>go to dtschema.
Thanks for giving a look. I just submited a PR
https://github.com/devicetree-org/dt-schema/pull/187
Thanks,
Peng
>
>Best regards,
>Krzysztof
>
^ permalink raw reply [flat|nested] 26+ messages in thread
* RE: [PATCH 01/15] dt-bindings: power: power-controller: Convert to yaml format
2026-03-16 14:47 ` [PATCH 01/15] dt-bindings: power: power-controller: Convert to yaml format Peng Fan (OSS)
2026-03-16 14:49 ` Krzysztof Kozlowski
@ 2026-03-24 6:31 ` Peng Fan
1 sibling, 0 replies; 26+ messages in thread
From: Peng Fan @ 2026-03-24 6:31 UTC (permalink / raw)
To: Peng Fan (OSS), Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Rafael J. Wysocki, Ulf Hansson, Krzysztof Kozlowski,
Romain Perier
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-rpi-kernel@lists.infradead.org,
linux-arm-kernel@lists.infradead.org, linux-rtc@vger.kernel.org,
linux-rockchip@lists.infradead.org,
linux-samsung-soc@vger.kernel.org
Hi Romain,
> Subject: [PATCH 01/15] dt-bindings: power: power-controller: Convert
> to yaml format
Not sure about you github ID, so ask here.
Are you ok for changing this to BSD-2.0 License?
https://github.com/devicetree-org/dt-schema/pull/187
Thanks,
Peng.
>
> From: Peng Fan <peng.fan@nxp.com>
>
> Convert power-controller.txt to yaml format. Drop the example
> because there is already one in regulator/active-semi,act8846.yaml.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
> .../devicetree/bindings/power/power-controller.txt | 17 ------------
> .../bindings/power/power-controller.yaml | 30
> ++++++++++++++++++++++
> 2 files changed, 30 insertions(+), 17 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/power/power-
> controller.txt b/Documentation/devicetree/bindings/power/power-
> controller.txt
> deleted file mode 100644
> index
> e45affea80781292316c75ed387ba38402501c5b..0000000000000000
> 000000000000000000000000
> --- a/Documentation/devicetree/bindings/power/power-controller.txt
> +++ /dev/null
> @@ -1,17 +0,0 @@
> -* Generic system power control capability
> -
> -Power-management integrated circuits or miscellaneous hardware
> components are -sometimes able to control the system power. The
> device driver associated with these -components might need to define
> this capability, which tells the kernel that -it can be used to switch off
> the system. The corresponding device must have the -standard
> property "system-power-controller" in its device node. This property -
> marks the device as able to control the system power. In order to test if
> this -property is found programmatically, use the helper function -
> "of_device_is_system_power_controller" from of.h .
> -
> -Example:
> -
> -act8846: act8846@5 {
> - compatible = "active-semi,act8846";
> - system-power-controller;
> -}
> diff --git a/Documentation/devicetree/bindings/power/power-
> controller.yaml b/Documentation/devicetree/bindings/power/power-
> controller.yaml
> new file mode 100644
> index
> 0000000000000000000000000000000000000000..ff698365d778446
> c08ceeb5f3ef144d5e97d2f79
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/power/power-
> controller.yaml
> @@ -0,0 +1,30 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/power/power-controller.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Generic System Power Control Capability
> +
> +maintainers:
> + - Rafael J. Wysocki <rafael@kernel.org>
> + - Ulf Hansson <ulf.hansson@linaro.org>
> +
> +description: |
> + Power-management integrated circuits or miscellaneous hardware
> +components
> + are sometimes able to control the system power. The device driver
> +associated
> + with these components might need to define this capability, which
> +tells the
> + kernel that it can be used to switch off the system. The
> +corresponding device
> + must have the standard property "system-power-controller" in its
> +device node. This
> + property marks the device as able to control the system power.
> +
> + In order to test if this property is found programmatically, use the
> + helper function "of_device_is_system_power_controller" from of.h.
> +
> +properties:
> + system-power-controller:
> + type: boolean
> + description:
> + Indicates that this device can be used to control the system power.
> +
> +additionalProperties: true
>
> --
> 2.37.1
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 02/15] dt-bindings: soc: bcm2835-pm: Use generic power-controller schema
2026-03-16 14:47 [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it Peng Fan (OSS)
2026-03-16 14:47 ` [PATCH 01/15] dt-bindings: power: power-controller: Convert to yaml format Peng Fan (OSS)
@ 2026-03-16 14:47 ` Peng Fan (OSS)
2026-03-16 14:47 ` [PATCH 03/15] dt-bindings: regulator: ti,tps65219: " Peng Fan (OSS)
` (14 subsequent siblings)
16 siblings, 0 replies; 26+ messages in thread
From: Peng Fan (OSS) @ 2026-03-16 14:47 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rafael J. Wysocki,
Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Mark Brown,
Shree Ramamoorthy, Jerome Neanne, Paul Cercueil,
Alexandre Belloni, Dmitry Osipenko, Heiko Stuebner, Joseph Chen,
Chris Zhong, Zhang Qing, Sebastian Reichel, Andreas Kemnade,
Jonathan Neuschäfer, Lubomir Rintel, Julien Panis,
Matti Vaittinen, Alexander Kurz, Krzysztof Kozlowski,
André Draszik
Cc: devicetree, linux-kernel, linux-rpi-kernel, linux-arm-kernel,
linux-rtc, linux-rockchip, linux-samsung-soc, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
Switch the binding to use the generic power-controller schema and drop the
local definition. Also replace `additionalProperties` with
`unevaluatedProperties`.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml
index 039c8e4a4c51b3fc05a75d75509145419ceabd95..3420e1f1f6c4efcc5c91425f2486fccc4b00acf1 100644
--- a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml
+++ b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml
@@ -50,9 +50,6 @@ properties:
- const: h264
- const: isp
- system-power-controller:
- type: boolean
-
timeout-sec: true
required:
@@ -62,6 +59,7 @@ required:
- "#reset-cells"
allOf:
+ - $ref: /schemas/power/power-controller.yaml#
- $ref: /schemas/watchdog/watchdog.yaml#
- if:
@@ -90,7 +88,7 @@ allOf:
reg-names:
maxItems: 1
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.37.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [PATCH 03/15] dt-bindings: regulator: ti,tps65219: Use generic power-controller schema
2026-03-16 14:47 [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it Peng Fan (OSS)
2026-03-16 14:47 ` [PATCH 01/15] dt-bindings: power: power-controller: Convert to yaml format Peng Fan (OSS)
2026-03-16 14:47 ` [PATCH 02/15] dt-bindings: soc: bcm2835-pm: Use generic power-controller schema Peng Fan (OSS)
@ 2026-03-16 14:47 ` Peng Fan (OSS)
2026-03-16 17:46 ` Mark Brown
2026-03-16 14:47 ` [PATCH 04/15] dt-bindings: regulator: act8x: " Peng Fan (OSS)
` (13 subsequent siblings)
16 siblings, 1 reply; 26+ messages in thread
From: Peng Fan (OSS) @ 2026-03-16 14:47 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rafael J. Wysocki,
Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Mark Brown,
Shree Ramamoorthy, Jerome Neanne, Paul Cercueil,
Alexandre Belloni, Dmitry Osipenko, Heiko Stuebner, Joseph Chen,
Chris Zhong, Zhang Qing, Sebastian Reichel, Andreas Kemnade,
Jonathan Neuschäfer, Lubomir Rintel, Julien Panis,
Matti Vaittinen, Alexander Kurz, Krzysztof Kozlowski,
André Draszik
Cc: devicetree, linux-kernel, linux-rpi-kernel, linux-arm-kernel,
linux-rtc, linux-rockchip, linux-samsung-soc, 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.
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 7c64e588a8b54d90ee10c4c155f9db62b5a72c32..d3a82aa7319f0096d8c98bae450190f946a85a9a 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.37.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* Re: [PATCH 03/15] dt-bindings: regulator: ti,tps65219: Use generic power-controller schema
2026-03-16 14:47 ` [PATCH 03/15] dt-bindings: regulator: ti,tps65219: " Peng Fan (OSS)
@ 2026-03-16 17:46 ` Mark Brown
0 siblings, 0 replies; 26+ messages in thread
From: Mark Brown @ 2026-03-16 17:46 UTC (permalink / raw)
To: Peng Fan (OSS)
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rafael J. Wysocki,
Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Shree Ramamoorthy,
Jerome Neanne, Paul Cercueil, Alexandre Belloni, Dmitry Osipenko,
Heiko Stuebner, Joseph Chen, Chris Zhong, Zhang Qing,
Sebastian Reichel, Andreas Kemnade, Jonathan Neuschäfer,
Lubomir Rintel, Julien Panis, Matti Vaittinen, Alexander Kurz,
Krzysztof Kozlowski, André Draszik, devicetree, linux-kernel,
linux-rpi-kernel, linux-arm-kernel, linux-rtc, linux-rockchip,
linux-samsung-soc, Peng Fan
[-- Attachment #1: Type: text/plain, Size: 338 bytes --]
On Mon, Mar 16, 2026 at 10:47:38PM +0800, Peng Fan (OSS) wrote:
> 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>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 04/15] dt-bindings: regulator: act8x: Use generic power-controller schema
2026-03-16 14:47 [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it Peng Fan (OSS)
` (2 preceding siblings ...)
2026-03-16 14:47 ` [PATCH 03/15] dt-bindings: regulator: ti,tps65219: " Peng Fan (OSS)
@ 2026-03-16 14:47 ` Peng Fan (OSS)
2026-03-16 17:47 ` Mark Brown
2026-03-16 14:47 ` [PATCH 05/15] dt-bindings: rtc: ingenic,rtc: " Peng Fan (OSS)
` (12 subsequent siblings)
16 siblings, 1 reply; 26+ messages in thread
From: Peng Fan (OSS) @ 2026-03-16 14:47 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rafael J. Wysocki,
Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Mark Brown,
Shree Ramamoorthy, Jerome Neanne, Paul Cercueil,
Alexandre Belloni, Dmitry Osipenko, Heiko Stuebner, Joseph Chen,
Chris Zhong, Zhang Qing, Sebastian Reichel, Andreas Kemnade,
Jonathan Neuschäfer, Lubomir Rintel, Julien Panis,
Matti Vaittinen, Alexander Kurz, Krzysztof Kozlowski,
André Draszik
Cc: devicetree, linux-kernel, linux-rpi-kernel, linux-arm-kernel,
linux-rtc, linux-rockchip, linux-samsung-soc, 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.
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 b8ca967bc83d1ddff40679427da9d2d9cd3b13b8..49f74a9b1eaab19ff6d1c4e633b916a51c6a2f86 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 02f45b5834d008e8e21cafb692e829d4046c1b92..29ec8ab1b642635b8a1452a5d4b515e88445c63b 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 afe1abc2d727b37b3652634edd6cbcb8132e5f76..2423d9b65192e984de4d9bd83b1a25846bc12361 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 a8d579844dc7bcf634bb1e84dccb8cd5d31b96f9..f19d3f0e0784d5efbd2bf06dc0c2a25e45dbac70 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.37.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* Re: [PATCH 04/15] dt-bindings: regulator: act8x: Use generic power-controller schema
2026-03-16 14:47 ` [PATCH 04/15] dt-bindings: regulator: act8x: " Peng Fan (OSS)
@ 2026-03-16 17:47 ` Mark Brown
0 siblings, 0 replies; 26+ messages in thread
From: Mark Brown @ 2026-03-16 17:47 UTC (permalink / raw)
To: Peng Fan (OSS)
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rafael J. Wysocki,
Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Shree Ramamoorthy,
Jerome Neanne, Paul Cercueil, Alexandre Belloni, Dmitry Osipenko,
Heiko Stuebner, Joseph Chen, Chris Zhong, Zhang Qing,
Sebastian Reichel, Andreas Kemnade, Jonathan Neuschäfer,
Lubomir Rintel, Julien Panis, Matti Vaittinen, Alexander Kurz,
Krzysztof Kozlowski, André Draszik, devicetree, linux-kernel,
linux-rpi-kernel, linux-arm-kernel, linux-rtc, linux-rockchip,
linux-samsung-soc, Peng Fan
[-- Attachment #1: Type: text/plain, Size: 338 bytes --]
On Mon, Mar 16, 2026 at 10:47:39PM +0800, Peng Fan (OSS) wrote:
> 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>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 05/15] dt-bindings: rtc: ingenic,rtc: Use generic power-controller schema
2026-03-16 14:47 [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it Peng Fan (OSS)
` (3 preceding siblings ...)
2026-03-16 14:47 ` [PATCH 04/15] dt-bindings: regulator: act8x: " Peng Fan (OSS)
@ 2026-03-16 14:47 ` Peng Fan (OSS)
2026-03-19 11:12 ` Paul Cercueil
2026-03-16 14:47 ` [PATCH 06/15] dt-bindings: mfd: ene-kb[3]930: " Peng Fan (OSS)
` (11 subsequent siblings)
16 siblings, 1 reply; 26+ messages in thread
From: Peng Fan (OSS) @ 2026-03-16 14:47 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rafael J. Wysocki,
Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Mark Brown,
Shree Ramamoorthy, Jerome Neanne, Paul Cercueil,
Alexandre Belloni, Dmitry Osipenko, Heiko Stuebner, Joseph Chen,
Chris Zhong, Zhang Qing, Sebastian Reichel, Andreas Kemnade,
Jonathan Neuschäfer, Lubomir Rintel, Julien Panis,
Matti Vaittinen, Alexander Kurz, Krzysztof Kozlowski,
André Draszik
Cc: devicetree, linux-kernel, linux-rpi-kernel, linux-arm-kernel,
linux-rtc, linux-rockchip, linux-samsung-soc, 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.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml b/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
index de9879bdb3175a7e0f24304b5a084a8faa233c46..415566d8dba564ebad976689596bbcd699ed6021 100644
--- a/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
@@ -11,6 +11,7 @@ maintainers:
allOf:
- $ref: rtc.yaml#
+ - $ref: /schemas/power/power-controller.yaml#
- if:
not:
properties:
@@ -53,12 +54,6 @@ properties:
"#clock-cells":
const: 0
- system-power-controller:
- description: |
- Indicates that the RTC is responsible for powering OFF
- the system.
- type: boolean
-
ingenic,reset-pin-assert-time-ms:
minimum: 0
maximum: 125
--
2.37.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* Re: [PATCH 05/15] dt-bindings: rtc: ingenic,rtc: Use generic power-controller schema
2026-03-16 14:47 ` [PATCH 05/15] dt-bindings: rtc: ingenic,rtc: " Peng Fan (OSS)
@ 2026-03-19 11:12 ` Paul Cercueil
0 siblings, 0 replies; 26+ messages in thread
From: Paul Cercueil @ 2026-03-19 11:12 UTC (permalink / raw)
To: Peng Fan (OSS), Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Rafael J. Wysocki, Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Mark Brown,
Shree Ramamoorthy, Jerome Neanne, Alexandre Belloni,
Dmitry Osipenko, Heiko Stuebner, Joseph Chen, Chris Zhong,
Zhang Qing, Sebastian Reichel, Andreas Kemnade,
Jonathan Neuschäfer, Lubomir Rintel, Julien Panis,
Matti Vaittinen, Alexander Kurz, Krzysztof Kozlowski,
André Draszik
Cc: devicetree, linux-kernel, linux-rpi-kernel, linux-arm-kernel,
linux-rtc, linux-rockchip, linux-samsung-soc, Peng Fan
Hi,
Le lundi 16 mars 2026 à 22:47 +0800, Peng Fan (OSS) a écrit :
> 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.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Paul Cercueil <paul@crapouillou.net>
Cheers,
-Paul
> ---
> Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
> b/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
> index
> de9879bdb3175a7e0f24304b5a084a8faa233c46..415566d8dba564ebad976689596
> bbcd699ed6021 100644
> --- a/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
> +++ b/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
> @@ -11,6 +11,7 @@ maintainers:
>
> allOf:
> - $ref: rtc.yaml#
> + - $ref: /schemas/power/power-controller.yaml#
> - if:
> not:
> properties:
> @@ -53,12 +54,6 @@ properties:
> "#clock-cells":
> const: 0
>
> - system-power-controller:
> - description: |
> - Indicates that the RTC is responsible for powering OFF
> - the system.
> - type: boolean
> -
> ingenic,reset-pin-assert-time-ms:
> minimum: 0
> maximum: 125
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 06/15] dt-bindings: mfd: ene-kb[3]930: Use generic power-controller schema
2026-03-16 14:47 [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it Peng Fan (OSS)
` (4 preceding siblings ...)
2026-03-16 14:47 ` [PATCH 05/15] dt-bindings: rtc: ingenic,rtc: " Peng Fan (OSS)
@ 2026-03-16 14:47 ` Peng Fan (OSS)
2026-03-16 14:47 ` [PATCH 07/15] dt-bindings: mfd: ti,tps65910: " Peng Fan (OSS)
` (10 subsequent siblings)
16 siblings, 0 replies; 26+ messages in thread
From: Peng Fan (OSS) @ 2026-03-16 14:47 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rafael J. Wysocki,
Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Mark Brown,
Shree Ramamoorthy, Jerome Neanne, Paul Cercueil,
Alexandre Belloni, Dmitry Osipenko, Heiko Stuebner, Joseph Chen,
Chris Zhong, Zhang Qing, Sebastian Reichel, Andreas Kemnade,
Jonathan Neuschäfer, Lubomir Rintel, Julien Panis,
Matti Vaittinen, Alexander Kurz, Krzysztof Kozlowski,
André Draszik
Cc: devicetree, linux-kernel, linux-rpi-kernel, linux-arm-kernel,
linux-rtc, linux-rockchip, linux-samsung-soc, 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.
Signed-off-by: Peng Fan <peng.fan@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@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@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
^ permalink raw reply related [flat|nested] 26+ messages in thread* [PATCH 07/15] dt-bindings: mfd: ti,tps65910: Use generic power-controller schema
2026-03-16 14:47 [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it Peng Fan (OSS)
` (5 preceding siblings ...)
2026-03-16 14:47 ` [PATCH 06/15] dt-bindings: mfd: ene-kb[3]930: " Peng Fan (OSS)
@ 2026-03-16 14:47 ` Peng Fan (OSS)
2026-03-16 14:47 ` [PATCH 08/15] dt-bindings: mfd: rockchip,rk8x: " Peng Fan (OSS)
` (9 subsequent siblings)
16 siblings, 0 replies; 26+ messages in thread
From: Peng Fan (OSS) @ 2026-03-16 14:47 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rafael J. Wysocki,
Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Mark Brown,
Shree Ramamoorthy, Jerome Neanne, Paul Cercueil,
Alexandre Belloni, Dmitry Osipenko, Heiko Stuebner, Joseph Chen,
Chris Zhong, Zhang Qing, Sebastian Reichel, Andreas Kemnade,
Jonathan Neuschäfer, Lubomir Rintel, Julien Panis,
Matti Vaittinen, Alexander Kurz, Krzysztof Kozlowski,
André Draszik
Cc: devicetree, linux-kernel, linux-rpi-kernel, linux-arm-kernel,
linux-rtc, linux-rockchip, linux-samsung-soc, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
Mark the "ti,system-power-controller" as deprecated and include a reference
to power-controller.yaml to uses the common definition.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Documentation/devicetree/bindings/mfd/ti,tps65910.yaml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/ti,tps65910.yaml b/Documentation/devicetree/bindings/mfd/ti,tps65910.yaml
index f1a76f88fc0cdd60d8ba8f7153db7701e82fa183..3939e8518a8e72351e62ac07365a34dc1145e824 100644
--- a/Documentation/devicetree/bindings/mfd/ti,tps65910.yaml
+++ b/Documentation/devicetree/bindings/mfd/ti,tps65910.yaml
@@ -72,6 +72,7 @@ properties:
ti,system-power-controller:
type: boolean
description: Identify whether or not this pmic controls the system power
+ deprecated: true
ti,sleep-enable:
type: boolean
@@ -170,9 +171,10 @@ required:
- '#gpio-cells'
- regulators
-additionalProperties: false
+unevaluatedProperties: false
allOf:
+ - $ref: /schemas/power/power-controller.yaml#
- if:
properties:
compatible:
@@ -216,7 +218,7 @@ examples:
#interrupt-cells = <2>;
interrupt-controller;
- ti,system-power-controller;
+ system-power-controller;
ti,vmbch-threshold = <0>;
ti,vmbch2-threshold = <0>;
--
2.37.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [PATCH 08/15] dt-bindings: mfd: rockchip,rk8x: Use generic power-controller schema
2026-03-16 14:47 [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it Peng Fan (OSS)
` (6 preceding siblings ...)
2026-03-16 14:47 ` [PATCH 07/15] dt-bindings: mfd: ti,tps65910: " Peng Fan (OSS)
@ 2026-03-16 14:47 ` Peng Fan (OSS)
2026-03-16 14:47 ` [PATCH 09/15] dt-bindings: mfd: ricoh,rn5t618: " Peng Fan (OSS)
` (8 subsequent siblings)
16 siblings, 0 replies; 26+ messages in thread
From: Peng Fan (OSS) @ 2026-03-16 14:47 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rafael J. Wysocki,
Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Mark Brown,
Shree Ramamoorthy, Jerome Neanne, Paul Cercueil,
Alexandre Belloni, Dmitry Osipenko, Heiko Stuebner, Joseph Chen,
Chris Zhong, Zhang Qing, Sebastian Reichel, Andreas Kemnade,
Jonathan Neuschäfer, Lubomir Rintel, Julien Panis,
Matti Vaittinen, Alexander Kurz, Krzysztof Kozlowski,
André Draszik
Cc: devicetree, linux-kernel, linux-rpi-kernel, linux-arm-kernel,
linux-rtc, linux-rockchip, linux-samsung-soc, 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.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Documentation/devicetree/bindings/mfd/rockchip,rk801.yaml | 10 ++++------
Documentation/devicetree/bindings/mfd/rockchip,rk805.yaml | 7 +++----
Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml | 3 +--
Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml | 9 +++++----
Documentation/devicetree/bindings/mfd/rockchip,rk816.yaml | 10 ++++------
Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml | 5 ++---
Documentation/devicetree/bindings/mfd/rockchip,rk818.yaml | 9 +++++----
7 files changed, 24 insertions(+), 29 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk801.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk801.yaml
index 7c71447200ba4c131b67f94c11913f70be625980..5d644f3fbe1bf734efb6a49b4f7284b7397b33d7 100644
--- a/Documentation/devicetree/bindings/mfd/rockchip,rk801.yaml
+++ b/Documentation/devicetree/bindings/mfd/rockchip,rk801.yaml
@@ -13,6 +13,9 @@ description: |
Rockchip RK801 series PMIC. This device consists of an i2c controlled MFD
that includes multiple switchable regulators.
+allOf:
+ - $ref: /schemas/power/power-controller.yaml#
+
properties:
compatible:
enum:
@@ -24,11 +27,6 @@ properties:
interrupts:
maxItems: 1
- system-power-controller:
- type: boolean
- description:
- Telling whether or not this PMIC is controlling the system power.
-
wakeup-source:
type: boolean
description:
@@ -76,7 +74,7 @@ required:
- reg
- interrupts
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk805.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk805.yaml
index da2391530c16c0aa5067128cd6f76e99f1f0f8fe..7a123bcd4320f10a85178ad23609147586fddb20 100644
--- a/Documentation/devicetree/bindings/mfd/rockchip,rk805.yaml
+++ b/Documentation/devicetree/bindings/mfd/rockchip,rk805.yaml
@@ -46,8 +46,6 @@ properties:
description:
Telling whether or not this PMIC is controlling the system power.
- system-power-controller: true
-
wakeup-source:
type: boolean
description:
@@ -87,6 +85,7 @@ properties:
unevaluatedProperties: false
allOf:
+ - $ref: /schemas/power/power-controller.yaml#
- if:
properties:
'#clock-cells':
@@ -108,7 +107,7 @@ required:
- interrupts
- "#clock-cells"
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
@@ -126,7 +125,7 @@ examples:
interrupts = <RK_PA6 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&pmic_int_l>;
- rockchip,system-power-controller;
+ system-power-controller;
wakeup-source;
#clock-cells = <0>;
diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml
index eb5bca31948ef0d39c46025d0cca65b8b4105a50..e441c648969915137f73e4222dde2446d43765ba 100644
--- a/Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml
+++ b/Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml
@@ -29,8 +29,6 @@ properties:
'#gpio-cells':
const: 2
- system-power-controller: true
-
rockchip,reset-mode:
$ref: /schemas/types.yaml#/definitions/uint32
enum: [0, 1, 2]
@@ -136,6 +134,7 @@ patternProperties:
enum: [gpio_pwrctrl1, gpio_pwrctrl2, gpio_pwrctrl3]
allOf:
+ - $ref: /schemas/power/power-controller.yaml#
- $ref: /schemas/spi/spi-peripheral-props.yaml
required:
diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml
index 50dfffac8fbf53034df8b0c88eb43c7675749311..9bb1467bf5ffe923275589c6817db9d4710043bd 100644
--- a/Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml
+++ b/Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml
@@ -14,6 +14,9 @@ description: |
Rockchip RK808 series PMIC. This device consists of an i2c controlled MFD
that includes regulators, an RTC, and a power button.
+allOf:
+ - $ref: /schemas/power/power-controller.yaml#
+
properties:
compatible:
enum:
@@ -41,8 +44,6 @@ properties:
description:
Telling whether or not this PMIC is controlling the system power.
- system-power-controller: true
-
wakeup-source:
type: boolean
description:
@@ -119,7 +120,7 @@ required:
- interrupts
- "#clock-cells"
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
@@ -140,7 +141,7 @@ examples:
dvs-gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>,
<&gpio7 15 GPIO_ACTIVE_HIGH>;
reg = <0x1b>;
- rockchip,system-power-controller;
+ system-power-controller;
wakeup-source;
#clock-cells = <1>;
diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk816.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk816.yaml
index 0676890f101e5481a7466b26de5544a829c29101..853ad270a827fd0b40c50e69fb48a2e23d16c51d 100644
--- a/Documentation/devicetree/bindings/mfd/rockchip,rk816.yaml
+++ b/Documentation/devicetree/bindings/mfd/rockchip,rk816.yaml
@@ -15,6 +15,9 @@ description:
that includes regulators, a RTC, a GPIO controller, a power button, and a
battery charger manager with fuel gauge.
+allOf:
+ - $ref: /schemas/power/power-controller.yaml#
+
properties:
compatible:
enum:
@@ -39,11 +42,6 @@ properties:
'#gpio-cells':
const: 2
- system-power-controller:
- type: boolean
- description:
- Telling whether or not this PMIC is controlling the system power.
-
wakeup-source:
type: boolean
@@ -108,7 +106,7 @@ required:
- interrupts
- '#clock-cells'
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml
index 2cb6d176a84cfb4c07a17b6390470b0ddb95bea1..4c5d2f43a6f182ff2bb0fe26869a1c56120146cf 100644
--- a/Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml
+++ b/Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml
@@ -53,8 +53,6 @@ properties:
'#sound-dai-cells':
const: 0
- system-power-controller: true
-
wakeup-source:
type: boolean
description:
@@ -157,6 +155,7 @@ properties:
additionalProperties: false
allOf:
+ - $ref: /schemas/power/power-controller.yaml#
- $ref: /schemas/sound/dai-common.yaml#
- if:
properties:
@@ -195,7 +194,7 @@ required:
- interrupts
- "#clock-cells"
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk818.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk818.yaml
index 90d944c27ba147aa83ff86fdacb546d08272fe1e..d1ca8b447034f2d0d1d3474932f3dedef6dff0de 100644
--- a/Documentation/devicetree/bindings/mfd/rockchip,rk818.yaml
+++ b/Documentation/devicetree/bindings/mfd/rockchip,rk818.yaml
@@ -14,6 +14,9 @@ description: |
Rockchip RK818 series PMIC. This device consists of an i2c controlled MFD
that includes regulators, an RTC, and a power button.
+allOf:
+ - $ref: /schemas/power/power-controller.yaml#
+
properties:
compatible:
enum:
@@ -41,8 +44,6 @@ properties:
description:
Telling whether or not this PMIC is controlling the system power.
- system-power-controller: true
-
wakeup-source:
type: boolean
description:
@@ -111,7 +112,7 @@ required:
- interrupts
- "#clock-cells"
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
@@ -130,7 +131,7 @@ examples:
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&pmic_int>;
- rockchip,system-power-controller;
+ system-power-controller;
wakeup-source;
#clock-cells = <1>;
--
2.37.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [PATCH 09/15] dt-bindings: mfd: ricoh,rn5t618: Use generic power-controller schema
2026-03-16 14:47 [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it Peng Fan (OSS)
` (7 preceding siblings ...)
2026-03-16 14:47 ` [PATCH 08/15] dt-bindings: mfd: rockchip,rk8x: " Peng Fan (OSS)
@ 2026-03-16 14:47 ` Peng Fan (OSS)
2026-03-16 14:47 ` [PATCH 10/15] dt-bindings: mfd: netronix,ntxec: " Peng Fan (OSS)
` (7 subsequent siblings)
16 siblings, 0 replies; 26+ messages in thread
From: Peng Fan (OSS) @ 2026-03-16 14:47 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rafael J. Wysocki,
Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Mark Brown,
Shree Ramamoorthy, Jerome Neanne, Paul Cercueil,
Alexandre Belloni, Dmitry Osipenko, Heiko Stuebner, Joseph Chen,
Chris Zhong, Zhang Qing, Sebastian Reichel, Andreas Kemnade,
Jonathan Neuschäfer, Lubomir Rintel, Julien Panis,
Matti Vaittinen, Alexander Kurz, Krzysztof Kozlowski,
André Draszik
Cc: devicetree, linux-kernel, linux-rpi-kernel, linux-arm-kernel,
linux-rtc, linux-rockchip, linux-samsung-soc, 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.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Documentation/devicetree/bindings/mfd/ricoh,rn5t618.yaml | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/ricoh,rn5t618.yaml b/Documentation/devicetree/bindings/mfd/ricoh,rn5t618.yaml
index e3d64307b5315730e8374e863203a15abb9f83e3..d81691f4d5742f46bb6cf37be4270fc4a38f21f9 100644
--- a/Documentation/devicetree/bindings/mfd/ricoh,rn5t618.yaml
+++ b/Documentation/devicetree/bindings/mfd/ricoh,rn5t618.yaml
@@ -18,6 +18,7 @@ description: |
The RC5T619 additionally includes USB charger detection and an RTC.
allOf:
+ - $ref: /schemas/power/power-controller.yaml#
- if:
properties:
compatible:
@@ -68,15 +69,10 @@ properties:
interrupts:
maxItems: 1
- system-power-controller:
- type: boolean
- description: |
- See Documentation/devicetree/bindings/power/power-controller.txt
-
regulators:
type: object
-additionalProperties: false
+unevaluatedProperties: false
required:
- compatible
--
2.37.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [PATCH 10/15] dt-bindings: mfd: netronix,ntxec: Use generic power-controller schema
2026-03-16 14:47 [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it Peng Fan (OSS)
` (8 preceding siblings ...)
2026-03-16 14:47 ` [PATCH 09/15] dt-bindings: mfd: ricoh,rn5t618: " Peng Fan (OSS)
@ 2026-03-16 14:47 ` Peng Fan (OSS)
2026-03-16 14:47 ` [PATCH 11/15] dt-bindings: mfd: ti,twl: " Peng Fan (OSS)
` (6 subsequent siblings)
16 siblings, 0 replies; 26+ messages in thread
From: Peng Fan (OSS) @ 2026-03-16 14:47 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rafael J. Wysocki,
Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Mark Brown,
Shree Ramamoorthy, Jerome Neanne, Paul Cercueil,
Alexandre Belloni, Dmitry Osipenko, Heiko Stuebner, Joseph Chen,
Chris Zhong, Zhang Qing, Sebastian Reichel, Andreas Kemnade,
Jonathan Neuschäfer, Lubomir Rintel, Julien Panis,
Matti Vaittinen, Alexander Kurz, Krzysztof Kozlowski,
André Draszik
Cc: devicetree, linux-kernel, linux-rpi-kernel, linux-arm-kernel,
linux-rtc, linux-rockchip, linux-samsung-soc, 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.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
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 37fbb953ea12e7e2718c169991d1a9dbcc8b6c11..2fa8b797c0dcf379e9e61a7e9bbd9f1f8c59a0c2 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.37.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [PATCH 11/15] dt-bindings: mfd: ti,twl: Use generic power-controller schema
2026-03-16 14:47 [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it Peng Fan (OSS)
` (9 preceding siblings ...)
2026-03-16 14:47 ` [PATCH 10/15] dt-bindings: mfd: netronix,ntxec: " Peng Fan (OSS)
@ 2026-03-16 14:47 ` Peng Fan (OSS)
2026-03-16 14:47 ` [PATCH 12/15] dt-bindings: mfd: ti,tps6594: " Peng Fan (OSS)
` (5 subsequent siblings)
16 siblings, 0 replies; 26+ messages in thread
From: Peng Fan (OSS) @ 2026-03-16 14:47 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rafael J. Wysocki,
Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Mark Brown,
Shree Ramamoorthy, Jerome Neanne, Paul Cercueil,
Alexandre Belloni, Dmitry Osipenko, Heiko Stuebner, Joseph Chen,
Chris Zhong, Zhang Qing, Sebastian Reichel, Andreas Kemnade,
Jonathan Neuschäfer, Lubomir Rintel, Julien Panis,
Matti Vaittinen, Alexander Kurz, Krzysztof Kozlowski,
André Draszik
Cc: devicetree, linux-kernel, linux-rpi-kernel, linux-arm-kernel,
linux-rtc, linux-rockchip, linux-samsung-soc, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
Switch 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 <peng.fan@nxp.com>
---
Documentation/devicetree/bindings/mfd/ti,twl.yaml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/ti,twl.yaml b/Documentation/devicetree/bindings/mfd/ti,twl.yaml
index 9cc3e4721612e9e9f9b2c950d35871c4d0154e24..4b6b68aaee766be15b5cfe5a32aacfbf0aad5044 100644
--- a/Documentation/devicetree/bindings/mfd/ti,twl.yaml
+++ b/Documentation/devicetree/bindings/mfd/ti,twl.yaml
@@ -16,6 +16,7 @@ description: |
These chips are connected to an I2C bus.
allOf:
+ - $ref: /schemas/power/power-controller.yaml#
- if:
properties:
compatible:
@@ -205,8 +206,6 @@ properties:
interrupt-controller: true
- system-power-controller: true
-
"#interrupt-cells":
const: 1
--
2.37.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [PATCH 12/15] dt-bindings: mfd: ti,tps6594: Use generic power-controller schema
2026-03-16 14:47 [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it Peng Fan (OSS)
` (10 preceding siblings ...)
2026-03-16 14:47 ` [PATCH 11/15] dt-bindings: mfd: ti,twl: " Peng Fan (OSS)
@ 2026-03-16 14:47 ` Peng Fan (OSS)
2026-03-16 14:47 ` [PATCH 13/15] dt-bindings: mfd: rohm,bd71828-pmic: " Peng Fan (OSS)
` (4 subsequent siblings)
16 siblings, 0 replies; 26+ messages in thread
From: Peng Fan (OSS) @ 2026-03-16 14:47 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rafael J. Wysocki,
Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Mark Brown,
Shree Ramamoorthy, Jerome Neanne, Paul Cercueil,
Alexandre Belloni, Dmitry Osipenko, Heiko Stuebner, Joseph Chen,
Chris Zhong, Zhang Qing, Sebastian Reichel, Andreas Kemnade,
Jonathan Neuschäfer, Lubomir Rintel, Julien Panis,
Matti Vaittinen, Alexander Kurz, Krzysztof Kozlowski,
André Draszik
Cc: devicetree, linux-kernel, linux-rpi-kernel, linux-arm-kernel,
linux-rtc, linux-rockchip, linux-samsung-soc, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
Switch 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@nxp.com>
---
Documentation/devicetree/bindings/mfd/ti,tps6594.yaml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/ti,tps6594.yaml b/Documentation/devicetree/bindings/mfd/ti,tps6594.yaml
index ca17fbdea691d46f53cc9a85f963767da733ee1f..6a35cd3585909075146ae69c4274521d51981727 100644
--- a/Documentation/devicetree/bindings/mfd/ti,tps6594.yaml
+++ b/Documentation/devicetree/bindings/mfd/ti,tps6594.yaml
@@ -15,6 +15,9 @@ description:
PFSM (Pre-configurable Finite State Machine) managing the state of the device.
TPS6594 is the super-set device while TPS6593 and LP8764 are derivatives.
+allOf:
+ - $ref: /schemas/power/power-controller.yaml#
+
properties:
compatible:
enum:
@@ -38,8 +41,6 @@ properties:
device on the SPMI bus, and the secondary PMICs are the target devices
on the SPMI bus.
- system-power-controller: true
-
gpio-controller: true
gpio-line-names: true
@@ -104,7 +105,7 @@ required:
- reg
- interrupts
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.37.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [PATCH 13/15] dt-bindings: mfd: rohm,bd71828-pmic: Use generic power-controller schema
2026-03-16 14:47 [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it Peng Fan (OSS)
` (11 preceding siblings ...)
2026-03-16 14:47 ` [PATCH 12/15] dt-bindings: mfd: ti,tps6594: " Peng Fan (OSS)
@ 2026-03-16 14:47 ` Peng Fan (OSS)
2026-03-16 14:47 ` [PATCH 14/15] dt-bindings: mfd: fsl,mc13xxx: " Peng Fan (OSS)
` (3 subsequent siblings)
16 siblings, 0 replies; 26+ messages in thread
From: Peng Fan (OSS) @ 2026-03-16 14:47 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rafael J. Wysocki,
Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Mark Brown,
Shree Ramamoorthy, Jerome Neanne, Paul Cercueil,
Alexandre Belloni, Dmitry Osipenko, Heiko Stuebner, Joseph Chen,
Chris Zhong, Zhang Qing, Sebastian Reichel, Andreas Kemnade,
Jonathan Neuschäfer, Lubomir Rintel, Julien Panis,
Matti Vaittinen, Alexander Kurz, Krzysztof Kozlowski,
André Draszik
Cc: devicetree, linux-kernel, linux-rpi-kernel, linux-arm-kernel,
linux-rtc, linux-rockchip, linux-samsung-soc, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
Switch 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@nxp.com>
---
Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml b/Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml
index 09e7d68e92bf3d91bbbdf2e1b6a942e87b5fe7a1..9818102e02c75a46f7c56de8776ecb9b91a77cdf 100644
--- a/Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml
+++ b/Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml
@@ -15,6 +15,9 @@ description: |
single-cell linear charger. Also included is a Coulomb counter, a real-time
clock (RTC), and a 32.768 kHz clock gate.
+allOf:
+ - $ref: /schemas/power/power-controller.yaml#
+
properties:
compatible:
oneOf:
@@ -79,8 +82,6 @@ properties:
used to mark the pins which should not be configured for GPIO. Please see
the ../gpio/gpio.txt for more information.
- system-power-controller: true
-
required:
- compatible
- reg
@@ -91,7 +92,7 @@ required:
- gpio-controller
- "#gpio-cells"
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.37.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [PATCH 14/15] dt-bindings: mfd: fsl,mc13xxx: Use generic power-controller schema
2026-03-16 14:47 [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it Peng Fan (OSS)
` (12 preceding siblings ...)
2026-03-16 14:47 ` [PATCH 13/15] dt-bindings: mfd: rohm,bd71828-pmic: " Peng Fan (OSS)
@ 2026-03-16 14:47 ` Peng Fan (OSS)
2026-03-16 14:47 ` [PATCH 15/15] dt-bindings: mfd: samsung,s2mpg10-pmic: " Peng Fan (OSS)
` (2 subsequent siblings)
16 siblings, 0 replies; 26+ messages in thread
From: Peng Fan (OSS) @ 2026-03-16 14:47 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rafael J. Wysocki,
Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Mark Brown,
Shree Ramamoorthy, Jerome Neanne, Paul Cercueil,
Alexandre Belloni, Dmitry Osipenko, Heiko Stuebner, Joseph Chen,
Chris Zhong, Zhang Qing, Sebastian Reichel, Andreas Kemnade,
Jonathan Neuschäfer, Lubomir Rintel, Julien Panis,
Matti Vaittinen, Alexander Kurz, Krzysztof Kozlowski,
André Draszik
Cc: devicetree, linux-kernel, linux-rpi-kernel, linux-arm-kernel,
linux-rtc, linux-rockchip, linux-samsung-soc, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
Switch 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@nxp.com>
---
Documentation/devicetree/bindings/mfd/fsl,mc13xxx.yaml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/fsl,mc13xxx.yaml b/Documentation/devicetree/bindings/mfd/fsl,mc13xxx.yaml
index cfa69f1f380adb21937d60da7c28b7ca246d28e1..c43dde9e6c339a540f1503886cee58b2cb287104 100644
--- a/Documentation/devicetree/bindings/mfd/fsl,mc13xxx.yaml
+++ b/Documentation/devicetree/bindings/mfd/fsl,mc13xxx.yaml
@@ -34,8 +34,6 @@ properties:
spi-cs-high: true
- system-power-controller: true
-
interrupts:
maxItems: 1
@@ -176,6 +174,7 @@ required:
- reg
allOf:
+ - $ref: /schemas/power/power-controller.yaml#
- if:
properties:
compatible:
@@ -235,7 +234,7 @@ allOf:
minItems: 1
maxItems: 1
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.37.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [PATCH 15/15] dt-bindings: mfd: samsung,s2mpg10-pmic: Use generic power-controller schema
2026-03-16 14:47 [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it Peng Fan (OSS)
` (13 preceding siblings ...)
2026-03-16 14:47 ` [PATCH 14/15] dt-bindings: mfd: fsl,mc13xxx: " Peng Fan (OSS)
@ 2026-03-16 14:47 ` Peng Fan (OSS)
2026-03-16 14:55 ` [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it Mark Brown
2026-03-16 16:39 ` Krzysztof Kozlowski
16 siblings, 0 replies; 26+ messages in thread
From: Peng Fan (OSS) @ 2026-03-16 14:47 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rafael J. Wysocki,
Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Mark Brown,
Shree Ramamoorthy, Jerome Neanne, Paul Cercueil,
Alexandre Belloni, Dmitry Osipenko, Heiko Stuebner, Joseph Chen,
Chris Zhong, Zhang Qing, Sebastian Reichel, Andreas Kemnade,
Jonathan Neuschäfer, Lubomir Rintel, Julien Panis,
Matti Vaittinen, Alexander Kurz, Krzysztof Kozlowski,
André Draszik
Cc: devicetree, linux-kernel, linux-rpi-kernel, linux-arm-kernel,
linux-rtc, linux-rockchip, linux-samsung-soc, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
Switch 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@nxp.com>
---
Documentation/devicetree/bindings/mfd/samsung,s2mpg10-pmic.yaml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/samsung,s2mpg10-pmic.yaml b/Documentation/devicetree/bindings/mfd/samsung,s2mpg10-pmic.yaml
index 0ea1a440b983a47a55fc86d6251b89056ba51172..47418077b153d932e46a26b14024698ee6c50011 100644
--- a/Documentation/devicetree/bindings/mfd/samsung,s2mpg10-pmic.yaml
+++ b/Documentation/devicetree/bindings/mfd/samsung,s2mpg10-pmic.yaml
@@ -18,6 +18,9 @@ description: |
GPIO interfaces and is typically complemented by S2MPG10 PMIC in a main/sub
configuration as the main PMIC.
+allOf:
+ - $ref: /schemas/power/power-controller.yaml#
+
properties:
compatible:
const: samsung,s2mpg10-pmic
@@ -36,8 +39,6 @@ properties:
description:
List of child nodes that specify the regulators.
- system-power-controller: true
-
wakeup-source: true
patternProperties:
@@ -71,7 +72,7 @@ required:
- interrupts
- regulators
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.37.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* Re: [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it
2026-03-16 14:47 [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it Peng Fan (OSS)
` (14 preceding siblings ...)
2026-03-16 14:47 ` [PATCH 15/15] dt-bindings: mfd: samsung,s2mpg10-pmic: " Peng Fan (OSS)
@ 2026-03-16 14:55 ` Mark Brown
2026-03-16 16:00 ` Andreas Kemnade
2026-03-16 16:39 ` Krzysztof Kozlowski
16 siblings, 1 reply; 26+ messages in thread
From: Mark Brown @ 2026-03-16 14:55 UTC (permalink / raw)
To: Peng Fan (OSS)
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Rafael J. Wysocki,
Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Shree Ramamoorthy,
Jerome Neanne, Paul Cercueil, Alexandre Belloni, Dmitry Osipenko,
Heiko Stuebner, Joseph Chen, Chris Zhong, Zhang Qing,
Sebastian Reichel, Andreas Kemnade, Jonathan Neuschäfer,
Lubomir Rintel, Julien Panis, Matti Vaittinen, Alexander Kurz,
Krzysztof Kozlowski, André Draszik, devicetree, linux-kernel,
linux-rpi-kernel, linux-arm-kernel, linux-rtc, linux-rockchip,
linux-samsung-soc, Peng Fan
[-- Attachment #1: Type: text/plain, Size: 493 bytes --]
On Mon, Mar 16, 2026 at 10:47:35PM +0800, Peng Fan (OSS) wrote:
> Convert power-controller.txt to dt-schema
> Update various dt-bindings to use generic power-controller.yaml without
> defining local property.
Are there any dependencies here? It doesn't look like it. In general
please don't send a single series covering multiple subsystems unless
there are actual dependencies, it just makes it harder to figure out how
to handle things. Send a separate series to each subsystem instead.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread* Re: [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it
2026-03-16 14:55 ` [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it Mark Brown
@ 2026-03-16 16:00 ` Andreas Kemnade
2026-03-17 5:45 ` Peng Fan
0 siblings, 1 reply; 26+ messages in thread
From: Andreas Kemnade @ 2026-03-16 16:00 UTC (permalink / raw)
To: Mark Brown
Cc: Peng Fan (OSS), Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Rafael J. Wysocki, Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Shree Ramamoorthy,
Jerome Neanne, Paul Cercueil, Alexandre Belloni, Dmitry Osipenko,
Heiko Stuebner, Joseph Chen, Chris Zhong, Zhang Qing,
Sebastian Reichel, Jonathan Neuschäfer, Lubomir Rintel,
Julien Panis, Matti Vaittinen, Alexander Kurz,
Krzysztof Kozlowski, André Draszik, devicetree, linux-kernel,
linux-rpi-kernel, linux-arm-kernel, linux-rtc, linux-rockchip,
linux-samsung-soc, Peng Fan
On Mon, 16 Mar 2026 14:55:21 +0000
Mark Brown <broonie@kernel.org> wrote:
> On Mon, Mar 16, 2026 at 10:47:35PM +0800, Peng Fan (OSS) wrote:
> > Convert power-controller.txt to dt-schema
> > Update various dt-bindings to use generic power-controller.yaml without
> > defining local property.
>
> Are there any dependencies here? It doesn't look like it. In general
> please don't send a single series covering multiple subsystems unless
> there are actual dependencies, it just makes it harder to figure out how
> to handle things. Send a separate series to each subsystem instead.
It seems that everything depends on Patch 1.
Regards,
Andreas
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it
2026-03-16 16:00 ` Andreas Kemnade
@ 2026-03-17 5:45 ` Peng Fan
0 siblings, 0 replies; 26+ messages in thread
From: Peng Fan @ 2026-03-17 5:45 UTC (permalink / raw)
To: Andreas Kemnade
Cc: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Rafael J. Wysocki, Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Shree Ramamoorthy,
Jerome Neanne, Paul Cercueil, Alexandre Belloni, Dmitry Osipenko,
Heiko Stuebner, Joseph Chen, Chris Zhong, Zhang Qing,
Sebastian Reichel, Jonathan Neuschäfer, Lubomir Rintel,
Julien Panis, Matti Vaittinen, Alexander Kurz,
Krzysztof Kozlowski, André Draszik, devicetree, linux-kernel,
linux-rpi-kernel, linux-arm-kernel, linux-rtc, linux-rockchip,
linux-samsung-soc, Peng Fan
On Mon, Mar 16, 2026 at 05:00:34PM +0100, Andreas Kemnade wrote:
>On Mon, 16 Mar 2026 14:55:21 +0000
>Mark Brown <broonie@kernel.org> wrote:
>
>> On Mon, Mar 16, 2026 at 10:47:35PM +0800, Peng Fan (OSS) wrote:
>> > Convert power-controller.txt to dt-schema
>> > Update various dt-bindings to use generic power-controller.yaml without
>> > defining local property.
>>
>> Are there any dependencies here? It doesn't look like it. In general
>> please don't send a single series covering multiple subsystems unless
>> there are actual dependencies, it just makes it harder to figure out how
>> to handle things. Send a separate series to each subsystem instead.
>
>It seems that everything depends on Patch 1.
Krzysztof had similar comments. I reply here.
Yes, depends on patch 1, sorry for not being clear in cover-letter. I just
created a PR to dt-schema in github.
https://github.com/devicetree-org/dt-schema/pull/187
After that PR is merged, I will separate this patchset for each subsystem.
Thanks,
Peng
>
>Regards,
>Andreas
>
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it
2026-03-16 14:47 [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it Peng Fan (OSS)
` (15 preceding siblings ...)
2026-03-16 14:55 ` [PATCH 00/15] Convert power-controller to dt-schema and update various yaml file to referencing it Mark Brown
@ 2026-03-16 16:39 ` Krzysztof Kozlowski
16 siblings, 0 replies; 26+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-16 16:39 UTC (permalink / raw)
To: Peng Fan (OSS), Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Rafael J. Wysocki, Ulf Hansson, Florian Fainelli,
Broadcom internal kernel review list, Ray Jui, Scott Branden,
Saenz Julienne, Lee Jones, Liam Girdwood, Mark Brown,
Shree Ramamoorthy, Jerome Neanne, Paul Cercueil,
Alexandre Belloni, Dmitry Osipenko, Heiko Stuebner, Joseph Chen,
Chris Zhong, Zhang Qing, Sebastian Reichel, Andreas Kemnade,
Jonathan Neuschäfer, Lubomir Rintel, Julien Panis,
Matti Vaittinen, Alexander Kurz, André Draszik
Cc: devicetree, linux-kernel, linux-rpi-kernel, linux-arm-kernel,
linux-rtc, linux-rockchip, linux-samsung-soc, Peng Fan
On 16/03/2026 15:47, Peng Fan (OSS) wrote:
> Convert power-controller.txt to dt-schema
> Update various dt-bindings to use generic power-controller.yaml without
> defining local property.
>
And here you explain the dependencies - external or within the patchset
- e.g. how what stops people from merging it. You cc-ed multiple
subsystems, so please think from the subsystem maintainer point of view
- what should they do here.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 26+ messages in thread