aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/power/bq20z75.h
Commit message (Collapse)AuthorAge
* bq20z75: Add i2c retry mechanismRhyland Klein2011-03-01
| | | | | | | | | With the support of platform data, now adding support for option i2c retries on read/write failures. Ths is specified through the optional platform data. Signed-off-by: Rhyland Klein <rklein@nvidia.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
* bq20z75: Add optional battery detect gpioRhyland Klein2011-03-01
Adding support for an optional gpio for battery detection. This is passed in through the i2c platform data. It also accepts another field, battery_detect_present to signify the gpio state which means the battery is present, either 0 (low) or 1 (high). Signed-off-by: Rhyland Klein <rklein@nvidia.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>