Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1429539 > unrolled thread

[PATCH v2 2/2] arm64: tegra: Add VDD_GPU regulator to Jetson TX1

Started byAlexandre Courbot <acourbot@nvidia.com>
First post2016-06-23 09:50 +0200
Last post2016-06-23 09:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 2/2] arm64: tegra: Add VDD_GPU regulator to Jetson TX1 Alexandre Courbot <acourbot@nvidia.com> - 2016-06-23 09:50 +0200

#1429539 — [PATCH v2 2/2] arm64: tegra: Add VDD_GPU regulator to Jetson TX1

FromAlexandre Courbot <acourbot@nvidia.com>
Date2016-06-23 09:50 +0200
Subject[PATCH v2 2/2] arm64: tegra: Add VDD_GPU regulator to Jetson TX1
Message-ID<rN7yG-6MX-33@gated-at.bofh.it>
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@nvidia.com>
---
Changes since v1:
- Include this patch into the series to make sure it is merged after 1/2,
  otherwise Jetson TX1 will lock when trying to enable the regulator.

 arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts b/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts
index 983775e637a4..cc9fb5207f9d 100644
--- a/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts
@@ -25,6 +25,10 @@
 		};
 	};
 
+	gpu@57000000 {
+		vdd-supply = <&vdd_gpu>;
+	};
+
 	i2c@7000c400 {
 		backlight: backlight@2c {
 			compatible = "ti,lp8557";
@@ -51,4 +55,18 @@
 			};
 		};
 	};
+
+	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.8.3

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web