Commit Graph

1362 Commits

Author SHA1 Message Date
Melody Olvera
0c7716908d dt-bindings: Add snapshot of gic interrupt router documentation
Snapshot the gic interrupt router documentation from
qcom-6.1 commit e3266c8e04f8 ("dt-bindings: Add device-tree
bindings for gic-interrupt-router").

Change-Id: I5ad2acfe88680f77d85131bd52383674d118bcd3
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-09-25 14:18:36 -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
Meena Pasumarthi
ba5f42abbc ARM: dts: msm: Add base TUIVM and OEMVM for Sun
Add base TUIVM and OEMVM device tree support for Sun RUMI platform.

Change-Id: I32598ce2c3488658e2c9caf0cd7a2368665c0b06
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
Signed-off-by: Sahitya Tummala <quic_stummala@quicinc.com>
2023-09-25 09:50:18 +05:30
Meena Pasumarthi
02930b3391 ARM: dts: msm: Add base TUIVM and OEMVM for Pineapple
Add base TUIVM and OEMVM device tree support for all Pineapple platforms.

Change-Id: I7c3cc2112e122f25a2f0b573128e8fdfb86975c5
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-09-25 09:49:10 +05:30
Meena Pasumarthi
784b6afca3 bindings: Adding bindings to support vm on Sun
Adding bindings to support vm on Sun.

This is snapshot of bindings from 'commit 999a92cd8b38
("Merge "ARM: dts: qcom: Add platform support for VMs on
Cliffs"")' from device tree project msm-6.1 branch.

Change-Id: I47eda741b3451d38d215f7d95505a2bb4dd86565
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
Signed-off-by: Sahitya Tummala <quic_stummala@quicinc.com>
2023-09-25 09:44:11 +05:30
Anmolpreet Kaur
ffce3361b2 ARM: dts: qcom: Add device tree entries for QTEE drivers
Add device tree entries for smcinvoke, shmbridge and tz-log
drivers and qseecom heaps.

Change-Id: I1a427c66e12a02532097db352a1d26fe5ececb9f
Signed-off-by: Anmolpreet Kaur <quic_anmolpre@quicinc.com>
2023-09-23 21:26:44 -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
Lazarus Motha
6e6d4bacc1 ARM: dts: msm: Add PCIe Root port configuration for sun
Add initial devicetree nodes and entries to support
PCIe RC0 port configuration on sun.

Change-Id: I3b7419bfd376a51388785cc4e2f9702ddaabe397
Signed-off-by: Lazarus Motha <quic_lmotha@quicinc.com>
2023-09-22 14:21:32 -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
leihan
36d1df1da9 dt-bindings: net: Add snapshot for qrtr-genpool bindings
qrtr-genpool bindings snapshot from qcom-6.1 branch
commit
5c6b45ebf246("ARM: dts: msm: add touch driver device
nodes for holi pro").

Then fix format isuues to pass YAML validation.

Change-Id: Id872a96abf98368281fe16f622055658ff26f4ab
Signed-off-by: leihan <quic_leihan@quicinc.com>
2023-09-22 19:00:15 +08:00
leihan
bf8896d6ab dt-bindings: net: Add snapshot for qrtr-gunyah bindings
qrtr-gunyah bindings snapshot from msm-pineapple branch
commit
374f1536a784("ARM: dts: msm: Add snapshot of memshare dt
documentation").

Then fix format isuues to pass YAML validation.

Change-Id: Ifb5591d83877e5454874d24827b7ebcaaba8d4bc
Signed-off-by: leihan <quic_leihan@quicinc.com>
2023-09-22 18:56:44 +08: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
Marijn Suijten
236d18167a dt-bindings: iio: adc: Require generic channel name for channel nodes
As discussed in [1] it is more convenient to use a generic `channel`
node name for ADC channels while storing a friendly - board-specific
instead of PMIC-specific - name in the label, if/when desired to
overwrite the channel description already contained (but previously
unused) in the driver [2].

The same `channel` node name pattern has also been set in
iio/adc/adc.yaml, but this generic binding is not inherited as base for
qcom,spmi-vadc bindings due to not having any other generic elements in
common, besides the node name rule and reg property.

Replace the .* name pattern with the `channel` literal, but leave the
label property optional for bindings to choose to fall back a channel
label hardcoded in the driver [2] instead.

[1]: https://lore.kernel.org/linux-arm-msm/20221106193018.270106-1-marijn.suijten@somainline.org/T/#u
[2]: https://lore.kernel.org/linux-arm-msm/20230116220909.196926-4-marijn.suijten@somainline.org/

Change-Id: I89932db23da961995c921ef58e0c60a92018bb27
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230410202917.247666-6-marijn.suijten@somainline.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Git-commit: e0b7972461b082be7168deb217ab7daaa8d425f0
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-20 12:42:59 -07:00
Luca Weiss
c0b391daf9 dt-bindings: iio: adc: qcom,spmi-vadc: Allow 1/16 for pre-scaling
The channel ADC5_USB_IN_V_16 is using 1/16 pre-scaling on at least
pm7250b and pmi632. Allow that in the schema.

Change-Id: I4c673338fd9c3ed1544863fc073abfd91ec721b3
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230414-pmi632-v1-5-fe94dc414832@z3ntu.xyz
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Git-commit: ef513aa7aa5038d2f53e9f2932af5006f37ed0b6
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-20 12:39:59 -07:00
Krzysztof Kozlowski
649110f779 dt-bindings: iio: adc: qcom,spmi-vadc: simplify compatible enum
The second compatible item in oneOf is just an enum, not a list.

Change-Id: Iff563f0c95af6900d3e5da8f403530bb981f858a
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20221027143411.277980-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Git-commit: 306935570f23e25bff22a3273bc6f92c8f13c910
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-20 12:34:33 -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
Subbaraman Narayanamurthy
f07fa996b6 ARM: dts: qcom: Update pmic_glink device compatible string for pineapple
Since we use downstream pmic_glink drivers, use the right compatible
string for pmic_glink devices on pineapple to support battery
management.

Change-Id: Ia6375ec2c938149dd31ae073b906b1c09b37b21e
Signed-off-by: Subbaraman Narayanamurthy <quic_subbaram@quicinc.com>
2023-09-18 17:21:51 -07:00
qctecmdr
2bc566de0e Merge "dt-bindings: add dt-binding for qcom coresight secure etr" 2023-09-18 02:06:32 -07:00
Rashid Zafar
e2fe040035 dt-bindings: thermal: Add bindings for thermal devices
Add bindings for thermal devices on Sun Soc, converted to YAML
format.

Change-Id: Ie5c39b55055c8f4e2a581128afdc45399cfb0c31
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-09-15 14:55:45 -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