8 /* I2C device address for pmic tps65941 */
9 #define TPS65941_I2C_ADDR (0x12 >> 1)
10 #define TPS65941_LDO_NUM 4
11 #define TPS65941_BUCK_NUM 5
12 #define TPS65224_LDO_NUM 3
13 #define TPS65224_BUCK_NUM 4
16 #define TPS65941_LDO_DRIVER "tps65941_ldo"
17 #define TPS65941_BUCK_DRIVER "tps65941_buck"
19 #define TPS65941_BUCK_VOLT_MASK 0xFF
20 #define TPS65941_BUCK_VOLT_MAX_HEX 0xFF
21 #define TPS65941_BUCK_VOLT_MAX 3340000
22 #define TPS65941_BUCK_MODE_MASK 0x1
24 #define TPS65941_LDO_VOLT_MASK 0x3E
25 #define TPS65941_LDO_VOLT_MAX_HEX 0x3A
26 #define TPS65941_LDO_VOLT_MIN_HEX 0x4
27 #define TPS65941_LDO_VOLT_MAX 3300000
28 #define TPS65941_LDO_MODE_MASK 0x1
29 #define TPS65941_LDO_BYPASS_EN 0x80
30 #define TP65941_BUCK_CONF_SLEW_MASK 0x7
32 #define TPS65224_BUCK_VOLT_MAX 3300000
33 #define TPS65224_BUCK1_VOLT_MAX_HEX 0xFD
34 #define TPS65224_BUCK234_VOLT_MAX_HEX 0x45
36 #define TPS65224_BUCK_CONF_SLEW_MASK 0x3
37 #define TPS65224_LDO_VOLT_MASK (0x3F << 1)
39 #define TPS65224_LDO1_VOLT_MIN_HEX 0x0C
40 #define TPS65224_LDO23_VOLT_MIN_HEX 0x00
41 #define TPS65224_LDO1_VOLT_MAX_HEX 0x36
42 #define TPS65224_LDO23_VOLT_MAX_HEX 0x38
44 #define TPS65224_LDO1_VOLT_MAX 3300000
45 #define TPS65224_LDO23_VOLT_MAX 3400000
46 #define TPS65224_LDO1_VOLT_MIN 1200000
47 #define TPS65224_LDO23_VOLT_MIN 600000
49 #define TPS65224_LDO_STEP 50000
51 #define TPS65224_LDO_BYP_CONFIG 7
53 #define TPS65224_LDO1_VOLT_BYP_MIN 2200000
54 #define TPS65224_LDO1_VOLT_BYP_MAX 3600000
56 #define TPS65224_LDO23_VOLT_BYP_MIN 1500000
57 #define TPS65224_LDO23_VOLT_BYP_MAX 5500000