[RFC PATCH V2 5/8] ARM: dts: OMAP4: add voltage processor nodes

From: Nishanth Menon
Date: Fri Jun 21 2013 - 17:29:36 EST


OMAP443x, OMAP446x SoC use same offsets for voltage processor,
however their voltage characteristics differ a little.

Introduce the voltage processor nodes for the same.

Signed-off-by: Nishanth Menon <nm@xxxxxx>
---
arch/arm/boot/dts/omap4.dtsi | 43 +++++++++++++++++++++++++++++++++++++++
arch/arm/boot/dts/omap443x.dtsi | 15 ++++++++++++++
arch/arm/boot/dts/omap4460.dtsi | 15 ++++++++++++++
3 files changed, 73 insertions(+)

diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi
index a153e8d..3c75b23 100644
--- a/arch/arm/boot/dts/omap4.dtsi
+++ b/arch/arm/boot/dts/omap4.dtsi
@@ -689,5 +689,48 @@
compatible = "ti,omap4-vc-channel-core";
};
};
+
+ vp_mpu: vp@0x4A307B58 {
+ compatible = "ti,omap4-vp";
+
+ reg = <0x4A307b58 0x18>, <0x4A306014 0x4>;
+ reg-names = "base-address", "int-address";
+ ti,tranxdone-status-mask=<0x20>;
+
+ clocks = <&sysclk_in>;
+
+ ti,vc-channel = <&vc_mpu>;
+ ti,min-step-micro-volts = <10000>;
+ ti,max-step-micro-volts = <50000>;
+ };
+
+ vp_iva: vp@0x4A307B70 {
+ compatible = "ti,omap4-vp";
+
+ reg = <0x4A307B70 0x18>, <0x4A306010 0x4>;
+ reg-names = "base-address", "int-address";
+ ti,tranxdone-status-mask=<0x20000000>;
+
+ clocks = <&sysclk_in>;
+
+ ti,vc-channel = <&vc_iva>;
+ ti,min-step-micro-volts = <10000>;
+ ti,max-step-micro-volts = <50000>;
+ };
+
+ vp_core: vp@0x4A307B40 {
+ compatible = "ti,omap4-vp";
+
+ reg = <0x4A307b40 0x18>, <0x4A306010 0x4>;
+ reg-names = "base-address", "int-address";
+ ti,tranxdone-status-mask=<0x200000>;
+
+ clocks = <&sysclk_in>;
+
+ regulator_name = "vdd_core";
+ ti,vc-channel = <&vc_core>;
+ ti,min-step-micro-volts = <10000>;
+ ti,max-step-micro-volts = <50000>;
+ };
};
};
diff --git a/arch/arm/boot/dts/omap443x.dtsi b/arch/arm/boot/dts/omap443x.dtsi
index 2b0deb5..e759937 100644
--- a/arch/arm/boot/dts/omap443x.dtsi
+++ b/arch/arm/boot/dts/omap443x.dtsi
@@ -46,3 +46,18 @@
ti,retention-micro-volts = <750000>;
ti,off-micro-volts = <0>;
};
+
+&vp_mpu {
+ ti,min-micro-volts = <750000>;
+ ti,max-micro-volts = <1388000>;
+};
+
+&vp_iva {
+ ti,min-micro-volts = <750000>;
+ ti,max-micro-volts = <1291000>;
+};
+
+&vp_core {
+ ti,min-micro-volts = <750000>;
+ ti,max-micro-volts = <1127000>;
+};
diff --git a/arch/arm/boot/dts/omap4460.dtsi b/arch/arm/boot/dts/omap4460.dtsi
index 16210a1..8320865 100644
--- a/arch/arm/boot/dts/omap4460.dtsi
+++ b/arch/arm/boot/dts/omap4460.dtsi
@@ -55,3 +55,18 @@
ti,retention-micro-volts = <750000>;
ti,off-micro-volts = <0>;
};
+
+&vp_mpu {
+ ti,min-micro-volts = <750000>;
+ ti,max-micro-volts = <1380000>;
+};
+
+&vp_iva {
+ ti,min-micro-volts = <750000>;
+ ti,max-micro-volts = <1375000>;
+};
+
+&vp_core {
+ ti,min-micro-volts = <750000>;
+ ti,max-micro-volts = <1250000>;
+};
--
1.7.9.5

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