Commit Graph

26 Commits

Author SHA1 Message Date
Bao D. Nguyen
7c24cb15cb ARM: dts: msm: Add SD card LS external feedback clock support
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>
2025-04-10 13:05:42 -07:00
qctecmdr
2f9cca6a1c Merge "ARM: dts: msm: Add ufs shutdown power supply for sun" 2024-06-12 00:48:53 -07:00
Yu Wu
ac343beafa ARM: dts: msm: set touch irq flag for sun platform
Set touch irq flag for sun platform.

Signed-off-by: Yu Wu <quic_zwy@quicinc.com>
2024-05-08 16:50:32 +08:00
Nitin Rawat
1a3f9c0ed5 ARM: dts: msm: Add ufs shutdown power supply for sun
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>
2024-05-03 17:54:46 +05:30
Rui Chen
720b0d8012 ARM: dts: msm: support for secondary touch for CDP
Support for secondary touch for CDP.

Change-Id: Ide5083b624dd81de91580459443a4666d1793a7a
Signed-off-by: Rui Chen <quic_ruc@quicinc.com>
2024-04-18 19:31:56 -07:00
Ziqi Chen
0b2ce59ce3 ARM: dts: qcom: change vdd io current level of sdhc_2 for Sun
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>
2024-03-12 15:51:10 +08:00
Rui Chen
7009bee681 ARM: dts: msm: set trusted touch IRQ for sun
Set spi irq for touch in sun.

Signed-off-by: Rui Chen <quic_ruc@quicinc.com>
2024-01-30 03:38:05 -08:00
Manaf Meethalavalappu Pallikunhi
9d9e4afb8d ARM: dts: qcom: Enable bcl thermal zone mitigation for sun
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>
2024-01-17 11:33:36 +05:30
qctecmdr
7693df90a2 Merge "ARM: dts: msm: Enable UCSI nodes for sun" 2023-11-23 05:57:35 -08:00
qctecmdr
5a1f81a599 Merge "ARM: dts: msm: Add REFGEN_VDD_A_0P9 vote for UFS PHY" 2023-11-22 10:24:29 -08:00
Wesley Cheng
feaf29dcbb ARM: dts: msm: Enable UCSI nodes for sun
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>
2023-11-21 17:14:07 -08:00
qctecmdr
2cd2e95689 Merge "ARM: dts: msm: add fts touch device nodes for Sun" 2023-11-20 20:37:23 -08:00
qctecmdr
b012a14a7b Merge "ARM: dts: qcom: Add uses_level_shifter for sun" 2023-11-20 19:20:22 -08:00
Bao D. Nguyen
8dcabf7ea5 ARM: dts: msm: Add REFGEN_VDD_A_0P9 vote for UFS PHY
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>
2023-11-20 16:08:41 -08:00
Rohith Iyer
36a1551ff2 ARM: dts: msm: add fts touch device nodes for Sun
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>
2023-11-15 14:03:57 -08:00
qctecmdr
d52ab4dc00 Merge "ARM: dts: qcom: add flash/torch/switch devices for Sun boards" 2023-11-09 07:43:35 -08:00
Ronak Vijay Raheja
6b8cb6e8ba ARM: dts: msm: Add eUSB2 repeater nodes for sun
Add the eUSB2 repeater node and references for PMIH010x.

Change-Id: I7f4cbb0976510068e5347e0625e7c48e286286e7
Signed-off-by: Ronak Vijay Raheja <quic_rraheja@quicinc.com>
2023-11-07 12:03:43 -08:00
Anjelique Melendez
6af8d8d6cf ARM: dts: qcom: add flash/torch/switch devices for Sun boards
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>
2023-11-06 12:55:41 -08:00
Ziqi Chen
e4199f6cf9 ARM: dts: qcom: Add uses_level_shifter for sun
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>
2023-11-05 18:47:03 -08:00
Ziqi Chen
d1de22a32a ARM: dts: qcom: Add SD card support for sun platforms
Add SD card support for mtp/cdp/qrd sun platforms.

Change-Id: I40ea8c28354040dd7417d6401d60613226c495f4
Signed-off-by: Ziqi Chen <quic_ziqichen@quicinc.com>
2023-11-06 10:44:25 +08:00
David Collins
494135fa9b ARM: dts: qcom: switch to RPMh control of VRM regulators on Sun
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>
2023-11-01 14:27:32 -07:00
Bao D. Nguyen
49c2cf1dbf ARM: dts: qcom: Add ufs support for sun platforms
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>
2023-10-23 23:30:35 -07:00
David Collins
731cfb12e9 ARM: dts: qcom: add regulator OCP notifier device for Sun
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>
2023-10-13 14:18:20 -07:00
Anjelique Melendez
fd47ab2bae ARM: dts: qcom: add volume up gpio-keys device for Sun boards
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>
2023-10-03 11:36:20 -07:00
Anjelique Melendez
0720a9afe6 ARM: dts: qcom: add PMIC devices for Sun
Add top level SPMI slave devices for PMD802x, PMIH010x, PM8550VE and
PM8550VS.

Change-Id: I7658cd5e9bb0c2801db10029380cb7a76a97abff
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-09-27 16:55:41 -07:00
Melody Olvera
c334acf377 ARM: dts: msm: Add initial device trees for Sun SoC
Add initial device trees to support Sun SoC and it's
platforms.

Change-Id: I885a56e29438675e3d7aa449f5e25f00cb28b02a
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-04-03 11:54:34 -07:00