Commit Graph

22 Commits

Author SHA1 Message Date
Manaf Meethalavalappu Pallikunhi
ad727eae17 ARM: dts: qcom: Update passive polling for different thermal zones for sun
Update passive polling delay for CPU, DDR, MDMSS tsens, bcl and
sys-therm-0 sensor for sun.

Change-Id: Ia38d2322e1e517346702368b2bf6b80ca883a712
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
2024-05-06 14:14:28 +05:30
Manaf Meethalavalappu Pallikunhi
79a44b80b6 ARM: dts: qcom: update thermal zone shutdown trip type for sun
Use "hot" trip type for thermal zone software shutdown trip
for all thermal zones. It just notifies userspace thermal
manager which in turn triggers a graceful shutdown.

Change-Id: Icf7aa1f1da57a22b96ede18fcee75ebebb92830b
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
2024-03-25 23:48:04 +05:30
Anjelique Melendez
da637df205 ARM: dts: qcom: Add pm8550_pa_therm2 ADC channel for sun
Add the pm8550_pa_therm2 ADC channel as well as the corresponding
thermal zone device which can be used by thermal SW.

Change-Id: I2c583ca8c00a67a122b6c1b7622436bcf8058165
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2024-02-29 10:30:17 -08:00
Manaf Meethalavalappu Pallikunhi
eb5e458d3d ARM: dts: qcom: enable skin fail safe rule for high ambient for sun
Enable skin sensor thermal zone based fail safe rule for high
ambient condition for sun.

Change-Id: I7661c3b4a318fbadd0f963b972274a75fe1b71fd
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
2024-01-22 23:49:40 +05:30
congying
96d502e48a ARM: dts: qcom: update thermistor thermal zone name for sun
Update thermistor thermal zone name for sun based on
latest thermistor tables.

Assigning xo-therm to SYS-THERM-0 for qlm.

Change-Id: I5ae8580fa91d1cad1b0666872c634a1c48113c91
Signed-off-by: congying <quic_congying@quicinc.com>
2024-01-16 15:57:11 +08:00
qctecmdr
4f98b462d8 Merge "ARM: dts: msm: Add PMIC ADC5 GEN4 channels for sun" 2024-01-05 18:00:25 -08:00
qctecmdr
1635028c40 Merge "ARM: dts: qcom: add haptics device node in pmih010x for sun plaform" 2024-01-03 00:27:07 -08:00
Fenglin Wu
ef991182e4 ARM: dts: qcom: add haptics device node in pmih010x for sun plaform
Add pmih010x haptics device node and corresponding effects settings
for sun platform.

Change-Id: Ie0862a9cf9224dfcaf4b76f835cafc5de4d8c865
Signed-off-by: Fenglin Wu <quic_fenglinw@quicinc.com>
2023-12-19 10:16:56 +08:00
David Collins
f1387aade5 ARM: dts: qcom: add gh-watchdog dependency to pmic-pon-log device for Sun
Add a dependency between the gh-watchdog and pmic-pon-log devices
for Sun boards.  This ensures that during system boot-up, the driver
responsible for the gh-watchdog device initializes before the one
responsible for the pmic-pon-log device.

This behavior is critical to ensuring that a PMIC warm-reset correctly
occurs in the situation that the qcom,pmic-fault-panic property is
specified for the pmic-pon-log device and the previous system
power-off was caused by a PMIC fault.

Change-Id: I8c40b19ce150ca5bb3cb9514c7d293481a5009af
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-12-12 17:27:56 -08:00
Minghao Zhang
84e38c6fb7 ARM: dts: msm: Add PMIC ADC5 GEN4 channels for sun
Add VADC GEN4 channels provided by pmk8550 that are used by thermal
clients on Sun. Also, add the corresponding thermal zone devices.

Change-Id: Ia1eca3b4eb5e95612590ec2405bb366ed170c60a
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-11-30 16:07:11 -08:00
Satya Durga Srinivasu Prabhala
8b87c84195 ARM: dts: msm: Add reboot reason node to sun SoC
Add reboot reason node to sun SoC.

Change-Id: I6be11e9eec88ff3b82485b22a73851ea812fba7a
Signed-off-by: Satya Durga Srinivasu Prabhala <quic_satyap@quicinc.com>
2023-11-21 15:29:29 -08:00
qctecmdr
cbdb81f596 Merge "ARM: dts: msm: Add eUSB2 repeater nodes for sun" 2023-11-09 07:43:32 -08:00
Anjelique Melendez
a1134d3fc4 ARM: dts: msm: Add PMIC ADC5 GEN3 channels for sun
Add VADC channels provided by pmk8550 that are used by thermal clients
on Sun. Also, add the corresponding thermal zone devices.

Change-Id: Ia3113ff6f5c76cd7f4582808b1672d3ddecadab7
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-11-07 13:49:14 -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
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
David Collins
d630ebaf69 ARM: dts: qcom: add DBO3 regulator device for Sun boards
Add a fixed regulator device for the DBO3 buck-boost regulator.
It is enabled via PM8550 GPIO 9 and outputs 3.6 V.

Change-Id: Iff6e0e1cceed6ad369fb67aca3926f5a808cf3e6
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-10-13 14:18:11 -07:00
David Collins
5f5e161ac1 ARM: dts: qcom: add PMIC PON log device for Sun
Add a PMIC PON log parser device which reads the log stored in
PMK8550 SDAM5 and SDAM6.

Change-Id: I944df2186b27ebb42cf2d4dc8f51dbf7b40cea9b
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-10-13 14:17:49 -07:00
qctecmdr
2e9b8500a6 Merge "ARM: dts: qcom: add TEMP_ALARM devices for PMICs used on Sun boards" 2023-10-12 22:21:39 -07:00
David Collins
cff8f8f0ef ARM: dts: qcom: add TEMP_ALARM devices for PMICs used on Sun boards
Add qcom-spmi-temp-alarm devices for the TEMP_ALARM and TEMP_ALARM_LITE
PMIC peripherals found in PMICs PM8550VE_D, PM8550VE_G, PM8550VS_F,
PM8550VS_J, PMIH010X, and PMD802X which are used on Sun boards.  Each
TEMP_ALARM device can monitor the die temperature of a particular PMIC.

Change-Id: I3e29ec91f50a5c27d4a8e581c9c17ad3ae09d187
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-10-09 13:50:41 -07:00
Subbaraman Narayanamurthy
0caf4c03db ARM: dts: qcom: add alt_sleep_clk pinctrl configuration for Sun
Specify a pinctrl configuration for PMK8550 GPIO 3 to enable
alt_sleep_clk output so that clients like WLAN and BT can
function properly.

Change-Id: I74506946647b55e391a8c848c44ccf20af966739
Signed-off-by: Subbaraman Narayanamurthy <quic_subbaram@quicinc.com>
2023-10-05 17:30:46 -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