mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
Merge remote-tracking branches 'regulator/topic/s2mps11', 'regulator/topic/s5m8767', 'regulator/topic/stw481x-vmmc', 'regulator/topic/tps51632', 'regulator/topic/tps62360', 'regulator/topic/tps65910', 'regulator/topic/twl' and 'regulator/topic/wm831x' into regulator-linus
This commit is contained in:
parent
a2a2be6309
699b36973d
ee5182b59f
991a645d6b
9d9339d3a6
541f597f10
b8903eb983
3db3988593
477b2bacb1
commit
07b1980848
13 changed files with 140 additions and 122 deletions
|
|
@ -79,36 +79,6 @@ static struct of_device_id sec_dt_match[] = {
|
|||
};
|
||||
#endif
|
||||
|
||||
int sec_reg_read(struct sec_pmic_dev *sec_pmic, u8 reg, void *dest)
|
||||
{
|
||||
return regmap_read(sec_pmic->regmap_pmic, reg, dest);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(sec_reg_read);
|
||||
|
||||
int sec_bulk_read(struct sec_pmic_dev *sec_pmic, u8 reg, int count, u8 *buf)
|
||||
{
|
||||
return regmap_bulk_read(sec_pmic->regmap_pmic, reg, buf, count);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(sec_bulk_read);
|
||||
|
||||
int sec_reg_write(struct sec_pmic_dev *sec_pmic, u8 reg, u8 value)
|
||||
{
|
||||
return regmap_write(sec_pmic->regmap_pmic, reg, value);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(sec_reg_write);
|
||||
|
||||
int sec_bulk_write(struct sec_pmic_dev *sec_pmic, u8 reg, int count, u8 *buf)
|
||||
{
|
||||
return regmap_raw_write(sec_pmic->regmap_pmic, reg, buf, count);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(sec_bulk_write);
|
||||
|
||||
int sec_reg_update(struct sec_pmic_dev *sec_pmic, u8 reg, u8 val, u8 mask)
|
||||
{
|
||||
return regmap_update_bits(sec_pmic->regmap_pmic, reg, mask, val);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(sec_reg_update);
|
||||
|
||||
static bool s2mps11_volatile(struct device *dev, unsigned int reg)
|
||||
{
|
||||
switch (reg) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue