* [PATCH 00/10] dt-bindings: mfd: Use generic power-controller schema
@ 2026-08-04 14:16 Peng Fan (OSS)
2026-08-04 14:16 ` [PATCH 01/10] dt-bindings: mfd: ene-kb[3]930: " Peng Fan (OSS)
` (10 more replies)
0 siblings, 11 replies; 15+ messages in thread
From: Peng Fan (OSS) @ 2026-08-04 14:16 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Lubomir Rintel, Dmitry Osipenko, Shree Ramamoorthy,
Heiko Stuebner, Joseph Chen, Chris Zhong, Zhang Qing,
Sebastian Reichel, Andreas Kemnade, Jonathan Neuschäfer,
Julien Panis, Matti Vaittinen, Alexander Kurz, André Draszik
Cc: mfd, devicetree, linux-kernel, linux-arm-kernel, linux-rockchip,
linux-samsung-soc, Peng Fan
The generic power-controller.yaml schema has been added to dt-schema[1],
providing a common definition for the `system-power-controller` boolean
property. Convert MFD bindings that locally define this property to
instead reference the shared schema.
The common change across all patches is:
- Add a $ref to /schemas/power/power-controller.yaml#
- Remove the local `system-power-controller` property definition
- Switch from additionalProperties to unevaluatedProperties
This is a pick of patches 2-11 from [2], rebased to linux-next/master,
no changes. Patch 1 (the generic power-controller.yaml schema itself)
is dropped since it has already been picked up by dt-schema.
[1] https://github.com/devicetree-org/dt-schema/pull/187
[2] https://lore.kernel.org/all/177523251875.1559844.9690289848283345069.b4-ty@b4/
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Peng Fan (10):
dt-bindings: mfd: ene-kb[3]930: Use generic power-controller schema
dt-bindings: mfd: ti,tps65910: Use generic power-controller schema
dt-bindings: mfd: rockchip,rk8x: Use generic power-controller schema
dt-bindings: mfd: ricoh,rn5t618: Use generic power-controller schema
dt-bindings: mfd: netronix,ntxec: Use generic power-controller schema
dt-bindings: mfd: ti,twl: Use generic power-controller schema
dt-bindings: mfd: ti,tps6594: Use generic power-controller schema
dt-bindings: mfd: rohm,bd71828-pmic: Use generic power-controller schema
dt-bindings: mfd: fsl,mc13xxx: Use generic power-controller schema
dt-bindings: mfd: samsung,s2mpg10-pmic: Use generic power-controller schema
Documentation/devicetree/bindings/mfd/ene-kb3930.yaml | 7 ++++---
Documentation/devicetree/bindings/mfd/ene-kb930.yaml | 6 +++---
Documentation/devicetree/bindings/mfd/fsl,mc13xxx.yaml | 5 ++---
Documentation/devicetree/bindings/mfd/netronix,ntxec.yaml | 9 ++++-----
Documentation/devicetree/bindings/mfd/ricoh,rn5t618.yaml | 8 ++------
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 +++++----
Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml | 7 ++++---
.../devicetree/bindings/mfd/samsung,s2mpg10-pmic.yaml | 7 ++++---
Documentation/devicetree/bindings/mfd/ti,tps65910.yaml | 6 ++++--
Documentation/devicetree/bindings/mfd/ti,tps6594.yaml | 7 ++++---
Documentation/devicetree/bindings/mfd/ti,twl.yaml | 3 +--
17 files changed, 56 insertions(+), 62 deletions(-)
---
base-commit: 9a4cdc958dd79fc6c3b20b51a10debec6ca09fec
change-id: 20260804-mfd-syspower-a3c8b6a467a4
Best regards,
--
Peng Fan <peng.fan@nxp.com>
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH 01/10] dt-bindings: mfd: ene-kb[3]930: Use generic power-controller schema
2026-08-04 14:16 [PATCH 00/10] dt-bindings: mfd: Use generic power-controller schema Peng Fan (OSS)
@ 2026-08-04 14:16 ` Peng Fan (OSS)
2026-08-04 14:16 ` [PATCH 02/10] dt-bindings: mfd: ti,tps65910: " Peng Fan (OSS)
` (9 subsequent siblings)
10 siblings, 0 replies; 15+ messages in thread
From: Peng Fan (OSS) @ 2026-08-04 14:16 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Lubomir Rintel, Dmitry Osipenko, Shree Ramamoorthy,
Heiko Stuebner, Joseph Chen, Chris Zhong, Zhang Qing,
Sebastian Reichel, Andreas Kemnade, Jonathan Neuschäfer,
Julien Panis, Matti Vaittinen, Alexander Kurz, André Draszik
Cc: mfd, devicetree, linux-kernel, linux-arm-kernel, 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 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 <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 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 <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.51.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 02/10] dt-bindings: mfd: ti,tps65910: Use generic power-controller schema
2026-08-04 14:16 [PATCH 00/10] dt-bindings: mfd: Use generic power-controller schema Peng Fan (OSS)
2026-08-04 14:16 ` [PATCH 01/10] dt-bindings: mfd: ene-kb[3]930: " Peng Fan (OSS)
@ 2026-08-04 14:16 ` Peng Fan (OSS)
2026-08-05 21:12 ` Rob Herring
2026-08-04 14:16 ` [PATCH 03/10] dt-bindings: mfd: rockchip,rk8x: " Peng Fan (OSS)
` (8 subsequent siblings)
10 siblings, 1 reply; 15+ messages in thread
From: Peng Fan (OSS) @ 2026-08-04 14:16 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Lubomir Rintel, Dmitry Osipenko, Shree Ramamoorthy,
Heiko Stuebner, Joseph Chen, Chris Zhong, Zhang Qing,
Sebastian Reichel, Andreas Kemnade, Jonathan Neuschäfer,
Julien Panis, Matti Vaittinen, Alexander Kurz, André Draszik
Cc: mfd, devicetree, linux-kernel, linux-arm-kernel, 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 f1a76f88fc0c..3939e8518a8e 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.51.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 03/10] dt-bindings: mfd: rockchip,rk8x: Use generic power-controller schema
2026-08-04 14:16 [PATCH 00/10] dt-bindings: mfd: Use generic power-controller schema Peng Fan (OSS)
2026-08-04 14:16 ` [PATCH 01/10] dt-bindings: mfd: ene-kb[3]930: " Peng Fan (OSS)
2026-08-04 14:16 ` [PATCH 02/10] dt-bindings: mfd: ti,tps65910: " Peng Fan (OSS)
@ 2026-08-04 14:16 ` Peng Fan (OSS)
2026-08-04 14:16 ` [PATCH 04/10] dt-bindings: mfd: ricoh,rn5t618: " Peng Fan (OSS)
` (7 subsequent siblings)
10 siblings, 0 replies; 15+ messages in thread
From: Peng Fan (OSS) @ 2026-08-04 14:16 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Lubomir Rintel, Dmitry Osipenko, Shree Ramamoorthy,
Heiko Stuebner, Joseph Chen, Chris Zhong, Zhang Qing,
Sebastian Reichel, Andreas Kemnade, Jonathan Neuschäfer,
Julien Panis, Matti Vaittinen, Alexander Kurz, André Draszik
Cc: mfd, devicetree, linux-kernel, linux-arm-kernel, 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 7c71447200ba..5d644f3fbe1b 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 da2391530c16..7a123bcd4320 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 eb5bca31948e..e441c6489699 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 50dfffac8fbf..9bb1467bf5ff 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 a58d9455a1a5..aa2e3ac1794e 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: true
vcc1-supply:
@@ -107,7 +105,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 2cb6d176a84c..4c5d2f43a6f1 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 90d944c27ba1..d1ca8b447034 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.51.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 04/10] dt-bindings: mfd: ricoh,rn5t618: Use generic power-controller schema
2026-08-04 14:16 [PATCH 00/10] dt-bindings: mfd: Use generic power-controller schema Peng Fan (OSS)
` (2 preceding siblings ...)
2026-08-04 14:16 ` [PATCH 03/10] dt-bindings: mfd: rockchip,rk8x: " Peng Fan (OSS)
@ 2026-08-04 14:16 ` Peng Fan (OSS)
2026-08-04 14:16 ` [PATCH 05/10] dt-bindings: mfd: netronix,ntxec: " Peng Fan (OSS)
` (6 subsequent siblings)
10 siblings, 0 replies; 15+ messages in thread
From: Peng Fan (OSS) @ 2026-08-04 14:16 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Lubomir Rintel, Dmitry Osipenko, Shree Ramamoorthy,
Heiko Stuebner, Joseph Chen, Chris Zhong, Zhang Qing,
Sebastian Reichel, Andreas Kemnade, Jonathan Neuschäfer,
Julien Panis, Matti Vaittinen, Alexander Kurz, André Draszik
Cc: mfd, devicetree, linux-kernel, linux-arm-kernel, 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 e3d64307b531..d81691f4d574 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.51.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 05/10] dt-bindings: mfd: netronix,ntxec: Use generic power-controller schema
2026-08-04 14:16 [PATCH 00/10] dt-bindings: mfd: Use generic power-controller schema Peng Fan (OSS)
` (3 preceding siblings ...)
2026-08-04 14:16 ` [PATCH 04/10] dt-bindings: mfd: ricoh,rn5t618: " Peng Fan (OSS)
@ 2026-08-04 14:16 ` Peng Fan (OSS)
2026-08-04 14:16 ` [PATCH 06/10] dt-bindings: mfd: ti,twl: " Peng Fan (OSS)
` (5 subsequent siblings)
10 siblings, 0 replies; 15+ messages in thread
From: Peng Fan (OSS) @ 2026-08-04 14:16 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Lubomir Rintel, Dmitry Osipenko, Shree Ramamoorthy,
Heiko Stuebner, Joseph Chen, Chris Zhong, Zhang Qing,
Sebastian Reichel, Andreas Kemnade, Jonathan Neuschäfer,
Julien Panis, Matti Vaittinen, Alexander Kurz, André Draszik
Cc: mfd, devicetree, linux-kernel, linux-arm-kernel, 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 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
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 06/10] dt-bindings: mfd: ti,twl: Use generic power-controller schema
2026-08-04 14:16 [PATCH 00/10] dt-bindings: mfd: Use generic power-controller schema Peng Fan (OSS)
` (4 preceding siblings ...)
2026-08-04 14:16 ` [PATCH 05/10] dt-bindings: mfd: netronix,ntxec: " Peng Fan (OSS)
@ 2026-08-04 14:16 ` Peng Fan (OSS)
2026-08-04 14:16 ` [PATCH 07/10] dt-bindings: mfd: ti,tps6594: " Peng Fan (OSS)
` (4 subsequent siblings)
10 siblings, 0 replies; 15+ messages in thread
From: Peng Fan (OSS) @ 2026-08-04 14:16 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Lubomir Rintel, Dmitry Osipenko, Shree Ramamoorthy,
Heiko Stuebner, Joseph Chen, Chris Zhong, Zhang Qing,
Sebastian Reichel, Andreas Kemnade, Jonathan Neuschäfer,
Julien Panis, Matti Vaittinen, Alexander Kurz, André Draszik
Cc: mfd, devicetree, linux-kernel, linux-arm-kernel, 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 9cc3e4721612..4b6b68aaee76 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.51.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 07/10] dt-bindings: mfd: ti,tps6594: Use generic power-controller schema
2026-08-04 14:16 [PATCH 00/10] dt-bindings: mfd: Use generic power-controller schema Peng Fan (OSS)
` (5 preceding siblings ...)
2026-08-04 14:16 ` [PATCH 06/10] dt-bindings: mfd: ti,twl: " Peng Fan (OSS)
@ 2026-08-04 14:16 ` Peng Fan (OSS)
2026-08-04 14:16 ` [PATCH 08/10] dt-bindings: mfd: rohm,bd71828-pmic: " Peng Fan (OSS)
` (3 subsequent siblings)
10 siblings, 0 replies; 15+ messages in thread
From: Peng Fan (OSS) @ 2026-08-04 14:16 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Lubomir Rintel, Dmitry Osipenko, Shree Ramamoorthy,
Heiko Stuebner, Joseph Chen, Chris Zhong, Zhang Qing,
Sebastian Reichel, Andreas Kemnade, Jonathan Neuschäfer,
Julien Panis, Matti Vaittinen, Alexander Kurz, André Draszik
Cc: mfd, devicetree, linux-kernel, linux-arm-kernel, 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 ca17fbdea691..6a35cd358590 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.51.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 08/10] dt-bindings: mfd: rohm,bd71828-pmic: Use generic power-controller schema
2026-08-04 14:16 [PATCH 00/10] dt-bindings: mfd: Use generic power-controller schema Peng Fan (OSS)
` (6 preceding siblings ...)
2026-08-04 14:16 ` [PATCH 07/10] dt-bindings: mfd: ti,tps6594: " Peng Fan (OSS)
@ 2026-08-04 14:16 ` Peng Fan (OSS)
2026-08-05 7:14 ` Matti Vaittinen
2026-08-04 14:16 ` [PATCH 09/10] dt-bindings: mfd: fsl,mc13xxx: " Peng Fan (OSS)
` (2 subsequent siblings)
10 siblings, 1 reply; 15+ messages in thread
From: Peng Fan (OSS) @ 2026-08-04 14:16 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Lubomir Rintel, Dmitry Osipenko, Shree Ramamoorthy,
Heiko Stuebner, Joseph Chen, Chris Zhong, Zhang Qing,
Sebastian Reichel, Andreas Kemnade, Jonathan Neuschäfer,
Julien Panis, Matti Vaittinen, Alexander Kurz, André Draszik
Cc: mfd, devicetree, linux-kernel, linux-arm-kernel, 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 09e7d68e92bf..9818102e02c7 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.51.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 09/10] dt-bindings: mfd: fsl,mc13xxx: Use generic power-controller schema
2026-08-04 14:16 [PATCH 00/10] dt-bindings: mfd: Use generic power-controller schema Peng Fan (OSS)
` (7 preceding siblings ...)
2026-08-04 14:16 ` [PATCH 08/10] dt-bindings: mfd: rohm,bd71828-pmic: " Peng Fan (OSS)
@ 2026-08-04 14:16 ` Peng Fan (OSS)
2026-08-04 14:16 ` [PATCH 10/10] dt-bindings: mfd: samsung,s2mpg10-pmic: " Peng Fan (OSS)
2026-08-05 21:10 ` [PATCH 00/10] dt-bindings: mfd: " Rob Herring
10 siblings, 0 replies; 15+ messages in thread
From: Peng Fan (OSS) @ 2026-08-04 14:16 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Lubomir Rintel, Dmitry Osipenko, Shree Ramamoorthy,
Heiko Stuebner, Joseph Chen, Chris Zhong, Zhang Qing,
Sebastian Reichel, Andreas Kemnade, Jonathan Neuschäfer,
Julien Panis, Matti Vaittinen, Alexander Kurz, André Draszik
Cc: mfd, devicetree, linux-kernel, linux-arm-kernel, 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 5cdb25be2731..24b9706c5c17 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
@@ -174,6 +172,7 @@ required:
- reg
allOf:
+ - $ref: /schemas/power/power-controller.yaml#
- if:
properties:
compatible:
@@ -233,7 +232,7 @@ allOf:
minItems: 1
maxItems: 1
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.51.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 10/10] dt-bindings: mfd: samsung,s2mpg10-pmic: Use generic power-controller schema
2026-08-04 14:16 [PATCH 00/10] dt-bindings: mfd: Use generic power-controller schema Peng Fan (OSS)
` (8 preceding siblings ...)
2026-08-04 14:16 ` [PATCH 09/10] dt-bindings: mfd: fsl,mc13xxx: " Peng Fan (OSS)
@ 2026-08-04 14:16 ` Peng Fan (OSS)
2026-08-05 21:10 ` [PATCH 00/10] dt-bindings: mfd: " Rob Herring
10 siblings, 0 replies; 15+ messages in thread
From: Peng Fan (OSS) @ 2026-08-04 14:16 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Lubomir Rintel, Dmitry Osipenko, Shree Ramamoorthy,
Heiko Stuebner, Joseph Chen, Chris Zhong, Zhang Qing,
Sebastian Reichel, Andreas Kemnade, Jonathan Neuschäfer,
Julien Panis, Matti Vaittinen, Alexander Kurz, André Draszik
Cc: mfd, devicetree, linux-kernel, linux-arm-kernel, 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 0ea1a440b983..47418077b153 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.51.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* Re: [PATCH 08/10] dt-bindings: mfd: rohm,bd71828-pmic: Use generic power-controller schema
2026-08-04 14:16 ` [PATCH 08/10] dt-bindings: mfd: rohm,bd71828-pmic: " Peng Fan (OSS)
@ 2026-08-05 7:14 ` Matti Vaittinen
0 siblings, 0 replies; 15+ messages in thread
From: Matti Vaittinen @ 2026-08-05 7:14 UTC (permalink / raw)
To: Peng Fan (OSS), Lee Jones, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Lubomir Rintel, Dmitry Osipenko, Shree Ramamoorthy,
Heiko Stuebner, Joseph Chen, Chris Zhong, Zhang Qing,
Sebastian Reichel, Andreas Kemnade, Jonathan Neuschäfer,
Julien Panis, Alexander Kurz, André Draszik
Cc: mfd, devicetree, linux-kernel, linux-arm-kernel, linux-rockchip,
linux-samsung-soc, Peng Fan
Hi Peng,
On 04/08/2026 17:16, Peng Fan (OSS) wrote:
> 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 09e7d68e92bf..9818102e02c7 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
If I am not mistaken, this allows all bindings from referenced common
binding files, whether or not they are declared in this binding? If so,
then this is probably not aligned with what I am hoping to do with the
ROHM PMIC bindings [1] [2].
I hope to collect the commonly used ROHM PMIC bindings in one common
file, and reference it from those PMIC files, which use some of those
common properties. I would like to collect all of the commonly used ROHM
MFD bindings in the same file because scattering them around in tiny
files feels like a bad idea to me. This means that not all of the PMICs
referencing this file, use all of the bindings from that file.
Hence I would prefer not to just allow everything from the common file -
but to limit allowed properties to those that are explicitly mentioned
for the specific PMIC. For example, my proposed change [1] moves:
rohm,clkout-open-drain, rohm,pin-clkout, rohm,pin-fault_b,
"^rohm,pin-dvs[0-1]$" and "^rohm,pin-exten([0-1])?$" to
rohm,pmic-pins.yaml. Only the rohm,clkout-open-drain should be supported
allowed with the bd71828. Keeping:
additionalProperties: false
disallows the properties which aren't explicitly mentioned for the
bd71828, while making it possible to keep the description, type and
other common stuff in the common rohm,pmic-pins.yaml.
Also, keeping the single explicit line:
system-power-controller: true
to denote this specific PMIC can act as a system power controller feels
(to me) more descriptive than "hiding" it in
$ref: /schemas/power/power-controller.yaml#
- which is also a single line.
As a summary - would it work if you added the reference (for
description), but also kept the explicit system-power-controller: true
and also the additionalProperties: false?
[1]
https://lore.kernel.org/all/838486b443af9188410d8b802a818dc0af20ea9d.1785838585.git.mazziesaccount@gmail.com/
[2]
https://lore.kernel.org/all/d419dcf8776f7ea88e4a66b9a0f0087f11e6622c.1785838585.git.mazziesaccount@gmail.com/
Yours,
-- Matti
> examples:
> - |
>
--
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland
~~ When things go utterly wrong vim users can always type :help! ~~
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 00/10] dt-bindings: mfd: Use generic power-controller schema
2026-08-04 14:16 [PATCH 00/10] dt-bindings: mfd: Use generic power-controller schema Peng Fan (OSS)
` (9 preceding siblings ...)
2026-08-04 14:16 ` [PATCH 10/10] dt-bindings: mfd: samsung,s2mpg10-pmic: " Peng Fan (OSS)
@ 2026-08-05 21:10 ` Rob Herring
2026-08-06 1:11 ` Peng Fan
10 siblings, 1 reply; 15+ messages in thread
From: Rob Herring @ 2026-08-05 21:10 UTC (permalink / raw)
To: Peng Fan (OSS)
Cc: Lee Jones, Krzysztof Kozlowski, Conor Dooley, Lubomir Rintel,
Dmitry Osipenko, Shree Ramamoorthy, Heiko Stuebner, Joseph Chen,
Chris Zhong, Zhang Qing, Sebastian Reichel, Andreas Kemnade,
Jonathan Neuschäfer, Julien Panis, Matti Vaittinen,
Alexander Kurz, André Draszik, mfd, devicetree, linux-kernel,
linux-arm-kernel, linux-rockchip, linux-samsung-soc, Peng Fan
On Tue, Aug 04, 2026 at 10:16:35PM +0800, Peng Fan (OSS) wrote:
> The generic power-controller.yaml schema has been added to dt-schema[1],
> providing a common definition for the `system-power-controller` boolean
> property. Convert MFD bindings that locally define this property to
> instead reference the shared schema.
>
> The common change across all patches is:
> - Add a $ref to /schemas/power/power-controller.yaml#
> - Remove the local `system-power-controller` property definition
> - Switch from additionalProperties to unevaluatedProperties
>
> This is a pick of patches 2-11 from [2], rebased to linux-next/master,
> no changes. Patch 1 (the generic power-controller.yaml schema itself)
> is dropped since it has already been picked up by dt-schema.
>
> [1] https://github.com/devicetree-org/dt-schema/pull/187
> [2] https://lore.kernel.org/all/177523251875.1559844.9690289848283345069.b4-ty@b4/
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
> Peng Fan (10):
> dt-bindings: mfd: ene-kb[3]930: Use generic power-controller schema
> dt-bindings: mfd: ti,tps65910: Use generic power-controller schema
> dt-bindings: mfd: rockchip,rk8x: Use generic power-controller schema
> dt-bindings: mfd: ricoh,rn5t618: Use generic power-controller schema
> dt-bindings: mfd: netronix,ntxec: Use generic power-controller schema
> dt-bindings: mfd: ti,twl: Use generic power-controller schema
> dt-bindings: mfd: ti,tps6594: Use generic power-controller schema
> dt-bindings: mfd: rohm,bd71828-pmic: Use generic power-controller schema
> dt-bindings: mfd: fsl,mc13xxx: Use generic power-controller schema
> dt-bindings: mfd: samsung,s2mpg10-pmic: Use generic power-controller schema
Can we hold off on this until at least the next cycle. This change
effectively bumps the minimum version of dtschema. While
power-controller.yaml is added to dtschema, it is not yet in a released
version. I'm not all that sure these changes are much improvement given
it is a single boolean.
Rob
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 02/10] dt-bindings: mfd: ti,tps65910: Use generic power-controller schema
2026-08-04 14:16 ` [PATCH 02/10] dt-bindings: mfd: ti,tps65910: " Peng Fan (OSS)
@ 2026-08-05 21:12 ` Rob Herring
0 siblings, 0 replies; 15+ messages in thread
From: Rob Herring @ 2026-08-05 21:12 UTC (permalink / raw)
To: Peng Fan (OSS)
Cc: Lee Jones, Krzysztof Kozlowski, Conor Dooley, Lubomir Rintel,
Dmitry Osipenko, Shree Ramamoorthy, Heiko Stuebner, Joseph Chen,
Chris Zhong, Zhang Qing, Sebastian Reichel, Andreas Kemnade,
Jonathan Neuschäfer, Julien Panis, Matti Vaittinen,
Alexander Kurz, André Draszik, mfd, devicetree, linux-kernel,
linux-arm-kernel, linux-rockchip, linux-samsung-soc, Peng Fan
On Tue, Aug 04, 2026 at 10:16:37PM +0800, Peng Fan (OSS) wrote:
> 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.
There's little point in doing this. You can't change existing DTs and
you'll have to support both properties in the driver forever. Maybe if
there are new devices added and new platforms.
Rob
^ permalink raw reply [flat|nested] 15+ messages in thread
* RE: [PATCH 00/10] dt-bindings: mfd: Use generic power-controller schema
2026-08-05 21:10 ` [PATCH 00/10] dt-bindings: mfd: " Rob Herring
@ 2026-08-06 1:11 ` Peng Fan
0 siblings, 0 replies; 15+ messages in thread
From: Peng Fan @ 2026-08-06 1:11 UTC (permalink / raw)
To: Rob Herring, Peng Fan (OSS)
Cc: Lee Jones, Krzysztof Kozlowski, Conor Dooley, Lubomir Rintel,
Dmitry Osipenko, Shree Ramamoorthy, Heiko Stuebner, Joseph Chen,
Chris Zhong, Zhang Qing, Sebastian Reichel, Andreas Kemnade,
Jonathan Neuschäfer, Julien Panis, Matti Vaittinen,
Alexander Kurz, André Draszik, mfd@lists.linux.dev,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org,
linux-samsung-soc@vger.kernel.org
Hi Rob,
> Subject: Re: [PATCH 00/10] dt-bindings: mfd: Use generic power-
> controller schema
>
> On Tue, Aug 04, 2026 at 10:16:35PM +0800, Peng Fan (OSS) wrote:
> > The generic power-controller.yaml schema has been added to
> > dt-schema[1], providing a common definition for the
> > `system-power-controller` boolean property. Convert MFD bindings
> that
> > locally define this property to instead reference the shared schema.
> >
> > The common change across all patches is:
> > - Add a $ref to /schemas/power/power-controller.yaml#
> > - Remove the local `system-power-controller` property definition
> > - Switch from additionalProperties to unevaluatedProperties
> >
> > This is a pick of patches 2-11 from [2], rebased to linux-next/master,
> > no changes. Patch 1 (the generic power-controller.yaml schema itself)
> > is dropped since it has already been picked up by dt-schema.
> >
> >
> > Signed-off-by: Peng Fan <peng.fan@nxp.com>
> > ---
> > Peng Fan (10):
> > dt-bindings: mfd: ene-kb[3]930: Use generic power-controller
> schema
> > dt-bindings: mfd: ti,tps65910: Use generic power-controller
> schema
> > dt-bindings: mfd: rockchip,rk8x: Use generic power-controller
> schema
> > dt-bindings: mfd: ricoh,rn5t618: Use generic power-controller
> schema
> > dt-bindings: mfd: netronix,ntxec: Use generic power-controller
> schema
> > dt-bindings: mfd: ti,twl: Use generic power-controller schema
> > dt-bindings: mfd: ti,tps6594: Use generic power-controller
> schema
> > dt-bindings: mfd: rohm,bd71828-pmic: Use generic power-
> controller schema
> > dt-bindings: mfd: fsl,mc13xxx: Use generic power-controller
> schema
> > dt-bindings: mfd: samsung,s2mpg10-pmic: Use generic
> > power-controller schema
>
> Can we hold off on this until at least the next cycle.
Sure.
This change
> effectively bumps the minimum version of dtschema. While power-
> controller.yaml is added to dtschema, it is not yet in a released version.
> I'm not all that sure these changes are much improvement given it is a
> single boolean.
If you prefer, I could drop the patchset.
Thanks,
Peng.
>
> Rob
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2026-08-06 1:11 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-04 14:16 [PATCH 00/10] dt-bindings: mfd: Use generic power-controller schema Peng Fan (OSS)
2026-08-04 14:16 ` [PATCH 01/10] dt-bindings: mfd: ene-kb[3]930: " Peng Fan (OSS)
2026-08-04 14:16 ` [PATCH 02/10] dt-bindings: mfd: ti,tps65910: " Peng Fan (OSS)
2026-08-05 21:12 ` Rob Herring
2026-08-04 14:16 ` [PATCH 03/10] dt-bindings: mfd: rockchip,rk8x: " Peng Fan (OSS)
2026-08-04 14:16 ` [PATCH 04/10] dt-bindings: mfd: ricoh,rn5t618: " Peng Fan (OSS)
2026-08-04 14:16 ` [PATCH 05/10] dt-bindings: mfd: netronix,ntxec: " Peng Fan (OSS)
2026-08-04 14:16 ` [PATCH 06/10] dt-bindings: mfd: ti,twl: " Peng Fan (OSS)
2026-08-04 14:16 ` [PATCH 07/10] dt-bindings: mfd: ti,tps6594: " Peng Fan (OSS)
2026-08-04 14:16 ` [PATCH 08/10] dt-bindings: mfd: rohm,bd71828-pmic: " Peng Fan (OSS)
2026-08-05 7:14 ` Matti Vaittinen
2026-08-04 14:16 ` [PATCH 09/10] dt-bindings: mfd: fsl,mc13xxx: " Peng Fan (OSS)
2026-08-04 14:16 ` [PATCH 10/10] dt-bindings: mfd: samsung,s2mpg10-pmic: " Peng Fan (OSS)
2026-08-05 21:10 ` [PATCH 00/10] dt-bindings: mfd: " Rob Herring
2026-08-06 1:11 ` Peng Fan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).