power: supply: qcom_smbb: Add otg regulator for control of vbus
authorBird, Tim <Tim.Bird@sonymobile.com>
Tue, 18 Oct 2016 00:42:51 +0000 (17:42 -0700)
committerSebastian Reichel <sre@kernel.org>
Mon, 16 Jan 2017 22:02:46 +0000 (23:02 +0100)
commit61274eff0ddee8f10deaa5f79085e981db52930a
treebe022a97207327a2920a5d8bc18a7bf81ed9aa3b
parent3a3e11647315c1238ff9544e6d9c17396d7e48ec
power: supply: qcom_smbb: Add otg regulator for control of vbus

Add a regulator to control the OTG chargepath switch.  This
is used by USB code to control VBUS direction - out for host mode
on the OTG port, and in for charging mode.

Signed-off-by: Tim Bird <tim.bird@sonymobile.com>
Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Reviewed-by: Andy Gross <andy.gross@linaro.org>
[stephen.boyd@linaro.org: Fix supply name, constify ops, drop
machine.h and of_regulator.h includes]
Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/supply/qcom_smbb.c