| #ifndef __LINUX_MFD_TPS6586X_H |
| #define __LINUX_MFD_TPS6586X_H |
| struct tps6586x_subdev_info { |
| struct tps6586x_platform_data { |
| struct tps6586x_subdev_info *subdevs; |
| * NOTE: the functions below are not intended for use outside |
| * of the TPS6586X sub-device drivers |
| extern int tps6586x_write(struct device *dev, int reg, uint8_t val); |
| extern int tps6586x_writes(struct device *dev, int reg, int len, uint8_t *val); |
| extern int tps6586x_read(struct device *dev, int reg, uint8_t *val); |
| extern int tps6586x_reads(struct device *dev, int reg, int len, uint8_t *val); |
| extern int tps6586x_set_bits(struct device *dev, int reg, uint8_t bit_mask); |
| extern int tps6586x_clr_bits(struct device *dev, int reg, uint8_t bit_mask); |
| extern int tps6586x_update(struct device *dev, int reg, uint8_t val, |
| #endif /*__LINUX_MFD_TPS6586X_H */ |