]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
ARM64: t210: jetson: add enable/disable/ramptime for rails
authorVenkat Reddy Talla <vreddytalla@nvidia.com>
Mon, 16 Nov 2015 08:59:05 +0000 (14:29 +0530)
committerWinnie Hsu <whsu@nvidia.com>
Thu, 21 Jan 2016 20:07:06 +0000 (12:07 -0800)
Adding enable, disable and ramptime details for Jetson-CV
platform pmic rails.
enable, disable and ramptime data for different rails
provided by sys-eng team.

Bug 200148181
Bug 1718182

Change-Id: Ia9cf063aee4286062f9d38a961c80b75239e11ff
Reviewed-on: http://git-master/r/833207
(cherry picked from commit 6e3fcf5f94f4cca91f7314cc3776eb48f8e7e74b)
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/932589
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hayden Du <haydend@nvidia.com>
(cherry picked from commit c1609476e528d3ea4e3bf218f31c9092743f0321)
Reviewed-on: http://git-master/r/935423
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Tested-by: Winnie Hsu <whsu@nvidia.com>
arch/arm64/boot/dts/tegra210-platforms/tegra210-jetson-cv-power-tree-p2597-2180-a00.dtsi

index 1c1b57369d5db13a38d7e04e98b3c374ed3b9e8c..892063e4aac7e32960b42a13946eaea87ac4ecf2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, NVIDIA CORPORATION.  All rights reserved.
+ * Copyright (c) 2015-2016, NVIDIA CORPORATION.  All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 
        i2c@7000d000 {
                max77620@3c {
+                       pinmux@0 {
+                               pin_gpio1 {
+                                       maxim,fps-source = <FPS_SRC_NONE>;
+                                       maxim,fps-power-up-period = <0>;
+                                       maxim,fps-power-down-period = <7>;
+                               };
+
+                               pin_gpio2 {
+                                       pins = "gpio2";
+                                       maxim,fps-source = <FPS_SRC_0>;
+                                       maxim,fps-power-up-period = <0>;
+                                       maxim,fps-power-down-period = <7>;
+                               };
+
+                               pin_gpio3 {
+                                       pins = "gpio3";
+                                       maxim,fps-source = <FPS_SRC_0>;
+                                       maxim,fps-power-up-period = <4>;
+                                       maxim,fps-power-down-period = <3>;
+                               };
+                       };
+
                        fps {
                                fps@0 {
                                        maxim,fps-time-period = <1280>;
                        };
 
                        regulators {
+                               sd0 {
+                                       maxim,fps-source = <FPS_SRC_1>;
+                                       maxim,fps-power-up-period = <1>;
+                                       maxim,fps-power-down-period = <6>;
+                                       regulator-ramp-delay = <27500>;
+                               };
+
+                               sd1 {
+                                       maxim,fps-source = <FPS_SRC_0>;
+                                       maxim,fps-power-up-period = <5>;
+                                       maxim,fps-power-down-period = <2>;
+                                       regulator-ramp-delay = <27500>;
+                               };
+
+                               sd2 {
+                                       maxim,fps-source = <FPS_SRC_1>;
+                                       maxim,fps-power-up-period = <2>;
+                                       maxim,fps-power-down-period = <5>;
+                                       regulator-ramp-delay = <27500>;
+                               };
+
+                               sd3 {
+                                       maxim,fps-source = <FPS_SRC_0>;
+                                       maxim,fps-power-up-period = <3>;
+                                       maxim,fps-power-down-period = <4>;
+                                       regulator-ramp-delay = <27500>;
+                               };
+
+                               sd4 {
+                                       maxim,fps-source = <FPS_SRC_NONE>;
+                                       maxim,fps-power-up-period = <0>;
+                                       maxim,fps-power-down-period = <7>;
+                                       regulator-ramp-delay = <27500>;
+                               };
+
+                               ldo0 {
+                                       maxim,fps-source = <FPS_SRC_NONE>;
+                                       maxim,fps-power-up-period = <0>;
+                                       maxim,fps-power-down-period = <7>;
+                                       regulator-enable-ramp-delay = <84>;
+                                       regulator-disable-ramp-delay = <14700>;
+                                       regulator-ramp-delay = <100000>;
+                                       regulator-ramp-delay-scale = <750>;
+                               };
+
+                               ldo1 {
+                                       maxim,fps-source = <FPS_SRC_0>;
+                                       maxim,fps-power-up-period = <0>;
+                                       maxim,fps-power-down-period = <3>;
+                                       regulator-enable-ramp-delay = <34>;
+                                       regulator-disable-ramp-delay = <660>;
+                                       regulator-ramp-delay = <100000>;
+                                       regulator-ramp-delay-scale = <350>;
+                               };
+
                                ldo2 {
                                        regulator-name = "vddio-sdmmc1";
+                                       maxim,fps-source = <FPS_SRC_NONE>;
+                                       maxim,fps-power-up-period = <0>;
+                                       maxim,fps-power-down-period = <7>;
+                                       regulator-enable-ramp-delay = <300>;
+                                       regulator-disable-ramp-delay = <64000>;
+                                       regulator-ramp-delay = <100000>;
+                                       regulator-ramp-delay-scale = <950>;
+                               };
+
+                               ldo3 {
+                                       maxim,fps-source = <FPS_SRC_NONE>;
+                                       maxim,fps-power-up-period = <0>;
+                                       maxim,fps-power-down-period = <7>;
+                                       regulator-ramp-delay = <100000>;
+                               };
+
+                               ldo4 {
+                                       maxim,fps-source = <FPS_SRC_0>;
+                                       maxim,fps-power-up-period = <1>;
+                                       maxim,fps-power-down-period = <6>;
+                                       regulator-enable-ramp-delay = <23>;
+                                       regulator-disable-ramp-delay = <1100>;
+                                       regulator-ramp-delay = <100000>;
+                                       regulator-ramp-delay-scale = <250>;
+                                       regulator-disable-active-discharge;
                                };
+
+                               ldo5 {
+                                       maxim,fps-source = <FPS_SRC_NONE>;
+                                       maxim,fps-power-up-period = <0>;
+                                       maxim,fps-power-down-period = <7>;
+                                       regulator-ramp-delay = <100000>;
+                               };
+
                                ldo6 {
                                        /delete-property/ regulator-always-on;
                                        /delete-property/ regulator-boot-on;
                                        regulator-boot-off;
                                        maxim,fps-source = <FPS_SRC_NONE>;
+                                       maxim,fps-power-up-period = <0>;
+                                       maxim,fps-power-down-period = <7>;
+                                       regulator-ramp-delay = <100000>;
                                };
+
+                               ldo7 {
+                                       maxim,fps-source = <FPS_SRC_1>;
+                                       maxim,fps-power-up-period = <3>;
+                                       maxim,fps-power-down-period = <4>;
+                                       regulator-enable-ramp-delay = <124>;
+                                       regulator-disable-ramp-delay = <24000>;
+                                       regulator-ramp-delay = <100000>;
+                                       regulator-ramp-delay-scale = <1200>;
+                               };
+
+                               ldo8 {
+                                       maxim,fps-source = <FPS_SRC_1>;
+                                       maxim,fps-power-up-period = <6>;
+                                       maxim,fps-power-down-period = <1>;
+                                       regulator-enable-ramp-delay = <93>;
+                                       regulator-disable-ramp-delay = <10000>;
+                                       regulator-ramp-delay = <100000>;
+                                       regulator-ramp-delay-scale = <900>;
+                               };
+
                        };
                };
        };