Skip to contentSkip to conversation

arm64: tegra: Lost patches for v4.10-rc1

PATCH Applied Thierry Reding 2 participants 4 messages Dec 2, 2016 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover arm64: tegra: Lost patches for v4.10-rc1

From: Thierry Reding <[email protected]>

Hi ARM SoC maintainers,

As discussed on IRC, resending these two that seem to have fallen through the cracks. At least the first patch had been part of a pull request for v4.8 but ended up not being merged (although all the other patches in the request did).

Anyway, it'd be great to get these applied for v4.10-rc1.

Thanks,
Thierry

Alexandre Courbot (2):
arm64: tegra: Add VDD_GPU regulator to Jetson TX1
arm64: tegra: Add missing Smaug revision

 arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi | 18 ++++++++++++++++++
 arch/arm64/boot/dts/nvidia/tegra210-smaug.dts  |  3 ++-
 2 files changed, 20 insertions(+), 1 deletion(-)
Signature · 1 line
2.10.2

A message that is not in the archive (sent off-list or not yet received): 20161202195756.16562-1-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#2 lore raw

PATCH 1/2 arm64: tegra: Add VDD_GPU regulator to Jetson TX1

From: Alexandre Courbot <[email protected]>

Add the VDD_GPU regulator (a GPIO-enabled PWM regulator) to the Jetson TX1 board. This addition allows the GPU to be used provided the bootloader properly enabled the GPU node.

---
 arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi +18 -0
index 5fda583351d7..906fb836d241 100644
@@ -21,6 +21,10 @@
 		reg = <0x0 0x80000000 0x1 0x0>;
 	};
 
+	gpu@57000000 {
+		vdd-supply = <&vdd_gpu>;
+	};
+
 	/* debug port */
 	serial@70006000 {
 		status = "okay";
@@ -291,4 +295,18 @@
 			clock-frequency = <32768>;
 		};
 	};
+
+	regulators {
+		vdd_gpu: regulator@100 {
+			compatible = "pwm-regulator";
+			reg = <100>;
+			pwms = <&pwm 1 4880>;
+			regulator-name = "VDD_GPU";
+			regulator-min-microvolt = <710000>;
+			regulator-max-microvolt = <1320000>;
+			enable-gpios = <&pmic 6 GPIO_ACTIVE_HIGH>;
+			regulator-ramp-delay = <80>;
+			regulator-enable-ramp-delay = <1000>;
+		};
+	};
 };
Signature · 1 line
2.10.2
#3 lore raw

PATCH 2/2 arm64: tegra: Add missing Smaug revision

In reply to a message not in the archive

From: Alexandre Courbot <[email protected]>

The "google,smaug-rev2" string is missing from the compatible list of Smaug's DT. The differences of rev2 are not relevant at our current level of support and it boots just fine, so add it.

---
 arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/nvidia/tegra210-smaug.dts +2 -1
index c2becb603e11..7703227f5d1a 100644
@@ -11,7 +11,8 @@
 	compatible = "google,smaug-rev8", "google,smaug-rev7",
 		     "google,smaug-rev6", "google,smaug-rev5",
 		     "google,smaug-rev4", "google,smaug-rev3",
-		     "google,smaug-rev1", "google,smaug", "nvidia,tegra210";
+		     "google,smaug-rev2", "google,smaug-rev1",
+		     "google,smaug", "nvidia,tegra210";
 
 	aliases {
 		serial0 = &uarta;
Signature · 1 line
2.10.2
#4 lore raw
In reply to a message not in the archive
Quoted 9 lines · CET Thierry Reding

Hi ARM SoC maintainers,

As discussed on IRC, resending these two that seem to have fallen through the cracks. At least the first patch had been part of a pull request for v4.8 but ended up not being merged (although all the other patches in the request did).

Anyway, it'd be great to get these applied for v4.10-rc1.

Applied both to next/fixes-non-critical for v4.10-rc1, and added a cc:stable tag for the first one to trigger backports for 4.5+. Thanks,

Arnd