linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: tegra: Lost patches for v4.10-rc1
@ 2016-12-02 19:57 Thierry Reding
       [not found] ` <20161202195756.16562-1-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Thierry Reding @ 2016-12-02 19:57 UTC (permalink / raw)
  To: arm-DgEjT+Ai2ygdnm+yROfE0A
  Cc: Alexandre Courbot, linux-tegra-u79uwXL29TY76Z2rM5mHXA

From: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

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

-- 
2.10.2

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

* [PATCH 1/2] arm64: tegra: Add VDD_GPU regulator to Jetson TX1
       [not found] ` <20161202195756.16562-1-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2016-12-02 19:57   ` Thierry Reding
  2016-12-02 19:57   ` [PATCH 2/2] arm64: tegra: Add missing Smaug revision Thierry Reding
  2016-12-02 20:25   ` [PATCH 0/2] arm64: tegra: Lost patches for v4.10-rc1 Arnd Bergmann
  2 siblings, 0 replies; 4+ messages in thread
From: Thierry Reding @ 2016-12-02 19:57 UTC (permalink / raw)
  To: arm-DgEjT+Ai2ygdnm+yROfE0A
  Cc: Alexandre Courbot, linux-tegra-u79uwXL29TY76Z2rM5mHXA

From: Alexandre Courbot <acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

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.

Signed-off-by: Alexandre Courbot <acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Signed-off-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
 arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi b/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
index 5fda583351d7..906fb836d241 100644
--- a/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
@@ -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>;
+		};
+	};
 };
-- 
2.10.2

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

* [PATCH 2/2] arm64: tegra: Add missing Smaug revision
       [not found] ` <20161202195756.16562-1-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2016-12-02 19:57   ` [PATCH 1/2] arm64: tegra: Add VDD_GPU regulator to Jetson TX1 Thierry Reding
@ 2016-12-02 19:57   ` Thierry Reding
  2016-12-02 20:25   ` [PATCH 0/2] arm64: tegra: Lost patches for v4.10-rc1 Arnd Bergmann
  2 siblings, 0 replies; 4+ messages in thread
From: Thierry Reding @ 2016-12-02 19:57 UTC (permalink / raw)
  To: arm-DgEjT+Ai2ygdnm+yROfE0A
  Cc: Alexandre Courbot, linux-tegra-u79uwXL29TY76Z2rM5mHXA

From: Alexandre Courbot <acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

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.

Signed-off-by: Alexandre Courbot <acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Acked-by: Jon Hunter <jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Acked-by: Andrew Bresticker <abrestic-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
Signed-off-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
 arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts
index c2becb603e11..7703227f5d1a 100644
--- a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts
@@ -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;
-- 
2.10.2

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

* Re: [PATCH 0/2] arm64: tegra: Lost patches for v4.10-rc1
       [not found] ` <20161202195756.16562-1-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2016-12-02 19:57   ` [PATCH 1/2] arm64: tegra: Add VDD_GPU regulator to Jetson TX1 Thierry Reding
  2016-12-02 19:57   ` [PATCH 2/2] arm64: tegra: Add missing Smaug revision Thierry Reding
@ 2016-12-02 20:25   ` Arnd Bergmann
  2 siblings, 0 replies; 4+ messages in thread
From: Arnd Bergmann @ 2016-12-02 20:25 UTC (permalink / raw)
  To: Thierry Reding
  Cc: arm-DgEjT+Ai2ygdnm+yROfE0A, Alexandre Courbot,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA

On Friday, December 2, 2016 8:57:54 PM CET Thierry Reding wrote:
> 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

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

end of thread, other threads:[~2016-12-02 20:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-02 19:57 [PATCH 0/2] arm64: tegra: Lost patches for v4.10-rc1 Thierry Reding
     [not found] ` <20161202195756.16562-1-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-12-02 19:57   ` [PATCH 1/2] arm64: tegra: Add VDD_GPU regulator to Jetson TX1 Thierry Reding
2016-12-02 19:57   ` [PATCH 2/2] arm64: tegra: Add missing Smaug revision Thierry Reding
2016-12-02 20:25   ` [PATCH 0/2] arm64: tegra: Lost patches for v4.10-rc1 Arnd Bergmann

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).