aboutsummaryrefslogtreecommitdiff
path: root/nuttx/drivers/power/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/drivers/power/Kconfig')
-rw-r--r--nuttx/drivers/power/Kconfig23
1 files changed, 23 insertions, 0 deletions
diff --git a/nuttx/drivers/power/Kconfig b/nuttx/drivers/power/Kconfig
new file mode 100644
index 000000000..ac76331b6
--- /dev/null
+++ b/nuttx/drivers/power/Kconfig
@@ -0,0 +1,23 @@
+#
+# For a description of the syntax of this configuration file,
+# see misc/tools/kconfig-language.txt.
+#
+config BATTERY
+ bool "Battery support"
+ default n
+
+config MAX1704X
+ bool "MAX1704X Battery charger support"
+ default n
+ select I2C
+ select I2C_MAX1704X
+ depends on BATTERY
+ ---help---
+ The MAX17040/MAX17041 are ultra-compact, low-cost, host-side fuel-gauge
+ systems for lithium-ion (Li+) batteries in handheld and portable equipment.
+ The MAX17040 is configured to operate with a single lithium cell and the
+ MAX17041 is configured for a dual-cell 2S pack.
+
+config I2C_MAX1704X
+ bool
+ default y if MAX1704X