Commit 4a235f6a authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Kukjin Kim

ARM: dts: Add suspend configuration for max77686 regulators for exynos4412-trats2

Add suspend to RAM configuration for max77686 regulators. Some LDOs
and bucks are disabled. This reduces energy consumption during S2R,
approximately from 17 mA to 9 mA.

Additionally remove old and not supported bindings:
 - regulator-mem-off
 - regulator-mem-idle
 - regulator-mem-on
The max77686 driver does not parse them and they are not documented
anywere.
Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: default avatarJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Reviewed-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene@kernel.org>
parent e8614292
...@@ -227,7 +227,6 @@ ldo1_reg: ldo1 { ...@@ -227,7 +227,6 @@ ldo1_reg: ldo1 {
regulator-min-microvolt = <1000000>; regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>; regulator-max-microvolt = <1000000>;
regulator-always-on; regulator-always-on;
regulator-mem-on;
}; };
ldo2_reg: ldo2 { ldo2_reg: ldo2 {
...@@ -236,7 +235,9 @@ ldo2_reg: ldo2 { ...@@ -236,7 +235,9 @@ ldo2_reg: ldo2 {
regulator-min-microvolt = <1200000>; regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>; regulator-max-microvolt = <1200000>;
regulator-always-on; regulator-always-on;
regulator-mem-on; regulator-state-mem {
regulator-on-in-suspend;
};
}; };
ldo3_reg: ldo3 { ldo3_reg: ldo3 {
...@@ -245,7 +246,6 @@ ldo3_reg: ldo3 { ...@@ -245,7 +246,6 @@ ldo3_reg: ldo3 {
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
regulator-always-on; regulator-always-on;
regulator-mem-on;
}; };
ldo4_reg: ldo4 { ldo4_reg: ldo4 {
...@@ -254,7 +254,6 @@ ldo4_reg: ldo4 { ...@@ -254,7 +254,6 @@ ldo4_reg: ldo4 {
regulator-min-microvolt = <2800000>; regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>; regulator-max-microvolt = <2800000>;
regulator-always-on; regulator-always-on;
regulator-mem-on;
}; };
ldo5_reg: ldo5 { ldo5_reg: ldo5 {
...@@ -263,7 +262,6 @@ ldo5_reg: ldo5 { ...@@ -263,7 +262,6 @@ ldo5_reg: ldo5 {
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
regulator-always-on; regulator-always-on;
regulator-mem-on;
}; };
ldo6_reg: ldo6 { ldo6_reg: ldo6 {
...@@ -272,7 +270,9 @@ ldo6_reg: ldo6 { ...@@ -272,7 +270,9 @@ ldo6_reg: ldo6 {
regulator-min-microvolt = <1000000>; regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>; regulator-max-microvolt = <1000000>;
regulator-always-on; regulator-always-on;
regulator-mem-on; regulator-state-mem {
regulator-on-in-suspend;
};
}; };
ldo7_reg: ldo7 { ldo7_reg: ldo7 {
...@@ -281,7 +281,9 @@ ldo7_reg: ldo7 { ...@@ -281,7 +281,9 @@ ldo7_reg: ldo7 {
regulator-min-microvolt = <1000000>; regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>; regulator-max-microvolt = <1000000>;
regulator-always-on; regulator-always-on;
regulator-mem-on; regulator-state-mem {
regulator-on-in-suspend;
};
}; };
ldo8_reg: ldo8 { ldo8_reg: ldo8 {
...@@ -289,7 +291,9 @@ ldo8_reg: ldo8 { ...@@ -289,7 +291,9 @@ ldo8_reg: ldo8 {
regulator-name = "VMIPI_1.0V"; regulator-name = "VMIPI_1.0V";
regulator-min-microvolt = <1000000>; regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>; regulator-max-microvolt = <1000000>;
regulator-mem-off; regulator-state-mem {
regulator-off-in-suspend;
};
}; };
ldo9_reg: ldo9 { ldo9_reg: ldo9 {
...@@ -297,7 +301,6 @@ ldo9_reg: ldo9 { ...@@ -297,7 +301,6 @@ ldo9_reg: ldo9 {
regulator-name = "CAM_ISP_MIPI_1.2V"; regulator-name = "CAM_ISP_MIPI_1.2V";
regulator-min-microvolt = <1200000>; regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>; regulator-max-microvolt = <1200000>;
regulator-mem-idle;
}; };
ldo10_reg: ldo10 { ldo10_reg: ldo10 {
...@@ -305,7 +308,9 @@ ldo10_reg: ldo10 { ...@@ -305,7 +308,9 @@ ldo10_reg: ldo10 {
regulator-name = "VMIPI_1.8V"; regulator-name = "VMIPI_1.8V";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
regulator-mem-off; regulator-state-mem {
regulator-off-in-suspend;
};
}; };
ldo11_reg: ldo11 { ldo11_reg: ldo11 {
...@@ -314,7 +319,9 @@ ldo11_reg: ldo11 { ...@@ -314,7 +319,9 @@ ldo11_reg: ldo11 {
regulator-min-microvolt = <1950000>; regulator-min-microvolt = <1950000>;
regulator-max-microvolt = <1950000>; regulator-max-microvolt = <1950000>;
regulator-always-on; regulator-always-on;
regulator-mem-off; regulator-state-mem {
regulator-off-in-suspend;
};
}; };
ldo12_reg: ldo12 { ldo12_reg: ldo12 {
...@@ -322,7 +329,9 @@ ldo12_reg: ldo12 { ...@@ -322,7 +329,9 @@ ldo12_reg: ldo12 {
regulator-name = "VUOTG_3.0V"; regulator-name = "VUOTG_3.0V";
regulator-min-microvolt = <3000000>; regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>; regulator-max-microvolt = <3000000>;
regulator-mem-off; regulator-state-mem {
regulator-off-in-suspend;
};
}; };
ldo13_reg: ldo13 { ldo13_reg: ldo13 {
...@@ -330,7 +339,6 @@ ldo13_reg: ldo13 { ...@@ -330,7 +339,6 @@ ldo13_reg: ldo13 {
regulator-name = "NFC_AVDD_1.8V"; regulator-name = "NFC_AVDD_1.8V";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
regulator-mem-idle;
}; };
ldo14_reg: ldo14 { ldo14_reg: ldo14 {
...@@ -339,7 +347,9 @@ ldo14_reg: ldo14 { ...@@ -339,7 +347,9 @@ ldo14_reg: ldo14 {
regulator-min-microvolt = <1950000>; regulator-min-microvolt = <1950000>;
regulator-max-microvolt = <1950000>; regulator-max-microvolt = <1950000>;
regulator-always-on; regulator-always-on;
regulator-mem-off; regulator-state-mem {
regulator-off-in-suspend;
};
}; };
ldo15_reg: ldo15 { ldo15_reg: ldo15 {
...@@ -347,7 +357,9 @@ ldo15_reg: ldo15 { ...@@ -347,7 +357,9 @@ ldo15_reg: ldo15 {
regulator-name = "VHSIC_1.0V"; regulator-name = "VHSIC_1.0V";
regulator-min-microvolt = <1000000>; regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>; regulator-max-microvolt = <1000000>;
regulator-mem-off; regulator-state-mem {
regulator-on-in-suspend;
};
}; };
ldo16_reg: ldo16 { ldo16_reg: ldo16 {
...@@ -355,7 +367,9 @@ ldo16_reg: ldo16 { ...@@ -355,7 +367,9 @@ ldo16_reg: ldo16 {
regulator-name = "VHSIC_1.8V"; regulator-name = "VHSIC_1.8V";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
regulator-mem-off; regulator-state-mem {
regulator-on-in-suspend;
};
}; };
ldo17_reg: ldo17 { ldo17_reg: ldo17 {
...@@ -363,7 +377,6 @@ ldo17_reg: ldo17 { ...@@ -363,7 +377,6 @@ ldo17_reg: ldo17 {
regulator-name = "CAM_SENSOR_CORE_1.2V"; regulator-name = "CAM_SENSOR_CORE_1.2V";
regulator-min-microvolt = <1200000>; regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>; regulator-max-microvolt = <1200000>;
regulator-mem-idle;
}; };
ldo18_reg: ldo18 { ldo18_reg: ldo18 {
...@@ -371,7 +384,6 @@ ldo18_reg: ldo18 { ...@@ -371,7 +384,6 @@ ldo18_reg: ldo18 {
regulator-name = "CAM_ISP_SEN_IO_1.8V"; regulator-name = "CAM_ISP_SEN_IO_1.8V";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
regulator-mem-idle;
}; };
ldo19_reg: ldo19 { ldo19_reg: ldo19 {
...@@ -379,7 +391,6 @@ ldo19_reg: ldo19 { ...@@ -379,7 +391,6 @@ ldo19_reg: ldo19 {
regulator-name = "VT_CAM_1.8V"; regulator-name = "VT_CAM_1.8V";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
regulator-mem-idle;
}; };
ldo20_reg: ldo20 { ldo20_reg: ldo20 {
...@@ -387,7 +398,6 @@ ldo20_reg: ldo20 { ...@@ -387,7 +398,6 @@ ldo20_reg: ldo20 {
regulator-name = "VDDQ_PRE_1.8V"; regulator-name = "VDDQ_PRE_1.8V";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
regulator-mem-idle;
}; };
ldo21_reg: ldo21 { ldo21_reg: ldo21 {
...@@ -395,7 +405,6 @@ ldo21_reg: ldo21 { ...@@ -395,7 +405,6 @@ ldo21_reg: ldo21 {
regulator-name = "VTF_2.8V"; regulator-name = "VTF_2.8V";
regulator-min-microvolt = <2800000>; regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>; regulator-max-microvolt = <2800000>;
regulator-mem-idle;
}; };
ldo22_reg: ldo22 { ldo22_reg: ldo22 {
...@@ -410,7 +419,6 @@ ldo23_reg: ldo23 { ...@@ -410,7 +419,6 @@ ldo23_reg: ldo23 {
regulator-name = "TSP_AVDD_3.3V"; regulator-name = "TSP_AVDD_3.3V";
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-mem-idle;
}; };
ldo24_reg: ldo24 { ldo24_reg: ldo24 {
...@@ -418,7 +426,6 @@ ldo24_reg: ldo24 { ...@@ -418,7 +426,6 @@ ldo24_reg: ldo24 {
regulator-name = "TSP_VDD_1.8V"; regulator-name = "TSP_VDD_1.8V";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
regulator-mem-idle;
}; };
ldo25_reg: ldo25 { ldo25_reg: ldo25 {
...@@ -426,7 +433,6 @@ ldo25_reg: ldo25 { ...@@ -426,7 +433,6 @@ ldo25_reg: ldo25 {
regulator-name = "LCD_VCC_3.3V"; regulator-name = "LCD_VCC_3.3V";
regulator-min-microvolt = <2800000>; regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>; regulator-max-microvolt = <2800000>;
regulator-mem-idle;
}; };
ldo26_reg: ldo26 { ldo26_reg: ldo26 {
...@@ -434,7 +440,6 @@ ldo26_reg: ldo26 { ...@@ -434,7 +440,6 @@ ldo26_reg: ldo26 {
regulator-name = "MOTOR_VCC_3.0V"; regulator-name = "MOTOR_VCC_3.0V";
regulator-min-microvolt = <3000000>; regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>; regulator-max-microvolt = <3000000>;
regulator-mem-idle;
}; };
buck1_reg: buck1 { buck1_reg: buck1 {
...@@ -444,7 +449,9 @@ buck1_reg: buck1 { ...@@ -444,7 +449,9 @@ buck1_reg: buck1 {
regulator-max-microvolt = <1100000>; regulator-max-microvolt = <1100000>;
regulator-always-on; regulator-always-on;
regulator-boot-on; regulator-boot-on;
regulator-mem-off; regulator-state-mem {
regulator-off-in-suspend;
};
}; };
buck2_reg: buck2 { buck2_reg: buck2 {
...@@ -454,7 +461,9 @@ buck2_reg: buck2 { ...@@ -454,7 +461,9 @@ buck2_reg: buck2 {
regulator-max-microvolt = <1500000>; regulator-max-microvolt = <1500000>;
regulator-always-on; regulator-always-on;
regulator-boot-on; regulator-boot-on;
regulator-mem-off; regulator-state-mem {
regulator-on-in-suspend;
};
}; };
buck3_reg: buck3 { buck3_reg: buck3 {
...@@ -464,7 +473,9 @@ buck3_reg: buck3 { ...@@ -464,7 +473,9 @@ buck3_reg: buck3 {
regulator-max-microvolt = <1150000>; regulator-max-microvolt = <1150000>;
regulator-always-on; regulator-always-on;
regulator-boot-on; regulator-boot-on;
regulator-mem-off; regulator-state-mem {
regulator-off-in-suspend;
};
}; };
buck4_reg: buck4 { buck4_reg: buck4 {
...@@ -473,7 +484,9 @@ buck4_reg: buck4 { ...@@ -473,7 +484,9 @@ buck4_reg: buck4 {
regulator-min-microvolt = <850000>; regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1150000>; regulator-max-microvolt = <1150000>;
regulator-boot-on; regulator-boot-on;
regulator-mem-off; regulator-state-mem {
regulator-off-in-suspend;
};
}; };
buck5_reg: buck5 { buck5_reg: buck5 {
...@@ -512,7 +525,6 @@ buck9_reg: buck9 { ...@@ -512,7 +525,6 @@ buck9_reg: buck9 {
regulator-name = "CAM_ISP_CORE_1.2V"; regulator-name = "CAM_ISP_CORE_1.2V";
regulator-min-microvolt = <1000000>; regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1200000>; regulator-max-microvolt = <1200000>;
regulator-mem-off;
}; };
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment