Merge remote-tracking branches 'regulator/topic/s5m8767', 'regulator/topic/st-pwm', 'regulator/topic/ti-abb', 'regulator/topic/tps51632', 'regulator/topic/tps62360', 'regulator/topic/tps6507x', 'regulator/topic/tps65090' and 'regulator/topic/tps65217' into regulator-next
This commit is contained in:
parent
7b836485d4
9c4c60554a
d8eb6fa7a9
8bad62cca3
ef4bcf88ea
33e63ba6c6
fe23ce0813
0ad91c69ab
94ee607c96
commit
24ee65e4a5
14 changed files with 426 additions and 187 deletions
|
@ -126,7 +126,8 @@ struct sec_platform_data {
|
|||
struct sec_regulator_data {
|
||||
int id;
|
||||
struct regulator_init_data *initdata;
|
||||
struct device_node *reg_node;
|
||||
struct device_node *reg_node;
|
||||
int ext_control_gpio;
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -183,9 +183,16 @@ enum s5m8767_regulators {
|
|||
S5M8767_REG_MAX,
|
||||
};
|
||||
|
||||
/* LDO_EN/BUCK_EN field in registers */
|
||||
#define S5M8767_ENCTRL_SHIFT 6
|
||||
#define S5M8767_ENCTRL_MASK (0x3 << S5M8767_ENCTRL_SHIFT)
|
||||
|
||||
/*
|
||||
* LDO_EN/BUCK_EN register value for controlling this Buck or LDO
|
||||
* by GPIO (PWREN, BUCKEN).
|
||||
*/
|
||||
#define S5M8767_ENCTRL_USE_GPIO 0x1
|
||||
|
||||
/*
|
||||
* Values for BUCK_RAMP field in DVS_RAMP register, matching raw values
|
||||
* in mV/us.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue