OSDN Git Service

power_supply: add PIN_ENABLED property
authorNicholas Troast <ntroast@codeaurora.org>
Tue, 2 Aug 2016 20:43:58 +0000 (13:43 -0700)
committerNicholas Troast <ntroast@codeaurora.org>
Tue, 2 Aug 2016 21:02:41 +0000 (14:02 -0700)
commit9c585526980f4ed9916a67a052d7eafa3bc014f8
treeeadf3bb7a38afc41e05cea6d3b5d8f790ecc711c
parent8c5c49fdb240349632bcb0d3379c0f19562573a1
power_supply: add PIN_ENABLED property

Hardware disables the parallel charger via the CHG_EN pin. Add a new
property called PIN_ENABLED which reflects the status of the CHG_EN pin.

Change-Id: I79f95b145176b66d6b8cec5a21922ea16c2c8206
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
drivers/power/power_supply_sysfs.c
include/linux/power_supply.h