diff mbox series

arm64: tegra: Add supply for temperature sensor on P2888

Message ID 1551197275-8977-1-git-send-email-jonathanh@nvidia.com
State Accepted
Headers show
Series arm64: tegra: Add supply for temperature sensor on P2888 | expand

Commit Message

Jon Hunter Feb. 26, 2019, 4:07 p.m. UTC
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>
---
 arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 1 +
 1 file changed, 1 insertion(+)

Comments

Thierry Reding April 3, 2019, 4:44 p.m. UTC | #1
On Tue, Feb 26, 2019 at 04:07:55PM +0000, Jon Hunter wrote:
> 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>
> ---
>  arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 1 +
>  1 file changed, 1 insertion(+)

Applied to for-5.2/arm64/dt, thanks.

Thierry
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi b/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi
index 246c1ebbd055..0fd5bd29fbf9 100644
--- a/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi
@@ -256,6 +256,7 @@ 
 				interrupt-parent = <&gpio>;
 				interrupts = <TEGRA194_MAIN_GPIO(H, 2)
 					      IRQ_TYPE_LEVEL_LOW>;
+				vcc-supply = <&vdd_1v8ls>;
 
 				#thermal-sensor-cells = <1>;
 			};