1 #ifndef __LINUX_MFD_TPS6586X_H
2 #define __LINUX_MFD_TPS6586X_H
21 struct tps6586x_subdev_info {
27 struct tps6586x_platform_data {
29 struct tps6586x_subdev_info *subdevs;
35 * NOTE: the functions below are not intended for use outside
36 * of the TPS6586X sub-device drivers
38 extern int tps6586x_write(struct device *dev, int reg, uint8_t val);
39 extern int tps6586x_writes(struct device *dev, int reg, int len, uint8_t *val);
40 extern int tps6586x_read(struct device *dev, int reg, uint8_t *val);
41 extern int tps6586x_reads(struct device *dev, int reg, int len, uint8_t *val);
42 extern int tps6586x_set_bits(struct device *dev, int reg, uint8_t bit_mask);
43 extern int tps6586x_clr_bits(struct device *dev, int reg, uint8_t bit_mask);
44 extern int tps6586x_update(struct device *dev, int reg, uint8_t val,
47 #endif /*__LINUX_MFD_TPS6586X_H */