xref: /openbmc/u-boot/include/power/lp873x.h (revision d9b88d25)
1 #define	LP8732		0x0
2 #define LP8733		0x1
3 
4 #define LP873X_LDO_NUM		2
5 #define LP873X_BUCK_NUM		2
6 
7 /* Drivers name */
8 #define LP873X_LDO_DRIVER	"lp873x_ldo"
9 #define LP873X_BUCK_DRIVER	"lp873x_buck"
10 
11 #define LP873X_BUCK_VOLT_MASK		0xFF
12 #define LP873X_BUCK_VOLT_MAX_HEX	0xFF
13 #define LP873X_BUCK_VOLT_MAX		3360000
14 #define LP873X_BUCK_MODE_MASK		0x1
15 
16 #define LP873X_LDO_VOLT_MASK    0x1F
17 #define LP873X_LDO_VOLT_MAX_HEX 0x19
18 #define LP873X_LDO_VOLT_MAX     3300000
19 #define LP873X_LDO_MODE_MASK	0x1
20