linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: tegra: Add supply for temperature sensor on P2888
@ 2019-02-26 16:07 Jon Hunter
  2019-04-03 16:44 ` Thierry Reding
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Hunter @ 2019-02-26 16:07 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-tegra, devicetree, linux-arm-kernel, Jon Hunter

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(+)

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>;
 			};
-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: tegra: Add supply for temperature sensor on P2888
  2019-02-26 16:07 [PATCH] arm64: tegra: Add supply for temperature sensor on P2888 Jon Hunter
@ 2019-04-03 16:44 ` Thierry Reding
  0 siblings, 0 replies; 2+ messages in thread
From: Thierry Reding @ 2019-04-03 16:44 UTC (permalink / raw)
  To: Jon Hunter; +Cc: linux-tegra, devicetree, linux-arm-kernel


[-- Attachment #1.1: Type: text/plain, Size: 780 bytes --]

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

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-03 16:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-26 16:07 [PATCH] arm64: tegra: Add supply for temperature sensor on P2888 Jon Hunter
2019-04-03 16:44 ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).