* [PATCH] dt-bindings: regulator: Convert TPS65023 to DT schema
@ 2026-08-15 8:29 Eduard Bostina
2026-08-17 16:59 ` Mark Brown
2026-08-28 7:27 ` Krzysztof Kozlowski
0 siblings, 2 replies; 3+ messages in thread
From: Eduard Bostina @ 2026-08-15 8:29 UTC (permalink / raw)
To: Conor Dooley, devicetree, Eduard Bostina, Krzysztof Kozlowski,
Liam Girdwood, linux-kernel, Mark Brown, Rob Herring
Cc: daniel.baluta, simona.toaca, goledhruva, m-chawdhry
Convert the Texas Instruments TPS65023 family of PMICs bindings
to DT schema.
Signed-off-by: Eduard Bostina <egbostina@gmail.com>
---
.../bindings/regulator/ti,tps65023.yaml | 90 +++++++++++++++++++
.../bindings/regulator/tps65023.txt | 60 -------------
2 files changed, 90 insertions(+), 60 deletions(-)
create mode 100644 Documentation/devicetree/bindings/regulator/ti,tps65023.yaml
delete mode 100644 Documentation/devicetree/bindings/regulator/tps65023.txt
diff --git a/Documentation/devicetree/bindings/regulator/ti,tps65023.yaml b/Documentation/devicetree/bindings/regulator/ti,tps65023.yaml
new file mode 100644
index 000000000000..928698595f52
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/ti,tps65023.yaml
@@ -0,0 +1,90 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/regulator/ti,tps65023.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Texas Instruments TPS65023 Regulator
+
+maintainers:
+ - Eduard Bostina <egbostina@gmail.com>
+
+properties:
+ compatible:
+ enum:
+ - ti,tps65020
+ - ti,tps65021
+ - ti,tps65023
+
+ reg:
+ maxItems: 1
+
+ regulators:
+ type: object
+ description: >
+ List of child nodes that specify the regulator initialization data.
+ Must be named after their hardware counterparts: VDCDC[1-3] and LDO[1-2].
+
+ patternProperties:
+ "^(VDCDC[1-3]|LDO[1-2])$":
+ type: object
+ $ref: regulator.yaml#
+ unevaluatedProperties: false
+
+ additionalProperties: false
+
+required:
+ - compatible
+ - reg
+ - regulators
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ tps65023@48 {
+ compatible = "ti,tps65023";
+ reg = <0x48>;
+
+ regulators {
+ VDCDC1 {
+ regulator-name = "vdd_mpu";
+ regulator-always-on;
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
+ };
+
+ VDCDC2 {
+ regulator-name = "vdd_core";
+ regulator-always-on;
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ };
+
+ VDCDC3 {
+ regulator-name = "vdd_io";
+ regulator-always-on;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ };
+
+ LDO1 {
+ regulator-name = "vdd_usb18";
+ regulator-always-on;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ };
+
+ LDO2 {
+ regulator-name = "vdd_usb33";
+ regulator-always-on;
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ };
+ };
+ };
+ };
diff --git a/Documentation/devicetree/bindings/regulator/tps65023.txt b/Documentation/devicetree/bindings/regulator/tps65023.txt
deleted file mode 100644
index a4714e4da370..000000000000
--- a/Documentation/devicetree/bindings/regulator/tps65023.txt
+++ /dev/null
@@ -1,60 +0,0 @@
-TPS65023 family of regulators
-
-Required properties:
-- compatible: Must be one of the following.
- "ti,tps65020",
- "ti,tps65021",
- "ti,tps65023",
-- reg: I2C slave address
-- regulators: list of regulators provided by this controller, must be named
- after their hardware counterparts: VDCDC[1-3] and LDO[1-2]
-- regulators: This is the list of child nodes that specify the regulator
- initialization data for defined regulators. The definition for each of
- these nodes is defined using the standard binding for regulators found at
- Documentation/devicetree/bindings/regulator/regulator.txt.
-
-Each regulator is defined using the standard binding for regulators.
-
-Example:
-
- tps65023@48 {
- compatible = "ti,tps65023";
- reg = <0x48>;
-
- regulators {
- VDCDC1 {
- regulator-name = "vdd_mpu";
- regulator-always-on;
- regulator-min-microvolt = <1200000>;
- regulator-max-microvolt = <1200000>;
- };
-
- VDCDC2 {
- regulator-name = "vdd_core";
- regulator-always-on;
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- };
-
- VDCDC3 {
- regulator-name = "vdd_io";
- regulator-always-on;
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- };
-
- LDO1 {
- regulator-name = "vdd_usb18";
- regulator-always-on;
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- };
-
- LDO2 {
- regulator-name = "vdd_usb33";
- regulator-always-on;
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- };
- };
- };
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: regulator: Convert TPS65023 to DT schema
2026-08-15 8:29 [PATCH] dt-bindings: regulator: Convert TPS65023 to DT schema Eduard Bostina
@ 2026-08-17 16:59 ` Mark Brown
2026-08-28 7:27 ` Krzysztof Kozlowski
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2026-08-17 16:59 UTC (permalink / raw)
To: Eduard Bostina
Cc: Conor Dooley, devicetree, Krzysztof Kozlowski, Liam Girdwood,
linux-kernel, Rob Herring, daniel.baluta, simona.toaca,
goledhruva, m-chawdhry
[-- Attachment #1: Type: text/plain, Size: 477 bytes --]
On Sat, Aug 15, 2026 at 08:29:13AM +0000, Eduard Bostina wrote:
> Convert the Texas Instruments TPS65023 family of PMICs bindings
> to DT schema.
Please submit patches using subject lines reflecting the style for the
subsystem, this makes it easier for people to identify relevant patches.
Look at what existing commits in the area you're changing are doing and
make sure your subject lines visually resemble what they're doing.
There's no need to resubmit to fix this alone.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: regulator: Convert TPS65023 to DT schema
2026-08-15 8:29 [PATCH] dt-bindings: regulator: Convert TPS65023 to DT schema Eduard Bostina
2026-08-17 16:59 ` Mark Brown
@ 2026-08-28 7:27 ` Krzysztof Kozlowski
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2026-08-28 7:27 UTC (permalink / raw)
To: Eduard Bostina
Cc: Conor Dooley, devicetree, Krzysztof Kozlowski, Liam Girdwood,
linux-kernel, Mark Brown, Rob Herring, daniel.baluta,
simona.toaca, goledhruva, m-chawdhry
On Sat, Aug 15, 2026 at 08:29:13AM +0000, Eduard Bostina wrote:
> Convert the Texas Instruments TPS65023 family of PMICs bindings
> to DT schema.
>
> Signed-off-by: Eduard Bostina <egbostina@gmail.com>
> ---
> .../bindings/regulator/ti,tps65023.yaml | 90 +++++++++++++++++++
> .../bindings/regulator/tps65023.txt | 60 -------------
> 2 files changed, 90 insertions(+), 60 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/regulator/ti,tps65023.yaml
> delete mode 100644 Documentation/devicetree/bindings/regulator/tps65023.txt
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-08-28 7:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-15 8:29 [PATCH] dt-bindings: regulator: Convert TPS65023 to DT schema Eduard Bostina
2026-08-17 16:59 ` Mark Brown
2026-08-28 7:27 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox