ARM: tegra: cardhu-a04: Set up voltage regulators for DVFS
authorDmitry Osipenko <digetx@gmail.com>
Thu, 24 Oct 2019 22:14:15 +0000 (01:14 +0300)
committerThierry Reding <treding@nvidia.com>
Tue, 29 Oct 2019 19:29:17 +0000 (20:29 +0100)
Set minimum and maximum voltages, and couple CPU/CORE regulators.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra30-cardhu-a04.dts

index 4dbd4af..0d71925 100644 (file)
                        gpio = <&gpio TEGRA_GPIO(DD, 0) GPIO_ACTIVE_HIGH>;
                };
        };
+
+       i2c@7000d000 {
+               pmic: tps65911@2d {
+                       regulators {
+                               vddctrl_reg: vddctrl {
+                                       regulator-min-microvolt = <800000>;
+                                       regulator-max-microvolt = <1125000>;
+                                       regulator-coupled-with = <&vddcore_reg>;
+                                       regulator-coupled-max-spread = <300000>;
+                                       regulator-max-step-microvolt = <100000>;
+
+                                       nvidia,tegra-cpu-regulator;
+                               };
+                       };
+               };
+
+               vddcore_reg: tps62361@60 {
+                       regulator-coupled-with = <&vddctrl_reg>;
+                       regulator-coupled-max-spread = <300000>;
+                       regulator-max-step-microvolt = <100000>;
+
+                       nvidia,tegra-core-regulator;
+               };
+       };
 };