Add the Level Shifter's external feedback clock entry to support
the SD card HS50 mode running at 50MHz.
By default, the Sun platforms use the Level Shifter devices with
external feedback clock signal connects back to the MSM in order
for the HS50 mode to work at 50MHz. Without the external feedback
clock, the HS50 mode works at reduced frequency at 37.5MHz.
Change-Id: I56c61411d7f792a389fa85661fce7fa5074e2c9f
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
Add ufs proxy power supply to add an additional vote
for VCCQ LDO. In case of ufs shutdown, UFS VCCQ LDO would
be turned off by PMIC regulator itself.
Change-Id: If55c56bcbe6a3b76dbe5703095bd5d98abdca8a6
Signed-off-by: Nitin Rawat <quic_nitirawa@quicinc.com>
Change vdd io current level of sdhc_2 to set 22 mA load to follow
up new Power Grid on SDC2 vdd-io pads regulator lpk. The previous
5.6 mA is not able to reflect real drawing current. It may cause
OCP issue as 5.6 mA voting load from SW is not enough to let SDC2
vdd-io regulator work on HPM, but the real drawing current may
exceed LPM OCP threshold.
Change-Id: I3eef0d1269d424341fea5493b467af26c5f203fa
Signed-off-by: Ziqi Chen <quic_ziqichen@quicinc.com>
Enable bcl thermal zones and cooling maps for both pmih010x
and pm8550 bcl peripherals and bcl socd.
Change-Id: Iece388b34729a8775f216ab90dc882a291c8a9f6
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
To support cable detection events from UCSI, updates need to be made to
enable usb role switch and setting up a connection to the UCSI PMIC glink
node.
Change-Id: Ib7b212ab00022ee4e559f046dddead7aaf7539af
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
Add the REFGEN_VDD_A_0P9/VDD_A_PCIE_0_0P9 regulator so that the
ufs phy driver can vote for this regulator. This vote is needed
according to the Sun's Power Grid Analysis document.
Change-Id: I3427e2f529ec734983ea6c2db97411c997260bb0
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
Change adds fts touch driver device nodes for Sun
CDP and MTP target. Also adds pinctrl states for
touchscreen.
Change-Id: Iabba28806e4f1f3cced6270f82cbdca1c1366ede
Signed-off-by: Rohith Iyer <quic_rohiiyer@quicinc.com>
Add flash, torch, and switch devices from PM8550 flash LED device to
support camera flash use cases on Sun boards.
Change-Id: Ieb78a7ab63709f04489024e8fcaf8f14de90347e
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
When this "qcom,uses_level_shifter" DT entry is present
but "qcom,external-fb-clk" is not present, the SD card's
HS50 mode is run at 37.5MHz clock. This is to work around
a latency issue caused by the addition of the Level Shifter
logic. In order to use the 50MHz clock in HS50 mode, there
are two ways:
- Keep "qcom,uses_level_shifter" and "qcom,external-fb-clk"
and make sure the Feedback Clock (FB CLK) connection between
the Level Shifter and the MSM must be good.
- Remove "qcom,uses_level_shifter" from DT.
Please note that the "qcom,external-fb-clk" depends on
"qcom,uses_level_shifter", only set "qcom,external-fb-clk"
would not take effect.
Change-Id: Ib3a4cf5c9c20e2094556c3196d91b7e9723e0a1e
Signed-off-by: Ziqi Chen <quic_ziqichen@quicinc.com>
Add SD card support for mtp/cdp/qrd sun platforms.
Change-Id: I40ea8c28354040dd7417d6401d60613226c495f4
Signed-off-by: Ziqi Chen <quic_ziqichen@quicinc.com>
Replace the stub-regulator devices for VRM managed PMIC regulators
with rpmh-regulator devices. This ensures that consumers are able
to modify the physical state of these PMIC regulators.
Update all regulator voltage limits to match the latest hardware
guidance.
Remove references to regulator L3B since RPMh will not be providing
support for it.
Change-Id: Ieee28b3860d013837ca273c32606bf3e0b0d2a6b
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
Add ufs support for mtp/cdp/qrd sun platforms.
Enable ufs's smmu fastmap attribute.
Enable ufs host and device resets.
Change-Id: I7e4194a48c022284308c3debd6e18be40289693b
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
Add a regulator over-current (OCP) notifier device along with
supply properties to map from PMIC peripherals to specific
regulator devices. This provides a mechanism to notify
consumers of a particular regulator when OCP occurs.
Change-Id: I17ee6af65492ece062722c41f97f3ea052970a25
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
Add a gpio-keys device for Sun MTP, CDP and QRD boards that use
PM8550 GPIO 6.
Change-Id: I3b6ec4f7cb826cd482e85cdbbcbea3db485284c1
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
Add initial device trees to support Sun SoC and it's
platforms.
Change-Id: I885a56e29438675e3d7aa449f5e25f00cb28b02a
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>