xref: /linux/Documentation/devicetree/bindings/regulator/max8907.txt (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1a91d2f8dSGyungoh YooMAX8907 regulator
2a91d2f8dSGyungoh Yoo
3a91d2f8dSGyungoh YooRequired properties:
4a91d2f8dSGyungoh Yoo- compatible: "maxim,max8907"
5a91d2f8dSGyungoh Yoo- reg: I2C slave address
6a91d2f8dSGyungoh Yoo- interrupts: The interrupt output of the controller
7a91d2f8dSGyungoh Yoo- mbatt-supply: The input supply for MBATT, BBAT, SDBY, VRTC.
8a91d2f8dSGyungoh Yoo- in-v1-supply: The input supply for SD1.
9a91d2f8dSGyungoh Yoo- in-v2-supply: The input supply for SD2.
10a91d2f8dSGyungoh Yoo- in-v3-supply: The input supply for SD3.
11a91d2f8dSGyungoh Yoo- in1-supply: The input supply for LDO1.
12a91d2f8dSGyungoh Yoo...
13a91d2f8dSGyungoh Yoo- in20-supply: The input supply for LDO20.
14a91d2f8dSGyungoh Yoo- regulators: A node that houses a sub-node for each regulator within the
15*396f70beSStephen Warren  device. Each sub-node is identified using the node's name (or the deprecated
16*396f70beSStephen Warren  regulator-compatible property if present), with valid values listed below.
17*396f70beSStephen Warren  The content of each sub-node is defined by the standard binding for
18*396f70beSStephen Warren  regulators; see regulator.txt.
19a91d2f8dSGyungoh Yoo
209582fdcbSStephen WarrenOptional properties:
219582fdcbSStephen Warren- maxim,system-power-controller: Boolean property indicating that the PMIC
229582fdcbSStephen Warren  controls the overall system power.
239582fdcbSStephen Warren
24*396f70beSStephen WarrenThe valid names for regulators are:
25a91d2f8dSGyungoh Yoo
26a91d2f8dSGyungoh Yoo  sd1, sd2, sd3, ldo1, ldo2, ldo3, ldo4, ldo5, ldo6, ldo7, ldo8, ldo9, ldo10,
27a91d2f8dSGyungoh Yoo  ldo11, ldo12, ldo13, ldo14, ldo15, ldo16, ldo17, ldo18, ldo19, ldo20, out5v,
28a91d2f8dSGyungoh Yoo  out33v, bbat, sdby, vrtc.
29a91d2f8dSGyungoh Yoo
30a91d2f8dSGyungoh YooExample:
31a91d2f8dSGyungoh Yoo
32a91d2f8dSGyungoh Yoo		max8907@3c {
33a91d2f8dSGyungoh Yoo			compatible = "maxim,max8907";
34a91d2f8dSGyungoh Yoo			reg = <0x3c>;
35a91d2f8dSGyungoh Yoo			interrupts = <0 86 0x4>;
36a91d2f8dSGyungoh Yoo
379582fdcbSStephen Warren			maxim,system-power-controller;
389582fdcbSStephen Warren
39a91d2f8dSGyungoh Yoo			mbatt-supply = <&some_reg>;
40a91d2f8dSGyungoh Yoo			in-v1-supply = <&mbatt_reg>;
41a91d2f8dSGyungoh Yoo			...
42a91d2f8dSGyungoh Yoo			in1-supply = <&mbatt_reg>;
43a91d2f8dSGyungoh Yoo			...
44a91d2f8dSGyungoh Yoo
45a91d2f8dSGyungoh Yoo			regulators {
46*396f70beSStephen Warren				mbatt_reg: mbatt {
47a91d2f8dSGyungoh Yoo					regulator-name = "vbat_pmu";
48a91d2f8dSGyungoh Yoo					regulator-min-microvolt = <5000000>;
49a91d2f8dSGyungoh Yoo					regulator-max-microvolt = <5000000>;
50a91d2f8dSGyungoh Yoo					regulator-always-on;
51a91d2f8dSGyungoh Yoo				};
52a91d2f8dSGyungoh Yoo
53*396f70beSStephen Warren				sd1 {
54a91d2f8dSGyungoh Yoo					regulator-name = "nvvdd_sv1,vdd_cpu_pmu";
55a91d2f8dSGyungoh Yoo					regulator-min-microvolt = <1000000>;
56a91d2f8dSGyungoh Yoo					regulator-max-microvolt = <1000000>;
57a91d2f8dSGyungoh Yoo					regulator-always-on;
58a91d2f8dSGyungoh Yoo				};
59a91d2f8dSGyungoh Yoo
60*396f70beSStephen Warren				sd2 {
61a91d2f8dSGyungoh Yoo					regulator-name = "nvvdd_sv2,vdd_core";
62a91d2f8dSGyungoh Yoo					regulator-min-microvolt = <1200000>;
63a91d2f8dSGyungoh Yoo					regulator-max-microvolt = <1200000>;
64a91d2f8dSGyungoh Yoo					regulator-always-on;
65a91d2f8dSGyungoh Yoo				};
66a91d2f8dSGyungoh Yoo...
67a91d2f8dSGyungoh Yoo			};
68a91d2f8dSGyungoh Yoo		};
69a91d2f8dSGyungoh Yoo	};
70