summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/Makefile
diff options
context:
space:
mode:
authorAlexander Kurz2016-10-19 18:04:49 +0200
committerSebastian Reichel2017-01-16 23:03:11 +0100
commit9d60595a069b1a71b33dabed8053b378c325cb4a (patch)
tree4a93789ec34a6a96b17532598e970279bc268ded /drivers/power/supply/Makefile
parentdt-bindings: power: supply: Add max14656_charger_detector (diff)
downloadkernel-qcow2-linux-9d60595a069b1a71b33dabed8053b378c325cb4a.tar.gz
kernel-qcow2-linux-9d60595a069b1a71b33dabed8053b378c325cb4a.tar.xz
kernel-qcow2-linux-9d60595a069b1a71b33dabed8053b378c325cb4a.zip
power: supply: Add support for MAX14656 USB charger detector
The MAX14656 USB charger detector, also known as "AL32" is used to detect the presence and capabilities of attached USB chargers. The device is attached via I2C plus one interrupt line to signalize events. The device can be found in LG smartphones like LS665 and LS770, compatible devices are present in 4th/5th generation Amazon Kindle readers referenced in source code packages as "Maxim AL32". The initial version of this driver has been extracted from LG source code package LGLS665_Android_Lollipop_LS665ZV3, enriched with information from the Kindle_src_4.1.3 source code package and adapted to the current power class sysfs interface. Non-Standard Apple chargers which the device may detect are mapped to the USB Battery Charging Specification Revision 1.2 class USB_DCP. Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/supply/Makefile')
-rw-r--r--drivers/power/supply/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/supply/Makefile b/drivers/power/supply/Makefile
index 8af6cdbb39b3..ed48324ea2e9 100644
--- a/drivers/power/supply/Makefile
+++ b/drivers/power/supply/Makefile
@@ -58,6 +58,7 @@ obj-$(CONFIG_CHARGER_LP8788) += lp8788-charger.o
obj-$(CONFIG_CHARGER_GPIO) += gpio-charger.o
obj-$(CONFIG_CHARGER_MANAGER) += charger-manager.o
obj-$(CONFIG_CHARGER_MAX14577) += max14577_charger.o
+obj-$(CONFIG_CHARGER_DETECTOR_MAX14656) += max14656_charger_detector.o
obj-$(CONFIG_CHARGER_MAX77693) += max77693_charger.o
obj-$(CONFIG_CHARGER_MAX8997) += max8997_charger.o
obj-$(CONFIG_CHARGER_MAX8998) += max8998_charger.o