]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
arm64: tegra: Update Jetson TX1 GPU regulator timings
authorJon Hunter <jonathanh@nvidia.com>
Thu, 20 Jun 2019 08:17:01 +0000 (09:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2019 07:10:53 +0000 (09:10 +0200)
commit ece6031ece2dd64d63708cfe1088016cee5b10c0 upstream.

The GPU regulator enable ramp delay for Jetson TX1 is set to 1ms which
not sufficient because the enable ramp delay has been measured to be
greater than 1ms. Furthermore, the downstream kernels released by NVIDIA
for Jetson TX1 are using a enable ramp delay 2ms and a settling delay of
160us. Update the GPU regulator enable ramp delay for Jetson TX1 to be
2ms and add a settling delay of 160us.

Cc: stable@vger.kernel.org
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Fixes: 5e6b9a89afce ("arm64: tegra: Add VDD_GPU regulator to Jetson TX1")
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi

index 4dcd0d36189a46d4239c77807595cf8c7e150d16..f70cd83f2bedb6ff149f608023d01b805b417787 100644 (file)
                        regulator-max-microvolt = <1320000>;
                        enable-gpios = <&pmic 6 GPIO_ACTIVE_HIGH>;
                        regulator-ramp-delay = <80>;
-                       regulator-enable-ramp-delay = <1000>;
+                       regulator-enable-ramp-delay = <2000>;
+                       regulator-settling-time-us = <160>;
                };
        };
 };