Skip to content

Commit

Permalink
arm64: tegra: Add VDD_GPU regulator to Jetson TX1
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
[as pointed out by Thierry on IRC, nobody has reported a bug
 in the field, but using a new bootloader with a .dtb that
 has the incorrect data, it will crash on boot]
Fixes: 336f79c ("arm64: tegra: Add NVIDIA Jetson TX1 Developer Kit support")
Cc: [email protected] #v4.5+
Signed-off-by: Arnd Bergmann <[email protected]>
  • Loading branch information
Gnurou authored and arndb committed Dec 7, 2016
1 parent 253e806 commit 5e6b9a8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
reg = <0x0 0x80000000 0x1 0x0>;
};

gpu@57000000 {
vdd-supply = <&vdd_gpu>;
};

/* debug port */
serial@70006000 {
status = "okay";
Expand Down Expand Up @@ -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>;
};
};
};

0 comments on commit 5e6b9a8

Please sign in to comment.