]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commitdiff
arm64: DT: add GPU regulator for Jetson TX1
authorPeter De Schrijver <pdeschrijver@nvidia.com>
Tue, 28 Jun 2016 15:16:22 +0000 (18:16 +0300)
committermobile promotions <svcmobile_promotions@nvidia.com>
Wed, 7 Sep 2016 05:17:18 +0000 (22:17 -0700)
Change-Id: If306a5899a3fe08921b70daea1adab5128175ae1
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/1214931
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
arch/arm64/boot/dts/nvidia/t210/tegra210-jetson-common.dtsi

index d9535a7ed2d1bd148cdbbc7ffa7d96d04584c0a4..14c0fdc498935d7a5f234d284e74f670da31d8a9 100644 (file)
                                <1226400 27>, <1245600 28>, <1264800 29>,
                                <1284000 30>, <1303200 31>, <1322400 32>;
                };
+
+               gpu_ovr_reg: pwm-regulator@1 {
+                       status = "okay";
+                       reg = <1>;
+                       compatible = "pwm-regulator";
+                       pwms = <&tegra_pwm 1 4880>;
+                       regulator-name = "vdd-gpu";
+                       regulator-min-microvolt = <710000>;
+                       regulator-max-microvolt = <1320000>;
+                       regulator-init-microvolt = <1000000>;
+                       regulator-n-voltages = <62>;
+                       regulator-enable-ramp-delay = <1000>;
+                       enable-gpio = <&max77620 6 0>;
+                       voltage-time-sel = <80>;
+                };
+
        };
 
        dfll: clock@70110000 {