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: NTim Bird <tim.bird@sonymobile.com> Acked-by: NBjorn Andersson <bjorn.andersson@sonymobile.com> Reviewed-by: NAndy 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: NStephen Boyd <stephen.boyd@linaro.org> Signed-off-by: NSebastian Reichel <sre@kernel.org>
Showing
想要评论请 注册 或 登录