On Friday 20 December 2013 09:28 PM, Tony Lindgren wrote:
* Balaji T K <balaj...@ti.com> [131220 03:41]:
On Thursday 19 December 2013 10:03 PM, Tony Lindgren wrote:
* Balaji T K <balaj...@ti.com> [131219 04:40]:
@@ -485,6 +503,7 @@
                        dmas = <&sdma 61>, <&sdma 62>;
                        dma-names = "tx", "rx";
                        status = "disabled";
+                       pbias-supply = <&pbias_mmc_reg>;
                };

                mmc2: mmc@480b4000 {
diff --git a/arch/arm/boot/dts/omap2430.dtsi b/arch/arm/boot/dts/omap2430.dtsi
index d624345..f127901 100644
--- a/arch/arm/boot/dts/omap2430.dtsi
+++ b/arch/arm/boot/dts/omap2430.dtsi
@@ -29,6 +29,24 @@
                        pinctrl-single,function-mask = <0x3f>;
                };

+               omap2_scm_general: tisyscon@49002270 {
+                       compatible = "ti,control-syscon", "syscon", 
"simple-bus";
+                       reg = <0x49002270 0x240>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       ranges;
+                       pbias_regulator: pbias_regulator {
+                               compatible = "ti,pbias-omap";
+                               reg = <0x230 0x4>;
+                               pbias_mmc_reg: pbias_mmc_omap3 {
+                                       regulator-name = "pbias_mmc_omap3";
+                                       regulator-min-microvolt = <1800000>;
+                                       regulator-max-microvolt = <3000000>;
+                                       regulator-enable-ramp-delay = <100>;
+                               };
+                       };
+               };
+
                gpio1: gpio@4900c000 {
                        compatible = "ti,omap2-gpio";
                        reg = <0x4900c000 0x200>;

Here too you may need to set up pbias_mmc_omap2430?


2430 pbias reg config is same as 3430/3630 w.r.t to mmc pbias i/o,
hence using the same name, if you think regulator name needs to be changed
let me know the more appropriate one.

If they are compatible then we should use the earliest revision number
which would be 2430 instead of omap3 :)

I went with most commonly used omap SoC :-)


Tony


--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to