mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jon Hunter <jonathanh@nvidia.com>
To: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Thierry Reding <thierry.reding@kernel.org>
Cc: <devicetree@vger.kernel.org>, <linux-tegra@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>,
	Thierry Reding <treding@nvidia.com>,
	"Jon Hunter" <jonathanh@nvidia.com>
Subject: [PATCH 1/3] arm64: tegra: Add regulator for Jetson AGX Thor thermal sensor
Date: Fri, 6 Nov 2026 12:02:58 +0000	[thread overview]
Message-ID: <20261106-tegra-for-7-3-fixes-v1-1-e62053cbda3e@nvidia.com> (raw)
In-Reply-To: <20261106-tegra-for-7-3-fixes-v1-0-e62053cbda3e@nvidia.com>

Add the 1.8V regulator that supplies the thermal sensor on the Jetson
AGX Thor module to fix the following warning:

 WARNING KERN lm90 5-004c: supply vcc not found, using dummy regulator

Note that this 1.8V regulator is supplied by a 5.0V regulator that is
located on the carrier board for the Jetson AGX Thor platform.

Fixes: 56bb69f9b003 ("arm64: tegra: Add thermal sensor for Jetson AGX Thor")
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra264-p3834.dtsi                | 9 +++++++++
 arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834-0008.dts | 4 ++++
 arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi     | 9 +++++++++
 3 files changed, 22 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra264-p3834.dtsi b/arch/arm64/boot/dts/nvidia/tegra264-p3834.dtsi
index f39f33a66cd2..707e2e79efa7 100644
--- a/arch/arm64/boot/dts/nvidia/tegra264-p3834.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra264-p3834.dtsi
@@ -61,10 +61,19 @@ i2c {
 			thermal-sensor@4c {
 				compatible = "ti,tmp451";
 				reg = <0x4c>;
+				vcc-supply = <&vdd_1v8_ao>;
 			};
 		};
 	};
 
+	vdd_1v8_ao: regulator-vdd-1v8-ao {
+		compatible = "regulator-fixed";
+		regulator-name = "VDD_1V8_AO";
+		regulator-min-microvolt = <1800000>;
+		regulator-max-microvolt = <1800000>;
+		regulator-always-on;
+	};
+
 	thermal-zones {
 		cpu-thermal {
 			polling-delay-passive = <40>;
diff --git a/arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834-0008.dts b/arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834-0008.dts
index 3bd4c4cf2871..d598c6925773 100644
--- a/arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834-0008.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834-0008.dts
@@ -20,4 +20,8 @@ pci@8480000 {
 			status = "okay";
 		};
 	};
+
+	regulator-vdd-1v8-ao {
+		vin-supply = <&vdd_5v0_sys>;
+	};
 };
diff --git a/arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi b/arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi
index 9295f9c81296..0ed2335ea91f 100644
--- a/arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi
@@ -64,6 +64,15 @@ key-power {
 		};
 	};
 
+	vdd_5v0_sys: regulator-vdd-5v0-sys {
+		compatible = "regulator-fixed";
+		regulator-name = "VIN_SYS_5V0";
+		regulator-min-microvolt = <5000000>;
+		regulator-max-microvolt = <5000000>;
+		regulator-always-on;
+		regulator-boot-on;
+	};
+
 	thermal-zones {
 		tj-thermal {
 			trips {

-- 
2.43.0


  reply	other threads:[~2026-11-06 12:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-06 12:02 [PATCH 0/3] arm64: tegra: Fix missing regulator for Jetson AGX Thor Jon Hunter
2026-11-06 12:02 ` Jon Hunter [this message]
2026-11-06 12:02 ` [PATCH 2/3] arm64: tegra: Add regulator for Jetson AGX Thor system EEPROM Jon Hunter
2026-11-06 12:03 ` [PATCH 3/3] arm64: tegra: Add regulator for Jetson AGX Thor module EEPROM Jon Hunter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261106-tegra-for-7-3-fixes-v1-1-e62053cbda3e@nvidia.com \
    --to=jonathanh@nvidia.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=thierry.reding@kernel.org \
    --cc=treding@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®