lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1410089869-6611-4-git-send-email-info@lategoodbye.de>
Date:	Sun,  7 Sep 2014 13:37:49 +0200
From:	Stefan Wahren <info@...egoodbye.de>
To:	lgirdwood@...il.com, broonie@...nel.org, shawn.guo@...aro.org,
	robh+dt@...nel.org, pawel.moll@....com, mark.rutland@....com,
	ijc+devicetree@...lion.org.uk, galak@...eaurora.org
Cc:	festevam@...il.com, linux-kernel@...r.kernel.org,
	devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
	stefan.wahren@...e.com, Stefan Wahren <info@...egoodbye.de>
Subject: [PATCH RFC 3/3] DT: ARM: mxs: enable regulator support for i.MX28

This patch enables the regulator support for i.MX28.

Signed-off-by: Stefan Wahren <stefan.wahren@...e.com>
---
 arch/arm/boot/dts/imx28.dtsi | 50 +++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 49 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
index a95cc53..10c7cdf 100644
--- a/arch/arm/boot/dts/imx28.dtsi
+++ b/arch/arm/boot/dts/imx28.dtsi
@@ -979,8 +979,56 @@
 			};
 
 			power: power@...44000 {
+				compatible = "fsl,imx28-power";
+				#address-cells = <1>;
+				#size-cells = <0>;
 				reg = <0x80044000 0x2000>;
-				status = "disabled";
+
+				/*
+				reg_curr: regulator-overall_current@...44010 {
+					reg = <0x80044010>;
+					compatible = "fsl,mxs-regulator";
+					regulator-name = "overall_current";
+					regulator-min-microvolt = <>;
+					regulator-max-microvolt = <>;
+					regulator-min-microamp = <>;
+					regulator-max-microamp = <>;
+					regulator-always-on;
+					regulator-boot-on;
+				};
+				*/
+
+				reg_vddd: regulator-vddd@...44040 {
+					reg = <0x80044040>;
+					compatible = "fsl,mxs-regulator";
+					regulator-name = "vddd";
+					regulator-min-microvolt = <800000>;
+					regulator-max-microvolt = <1575000>;
+					regulator-always-on;
+					mxs-max-reg-val = <0x1f>;
+				};
+
+				reg_vdda: regulator-vdda@...44050 {
+					reg = <0x80044050>;
+					compatible = "fsl,mxs-regulator";
+					regulator-name = "vdda";
+					regulator-min-microvolt = <1500000>;
+					regulator-max-microvolt = <2275000>;
+					regulator-always-on;
+					mxs-max-reg-val = <0x1f>;
+				};
+
+				reg_vddio: regulator-vddio@...44060 {
+					reg = <0x80044060>;
+					compatible = "fsl,mxs-regulator";
+					regulator-name = "vddio";
+					regulator-min-microvolt = <2800000>;
+					regulator-max-microvolt = <3600000>;
+					regulator-microvolt-offset = <80000>;
+					regulator-always-on;
+					mxs-max-reg-val = <0x10>;
+					mxs-default-microvolt = <3300000>;
+				};
 			};
 
 			saif1: saif@...46000 {
-- 
1.8.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ