Merge tag 'openrisc-for-linus' of git://github.com/openrisc/linux
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / mfd / da9052-i2c.txt
1 * Dialog DA9052/53 Power Management Integrated Circuit (PMIC)
2
3 Required properties:
4 - compatible : Should be "dlg,da9052", "dlg,da9053-aa",
5                          "dlg,da9053-ab", or "dlg,da9053-bb"
6
7 Optional properties:
8 - dlg,tsi-as-adc : Boolean, if set the X+, X-, Y+, Y- touchscreen
9                     input lines are used as general purpose analogue
10                                         input.
11 - tsiref-supply: Phandle to the regulator, which provides the reference
12                  voltage for the TSIREF pin. Must be provided when the
13                              touchscreen pins are used for ADC purposes.
14
15 Sub-nodes:
16 - regulators : Contain the regulator nodes. The DA9052/53 regulators are
17   bound using their names as listed below:
18
19     buck1     : regulator BUCK CORE
20     buck2     : regulator BUCK PRO
21     buck3     : regulator BUCK MEM
22     buck4     : regulator BUCK PERI
23     ldo1      : regulator LDO1
24     ldo2      : regulator LDO2
25     ldo3      : regulator LDO3
26     ldo4      : regulator LDO4
27     ldo5      : regulator LDO5
28     ldo6      : regulator LDO6
29     ldo7      : regulator LDO7
30     ldo8      : regulator LDO8
31     ldo9      : regulator LDO9
32     ldo10     : regulator LDO10
33
34   The bindings details of individual regulator device can be found in:
35   Documentation/devicetree/bindings/regulator/regulator.txt
36
37 Examples:
38
39 i2c@63fc8000 { /* I2C1 */
40
41         pmic: dialog@48 {
42                 compatible = "dlg,da9053-aa";
43                 reg = <0x48>;
44
45                 regulators {
46                         buck1 {
47                                 regulator-min-microvolt = <500000>;
48                                 regulator-max-microvolt = <2075000>;
49                         };
50
51                         buck2 {
52                                 regulator-min-microvolt = <500000>;
53                                 regulator-max-microvolt = <2075000>;
54                         };
55
56                         buck3 {
57                                 regulator-min-microvolt = <925000>;
58                                 regulator-max-microvolt = <2500000>;
59                         };
60
61                         buck4 {
62                                 regulator-min-microvolt = <925000>;
63                                 regulator-max-microvolt = <2500000>;
64                         };
65                 };
66         };
67 };