The Linux driver supports the LP8727 USB interface with integrated 28-V linear charger. The Linux driver supports communication through the I2C bus and interfaces with the power-supply subsystem.
Linux mainline status
Available in Linux Mainline: Yes
Available through git.ti.com: N/A
Supported devices:
Linux source files
The files associated with this device are:
- drivers/power/supply/lp8727_charger.c
- Documentation/devicetree/bindings/power_supply/lp8727_charger.txt
- include/linux/platform_data/lp8727.h
Source files
drivers/power/supply/lp8727_charger.cLinux device tree documenation
Documentation/devicetree/bindings/power_supply/lp8727_charger.txtOther files
include/linux/platform_data/lp8727.h
Enabling driver support
Configure kernel with "make menuconfig" (alternatively use "make xconfig" or "make nconfig")
Menuconfig location
Symbol: CHARGER_LP8727 [=y]Type : tristatePrompt: TI/National Semiconductor LP8727 charger driver Location: -> Device Drivers -> Power supply class support (POWER_SUPPLY [=y]) Defined at drivers/power/supply/Kconfig:331 Depends on: POWER_SUPPLY [=y] && I2C [=y]
Fixes & code enhancements
If there are fixes and or code enhancements that need to be added to thisdriver please either1. Send the patches to the relevant Linux Kernel community as listed in the maintainers file located: Hereor2. Contact your TI representative.