ARM: dts: tps65217: add power regulator & backlight drivers support
PATCH 1/1 ARM: dts: tps65217: add power regulator & backlight drivers support
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]
--- arch/arm/boot/dts/tps65217.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)
arch/arm/boot/dts/tps65217.dtsi +10 -0
@@ -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>;
Signature · 1 line
2.34.1
Quoted 16 lines · Xulin Sun
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 locateof_node[id: -1]
tps65217-bl: Failed to locateof_node[id: -1]Signed-off-by Xulin Sun <[email protected]>--- arch/arm/boot/dts/tps65217.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)arch/arm/boot/dts/tps65217.dtsi +0
-0
arch/arm/boot/dts/tps65217.dtsi &tps { · line 18
Quoted 6 lines
arch/arm/boot/dts/tps65217.dtsi +3
-0@@ -13,6 +13,16 @@ &tps { interrupt-controller; #interrupt-cells = <1>; + pmic { + compatible = "ti,tps65217-pmic"; + status = "okay";
Why do you need status here?
Best regards,
Krzysztof
Quoted 20 lines · Krzysztof Kozlowski
Quoted 19 lines · Xulin Sun
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 locateof_node[id: -1]
tps65217-bl: Failed to locateof_node[id: -1]Signed-off-by Xulin Sun <[email protected]>--- arch/arm/boot/dts/tps65217.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)arch/arm/boot/dts/tps65217.dtsi +0
-0@@ -13,6 +13,16 @@ &tps { interrupt-controller; #interrupt-cells = <1>;
Quoted 4 lines
arch/arm/boot/dts/tps65217.dtsi &tps { · line 18
Quoted 3 lines
arch/arm/boot/dts/tps65217.dtsi +3
-0+ pmic { + compatible = "ti,tps65217-pmic"; + status = "okay";Why do you need status here?
It corresponds to the drvier: drivers/regulator/tps65217-regulator.c, and regulator is one of the main function of TPS65217.
I think it should be enabled by default, so set status to "okay" here.
Thanks
Xulin
Quoted 4 lines
Best regards,
Krzysztof
Quoted 21 lines · Xulin Sun
Quoted 20 lines · Krzysztof Kozlowski
Quoted 19 lines · Xulin Sun
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 locateof_node[id: -1]
tps65217-bl: Failed to locateof_node[id: -1]Signed-off-by Xulin Sun <[email protected]>--- arch/arm/boot/dts/tps65217.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)arch/arm/boot/dts/tps65217.dtsi +0
-0@@ -13,6 +13,16 @@ &tps { interrupt-controller; #interrupt-cells = <1>;
Quoted 8 lines
Quoted 4 lines
arch/arm/boot/dts/tps65217.dtsi &tps { · line 18
Quoted 3 lines
arch/arm/boot/dts/tps65217.dtsi +3
-0+ pmic { + compatible = "ti,tps65217-pmic"; + status = "okay";Why do you need status here?
It corresponds to the drvier:
drivers/regulator/tps65217-regulator.c, and regulator is one of the main function of TPS65217.
status does not correspond to the driver.
Quoted 2 lines
I think it should be enabled by default, so set status to "okay" here.
It is the default. Is it disabled anywhere?
Best regards,
Krzysztof