drivers: power: report battery voltage in AOSP compatible format
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / linux / i2c-pca-platform.h
1 #ifndef I2C_PCA9564_PLATFORM_H
2 #define I2C_PCA9564_PLATFORM_H
3
4 struct i2c_pca9564_pf_platform_data {
5 int gpio; /* pin to reset chip. driver will work when
6 * not supplied (negative value), but it
7 * cannot exit some error conditions then */
8 int i2c_clock_speed; /* values are defined in linux/i2c-algo-pca.h */
9 int timeout; /* timeout in jiffies */
10 };
11
12 #endif /* I2C_PCA9564_PLATFORM_H */