[PATCH] ARM: dts: tps65217: add power regulator & backlight drivers support

From: Xulin Sun
Date: Tue Jan 16 2024 - 23:34:19 EST


Support TPS65217 voltage regulator driver and TPS65217 Backlight driver.
And enable them by default. This will avoid below booting failed
information:
tps65217-pmic: Failed to locate of_node [id: -1]
tps65217-bl: Failed to locate of_node [id: -1]

Signed-off-by: Xulin Sun <xulin.sun@xxxxxxxxxxxxx>
---
arch/arm/boot/dts/tps65217.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/tps65217.dtsi b/arch/arm/boot/dts/tps65217.dtsi
index 0d463de5650f..f412e7476660 100644
--- a/arch/arm/boot/dts/tps65217.dtsi
+++ b/arch/arm/boot/dts/tps65217.dtsi
@@ -13,6 +13,16 @@ &tps {
interrupt-controller;
#interrupt-cells = <1>;

+ pmic {
+ compatible = "ti,tps65217-pmic";
+ status = "okay";
+ };
+
+ bl {
+ compatible = "ti,tps65217-bl";
+ status = "okay";
+ };
+
charger {
compatible = "ti,tps65217-charger";
interrupts = <0>, <1>;
--
2.34.1