power: smb347: Add platform data for reg vs. pin control of USB mode
authorTodd Poynor <toddpoynor@google.com>
Fri, 13 Jul 2012 02:05:56 +0000 (19:05 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 23 Jul 2012 08:51:51 +0000 (13:51 +0530)
commit07287c78c95fd4fb3d4c8f5786cf49e00342947c
tree3e4f3fec74d7a37edbd7e482f8a77ce40807ae01
parent8dfc5d7b8523a5c481183fca7f7fc4802926be4e
power: smb347: Add platform data for reg vs. pin control of USB mode

USB5/1/HC or USB9/1.5/HC will be selected by pin if true, else
selected by register via POWER_SUPPLY_PROP_USB_HC.

Change-Id: Ib2aff319c0fbae36bc3f1bab1b2048a52741a579
Signed-off-by: Todd Poynor <toddpoynor@google.com>
drivers/power/smb347-charger.c
include/linux/power/smb347-charger.h