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>
Wed, 31 Jul 2019 05:28:36 +0000 (07:28 +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 d10d4430537a0a549b49051fd68b27b880c7c469..f6e6f1e83ba89adc97fd038f79aa4edecc7b90a1 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>;
                };
        };
 };