From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>
To: "Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
"Ulf Hansson" <ulf.hansson@linaro.org>,
"Florian Fainelli" <florian.fainelli@broadcom.com>,
"Broadcom internal kernel review list"
<bcm-kernel-feedback-list@broadcom.com>,
"Ray Jui" <rjui@broadcom.com>,
"Scott Branden" <sbranden@broadcom.com>,
"Saenz Julienne" <nsaenz@kernel.org>,
"Lee Jones" <lee@kernel.org>,
"Liam Girdwood" <lgirdwood@gmail.com>,
"Mark Brown" <broonie@kernel.org>,
"Shree Ramamoorthy" <s-ramamoorthy@ti.com>,
"Jerome Neanne" <jerome.neanne@baylibre.com>,
"Paul Cercueil" <paul@crapouillou.net>,
"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
"Dmitry Osipenko" <digetx@gmail.com>,
"Heiko Stuebner" <heiko@sntech.de>,
"Joseph Chen" <chenjh@rock-chips.com>,
"Chris Zhong" <zyw@rock-chips.com>,
"Zhang Qing" <zhangqing@rock-chips.com>,
"Sebastian Reichel" <sebastian.reichel@collabora.com>,
"Andreas Kemnade" <andreas@kemnade.info>,
"Jonathan Neuschäfer" <j.neuschaefer@gmx.net>,
"Lubomir Rintel" <lkundrak@v3.sk>,
"Julien Panis" <jpanis@baylibre.com>,
"Matti Vaittinen" <mazziesaccount@gmail.com>,
"Alexander Kurz" <akurz@blala.de>,
"Krzysztof Kozlowski" <krzk@kernel.org>,
"André Draszik" <andre.draszik@linaro.org>
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, Peng Fan <peng.fan@nxp.com>
Subject: [PATCH 08/15] dt-bindings: mfd: rockchip,rk8x: Use generic power-controller schema
Date: Mon, 16 Mar 2026 22:47:43 +0800 [thread overview]
Message-ID: <20260316-power-controller-v1-8-92c80e5e1744@nxp.com> (raw)
In-Reply-To: <20260316-power-controller-v1-0-92c80e5e1744@nxp.com>
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
next prev parent reply other threads:[~2026-03-16 14:47 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
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:49 ` Krzysztof Kozlowski
2026-03-17 5:40 ` Peng Fan
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)
2026-03-16 14:47 ` [PATCH 03/15] dt-bindings: regulator: ti,tps65219: " 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)
2026-03-16 17:47 ` Mark Brown
2026-03-16 14:47 ` [PATCH 05/15] dt-bindings: rtc: ingenic,rtc: " 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)
2026-03-16 14:47 ` [PATCH 07/15] dt-bindings: mfd: ti,tps65910: " Peng Fan (OSS)
2026-03-16 14:47 ` Peng Fan (OSS) [this message]
2026-03-16 14:47 ` [PATCH 09/15] dt-bindings: mfd: ricoh,rn5t618: " Peng Fan (OSS)
2026-03-16 14:47 ` [PATCH 10/15] dt-bindings: mfd: netronix,ntxec: " Peng Fan (OSS)
2026-03-16 14:47 ` [PATCH 11/15] dt-bindings: mfd: ti,twl: " Peng Fan (OSS)
2026-03-16 14:47 ` [PATCH 12/15] dt-bindings: mfd: ti,tps6594: " Peng Fan (OSS)
2026-03-16 14:47 ` [PATCH 13/15] dt-bindings: mfd: rohm,bd71828-pmic: " Peng Fan (OSS)
2026-03-16 14:47 ` [PATCH 14/15] dt-bindings: mfd: fsl,mc13xxx: " Peng Fan (OSS)
2026-03-16 14:47 ` [PATCH 15/15] dt-bindings: mfd: samsung,s2mpg10-pmic: " 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:00 ` Andreas Kemnade
2026-03-17 5:45 ` Peng Fan
2026-03-16 16:39 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260316-power-controller-v1-8-92c80e5e1744@nxp.com \
--to=peng.fan@oss.nxp.com \
--cc=akurz@blala.de \
--cc=alexandre.belloni@bootlin.com \
--cc=andre.draszik@linaro.org \
--cc=andreas@kemnade.info \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=broonie@kernel.org \
--cc=chenjh@rock-chips.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=digetx@gmail.com \
--cc=florian.fainelli@broadcom.com \
--cc=heiko@sntech.de \
--cc=j.neuschaefer@gmx.net \
--cc=jerome.neanne@baylibre.com \
--cc=jpanis@baylibre.com \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=lee@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux-rpi-kernel@lists.infradead.org \
--cc=linux-rtc@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=lkundrak@v3.sk \
--cc=mazziesaccount@gmail.com \
--cc=nsaenz@kernel.org \
--cc=paul@crapouillou.net \
--cc=peng.fan@nxp.com \
--cc=rafael@kernel.org \
--cc=rjui@broadcom.com \
--cc=robh@kernel.org \
--cc=s-ramamoorthy@ti.com \
--cc=sbranden@broadcom.com \
--cc=sebastian.reichel@collabora.com \
--cc=ulf.hansson@linaro.org \
--cc=zhangqing@rock-chips.com \
--cc=zyw@rock-chips.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox