blob: 577e6de1c1f23285d38c2f171abdc2d1fe51f8c6 [file] [log] [blame]
Svyatoslav Ryhel8f0fa2b2023-10-27 11:26:12 +03001Texas Instruments, TPS80031/TPS80032 PMIC
2
3This device uses two drivers:
4- drivers/power/pmic/tps80031.c (for parent device)
5- drivers/power/regulator/tps80031_regulator.c (for child regulators)
6
7This chapter describes the binding info for the PMIC driver and regulators.
8
9Required properties for PMIC:
10- compatible: "ti,tps80031" or "ti,tps80032"
11- reg: 0x48
12
13With those two properties, the pmic device can be used for read/write only.
14To bind each regulator, the optional regulators subnode should exists.
15
16Optional subnode:
17- name: regulators (subnode list of each device's regulator)
18
19Regulators subnode contains set on supported regulators.
20
21Required properties:
22- regulator-name: used for regulator uclass platform data '.name',
23
24List of supported regulator nodes names for tps80031/tps80032:
25- smps1, smps2, smps3, smps4, smps5
26- ldo1, ldo2, ldo3, ldo4, ldo5, ldo6, ldo7, ldoln, ldousb
27
28SMPS5 in Linux 3.1.10 is referred as vio, but datasheet clearly names it SMPS5.
29
30Optional:
31- regulator-min-microvolt: minimum allowed Voltage to set
32- regulator-max-microvolt: minimum allowed Voltage to set
33- regulator-always-on: regulator should be never disabled
34- regulator-boot-on: regulator should be enabled by the bootloader
35
36Example:
37
38tps80032@48 {
39 compatible = "ti,tps80032";
40 reg = <0x48>;
41
42 regulators {
43 smps1 {
44 regulator-name = "vdd_cpu";
45 regulator-min-microvolt = <800000>;
46 regulator-max-microvolt = <1250000>;
47 regulator-always-on;
48 regulator-boot-on;
49 };
50
51 ...
52
53 smps5 {
54 regulator-name = "vdd_1v8_gen";
55 regulator-min-microvolt = <1800000>;
56 regulator-max-microvolt = <1800000>;
57 regulator-always-on;
58 regulator-boot-on;
59 };
60
61 ldo1 {
62 regulator-name = "avdd_dsi_csi";
63 regulator-min-microvolt = <1200000>;
64 regulator-max-microvolt = <1200000>;
65 regulator-boot-on;
66 };
67
68 ...
69
70 ldousb {
71 regulator-name = "avdd_usb";
72 regulator-min-microvolt = <3300000>;
73 regulator-max-microvolt = <3300000>;
74 };
75 };
76};