Merge tag 'firewire-update' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / regulator / st,stpmic1-regulator.txt
1 STMicroelectronics STPMIC1 Voltage regulators
2
3 Regulator Nodes are optional depending on needs.
4
5 Available Regulators in STPMIC1 device are:
6   - buck1 for Buck BUCK1
7   - buck2 for Buck BUCK2
8   - buck3 for Buck BUCK3
9   - buck4 for Buck BUCK4
10   - ldo1 for LDO LDO1
11   - ldo2 for LDO LDO2
12   - ldo3 for LDO LDO3
13   - ldo4 for LDO LDO4
14   - ldo5 for LDO LDO5
15   - ldo6 for LDO LDO6
16   - vref_ddr for LDO Vref DDR
17   - boost for Buck BOOST
18   - pwr_sw1 for VBUS_OTG switch
19   - pwr_sw2 for SW_OUT switch
20
21 Switches are fixed voltage regulators with only enable/disable capability.
22
23 Optional properties:
24 - st,mask-reset: mask reset for this regulator: the regulator configuration
25   is maintained during pmic reset.
26 - regulator-pull-down: enable high pull down
27   if not specified light pull down is used
28 - regulator-over-current-protection:
29     if set, all regulators are switched off in case of over-current detection
30     on this regulator,
31     if not set, the driver only sends an over-current event.
32 - interrupt-parent: phandle to the parent interrupt controller
33 - interrupts: index of current limit detection interrupt
34 - <regulator>-supply: phandle to the parent supply/regulator node
35         each regulator supply can be described except vref_ddr.
36
37 Example:
38 regulators {
39         compatible = "st,stpmic1-regulators";
40
41         ldo6-supply = <&v3v3>;
42
43         vdd_core: buck1 {
44                 regulator-name = "vdd_core";
45                 interrupts = <IT_CURLIM_BUCK1 0>;
46                 interrupt-parent = <&pmic>;
47                 st,mask-reset;
48                 regulator-pull-down;
49                 regulator-min-microvolt = <700000>;
50                 regulator-max-microvolt = <1200000>;
51         };
52
53         v3v3: buck4 {
54                 regulator-name = "v3v3";
55                 interrupts = <IT_CURLIM_BUCK4 0>;
56                 interrupt-parent = <&mypmic>;
57
58                 regulator-min-microvolt = <3300000>;
59                 regulator-max-microvolt = <3300000>;
60         };
61
62         v1v8: ldo6 {
63                 regulator-name = "v1v8";
64                 regulator-min-microvolt = <1800000>;
65                 regulator-max-microvolt = <1800000>;
66                 regulator-over-current-protection;
67         };
68 };