Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f3252c6 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

ARM: dts: msm: Add OTG related regulators for msm8992



During DC charging, some devices may want to support USB OTG
with an external boost. The PMI8994 has a 5V audio boost that
can be utilized  to provide the 5V that OTG requires.

Add the usb_otg_switch fixed regulator to enable the switch that
connects the boost with USBIN via PMI8994 GPIO 5.

Add the smbcharger_external_otg regulator to disable the usb
charge path when the 5V is provided.

The layout of the regulator supply chain will be the following:
	- usb_otg_switch
		- fixed regulator that controls gpio to enable or
		  disable OVP FET
	- supplied by: smbcharger_external_otg
		- smbcharger regulator that disables usb charging
		  and USB source detect
	- supplied by: pmi8994_boost_5v
		- rpm regulator that enables the 5V smart boost in
		  the PMI8994.

The usb_otg_switch can be used in place of smbcharger_charger_otg
to provide the 5V in place of the charger operating in reverse if
specified in the device tree.

Change-Id: I9672c2f98369582b4a862e86dee05ab48183a380
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 8aabde83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment