Commit Graph

304 Commits

Author SHA1 Message Date
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
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
e6efa9e825 ARM: dts: qcom: Add LPG LED device for Sun
Add the LPG LED device for sun platforms. Currently, pm8550 LED
devices use the downstream leds-qti-tri-led driver. Update the LED
devices so that they use the upstream leds-qcom-lpg driver.

Change-Id: I6e9c80d9e7725e5978fbc8bebf02a7d66968d32e
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-10-03 11:28:38 -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
Anjelique Melendez
ea8a9577b5 ARM: dts: qcom: Prepare to add PMIC devices for Sun
Sun and pineapple share certain PMICs. Prepare the shared PMIC devices
to be used for both Sun and Pineapple.

Change-Id: I378e781751b4ee42b3c0d4940dff30ffbd2b3e5a
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-09-27 16:55:09 -07:00
Anjelique Melendez
1f53824ca5 dt-bindings: pinctrl: qcom,pmic-gpio: Add PMIH010x and PMD802x bindings
Update the Qualcomm Technologies, INC. PMIC GPIO binding documentation
to include compatible strings for PMIH010x and PMD802x PMICs.

Change-Id: Icf07b2f657d0e6fd104ae36553d1631caadcdb70
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-09-27 16:54:19 -07:00
David Collins
0d4bfb44d3 ARM: dts: qcom: add SPMI bus controller for Sun
Add spmi-pmic-arb devices for the primary and secondary SPMI buses
found on Sun.  The primary bus operates at 19.2 MHz and is used for
most of the PMICs.

The secondary bus operates at 4.8 MHz and is used exclusively for
charging PMICs.  Note that the secondary bus is not connected to
the SoC on the board due to voltage level differences.  Therefore,
keep the secondary bus device disabled.

Change-Id: I6b2bb6b54e285fd9c333971b08134c3768087869
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-09-25 13:47:53 -07:00
qctecmdr
8e96b50796 Merge "dt-bindings: Add dt binding for smcinvoke" 2023-09-22 22:42:58 -07:00
qctecmdr
badff3cb69 Merge "dt-bindings: Add dt binding file for tzlog" 2023-09-22 22:42:57 -07:00
qctecmdr
9242e3db09 Merge "dt-bindings: msm: Add MSM bindings for Sun SoC" 2023-09-22 17:35:27 -07:00
qctecmdr
447500b4ad Merge "dt-bindings: Add devicetree bindings for coresight dummy drivers" 2023-09-22 13:30:55 -07:00
qctecmdr
c3ebfa0666 Merge "ARM: dts: msm: add coresight component DT file for sun" 2023-09-22 13:30:55 -07:00
qctecmdr
9c34e8b256 Merge "dt-bindings: thermal: Update "interrupts" property in adc-tm5 examples" 2023-09-22 10:10:39 -07:00
qctecmdr
46ceb889f4 Merge "ARM: dts: qcom: Add TSENS device for sun" 2023-09-22 10:10:39 -07:00
qctecmdr
7d2d50d1a8 Merge "dt-bindings: leds: qcom-lpg: Document PM8550 compatible" 2023-09-22 10:10:38 -07:00
qctecmdr
9850c98060 Merge "ARM: dts: qcom: Add crmb/crmc to cesta device for pineapple" 2023-09-21 14:05:08 -07:00
Unnathi Chalicheemala
3b976005ed dt-bindings: msm: Add MSM bindings for Sun SoC
Add compatible variants for Sun SoC.

Change-Id: I47fa95937ed5d7f6f4402186488fb14e15700cea
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-09-21 08:13:54 -07:00
Meena Pasumarthi
72c82f3ce2 dt-bindings: Add MSM bindings for Pineapple and Sun
Add compatibile string for Pineapple and Sun variants.

Change-Id: I13a53075c5fef1ed6dd2d1c9e59b792b73b08057
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
2023-09-21 08:09:15 -07:00
Gokul krishna Krishnakumar
db32d03865 ARM: dts: qcom: Add crmb/crmc to cesta device for pineapple
Add crmb and crmc register space for cesta devices on pineapple.

Change-Id: Ia8ec195ca1683e652b31a5daa2ab271e8bcec321
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-09-20 14:28:36 -07:00
Gokul krishna Krishnakumar
3265bc7094 bindings: remoteproc: pas: Add missing bindings
Add compatibles for pineapple and Sun pas.

Change-Id: I55b11ba6dd1140d225ff55d708867b60a5b9354c
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-09-20 13:35:14 -07:00
Yuanfang Zhang
2964e2edd2 ARM: dts: msm: add coresight component DT file for sun
Add coresight component devicetree file for sun.

Change-Id: I28b8b6a2142fc89ed457553f039eca785064007b
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2023-09-19 23:21:39 -07:00
Yuanfang Zhang
f314e0a5a8 dt-bindings: Add devicetree bindings for coresight dummy drivers
Add devicetree bindings for coresight dummy sink/source drivers

Change-Id: I855115b4cec80a9839ac9233ae97ff080f2998c8
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2023-09-19 02:07:05 -07:00
qctecmdr
2bc566de0e Merge "dt-bindings: add dt-binding for qcom coresight secure etr" 2023-09-18 02:06:32 -07:00
qctecmdr
9ffd7a80ef Merge "ARM: dts: qcom: Adding msm_sharedmem DT entry" 2023-09-15 14:41:22 -07:00
Anjelique Melendez
0ca42659f9 dt-bindings: thermal: Update "interrupts" property in adc-tm5 examples
Update the examples in qcom-spmi-adc5-tm5.yaml so that adc devices have
"interrupts" property included.

Change-Id: Ia6bf720d0661967fcf0ed4b85ee81940ea432e6c
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-09-15 12:00:21 -07:00
Nitin LNU
1a2b08bb0a dt-bindings: Add dt binding file for tzlog
tz-log dt binding added for tzlog dtsi node.


Change-Id: Ic8c0143ca6894f3c78960c03870517f6edff6318
Signed-off-by: Nitin LNU <quic_nlakra@quicinc.com>
2023-09-15 00:58:59 -07:00
Nitin LNU
c435072c50 dt-bindings: Add dt binding for smcinvoke
Addition of dt binding file for smcinvoke node.

Change-Id: I4d1ff5c9568268e67974af29a1e940d42f9719cc
Signed-off-by: Nitin LNU <quic_nlakra@quicinc.com>
2023-09-15 00:58:12 -07:00
qctecmdr
4a74690a02 Merge "dt-bindings: leds: use unevaluatedProperties for common.yaml" 2023-09-14 14:43:45 -07:00
qctecmdr
11ec13ccb4 Merge "ARM: dts: msm: Add GCC phandle to GDSC driver for Sun" 2023-09-14 14:43:45 -07:00
qctecmdr
1c90b90ef7 Merge "dt-bindings: pci: Add pci-msm-msi device bindings" 2023-09-14 14:43:45 -07:00
qctecmdr
5824a01a26 Merge "ARM: dts: msm: Add interconnect properties for apps_smmu for sun" 2023-09-14 14:43:45 -07:00
qctecmdr
24db97e9be Merge "dt-bindings: Add documentation for wcd usbss" 2023-09-14 12:52:12 -07:00
qctecmdr
8355d2ecbd Merge "ARM: dts: qcom: keep VDD_MMCX and VDD_MXC supplies always on for Sun RUMI" 2023-09-14 12:52:12 -07:00
qctecmdr
75dc06d124 Merge "dt-bindings: Add aliases label" 2023-09-14 12:52:12 -07:00
Yuanfang Zhang
0638ad040d dt-bindings: add dt-binding for qcom coresight secure etr
Add devicetree bindings for qcom coresight secure etr.

Change-Id: I33d4a57f215b1db590d07a39d083b56359634456
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2023-09-14 05:23:08 -07:00
Rashid Zafar
2d5aaa7b2b ARM: dts: qcom: Add TSENS device for sun
Add TSENS device and respective TSENS thermal zone configuration for
sun.

Change-Id: I41d2d44d7898c60fc600d34306ef5e107e3fe15c
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-09-13 12:11:22 -07:00
Neil Armstrong
ddd02c5eff dt-bindings: leds: qcom-lpg: Document PM8550 compatible
The PM8550 PWM modules are compatible with the PM8350c PWM modules,
document the PM8350c PWM compatible as fallback for the PM8550 PWM.

Change-Id: Ieb5c8ab61212501369037e019cee7cd7048f72d8
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230522-topic-sm8550-upstream-pm8550-lpg-v2-1-c5117f1d41f9@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
Git-commit: 28598e218076f77cbd44b7762aa5f935356aebd4
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-09-12 17:43:43 -07:00
Luca Weiss
aef3643bf7 dt-bindings: leds: qcom-lpg: Add compatible for PMI632 LPG block
Document the availability of an LPG configuration for the PMI632 PMIC in
the Qualcomm Light Pulse Generator driver.

Change-Id: I17f3a9a8a98d0374fb127363368a53d0dcc45a28
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230414-pmi632-v2-3-98bafa909c36@z3ntu.xyz
Git-commit: 8e25e2a0af551e084c596c03999f7e8ef7205778
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-09-12 17:41:29 -07:00
Anjelique Melendez
c7372e4e3a dt-bindings: leds-qcom-lpg: Add qcom,pmk8550-pwm compatible string
Add qcom,pmk8550-pwm compatible string for the Qualcomm Technologies, Inc.
PMK8550 PMIC which has two high resolution PWM channels.

Change-Id: I46cee169cbbc3d6c92a726f933f8b78254a90403
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230407223849.17623-2-quic_amelende@quicinc.com
Git-commit: 03a85ab3ac910bc29e23db744091c40c8ed3d3af
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-09-12 17:37:44 -07:00
Krzysztof Kozlowski
c4a05684d4 dt-bindings: leds: use unevaluatedProperties for common.yaml
The common.yaml schema allows further properties, so the bindings using
it should restrict it with unevaluatedProperties:false.

Change-Id: I00b05a0591c43888b1c87331f94da027ccd42d8e
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221127204058.57111-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
Git-commit: fe469e83eb5b383c8abbf1d1cab7a038e3d6778b
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-09-12 17:36:00 -07:00
Prudhvi Yarlagadda
c8048b187c dt-bindings: pci: Add pci-msm-msi device bindings
Add devicetree bindings for pcie MSI controller.

Change-Id: I0a049028e40e04dc0c5fd3b16651b1e22f8f757d
Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
2023-09-12 15:21:46 -07:00
Vivek Aknurwar
3ad392617c ARM: dts: msm: Add GCC phandle to GDSC driver for Sun
GCC needs to probe before GDSC regulator driver as driver will be
unable to read registers without required gcc config ahb clocks. These
config ahb clocks are enabled in GCC probe. Thus GCC needs to probe
before GDSC driver. Adding GCC phandles to sequence the probe order
during kernel boot.

Change-Id: Icd13d18f07540f96cb4175edc5bd41526b6a3841
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
2023-09-12 13:46:16 -07:00
Marc Guillaume
d678c24cfe ARM: dts: qcom: Adding msm_sharedmem DT entry
Port of the DT entry which provides configuration settings for the
msm_sharedmem driver. This is needed for correct operation of
MPSS RFS/EFS.

Change-Id: Ic08e19398f10908920f8ac1d7e4670109de5e356
Signed-off-by: Marc Guillaume <quic_mguillau@quicinc.com>
2023-09-11 16:54:32 -07:00
Eric Rosas
404aafc473 dt-bindings: Add documentation for wcd usbss
Add documentation for wcd usbss bindings.

Change-Id: I2f53c5d9cffbd33d73ed21b400bf1a96e8c8cf1a
Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
2023-09-08 17:27:55 -07:00
Eric Rosas
1e720dfa08 dt-bindings: Add audio codec bindings for sun
Add bindings for WCD and WSA in pinctrl dt
file for sun.

Change-Id: Icb1fd6fb5950c5814cb4039d369647baac93ddf3
Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
2023-09-08 16:19:40 -07:00
Eric Rosas
f66ad61238 dt-bindings: Add aliases label
Audio kernel depends on the aliases label being defined
from the top level. Add label to aliases node to allow
for proper compilation of audio kernel.

Change-Id: Idb88dd470ca0dec31670adef8546e34fee14a4d7
Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
2023-09-08 14:24:12 -07:00
Patrick Daly
554a5c2bd0 ARM: dts: msm: Add interconnect properties for apps_smmu for sun
Enable bus bandwidth voting.

Change-Id: I6888e60c4bf9dc06a0361b94424ce75977b887ab
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-09-08 10:01:32 -07:00
Patrick Daly
50b0262199 ARM: dts: msm: Add smmu ACLTR values for sun
Configure per-context bank pre-fetch settings.

Change-Id: I6e30bf2f202ab5e550dbb14b05311f4d775c3d46
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-09-08 10:01:32 -07:00
Patrick Daly
ca8abb5d41 ARM: dts: msm: Add kgsl_smmu for sun
Describe the registers and interrupts of the kgsl_iommu device.

Change-Id: I632cdb3f204dda4af32829c0e373c15065f87af9
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-09-08 10:01:32 -07:00
qctecmdr
10e42d9078 Merge "ARM: dts: msm: Define adsp_mem_heap region" 2023-09-07 08:17:19 -07:00