diff options
author | Balaji T K <balajitk@ti.com> | 2014-02-19 09:56:40 -0500 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-03-04 11:44:47 -0500 |
commit | 11469e0bb1c5eedd3b489a4b19dbd26c02577674 (patch) | |
tree | 62ead13af6af8dba9426277a2cfced9bc5b48d4f /Documentation | |
parent | 987fd49b894ec964231dfc5b6bbb2bc12e2b56b5 (diff) |
regulator: add pbias regulator support
pbias register controls internal power supply to sd card i/o pads
in most OMAPs (OMAP2-5, DRA7).
Control bits for selecting voltage level and
enabling/disabling are in the same PBIAS register.
Signed-off-by: Balaji T K <balajitk@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Mark Brown <broonie@linaro.org>
Tested-by: Florian Vaussard <florian.vaussard@epfl.ch>
Tested-by: Stefan Roese <sr@denx.de>
Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/regulator/pbias-regulator.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/pbias-regulator.txt b/Documentation/devicetree/bindings/regulator/pbias-regulator.txt new file mode 100644 index 000000000000..32aa26f1e434 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/pbias-regulator.txt | |||
@@ -0,0 +1,27 @@ | |||
1 | PBIAS internal regulator for SD card dual voltage i/o pads on OMAP SoCs. | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: | ||
5 | - "ti,pbias-omap" for OMAP2, OMAP3, OMAP4, OMAP5, DRA7. | ||
6 | - reg: pbias register offset from syscon base and size of pbias register. | ||
7 | - syscon : phandle of the system control module | ||
8 | - regulator-name : should be | ||
9 | pbias_mmc_omap2430 for OMAP2430, OMAP3 SoCs | ||
10 | pbias_sim_omap3 for OMAP3 SoCs | ||
11 | pbias_mmc_omap4 for OMAP4 SoCs | ||
12 | pbias_mmc_omap5 for OMAP5 and DRA7 SoC | ||
13 | |||
14 | Optional properties: | ||
15 | - Any optional property defined in bindings/regulator/regulator.txt | ||
16 | |||
17 | Example: | ||
18 | |||
19 | pbias_regulator: pbias_regulator { | ||
20 | compatible = "ti,pbias-omap"; | ||
21 | reg = <0 0x4>; | ||
22 | syscon = <&omap5_padconf_global>; | ||
23 | pbias_mmc_reg: pbias_mmc_omap5 { | ||
24 | regulator-name = "pbias_mmc_omap5"; | ||
25 | regulator-min-microvolt = <1800000>; | ||
26 | regulator-max-microvolt = <3000000>; | ||
27 | }; | ||