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 01/15] dt-bindings: power: power-controller: Convert to yaml format
Date: Mon, 16 Mar 2026 22:47:36 +0800 [thread overview]
Message-ID: <20260316-power-controller-v1-1-92c80e5e1744@nxp.com> (raw)
In-Reply-To: <20260316-power-controller-v1-0-92c80e5e1744@nxp.com>
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
next prev parent reply other threads:[~2026-03-16 14:46 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 ` Peng Fan (OSS) [this message]
2026-03-16 14:49 ` [PATCH 01/15] dt-bindings: power: power-controller: Convert to yaml format 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 ` [PATCH 08/15] dt-bindings: mfd: rockchip,rk8x: " Peng Fan (OSS)
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-1-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