arm64: tegra: Add supply for temperature sensor on P2888
authorJon Hunter <jonathanh@nvidia.com>
Tue, 26 Feb 2019 16:07:55 +0000 (16:07 +0000)
committerThierry Reding <treding@nvidia.com>
Fri, 12 Apr 2019 15:21:50 +0000 (17:21 +0200)
The VCC supply property is not populated for the temperature sensor on
the P2888 board and so the following warning is observed on boot ...

 lm90 0-004c: 0-004c supply vcc not found, using dummy regulator

On the P2888 board, the VCC supply for the temperature sensor is
connected to the 'vdd_1v8ls' rail. Add the 'vcc-supply' property for
the temperature sensor to prevent this warning message from occurring.

Fixes: 8b457812f54b ('arm64: tegra: Add temperature sensor on P2888')
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi

index 246c1ebbd0558450a5723f40361548f097211bbe..0fd5bd29fbf938295301d17b678e77759b89fb61 100644 (file)
                                interrupt-parent = <&gpio>;
                                interrupts = <TEGRA194_MAIN_GPIO(H, 2)
                                              IRQ_TYPE_LEVEL_LOW>;
+                               vcc-supply = <&vdd_1v8ls>;
 
                                #thermal-sensor-cells = <1>;
                        };