diff options
| author | Lee Jones <lee.jones@linaro.org> | 2012-10-24 06:18:14 -0400 |
|---|---|---|
| committer | Lee Jones <lee.jones@linaro.org> | 2012-11-01 08:02:25 -0400 |
| commit | 0563f638f052185ea45441b5e7ec06a90e4e7837 (patch) | |
| tree | 6fb56a162ed726f62abf1b35e7e49d5a5e77c066 | |
| parent | 79b40753a318adb3254c6d534b834c10f99cba05 (diff) | |
ARM: ux500: Add node for the MMC GPIO regulator
There is a very simple mechanism to change and SDI's voltage which
consists of toggling some GPIOs. This scenario can be better handled
if we convert it to a GPIO regulator. This patch provides one which
can be read from Device Tree.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
| -rw-r--r-- | arch/arm/boot/dts/dbx5x0.dtsi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dbx5x0.dtsi b/arch/arm/boot/dts/dbx5x0.dtsi index 3b4298bc0bf9..7ce45fc461fb 100644 --- a/arch/arm/boot/dts/dbx5x0.dtsi +++ b/arch/arm/boot/dts/dbx5x0.dtsi | |||
| @@ -629,5 +629,19 @@ | |||
| 629 | ranges = <0 0x50000000 0x4000000>; | 629 | ranges = <0 0x50000000 0x4000000>; |
| 630 | status = "disabled"; | 630 | status = "disabled"; |
| 631 | }; | 631 | }; |
| 632 | |||
| 633 | vmmci: regulator-gpio { | ||
| 634 | compatible = "regulator-gpio"; | ||
| 635 | |||
| 636 | regulator-min-microvolt = <1800000>; | ||
| 637 | regulator-max-microvolt = <2600000>; | ||
| 638 | regulator-name = "mmci-reg"; | ||
| 639 | regulator-type = "voltage"; | ||
| 640 | |||
| 641 | gpios = <&tc3589x_gpio 18 0x4>; | ||
| 642 | gpio-enable = <&tc3589x_gpio 17 0x4>; | ||
| 643 | states = <1800000 0x1 | ||
| 644 | 2900000 0x0>; | ||
| 645 | }; | ||
| 632 | }; | 646 | }; |
| 633 | }; | 647 | }; |
