* [PATCH v4 0/4] dt-bindings: Convert TI TPS65217 to DT schema
@ 2026-07-23 10:05 Eduard Bostina
2026-07-23 10:05 ` [PATCH v4 1/4] ARM: dts: ti: am335x-guardian: Drop unused isink-en property Eduard Bostina
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Eduard Bostina @ 2026-07-23 10:05 UTC (permalink / raw)
To: Aaro Koskinen, Andreas Kemnade, Conor Dooley, Daniel Thompson,
devicetree, Dmitry Torokhov, dri-devel, Eduard Bostina,
Jingoo Han, Kevin Hilman, Krzysztof Kozlowski, Lee Jones,
Liam Girdwood, linux-input, linux-kernel, linux-leds, linux-omap,
Mark Brown, Mark Jackson, Pavel Machek, Rob Herring,
Roger Quadros, Tony Lindgren
Cc: daniel.baluta, simona.toaca, goledhruva, m-chawdhry
This series converts the Texas Instruments TPS65217 PMIC bindings to DT
schema.
Changes in v4:
- Removed the regulator/tps65217.txt binding. It documented the same
'ti,tps65217' compatible and is now fully covered by the new schema.
Link to v3:
https://lore.kernel.org/all/20260721112133.70382-1-egbostina@gmail.com/
The binding covers the whole PMIC, so leds/backlight/ may not be the best
location. I can move it to mfd/ or regulator/ if preferred.
Eduard Bostina (4):
ARM: dts: ti: am335x-guardian: Drop unused isink-en property
ARM: dts: Rename the TPS65217 regulator nodes
dt-bindings: input: Convert TI TPS65217 power button to DT schema
dt-bindings: leds: backlight: Convert TPS65217 to DT schema
.../bindings/input/ti,tps65217-pwrbutton.yaml | 42 +++++
.../bindings/input/tps65218-pwrbutton.txt | 30 ----
.../bindings/leds/backlight/ti,tps65217.yaml | 170 ++++++++++++++++++
.../leds/backlight/tps65217-backlight.txt | 27 ---
.../bindings/regulator/tps65217.txt | 78 --------
.../boot/dts/ti/omap/am335x-bone-common.dtsi | 14 +-
.../arm/boot/dts/ti/omap/am335x-chilisom.dtsi | 14 +-
arch/arm/boot/dts/ti/omap/am335x-guardian.dts | 17 +-
arch/arm/boot/dts/ti/omap/am335x-nano.dts | 14 +-
.../dts/ti/omap/am335x-osd335x-common.dtsi | 14 +-
arch/arm/boot/dts/ti/omap/am335x-pepper.dts | 14 +-
arch/arm/boot/dts/ti/omap/am335x-shc.dts | 31 +---
arch/arm/boot/dts/ti/omap/am335x-sl50.dts | 14 +-
arch/arm/boot/dts/tps65217.dtsi | 31 +---
14 files changed, 275 insertions(+), 235 deletions(-)
create mode 100644 Documentation/devicetree/bindings/input/ti,tps65217-pwrbutton.yaml
delete mode 100644 Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt
create mode 100644 Documentation/devicetree/bindings/leds/backlight/ti,tps65217.yaml
delete mode 100644 Documentation/devicetree/bindings/leds/backlight/tps65217-backlight.txt
delete mode 100644 Documentation/devicetree/bindings/regulator/tps65217.txt
--
2.43.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v4 1/4] ARM: dts: ti: am335x-guardian: Drop unused isink-en property
2026-07-23 10:05 [PATCH v4 0/4] dt-bindings: Convert TI TPS65217 to DT schema Eduard Bostina
@ 2026-07-23 10:05 ` Eduard Bostina
2026-07-23 10:10 ` sashiko-bot
2026-07-23 10:06 ` [PATCH v4 2/4] ARM: dts: Rename the TPS65217 regulator nodes Eduard Bostina
` (2 subsequent siblings)
3 siblings, 1 reply; 9+ messages in thread
From: Eduard Bostina @ 2026-07-23 10:05 UTC (permalink / raw)
To: Aaro Koskinen, Andreas Kemnade, Conor Dooley, Daniel Thompson,
devicetree, Dmitry Torokhov, dri-devel, Eduard Bostina,
Jingoo Han, Kevin Hilman, Krzysztof Kozlowski, Lee Jones,
Liam Girdwood, linux-input, linux-kernel, linux-leds, linux-omap,
Mark Brown, Mark Jackson, Pavel Machek, Rob Herring,
Roger Quadros, Tony Lindgren
Cc: daniel.baluta, simona.toaca, goledhruva, m-chawdhry,
Krzysztof Kozlowski
The 'isink-en' property is not documented and not read by any driver,
so remove it from the TPS65217 backlight node.
Signed-off-by: Eduard Bostina <egbostina@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
arch/arm/boot/dts/ti/omap/am335x-guardian.dts | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/arm/boot/dts/ti/omap/am335x-guardian.dts b/arch/arm/boot/dts/ti/omap/am335x-guardian.dts
index 6ce3a2d029ee..d595e79d6b05 100644
--- a/arch/arm/boot/dts/ti/omap/am335x-guardian.dts
+++ b/arch/arm/boot/dts/ti/omap/am335x-guardian.dts
@@ -320,9 +320,6 @@ backlight {
isel = <1>; /* 1 - ISET1, 2 ISET2 */
fdim = <500>; /* TPS65217_BL_FDIM_500HZ */
default-brightness = <50>;
- /* 1(on) - enable current sink, while initialization */
- /* 0(off) - disable current sink, while initialization */
- isink-en = <1>;
};
regulators {
--
2.43.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v4 2/4] ARM: dts: Rename the TPS65217 regulator nodes
2026-07-23 10:05 [PATCH v4 0/4] dt-bindings: Convert TI TPS65217 to DT schema Eduard Bostina
2026-07-23 10:05 ` [PATCH v4 1/4] ARM: dts: ti: am335x-guardian: Drop unused isink-en property Eduard Bostina
@ 2026-07-23 10:06 ` Eduard Bostina
2026-07-23 10:16 ` sashiko-bot
2026-07-23 10:06 ` [PATCH v4 3/4] dt-bindings: input: Convert TI TPS65217 power button to DT schema Eduard Bostina
2026-07-23 10:06 ` [PATCH v4 4/4] dt-bindings: leds: backlight: Convert TPS65217 " Eduard Bostina
3 siblings, 1 reply; 9+ messages in thread
From: Eduard Bostina @ 2026-07-23 10:06 UTC (permalink / raw)
To: Aaro Koskinen, Andreas Kemnade, Conor Dooley, Daniel Thompson,
devicetree, Dmitry Torokhov, dri-devel, Eduard Bostina,
Jingoo Han, Kevin Hilman, Krzysztof Kozlowski, Lee Jones,
Liam Girdwood, linux-input, linux-kernel, linux-leds, linux-omap,
Mark Brown, Mark Jackson, Pavel Machek, Rob Herring,
Roger Quadros, Tony Lindgren
Cc: daniel.baluta, simona.toaca, goledhruva, m-chawdhry
The TPS65217 regulator nodes are named regulator@0 to regulator@6 and
rely on the deprecated 'regulator-compatible' property to be matched
against the driver, which looks for "dcdc1" to "ldo4".
Documentation/devicetree/bindings/regulator/tps65217.txt states the
regulators must be named after their hardware counterparts, dcdc[1-3]
and ldo[1-4].
Rename the nodes accordingly and drop 'regulator-compatible' along with
the unit addresses it made necessary.
Signed-off-by: Eduard Bostina <egbostina@gmail.com>
---
.../boot/dts/ti/omap/am335x-bone-common.dtsi | 14 ++++-----
.../arm/boot/dts/ti/omap/am335x-chilisom.dtsi | 14 ++++-----
arch/arm/boot/dts/ti/omap/am335x-guardian.dts | 14 ++++-----
arch/arm/boot/dts/ti/omap/am335x-nano.dts | 14 ++++-----
.../dts/ti/omap/am335x-osd335x-common.dtsi | 14 ++++-----
arch/arm/boot/dts/ti/omap/am335x-pepper.dts | 14 ++++-----
arch/arm/boot/dts/ti/omap/am335x-shc.dts | 31 +++++--------------
arch/arm/boot/dts/ti/omap/am335x-sl50.dts | 14 ++++-----
arch/arm/boot/dts/tps65217.dtsi | 31 +++++--------------
9 files changed, 63 insertions(+), 97 deletions(-)
diff --git a/arch/arm/boot/dts/ti/omap/am335x-bone-common.dtsi b/arch/arm/boot/dts/ti/omap/am335x-bone-common.dtsi
index 1d83fc116b66..e5ca2bd65736 100644
--- a/arch/arm/boot/dts/ti/omap/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/ti/omap/am335x-bone-common.dtsi
@@ -337,12 +337,12 @@ pwrbutton {
};
regulators {
- dcdc1_reg: regulator@0 {
+ dcdc1_reg: dcdc1 {
regulator-name = "vdds_dpr";
regulator-always-on;
};
- dcdc2_reg: regulator@1 {
+ dcdc2_reg: dcdc2 {
/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
regulator-name = "vdd_mpu";
regulator-min-microvolt = <925000>;
@@ -351,7 +351,7 @@ dcdc2_reg: regulator@1 {
regulator-always-on;
};
- dcdc3_reg: regulator@2 {
+ dcdc3_reg: dcdc3 {
/* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
regulator-name = "vdd_core";
regulator-min-microvolt = <925000>;
@@ -360,22 +360,22 @@ dcdc3_reg: regulator@2 {
regulator-always-on;
};
- ldo1_reg: regulator@3 {
+ ldo1_reg: ldo1 {
regulator-name = "vio,vrtc,vdds";
regulator-always-on;
};
- ldo2_reg: regulator@4 {
+ ldo2_reg: ldo2 {
regulator-name = "vdd_3v3aux";
regulator-always-on;
};
- ldo3_reg: regulator@5 {
+ ldo3_reg: ldo3 {
regulator-name = "vdd_1v8";
regulator-always-on;
};
- ldo4_reg: regulator@6 {
+ ldo4_reg: ldo4 {
regulator-name = "vdd_3v3a";
regulator-always-on;
};
diff --git a/arch/arm/boot/dts/ti/omap/am335x-chilisom.dtsi b/arch/arm/boot/dts/ti/omap/am335x-chilisom.dtsi
index bd43da6356b6..9ee6d6d4a9c1 100644
--- a/arch/arm/boot/dts/ti/omap/am335x-chilisom.dtsi
+++ b/arch/arm/boot/dts/ti/omap/am335x-chilisom.dtsi
@@ -70,12 +70,12 @@ tps: tps@24 {
&tps {
regulators {
- dcdc1_reg: regulator@0 {
+ dcdc1_reg: dcdc1 {
regulator-name = "vdds_dpr";
regulator-always-on;
};
- dcdc2_reg: regulator@1 {
+ dcdc2_reg: dcdc2 {
/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
regulator-name = "vdd_mpu";
regulator-min-microvolt = <925000>;
@@ -84,7 +84,7 @@ dcdc2_reg: regulator@1 {
regulator-always-on;
};
- dcdc3_reg: regulator@2 {
+ dcdc3_reg: dcdc3 {
/* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
regulator-name = "vdd_core";
regulator-min-microvolt = <925000>;
@@ -93,25 +93,25 @@ dcdc3_reg: regulator@2 {
regulator-always-on;
};
- ldo1_reg: regulator@3 {
+ ldo1_reg: ldo1 {
regulator-name = "vio,vrtc,vdds";
regulator-boot-on;
regulator-always-on;
};
- ldo2_reg: regulator@4 {
+ ldo2_reg: ldo2 {
regulator-name = "vdd_3v3aux";
regulator-boot-on;
regulator-always-on;
};
- ldo3_reg: regulator@5 {
+ ldo3_reg: ldo3 {
regulator-name = "vdd_1v8";
regulator-boot-on;
regulator-always-on;
};
- ldo4_reg: regulator@6 {
+ ldo4_reg: ldo4 {
regulator-name = "vdd_3v3d";
regulator-boot-on;
regulator-always-on;
diff --git a/arch/arm/boot/dts/ti/omap/am335x-guardian.dts b/arch/arm/boot/dts/ti/omap/am335x-guardian.dts
index d595e79d6b05..fecfe12e1349 100644
--- a/arch/arm/boot/dts/ti/omap/am335x-guardian.dts
+++ b/arch/arm/boot/dts/ti/omap/am335x-guardian.dts
@@ -323,12 +323,12 @@ backlight {
};
regulators {
- dcdc1_reg: regulator@0 {
+ dcdc1_reg: dcdc1 {
regulator-name = "vdds_dpr";
regulator-always-on;
};
- dcdc2_reg: regulator@1 {
+ dcdc2_reg: dcdc2 {
/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
regulator-name = "vdd_mpu";
regulator-min-microvolt = <925000>;
@@ -337,7 +337,7 @@ dcdc2_reg: regulator@1 {
regulator-always-on;
};
- dcdc3_reg: regulator@2 {
+ dcdc3_reg: dcdc3 {
/* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
regulator-name = "vdd_core";
regulator-min-microvolt = <925000>;
@@ -346,24 +346,24 @@ dcdc3_reg: regulator@2 {
regulator-always-on;
};
- ldo1_reg: regulator@3 {
+ ldo1_reg: ldo1 {
regulator-name = "vio,vrtc,vdds";
regulator-always-on;
};
- ldo2_reg: regulator@4 {
+ ldo2_reg: ldo2 {
regulator-name = "vdd_3v3aux";
regulator-always-on;
};
- ldo3_reg: regulator@5 {
+ ldo3_reg: ldo3 {
regulator-name = "vdd_1v8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
- ldo4_reg: regulator@6 {
+ ldo4_reg: ldo4 {
regulator-name = "vdd_3v3a";
regulator-always-on;
};
diff --git a/arch/arm/boot/dts/ti/omap/am335x-nano.dts b/arch/arm/boot/dts/ti/omap/am335x-nano.dts
index d51cdd6e1ab4..c1143f0a3356 100644
--- a/arch/arm/boot/dts/ti/omap/am335x-nano.dts
+++ b/arch/arm/boot/dts/ti/omap/am335x-nano.dts
@@ -431,7 +431,7 @@ &usb0 {
&tps {
regulators {
- dcdc1_reg: regulator@0 {
+ dcdc1_reg: dcdc1 {
/* +1.5V voltage with ±4% tolerance */
regulator-min-microvolt = <1450000>;
regulator-max-microvolt = <1550000>;
@@ -439,7 +439,7 @@ dcdc1_reg: regulator@0 {
regulator-always-on;
};
- dcdc2_reg: regulator@1 {
+ dcdc2_reg: dcdc2 {
/* VDD_MPU voltage limits 0.95V - 1.1V with ±4% tolerance */
regulator-name = "vdd_mpu";
regulator-min-microvolt = <915000>;
@@ -448,7 +448,7 @@ dcdc2_reg: regulator@1 {
regulator-always-on;
};
- dcdc3_reg: regulator@2 {
+ dcdc3_reg: dcdc3 {
/* VDD_CORE voltage limits 0.95V - 1.1V with ±4% tolerance */
regulator-name = "vdd_core";
regulator-min-microvolt = <915000>;
@@ -457,7 +457,7 @@ dcdc3_reg: regulator@2 {
regulator-always-on;
};
- ldo1_reg: regulator@3 {
+ ldo1_reg: ldo1 {
/* +1.8V voltage with ±4% tolerance */
regulator-min-microvolt = <1750000>;
regulator-max-microvolt = <1870000>;
@@ -465,7 +465,7 @@ ldo1_reg: regulator@3 {
regulator-always-on;
};
- ldo2_reg: regulator@4 {
+ ldo2_reg: ldo2 {
/* +3.3V voltage with ±4% tolerance */
regulator-min-microvolt = <3175000>;
regulator-max-microvolt = <3430000>;
@@ -473,7 +473,7 @@ ldo2_reg: regulator@4 {
regulator-always-on;
};
- ldo3_reg: regulator@5 {
+ ldo3_reg: ldo3 {
/* +1.8V voltage with ±4% tolerance */
regulator-min-microvolt = <1750000>;
regulator-max-microvolt = <1870000>;
@@ -481,7 +481,7 @@ ldo3_reg: regulator@5 {
regulator-always-on;
};
- ldo4_reg: regulator@6 {
+ ldo4_reg: ldo4 {
/* +3.3V voltage with ±4% tolerance */
regulator-min-microvolt = <3175000>;
regulator-max-microvolt = <3430000>;
diff --git a/arch/arm/boot/dts/ti/omap/am335x-osd335x-common.dtsi b/arch/arm/boot/dts/ti/omap/am335x-osd335x-common.dtsi
index 93a3af83feac..021cf5cbbb96 100644
--- a/arch/arm/boot/dts/ti/omap/am335x-osd335x-common.dtsi
+++ b/arch/arm/boot/dts/ti/omap/am335x-osd335x-common.dtsi
@@ -69,12 +69,12 @@ pwrbutton {
};
regulators {
- dcdc1_reg: regulator@0 {
+ dcdc1_reg: dcdc1 {
regulator-name = "vdds_dpr";
regulator-always-on;
};
- dcdc2_reg: regulator@1 {
+ dcdc2_reg: dcdc2 {
/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
regulator-name = "vdd_mpu";
regulator-min-microvolt = <925000>;
@@ -83,7 +83,7 @@ dcdc2_reg: regulator@1 {
regulator-always-on;
};
- dcdc3_reg: regulator@2 {
+ dcdc3_reg: dcdc3 {
/* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
regulator-name = "vdd_core";
regulator-min-microvolt = <925000>;
@@ -92,24 +92,24 @@ dcdc3_reg: regulator@2 {
regulator-always-on;
};
- ldo1_reg: regulator@3 {
+ ldo1_reg: ldo1 {
regulator-name = "vio,vrtc,vdds";
regulator-always-on;
};
- ldo2_reg: regulator@4 {
+ ldo2_reg: ldo2 {
regulator-name = "vdd_3v3aux";
regulator-always-on;
};
- ldo3_reg: regulator@5 {
+ ldo3_reg: ldo3 {
regulator-name = "vdd_1v8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
- ldo4_reg: regulator@6 {
+ ldo4_reg: ldo4 {
regulator-name = "vdd_3v3a";
regulator-always-on;
};
diff --git a/arch/arm/boot/dts/ti/omap/am335x-pepper.dts b/arch/arm/boot/dts/ti/omap/am335x-pepper.dts
index 10d54e0ad15a..363638e74719 100644
--- a/arch/arm/boot/dts/ti/omap/am335x-pepper.dts
+++ b/arch/arm/boot/dts/ti/omap/am335x-pepper.dts
@@ -433,12 +433,12 @@ backlight {
};
regulators {
- dcdc1_reg: regulator@0 {
+ dcdc1_reg: dcdc1 {
/* VDD_1V8 system supply */
regulator-always-on;
};
- dcdc2_reg: regulator@1 {
+ dcdc2_reg: dcdc2 {
/* VDD_CORE voltage limits 0.95V - 1.26V with +/-4% tolerance */
regulator-name = "vdd_core";
regulator-min-microvolt = <925000>;
@@ -447,7 +447,7 @@ dcdc2_reg: regulator@1 {
regulator-always-on;
};
- dcdc3_reg: regulator@2 {
+ dcdc3_reg: dcdc3 {
/* VDD_MPU voltage limits 0.95V - 1.1V with +/-4% tolerance */
regulator-name = "vdd_mpu";
regulator-min-microvolt = <925000>;
@@ -456,26 +456,26 @@ dcdc3_reg: regulator@2 {
regulator-always-on;
};
- ldo1_reg: regulator@3 {
+ ldo1_reg: ldo1 {
/* VRTC 1.8V always-on supply */
regulator-name = "vrtc,vdds";
regulator-always-on;
};
- ldo2_reg: regulator@4 {
+ ldo2_reg: ldo2 {
/* 3.3V rail */
regulator-name = "vdd_3v3aux";
regulator-always-on;
};
- ldo3_reg: regulator@5 {
+ ldo3_reg: ldo3 {
/* VDD_3V3A 3.3V rail */
regulator-name = "vdd_3v3a";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
- ldo4_reg: regulator@6 {
+ ldo4_reg: ldo4 {
/* VDD_3V3B 3.3V rail */
regulator-name = "vdd_3v3b";
regulator-always-on;
diff --git a/arch/arm/boot/dts/ti/omap/am335x-shc.dts b/arch/arm/boot/dts/ti/omap/am335x-shc.dts
index 597482822608..473058584691 100644
--- a/arch/arm/boot/dts/ti/omap/am335x-shc.dts
+++ b/arch/arm/boot/dts/ti/omap/am335x-shc.dts
@@ -254,26 +254,19 @@ &tps {
ti,pmic-shutdown-controller;
regulators {
- #address-cells = <1>;
- #size-cells = <0>;
-
- dcdc1_reg: regulator@0 {
- reg = <0>;
+ dcdc1_reg: dcdc1 {
regulator-name = "vdds_dpr";
- regulator-compatible = "dcdc1";
regulator-min-microvolt = <1300000>;
regulator-max-microvolt = <1450000>;
regulator-boot-on;
regulator-always-on;
};
- dcdc2_reg: regulator@1 {
- reg = <1>;
+ dcdc2_reg: dcdc2 {
/*
* VDD_MPU voltage limits 0.95V - 1.26V with
* +/-4% tolerance
*/
- regulator-compatible = "dcdc2";
regulator-name = "vdd_mpu";
regulator-min-microvolt = <925000>;
regulator-max-microvolt = <1375000>;
@@ -282,51 +275,41 @@ dcdc2_reg: regulator@1 {
regulator-ramp-delay = <70000>;
};
- dcdc3_reg: regulator@2 {
- reg = <2>;
+ dcdc3_reg: dcdc3 {
/*
* VDD_CORE voltage limits 0.95V - 1.1V with
* +/-4% tolerance
*/
regulator-name = "vdd_core";
- regulator-compatible = "dcdc3";
regulator-min-microvolt = <925000>;
regulator-max-microvolt = <1125000>;
regulator-boot-on;
regulator-always-on;
};
- ldo1_reg: regulator@3 {
- reg = <3>;
+ ldo1_reg: ldo1 {
regulator-name = "vio,vrtc,vdds";
- regulator-compatible = "ldo1";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
- ldo2_reg: regulator@4 {
- reg = <4>;
+ ldo2_reg: ldo2 {
regulator-name = "vdd_3v3aux";
- regulator-compatible = "ldo2";
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
- ldo3_reg: regulator@5 {
- reg = <5>;
+ ldo3_reg: ldo3 {
regulator-name = "vdd_1v8";
- regulator-compatible = "ldo3";
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
- ldo4_reg: regulator@6 {
- reg = <6>;
+ ldo4_reg: ldo4 {
regulator-name = "vdd_3v3a";
- regulator-compatible = "ldo4";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
diff --git a/arch/arm/boot/dts/ti/omap/am335x-sl50.dts b/arch/arm/boot/dts/ti/omap/am335x-sl50.dts
index c5259eb7d21c..0cc9289c752b 100644
--- a/arch/arm/boot/dts/ti/omap/am335x-sl50.dts
+++ b/arch/arm/boot/dts/ti/omap/am335x-sl50.dts
@@ -607,14 +607,14 @@ &tps {
interrupts = <7>; /* NNMI */
regulators {
- dcdc1_reg: regulator@0 {
+ dcdc1_reg: dcdc1 {
/* VDDS_DDR */
regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <1500000>;
regulator-always-on;
};
- dcdc2_reg: regulator@1 {
+ dcdc2_reg: dcdc2 {
/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
regulator-name = "vdd_mpu";
regulator-min-microvolt = <925000>;
@@ -623,7 +623,7 @@ dcdc2_reg: regulator@1 {
regulator-always-on;
};
- dcdc3_reg: regulator@2 {
+ dcdc3_reg: dcdc3 {
/* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
regulator-name = "vdd_core";
regulator-min-microvolt = <925000>;
@@ -632,28 +632,28 @@ dcdc3_reg: regulator@2 {
regulator-always-on;
};
- ldo1_reg: regulator@3 {
+ ldo1_reg: ldo1 {
/* VRTC / VIO / VDDS*/
regulator-always-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
- ldo2_reg: regulator@4 {
+ ldo2_reg: ldo2 {
/* VDD_3V3AUX */
regulator-always-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
- ldo3_reg: regulator@5 {
+ ldo3_reg: ldo3 {
/* VDD_1V8 */
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
- ldo4_reg: regulator@6 {
+ ldo4_reg: ldo4 {
/* VDD_3V3A */
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
diff --git a/arch/arm/boot/dts/tps65217.dtsi b/arch/arm/boot/dts/tps65217.dtsi
index 0d463de5650f..e7db105b3657 100644
--- a/arch/arm/boot/dts/tps65217.dtsi
+++ b/arch/arm/boot/dts/tps65217.dtsi
@@ -27,42 +27,25 @@ pwrbutton {
};
regulators {
- #address-cells = <1>;
- #size-cells = <0>;
-
- dcdc1_reg: regulator@0 {
- reg = <0>;
- regulator-compatible = "dcdc1";
+ dcdc1_reg: dcdc1 {
};
- dcdc2_reg: regulator@1 {
- reg = <1>;
- regulator-compatible = "dcdc2";
+ dcdc2_reg: dcdc2 {
};
- dcdc3_reg: regulator@2 {
- reg = <2>;
- regulator-compatible = "dcdc3";
+ dcdc3_reg: dcdc3 {
};
- ldo1_reg: regulator@3 {
- reg = <3>;
- regulator-compatible = "ldo1";
+ ldo1_reg: ldo1 {
};
- ldo2_reg: regulator@4 {
- reg = <4>;
- regulator-compatible = "ldo2";
+ ldo2_reg: ldo2 {
};
- ldo3_reg: regulator@5 {
- reg = <5>;
- regulator-compatible = "ldo3";
+ ldo3_reg: ldo3 {
};
- ldo4_reg: regulator@6 {
- reg = <6>;
- regulator-compatible = "ldo4";
+ ldo4_reg: ldo4 {
};
};
};
--
2.43.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v4 3/4] dt-bindings: input: Convert TI TPS65217 power button to DT schema
2026-07-23 10:05 [PATCH v4 0/4] dt-bindings: Convert TI TPS65217 to DT schema Eduard Bostina
2026-07-23 10:05 ` [PATCH v4 1/4] ARM: dts: ti: am335x-guardian: Drop unused isink-en property Eduard Bostina
2026-07-23 10:06 ` [PATCH v4 2/4] ARM: dts: Rename the TPS65217 regulator nodes Eduard Bostina
@ 2026-07-23 10:06 ` Eduard Bostina
2026-07-23 10:22 ` sashiko-bot
2026-07-23 10:06 ` [PATCH v4 4/4] dt-bindings: leds: backlight: Convert TPS65217 " Eduard Bostina
3 siblings, 1 reply; 9+ messages in thread
From: Eduard Bostina @ 2026-07-23 10:06 UTC (permalink / raw)
To: Aaro Koskinen, Andreas Kemnade, Conor Dooley, Daniel Thompson,
devicetree, Dmitry Torokhov, dri-devel, Eduard Bostina,
Jingoo Han, Kevin Hilman, Krzysztof Kozlowski, Lee Jones,
Liam Girdwood, linux-input, linux-kernel, linux-leds, linux-omap,
Mark Brown, Mark Jackson, Pavel Machek, Rob Herring,
Roger Quadros, Tony Lindgren
Cc: daniel.baluta, simona.toaca, goledhruva, m-chawdhry,
Krzysztof Kozlowski
Convert the Texas Instruments TPS65217 and TPS65218 Power Button
bindings to DT schema.
Signed-off-by: Eduard Bostina <egbostina@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
.../bindings/input/ti,tps65217-pwrbutton.yaml | 42 +++++++++++++++++++
.../bindings/input/tps65218-pwrbutton.txt | 30 -------------
2 files changed, 42 insertions(+), 30 deletions(-)
create mode 100644 Documentation/devicetree/bindings/input/ti,tps65217-pwrbutton.yaml
delete mode 100644 Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt
diff --git a/Documentation/devicetree/bindings/input/ti,tps65217-pwrbutton.yaml b/Documentation/devicetree/bindings/input/ti,tps65217-pwrbutton.yaml
new file mode 100644
index 000000000000..3526d8b045fd
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/ti,tps65217-pwrbutton.yaml
@@ -0,0 +1,42 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/input/ti,tps65217-pwrbutton.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Texas Instruments TPS65217 and TPS65218 Power Button
+
+maintainers:
+ - Eduard Bostina <egbostina@gmail.com>
+
+description:
+ This module is part of the TPS65217/TPS65218 PMIC. It provides a simple
+ power button event via an interrupt.
+
+properties:
+ compatible:
+ enum:
+ - ti,tps65217-pwrbutton
+ - ti,tps65218-pwrbutton
+
+ interrupts:
+ maxItems: 1
+
+required:
+ - compatible
+ - interrupts
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/irq.h>
+ pmic {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ power-button {
+ compatible = "ti,tps65218-pwrbutton";
+ interrupts = <3 IRQ_TYPE_EDGE_BOTH>;
+ };
+ };
diff --git a/Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt b/Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt
deleted file mode 100644
index 8682ab6d4a50..000000000000
--- a/Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Texas Instruments TPS65217 and TPS65218 power button
-
-This module is part of the TPS65217/TPS65218. For more details about the whole
-TPS65217 chip see Documentation/devicetree/bindings/regulator/tps65217.txt.
-
-This driver provides a simple power button event via an Interrupt.
-
-Required properties:
-- compatible: should be "ti,tps65217-pwrbutton" or "ti,tps65218-pwrbutton"
-
-Required properties:
-- interrupts: should be one of the following
- - <2>: For controllers compatible with tps65217
- - <3 IRQ_TYPE_EDGE_BOTH>: For controllers compatible with tps65218
-
-Examples:
-
-&tps {
- tps65217-pwrbutton {
- compatible = "ti,tps65217-pwrbutton";
- interrupts = <2>;
- };
-};
-
-&tps {
- power-button {
- compatible = "ti,tps65218-pwrbutton";
- interrupts = <3 IRQ_TYPE_EDGE_BOTH>;
- };
-};
--
2.43.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v4 4/4] dt-bindings: leds: backlight: Convert TPS65217 to DT schema
2026-07-23 10:05 [PATCH v4 0/4] dt-bindings: Convert TI TPS65217 to DT schema Eduard Bostina
` (2 preceding siblings ...)
2026-07-23 10:06 ` [PATCH v4 3/4] dt-bindings: input: Convert TI TPS65217 power button to DT schema Eduard Bostina
@ 2026-07-23 10:06 ` Eduard Bostina
2026-07-23 10:34 ` sashiko-bot
3 siblings, 1 reply; 9+ messages in thread
From: Eduard Bostina @ 2026-07-23 10:06 UTC (permalink / raw)
To: Aaro Koskinen, Andreas Kemnade, Conor Dooley, Daniel Thompson,
devicetree, Dmitry Torokhov, dri-devel, Eduard Bostina,
Jingoo Han, Kevin Hilman, Krzysztof Kozlowski, Lee Jones,
Liam Girdwood, linux-input, linux-kernel, linux-leds, linux-omap,
Mark Brown, Mark Jackson, Pavel Machek, Rob Herring,
Roger Quadros, Tony Lindgren
Cc: daniel.baluta, simona.toaca, goledhruva, m-chawdhry
Convert the Texas Instruments TPS65217 bindings to DT schema.
During the conversion, the following updates were made:
- Documented the 'regulators', 'charger' and 'pwrbutton' child nodes,
which are used by the boards but were missing from the old txt
binding.
- Documented the 'interrupts', 'interrupt-controller', '#interrupt-cells'
and 'ti,pmic-shutdown-controller' properties, which are used by the
am335x boards and read by the driver.
The regulator/tps65217.txt binding documented the same 'ti,tps65217'
compatible and is superseded by this schema, so remove it as well.
Signed-off-by: Eduard Bostina <egbostina@gmail.com>
---
.../bindings/leds/backlight/ti,tps65217.yaml | 170 ++++++++++++++++++
.../leds/backlight/tps65217-backlight.txt | 27 ---
.../bindings/regulator/tps65217.txt | 78 --------
3 files changed, 170 insertions(+), 105 deletions(-)
create mode 100644 Documentation/devicetree/bindings/leds/backlight/ti,tps65217.yaml
delete mode 100644 Documentation/devicetree/bindings/leds/backlight/tps65217-backlight.txt
delete mode 100644 Documentation/devicetree/bindings/regulator/tps65217.txt
diff --git a/Documentation/devicetree/bindings/leds/backlight/ti,tps65217.yaml b/Documentation/devicetree/bindings/leds/backlight/ti,tps65217.yaml
new file mode 100644
index 000000000000..4d2f4dbd2d52
--- /dev/null
+++ b/Documentation/devicetree/bindings/leds/backlight/ti,tps65217.yaml
@@ -0,0 +1,170 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/leds/backlight/ti,tps65217.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: TPS65217 family of regulators
+
+maintainers:
+ - Eduard Bostina <egbostina@gmail.com>
+
+description:
+ The TPS65217 chip contains a boost converter and current sinks which can be
+ used to drive LEDs for use as backlights.
+
+properties:
+ compatible:
+ const: ti,tps65217
+
+ reg:
+ maxItems: 1
+ description: I2C slave address
+
+ interrupts:
+ maxItems: 1
+
+ interrupt-controller: true
+
+ "#interrupt-cells":
+ const: 1
+
+ ti,pmic-shutdown-controller:
+ type: boolean
+ description:
+ Set the PMIC to shutdown on PWR_EN toggle.
+
+ backlight:
+ type: object
+ additionalProperties: false
+ description:
+ Node for specifying WLED1 and WLED2 lines in TPS65217.
+
+ properties:
+ isel:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ enum: [1, 2]
+ description: |
+ Selection bit. Valid values:
+ 1 - ISEL1 (low-level)
+ 2 - ISEL2 (high-level)
+
+ fdim:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ enum: [100, 200, 500, 1000]
+ description:
+ PWM dimming frequency in Hz.
+
+ default-brightness:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ minimum: 0
+ maximum: 100
+
+ required:
+ - isel
+ - fdim
+ - default-brightness
+
+ regulators:
+ type: object
+ additionalProperties: false
+ description:
+ List of child nodes that specify the regulator initialization data.
+ Not all regulators for the given device need to be present.
+
+ patternProperties:
+ "^(dcdc[1-3]|ldo[1-4])$":
+ type: object
+ $ref: /schemas/regulator/regulator.yaml#
+ unevaluatedProperties: false
+
+ charger:
+ $ref: /schemas/power/supply/tps65217-charger.yaml#
+ unevaluatedProperties: false
+
+ pwrbutton:
+ $ref: /schemas/input/ti,tps65217-pwrbutton.yaml#
+ unevaluatedProperties: false
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ pmic@24 {
+ compatible = "ti,tps65217";
+ reg = <0x24>;
+ interrupt-controller;
+ #interrupt-cells = <1>;
+ ti,pmic-shutdown-controller;
+
+ backlight {
+ isel = <1>; /* 1 - ISET1, 2 ISET2 */
+ fdim = <100>; /* TPS65217_BL_FDIM_100HZ */
+ default-brightness = <50>;
+ };
+
+ charger {
+ compatible = "ti,tps65217-charger";
+ interrupts = <0>, <1>;
+ interrupt-names = "USB", "AC";
+ };
+
+ pwrbutton {
+ compatible = "ti,tps65217-pwrbutton";
+ interrupts = <2>;
+ };
+
+ regulators {
+ dcdc1 {
+ regulator-name = "vdds_dpr";
+ regulator-always-on;
+ };
+
+ dcdc2 {
+ regulator-name = "vdd_mpu";
+ regulator-min-microvolt = <925000>;
+ regulator-max-microvolt = <1351500>;
+ regulator-boot-on;
+ regulator-always-on;
+ };
+
+ dcdc3 {
+ regulator-name = "vdd_core";
+ regulator-min-microvolt = <925000>;
+ regulator-max-microvolt = <1150000>;
+ regulator-boot-on;
+ regulator-always-on;
+ };
+
+ ldo1 {
+ regulator-name = "vio,vrtc,vdds";
+ regulator-always-on;
+ };
+
+ ldo2 {
+ regulator-name = "vdd_3v3aux";
+ regulator-always-on;
+ };
+
+ ldo3 {
+ regulator-name = "vdd_1v8";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-always-on;
+ };
+
+ ldo4 {
+ regulator-name = "vdd_3v3a";
+ regulator-always-on;
+ };
+ };
+ };
+ };
diff --git a/Documentation/devicetree/bindings/leds/backlight/tps65217-backlight.txt b/Documentation/devicetree/bindings/leds/backlight/tps65217-backlight.txt
deleted file mode 100644
index 5fb9279ac287..000000000000
--- a/Documentation/devicetree/bindings/leds/backlight/tps65217-backlight.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-TPS65217 family of regulators
-
-The TPS65217 chip contains a boost converter and current sinks which can be
-used to drive LEDs for use as backlights.
-
-Required properties:
-- compatible: "ti,tps65217"
-- reg: I2C slave address
-- backlight: node for specifying WLED1 and WLED2 lines in TPS65217
-- isel: selection bit, valid values: 1 for ISEL1 (low-level) and 2 for ISEL2 (high-level)
-- fdim: PWM dimming frequency, valid values: 100, 200, 500, 1000
-- default-brightness: valid values: 0-100
-
-Each regulator is defined using the standard binding for regulators.
-
-Example:
-
- tps: tps@24 {
- reg = <0x24>;
- compatible = "ti,tps65217";
- backlight {
- isel = <1>; /* 1 - ISET1, 2 ISET2 */
- fdim = <100>; /* TPS65217_BL_FDIM_100HZ */
- default-brightness = <50>;
- };
- };
-
diff --git a/Documentation/devicetree/bindings/regulator/tps65217.txt b/Documentation/devicetree/bindings/regulator/tps65217.txt
deleted file mode 100644
index 4f05d208c95c..000000000000
--- a/Documentation/devicetree/bindings/regulator/tps65217.txt
+++ /dev/null
@@ -1,78 +0,0 @@
-TPS65217 family of regulators
-
-Required properties:
-- compatible: "ti,tps65217"
-- reg: I2C slave address
-- regulators: list of regulators provided by this controller, must be named
- after their hardware counterparts: dcdc[1-3] and ldo[1-4]
-- regulators: This is the list of child nodes that specify the regulator
- initialization data for defined regulators. Not all regulators for the given
- device need to be present. The definition for each of these nodes is defined
- using the standard binding for regulators found at
- Documentation/devicetree/bindings/regulator/regulator.txt.
-
-Optional properties:
-- ti,pmic-shutdown-controller: Telling the PMIC to shutdown on PWR_EN toggle.
-
- The valid names for regulators are:
- tps65217: dcdc1, dcdc2, dcdc3, ldo1, ldo2, ldo3 and ldo4
-
-Each regulator is defined using the standard binding for regulators.
-
-Example:
-
- tps: tps@24 {
- compatible = "ti,tps65217";
- ti,pmic-shutdown-controller;
-
- regulators {
- dcdc1_reg: dcdc1 {
- regulator-min-microvolt = <900000>;
- regulator-max-microvolt = <1800000>;
- regulator-boot-on;
- regulator-always-on;
- };
-
- dcdc2_reg: dcdc2 {
- regulator-min-microvolt = <900000>;
- regulator-max-microvolt = <3300000>;
- regulator-boot-on;
- regulator-always-on;
- };
-
- dcdc3_reg: dcc3 {
- regulator-min-microvolt = <900000>;
- regulator-max-microvolt = <1500000>;
- regulator-boot-on;
- regulator-always-on;
- };
-
- ldo1_reg: ldo1 {
- regulator-min-microvolt = <1000000>;
- regulator-max-microvolt = <3300000>;
- regulator-boot-on;
- regulator-always-on;
- };
-
- ldo2_reg: ldo2 {
- regulator-min-microvolt = <900000>;
- regulator-max-microvolt = <3300000>;
- regulator-boot-on;
- regulator-always-on;
- };
-
- ldo3_reg: ldo3 {
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <3300000>;
- regulator-boot-on;
- regulator-always-on;
- };
-
- ldo4_reg: ldo4 {
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <3300000>;
- regulator-boot-on;
- regulator-always-on;
- };
- };
- };
--
2.43.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH v4 1/4] ARM: dts: ti: am335x-guardian: Drop unused isink-en property
2026-07-23 10:05 ` [PATCH v4 1/4] ARM: dts: ti: am335x-guardian: Drop unused isink-en property Eduard Bostina
@ 2026-07-23 10:10 ` sashiko-bot
0 siblings, 0 replies; 9+ messages in thread
From: sashiko-bot @ 2026-07-23 10:10 UTC (permalink / raw)
To: Eduard Bostina
Cc: lee, devicetree, linux-leds, robh, linux-input, dri-devel,
conor+dt, dmitry.torokhov
> The 'isink-en' property is not documented and not read by any driver,
> so remove it from the TPS65217 backlight node.
>
> Signed-off-by: Eduard Bostina <egbostina@gmail.com>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260723100605.628882-1-egbostina@gmail.com?part=1
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v4 2/4] ARM: dts: Rename the TPS65217 regulator nodes
2026-07-23 10:06 ` [PATCH v4 2/4] ARM: dts: Rename the TPS65217 regulator nodes Eduard Bostina
@ 2026-07-23 10:16 ` sashiko-bot
0 siblings, 0 replies; 9+ messages in thread
From: sashiko-bot @ 2026-07-23 10:16 UTC (permalink / raw)
To: Eduard Bostina
Cc: robh, dmitry.torokhov, linux-input, devicetree, dri-devel, lee,
conor+dt, linux-leds
> The TPS65217 regulator nodes are named regulator@0 to regulator@6 and
> rely on the deprecated 'regulator-compatible' property to be matched
> against the driver, which looks for "dcdc1" to "ldo4".
>
> Documentation/devicetree/bindings/regulator/tps65217.txt states the
> regulators must be named after their hardware counterparts, dcdc[1-3]
> and ldo[1-4].
>
> Rename the nodes accordingly and drop 'regulator-compatible' along with
> the unit addresses it made necessary.
>
> Signed-off-by: Eduard Bostina <egbostina@gmail.com>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260723100605.628882-1-egbostina@gmail.com?part=2
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v4 3/4] dt-bindings: input: Convert TI TPS65217 power button to DT schema
2026-07-23 10:06 ` [PATCH v4 3/4] dt-bindings: input: Convert TI TPS65217 power button to DT schema Eduard Bostina
@ 2026-07-23 10:22 ` sashiko-bot
0 siblings, 0 replies; 9+ messages in thread
From: sashiko-bot @ 2026-07-23 10:22 UTC (permalink / raw)
To: Eduard Bostina
Cc: conor+dt, linux-input, dri-devel, linux-leds, dmitry.torokhov,
lee, robh, devicetree
> Convert the Texas Instruments TPS65217 and TPS65218 Power Button
> bindings to DT schema.
>
> Signed-off-by: Eduard Bostina <egbostina@gmail.com>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260723100605.628882-1-egbostina@gmail.com?part=3
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v4 4/4] dt-bindings: leds: backlight: Convert TPS65217 to DT schema
2026-07-23 10:06 ` [PATCH v4 4/4] dt-bindings: leds: backlight: Convert TPS65217 " Eduard Bostina
@ 2026-07-23 10:34 ` sashiko-bot
0 siblings, 0 replies; 9+ messages in thread
From: sashiko-bot @ 2026-07-23 10:34 UTC (permalink / raw)
To: Eduard Bostina
Cc: dri-devel, lee, dmitry.torokhov, linux-leds, devicetree,
linux-input, conor+dt, robh
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] The converted MFD (Multifunction Device) core binding is incorrectly placed in the `leds/backlight/` directory.
- [Low] The commit message uses an incorrect subsystem prefix for a Multifunction Device (PMIC).
--
--- Patch [4]: [PATCH v4 4/4] dt-bindings: leds: backlight: Convert TPS65217 to DT schema ---
commit 1f4c2bf543a28045151b5cf16c5be1f7c2cee8e1
Author: Eduard Bostina <egbostina@gmail.com>
dt-bindings: leds: backlight: Convert TPS65217 to DT schema
This commit converts the Texas Instruments TPS65217 bindings to DT schema.
It consolidates the old regulator and backlight bindings into a single
schema file while documenting additional child nodes and properties.
> dt-bindings: leds: backlight: Convert TPS65217 to DT schema
[Severity: Low]
Is the subsystem prefix correct for this device? The TPS65217 is a PMIC
and its core driver resides in drivers/mfd/tps65217.c. Since this patch
consolidates the bindings for a Multifunction Device into a single unified
schema, should the prefix reflect the MFD subsystem instead, such as
dt-bindings: mfd: ti,tps65217:?
> diff --git a/Documentation/devicetree/bindings/leds/backlight/ti,tps65217.yaml b/Documentation/devicetree/bindings/leds/backlight/ti,tps65217.yaml
> new file mode 100644
> index 0000000000000..4d2f4dbd2d52e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/leds/backlight/ti,tps65217.yaml
> @@ -0,0 +1,170 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/leds/backlight/ti,tps65217.yaml#
[Severity: Medium]
Since this schema consolidates the regulator, backlight, and other PMIC
functions into a single file, should this be placed in the mfd/ directory
rather than leds/backlight/? Placing it in leds/backlight/ seems to
categorize the device's primary role as a dedicated backlight rather than
an MFD. If moved, the id and file path would become
http://devicetree.org/schemas/mfd/ti,tps65217.yaml#.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260723100605.628882-1-egbostina@gmail.com?part=4
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2026-07-23 10:34 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-23 10:05 [PATCH v4 0/4] dt-bindings: Convert TI TPS65217 to DT schema Eduard Bostina
2026-07-23 10:05 ` [PATCH v4 1/4] ARM: dts: ti: am335x-guardian: Drop unused isink-en property Eduard Bostina
2026-07-23 10:10 ` sashiko-bot
2026-07-23 10:06 ` [PATCH v4 2/4] ARM: dts: Rename the TPS65217 regulator nodes Eduard Bostina
2026-07-23 10:16 ` sashiko-bot
2026-07-23 10:06 ` [PATCH v4 3/4] dt-bindings: input: Convert TI TPS65217 power button to DT schema Eduard Bostina
2026-07-23 10:22 ` sashiko-bot
2026-07-23 10:06 ` [PATCH v4 4/4] dt-bindings: leds: backlight: Convert TPS65217 " Eduard Bostina
2026-07-23 10:34 ` sashiko-bot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.