mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
a3b4388ea1
This converts the Palm Z2 battery driver to use GPIO descriptors. Cc: Haojian Zhuang <haojian.zhuang@gmail.com> Cc: Robert Jarzmik <robert.jarzmik@free.fr> Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Daniel Mack <daniel@zonque.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
17 lines
299 B
C
17 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
|