• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1MAXIM, MAX77686 regulators
2
3This device uses two drivers:
4- drivers/power/pmic/max77686.c (as parent I/O device)
5- drivers/power/regulator/max77686.c (for child regulators)
6
7This file describes the binding info for the REGULATOR driver.
8
9First, please read the binding info for the pmic:
10- doc/device-tree-bindings/pmic/max77686.txt
11
12Required subnode:
13- voltage-regulators: required for the PMIC driver
14
15Required properties:
16- regulator-name: used for regulator uclass platform data '.name'
17
18Optional:
19- regulator-min-microvolt: minimum allowed Voltage to set
20- regulator-max-microvolt: minimum allowed Voltage to set
21- regulator-always-on: regulator should be never disabled
22- regulator-boot-on: regulator should be enabled by the bootloader
23
24Example:
25(subnode of max77686 pmic node)
26voltage-regulators {
27	ldo1 {
28		regulator-name = "VDD_ALIVE_1.0V";
29		regulator-min-microvolt = <1000000>;
30		regulator-max-microvolt = <1000000>;
31		regulator-always-on;
32		regulator-boot-on;
33	};
34
35	ldo2 {
36		regulator-name = "VDDQ_VM1M2_1.2V";
37		regulator-min-microvolt = <1200000>;
38		regulator-max-microvolt = <1200000>;
39		regulator-always-on;
40		regulator-boot-on;
41	};
42	.
43	.
44	.
45	ldo26 {
46		regulator-name = "nc";
47		regulator-min-microvolt = <3000000>;
48		regulator-max-microvolt = <3000000>;
49		regulator-always-on;
50		regulator-boot-on;
51	};
52
53	buck1 {
54		regulator-compatible = "BUCK1";
55		regulator-name = "VDD_MIF_1.0V";
56		regulator-min-microvolt = <8500000>;
57		regulator-max-microvolt = <1100000>;
58		regulator-always-on;
59		regulator-boot-on;
60	};
61	.
62	.
63	.
64	buck9 {
65		regulator-compatible = "BUCK9";
66		regulator-name = "nc";
67		regulator-min-microvolt = <1200000>;
68		regulator-max-microvolt = <1200000>;
69	};
70};
71