aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/z2_battery.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/z2_battery.h')
-rw-r--r--include/linux/z2_battery.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/z2_battery.h b/include/linux/z2_battery.h
new file mode 100644
index 000000000000..7b9750404d22
--- /dev/null
+++ b/include/linux/z2_battery.h
@@ -0,0 +1,17 @@
1#ifndef _LINUX_Z2_BATTERY_H
2#define _LINUX_Z2_BATTERY_H
3
4struct z2_battery_info {
5 int batt_I2C_bus;
6 int batt_I2C_addr;
7 int batt_I2C_reg;
8 int charge_gpio;
9 int min_voltage;
10 int max_voltage;
11 int batt_div;
12 int batt_mult;
13 int batt_tech;
14 char *batt_name;
15};
16
17#endif