summaryrefslogtreecommitdiff
path: root/include/linux/power/bq2419x-charger.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/power/bq2419x-charger.h')
-rw-r--r--include/linux/power/bq2419x-charger.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/power/bq2419x-charger.h b/include/linux/power/bq2419x-charger.h
index 2d13dfbb1ff5..8ce5572d267d 100644
--- a/include/linux/power/bq2419x-charger.h
+++ b/include/linux/power/bq2419x-charger.h
@@ -79,6 +79,10 @@
#define BQ2419x_FAULT_NTC_FAULT 0x07
#define BQ2419x_CONFIG_MASK 0x7
+#define BQ2419x_INPUT_VOLTAGE_MASK 0x78
+#define BQ2419x_NVCHARGER_INPUT_VOL_SEL 0x40
+#define BQ2419x_DEFAULT_INPUT_VOL_SEL 0x30
+
#define BQ2419X_MAX_REGS (BQ2419X_REVISION_REG + 1)
/*