mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
This converts the Palm Z2 battery driver to use GPIO descriptors. Cc: Haojian Zhuang <[email protected]> Cc: Robert Jarzmik <[email protected]> Cc: [email protected] Signed-off-by: Linus Walleij <[email protected]> Reviewed-by: Daniel Mack <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
18 lines
299 B
C
18 lines
299 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _LINUX_Z2_BATTERY_H
|
|
#define _LINUX_Z2_BATTERY_H
|
|
|
|
struct z2_battery_info {
|
|
int batt_I2C_bus;
|
|
int batt_I2C_addr;
|
|
int batt_I2C_reg;
|
|
int min_voltage;
|
|
int max_voltage;
|
|
int batt_div;
|
|
int batt_mult;
|
|
int batt_tech;
|
|
char *batt_name;
|
|
};
|
|
|
|
#endif
|