summaryrefslogtreecommitdiff
path: root/target/linux/mxs/patches-4.4/103-dt-enable-regulator.patch
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2016-01-30 12:05:49 +0000
committerZoltan Herpai <wigyori@uid0.hu>2016-01-30 12:05:49 +0000
commit4668d7c572b115c72bdd70a3e2187118228368ef (patch)
tree2bab8c70da06aabf50b7e4d93ca0277a82989800 /target/linux/mxs/patches-4.4/103-dt-enable-regulator.patch
parentbeda11255b27d2ec089aae4d8248000f213d323b (diff)
downloadmtk-20170518-4668d7c572b115c72bdd70a3e2187118228368ef.zip
mtk-20170518-4668d7c572b115c72bdd70a3e2187118228368ef.tar.gz
mtk-20170518-4668d7c572b115c72bdd70a3e2187118228368ef.tar.bz2
mxs: forward-port regulator patches into 4.4
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 48559
Diffstat (limited to 'target/linux/mxs/patches-4.4/103-dt-enable-regulator.patch')
-rw-r--r--target/linux/mxs/patches-4.4/103-dt-enable-regulator.patch100
1 files changed, 100 insertions, 0 deletions
diff --git a/target/linux/mxs/patches-4.4/103-dt-enable-regulator.patch b/target/linux/mxs/patches-4.4/103-dt-enable-regulator.patch
new file mode 100644
index 0000000..bfcf247
--- /dev/null
+++ b/target/linux/mxs/patches-4.4/103-dt-enable-regulator.patch
@@ -0,0 +1,100 @@
+--- a/arch/arm/boot/dts/imx23.dtsi
++++ b/arch/arm/boot/dts/imx23.dtsi
+@@ -404,8 +404,46 @@
+ };
+
+ power@80044000 {
++ compatible = "fsl,imx23-power", "syscon";
+ reg = <0x80044000 0x2000>;
+- status = "disabled";
++ interrupts = <3>;
++
++ dcdc: regulator@1 {
++ compatible = "fsl,imx23-dcdc";
++ regulator-name = "dcdc";
++ regulator-boot-on;
++ regulator-always-on;
++ };
++
++ reg_vddd: regulator@2 {
++ compatible = "fsl,imx23-vddd";
++ regulator-name = "vddd";
++ regulator-min-microvolt = <1350000>;
++ regulator-max-microvolt = <1550000>;
++ vddd-supply = <&reg_vdda>;
++ regulator-boot-on;
++ regulator-always-on;
++ };
++
++ reg_vdda: regulator@3 {
++ compatible = "fsl,imx23-vdda";
++ regulator-name = "vdda";
++ regulator-min-microvolt = <1725000>;
++ regulator-max-microvolt = <1950000>;
++ vdda-supply = <&reg_vddio>;
++ regulator-boot-on;
++ regulator-always-on;
++ };
++
++ reg_vddio: regulator@4 {
++ compatible = "fsl,imx23-vddio";
++ regulator-name = "vddio";
++ regulator-min-microvolt = <3000000>;
++ regulator-max-microvolt = <3575000>;
++ regulator-microvolt-offset = <80000>;
++ regulator-boot-on;
++ regulator-always-on;
++ };
+ };
+
+ saif1: saif@80046000 {
+--- a/arch/arm/boot/dts/imx28.dtsi
++++ b/arch/arm/boot/dts/imx28.dtsi
+@@ -1035,8 +1035,46 @@
+ };
+
+ power: power@80044000 {
++ compatible = "fsl,imx28-power", "syscon";
+ reg = <0x80044000 0x2000>;
+- status = "disabled";
++ interrupts = <6>;
++
++ dcdc: regulator@1 {
++ compatible = "fsl,imx28-dcdc";
++ regulator-name = "dcdc";
++ regulator-boot-on;
++ regulator-always-on;
++ };
++
++ reg_vddd: regulator@2 {
++ compatible = "fsl,imx28-vddd";
++ regulator-name = "vddd";
++ regulator-min-microvolt = <1350000>;
++ regulator-max-microvolt = <1550000>;
++ vddd-supply = <&reg_vdda>;
++ regulator-boot-on;
++ regulator-always-on;
++ };
++
++ reg_vdda: regulator@3 {
++ compatible = "fsl,imx28-vdda";
++ regulator-name = "vdda";
++ regulator-min-microvolt = <1725000>;
++ regulator-max-microvolt = <1950000>;
++ vdda-supply = <&reg_vddio>;
++ regulator-boot-on;
++ regulator-always-on;
++ };
++
++ reg_vddio: regulator@4 {
++ compatible = "fsl,imx28-vddio";
++ regulator-name = "vddio";
++ regulator-min-microvolt = <3000000>;
++ regulator-max-microvolt = <3550000>;
++ regulator-microvolt-offset = <80000>;
++ regulator-boot-on;
++ regulator-always-on;
++ };
+ };
+
+ saif1: saif@80046000 {