summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/z2_battery.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/z2_battery.h')
-rw-r--r--kernel/include/linux/z2_battery.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/kernel/include/linux/z2_battery.h b/kernel/include/linux/z2_battery.h
new file mode 100644
index 000000000..7b9750404
--- /dev/null
+++ b/kernel/include/linux/z2_battery.h
@@ -0,0 +1,17 @@
+#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 charge_gpio;
+ int min_voltage;
+ int max_voltage;
+ int batt_div;
+ int batt_mult;
+ int batt_tech;
+ char *batt_name;
+};
+
+#endif