arm64: tegra: Populate LP8557 backlight regulator
authorJon Hunter <jonathanh@nvidia.com>
Mon, 24 Feb 2020 14:34:36 +0000 (14:34 +0000)
committerThierry Reding <treding@nvidia.com>
Thu, 12 Mar 2020 11:14:30 +0000 (12:14 +0100)
The following warning is observed on Jetson TX1 platform because the
supply regulator is not specified for the backlight.

 WARNING KERN lp855x 0-002c: 0-002c supply power not found, using dummy regulator

The backlight supply is provided by the 3.3V SYS rail and so add this
as the supply for the backlight.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts

index c70a610f8e3a55af6f7174382e131d046d255259..ea0e1efa6973f9c580cd0b0c96330ff69601246c 100644 (file)
@@ -56,6 +56,7 @@
                backlight: backlight@2c {
                        compatible = "ti,lp8557";
                        reg = <0x2c>;
+                       power-supply = <&vdd_3v3_sys>;
 
                        dev-ctrl = /bits/ 8 <0x80>;
                        init-brt = /bits/ 8 <0xff>;