power: extcon: set ac cable state true always
authorVenkat Reddy Talla <vreddytalla@nvidia.com>
Tue, 17 Nov 2015 11:14:33 +0000 (16:14 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Wed, 18 Nov 2015 22:17:06 +0000 (14:17 -0800)
commitf37c5afc07345dca3b6c575533d63f1484fb5970
tree94a632713fda74d7be261ead452e2e11b5f6d6de
parente1be1aae0d65c1b933c8e4102e811dfd23c224af
power: extcon: set ac cable state true always

Add support to set ac cable state true always
based on DT property
power-supply,default-ac-cable-connected

Bug 1690367

Change-Id: Ib2fabba59bfeecfb7201a447b26eb4a6ba6acc0f
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/833894
Tested-by: Murali Duggireddy <mduggireddy@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Documentation/devicetree/bindings/power/power_supply_extcon.txt
drivers/power/power_supply_extcon.c
include/linux/power/power_supply_extcon.h