Commit Graph

732 Commits

Author SHA1 Message Date
Mike Tipton
0ebf20c3c5 ARM: dts: msm: Add clock phandles for debugcc on Pineapple
These clock phandles are necessary to ensure the clock devices probe
before debugcc. Debugcc needs its parent clock devices to probe first,
otherwise it'll invalidate their associated mux_sels during
clk_debug_mux_init() and they can't be measured.

Change-Id: I30d1a9e24ae1ac5a9efc7d8f8e0740ebdce8e1b0
Signed-off-by: Mike Tipton <quic_mdtipton@quicinc.com>
2023-10-24 19:27:23 -07:00
Prudhvi Yarlagadda
da81454996 ARM: dts: msm: Add phy gdsc for pcie node in sun
Add the missing phy gdsc node in the pcie dt node for sun.

Change-Id: I0257c6123d4d3e8fe2740569bd4def68fa3c92a8
Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
2023-10-24 17:43:14 -07:00
David Collins
f5335c097f ARM: dts: qcom: add PMIC Glink and clients for Sun
Add PMIC Glink devices and their client devices.  The PMIC Glink
device with name PMIC_RTR_ADSP_APPS supports the clients: ucsi,
altmode, and battery_charger.  The PMIC Glink device with name
PMIC_LOGS_ADSP_APPS supports the clients: battery_debug,
pmic_glink_debug, charger_ulog_glink, and glink_adc.

Change-Id: Ib5a15c136c77c8368d4a561f266a1588c4649893
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-10-24 16:49:37 -07:00
qctecmdr
cfe3892709 Merge "dt-bindings: soc: qcom: Add documentation for SHM" 2023-10-24 14:04:47 -07:00
qctecmdr
9198301bf4 Merge "ARM: dts: msm: Add QUPv3 and GPI DT nodes on SUN" 2023-10-24 14:04:47 -07:00
qctecmdr
a540c08070 Merge "ARM: dts: msm: Add cpucp scmi nodes for sun" 2023-10-24 14:04:47 -07:00
Patrick Daly
9b676ba16e ARM: dts: msm: Add mem-offline device for sun
Describe the communication channel used to communicate with the
firmware which supports onlining and offlining of memory.

Keep the device in a disabled state for now until a conflict
between THP and memory-hotplug features can be resolved.

Change-Id: I3d74d9d3d58d379b2a91ee976a72dddfb7a221c6
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-10-24 13:14:52 -07:00
Jishnu Prakash
d6d5b31791 dt-bindings: iio: qcom,spmi-vadc: Add PMIC5 GEN3 ADC bindings
PMIC5 GEN3 ADC has support for clients to read voltage and
current on supported channels connected to the PMIC.
Clients include reading voltage phone power and on board system
thermistors for thermal management. ADCs on certain PMICs have
support to read battery current.

Change-Id: Ief7cbdf77d227ba2cb4ef7919aa66d9962d98e37
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
[quic_amelende@quicinc.com: Converted binding change from .txt to .yaml]
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-10-24 11:39:49 -07:00
qctecmdr
bb01365116 Merge "dt-bindings: platform: msm: Add SPI msm geni bindings for Sun" 2023-10-24 09:15:47 -07:00
qctecmdr
e9ec2b678d Merge "ARM: dts: msm: Add device_type property for pcie node" 2023-10-24 09:15:47 -07:00
qctecmdr
a38bff2298 Merge "dt-bindings: buses: Add MSM geni serial bindings for Sun" 2023-10-24 09:15:47 -07:00
qctecmdr
27967d0632 Merge "dt-bindings: platform: msm: Add gpi bindings for Sun" 2023-10-24 09:15:47 -07:00
qctecmdr
210bd6a5b0 Merge "ARM: dts: qcom: pineapple: spss: Remove duplicate node" 2023-10-24 09:15:47 -07:00
qctecmdr
f05510b181 Merge "dt-bindings: platform: msm: Add i3c msm geni bindings for Sun" 2023-10-24 09:15:47 -07:00
qctecmdr
631f5301b6 Merge "dt-bindings: platform: msm: Add I2C msm geni bindings for Sun" 2023-10-24 09:15:47 -07:00
qctecmdr
c31a3a4dcc Merge "ARM: dts: msm: Enable virtio-mem device on PineappleVM" 2023-10-24 09:15:47 -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
Amir Vajid
95020b5012 ARM: dts: msm: Add bus dcvs nodes for sun
Add nodes to enable qcom dcvs, bwmon and memlat
on sun.

Change-Id: I515aa98f01b29fb51be11db33930f96193d13401
Signed-off-by: Amir Vajid <quic_avajid@quicinc.com>
2023-10-23 21:42:58 -07:00
Amir Vajid
77db4f167c ARM: dts: msm: Add cpucp scmi nodes for sun
Add nodes to enable scmi communication to cpucp on sun.

Change-Id: I574949e32e397047701f836d54115f56414ea023
Signed-off-by: Amir Vajid <quic_avajid@quicinc.com>
2023-10-23 20:18:47 -07:00
qctecmdr
07e8205d36 Merge "dt-bindings: add dt-binding for qcom coresight qmi and uetm" 2023-10-23 19:23:18 -07:00
qctecmdr
68496c11b7 Merge "ARM: dts: msm: Add initial device trees for Sun QRD SKU1 & SKU2 SoC" 2023-10-23 19:23:18 -07:00
qctecmdr
f92aa1d781 Merge "ARM: dts: msm: Add cpu idle-states for sun" 2023-10-23 19:23:18 -07:00
qctecmdr
3aadc6b7c1 Merge "dt-bindings: Add USB typeC and DP redriver bindings" 2023-10-23 19:23:17 -07:00
qctecmdr
911c675b3b Merge "dt-bindings: Add TLMM VM test driver documentation" 2023-10-23 19:23:17 -07:00
qctecmdr
559eb585bc Merge "dt-bindings: soc: qcom: Add documentation for ufs-phy-qmp-v4-sun" 2023-10-23 19:23:17 -07:00
qctecmdr
2e40ed6c51 Merge "ARM: dts: msm: Enable clock rpmh device node for Sun" 2023-10-23 19:23:17 -07:00
qctecmdr
b7633075ed Merge "ARM: dts: qcom: add regulator OCP notifier device for Sun" 2023-10-23 19:23:17 -07:00
qctecmdr
5ee450f885 Merge "dt-bindings: iio: qcom,spmi-vadc: Add SW-calibrated ADC bindings" 2023-10-23 19:23:17 -07:00
Grace An
61c0d081d9 ARM: dts: msm: add memory region for hwfence_shbuf addr on sun
Add carved-out memory region used for hw-fencing on sun target.

Change-Id: I0aaba5a8a55de2e5b625667973841d90f3f9de3a
Signed-off-by: Grace An <quic_gracan@quicinc.com>
2023-10-23 14:12:44 -07:00
Patrick Daly
5e0b3e7476 ARM: dts: msm: Add dma-buf heaps for sun-vm
Describe the available dma-buf memory pools on sun-vm.

Change-Id: I205b826849f36078d05a92492238d80a884aa65a
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-10-23 13:24:57 -07:00
Patrick Daly
c422c02314 ARM: dts: msm: Add arm-smmu device on sun-vm
Describe the register, interrupts, and settings of the arm-smmu device.

Change-Id: I0ca4c90e2f767ed6240dd6ad6fc6cc8e7f6c278d
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-10-23 13:24:57 -07:00
Minghao Zhang
fdc9298cfa ARM: dts: msm: Add sys-pm-violators device for sun
This change adds system low power violators device node.

Change-Id: Ie4b7923c2ef96d6d762275b7241948e120230163
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
2023-10-23 15:49:22 +08:00
Minghao Zhang
a91ab8db67 dt-bindings: Add snapshot of sys-pm-violators documentation
Snapshot the sys-pm-violators documentation from
qcom-6.1 'commit <16ac1827ff37> ("bindings: arm: msm:
Add sys-pm-violators bindings for monaco_au")'.

Updates:
	- Add entry to support for sun.

Change-Id: I1a8cd4652b6680ff4b87199a6fc22b1ddbcd9614
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
2023-10-23 15:41:21 +08:00
Anil Veshala Veshala
2e6858f742 dt-bindings: platform: msm: Add i3c msm geni bindings for Sun
Add i3c msm geni driver binding for Sun device.

Change-Id: I3bb5c66bd182fe8d527c72c95aa88ee746ce4127
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2023-10-18 23:02:55 -07:00
Anil Veshala Veshala
7f491b9af4 dt-bindings: platform: msm: Add gpi bindings for Sun
Add gpi driver binding for Sun device.

Change-Id: I6667f73eb4258b107eb0a5060efeffd55a9075a6
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2023-10-18 22:59:54 -07:00
Unnathi Chalicheemala
9b576e5ddb dt-bindings: soc: qcom: Add documentation for SHM
Add documentation for System Helath Monitor driver.

Change-Id: Id91b9144b56dc18612626ba39d504faba002b20c
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-10-18 22:16:13 -07:00
Lijuan Gao
2e885f132f ARM: dts: msm: Add initial device trees for Sun QRD SKU1 & SKU2 SoC
Add initial device trees to support Sun QRD sku1 and sku2 SoC
and it's platforms.

Change-Id: Ibf28cbc9f33f19908c4d8ac1b431d17632c43e6b
Signed-off-by: Lijuan Gao <quic_lijuang@quicinc.com>
2023-10-18 15:39:03 +08:00
Xubin Bai
ad62d3ca63 ARM: dts: msm: Enable clock rpmh device node for Sun
Remove fixed-factor-clock and enable device node for rpmh
clocks under apps_rsc in place of fixed clocks.

Change-Id: I9c4d242882f29f616574e339581722b65f27a74f
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-10-17 23:59:46 -07:00
Xubin Bai
b535b64615 dt-bindings: clock: Add rpmh-clk bindings for Sun
Add rpmh clock bindings for Sun.

Change-Id: Ib49451eebb4d9959375b55570b4bd4893401d3ec
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
2023-10-17 23:59:46 -07:00
Vivek Aknurwar
e4710386ff ARM: dts: msm: Use correct UFS ref_clk on RUMI for Sun
Add RPMH_CXO_CLK as ref_clk to UFS for Sun on pre-sil.
On Rumi ref_clk is to UFS PHY is 19.2MHz and actual device
it is 38.4MHz.
Also update correct gcc header file for sun.

Change-Id: I78ed60095e5229405e7962f4676bfab7b7556676
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
2023-10-17 23:59:28 -07:00
Patrick Daly
b23b7f7056 ARM: dts: msm: Enable virtio-mem device on PineappleVM
Describe the properties of the memory region virtio-mem supports.

Change-Id: Ifdc420d25c4fcf1acc93ccd82a80c89857b3c427
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-10-17 19:16:39 -07:00
Patrick Daly
06f7171157 ARM: dts: msm: Add mem-buf device on PineappleVM
Describe the message queues and capabilities of the mem-buf device.

Change-Id: I9ff137c3cfee8d5f9e56930bf8ca9a81066e0150
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-10-17 19:16:38 -07:00
Patrick Daly
505510c3a1 ARM: dts: msm: Include pineapple-vm-dma-heaps on pinapple-vm
Fix a missing include file.

Change-Id: I423fb43b5fef9257ff9bf2fe22e70dd8605fe7e7
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-10-17 19:15:37 -07:00
Patrick Daly
e436ec070a ARM: dts: msm: Snapshot of pineapple vm smmu
Pineapple smmu devicetree snapshot from qcom-6.1 branch
commit 8ef379040bee ("bindings: interrupt-controller: Add bindings for mpm
irqchip for pitti").

Change-Id: Ieebd69268aa04a48cc9a6977b6c4b70fd3035834
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-10-17 19:15:37 -07:00
Po-Jung Lai
fe2d0076e8 ARM: dts: msm: gunyah: Add qtmr binding
Add qtmr binding description and example.

Change-Id: Ifbfcfc86931b38d08f6edec87d7c7983122d051c
Signed-off-by: Po-Jung Lai <quic_pojulai@quicinc.com>
2023-10-17 15:42:13 -07:00
Po-Jung Lai
22c0c71a7c ARM: dts: msm: gunyah: Add gh-msgq-test binding
Add gh-msgq-test binding description and requirements which include
compatible, label and optional properties.

Change-Id: Ie894c1ca2179c9fed9b066893de03eff60749c81
Signed-off-by: Po-Jung Lai <quic_pojulai@quicinc.com>
2023-10-17 15:37:49 -07:00
Chandana Kishori Chiluveru
73c1325edd ARM: dts: msm: Add QUPv3 and GPI DT nodes on SUN
Add QUPv3(I2C, SPI, UART and I3C) and GPI DT nodes on SUN.

Change-Id: I2520da18d152eb0a30a9f735d879422e876d2d6a
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2023-10-17 03:36:45 -07:00
Jyothi Kumar Seerapu
8894c3d7b3 dt-bindings: platform: msm: Add SPI msm geni bindings for Sun
Add DT bindings for SPI which provides the resource management details
for the SPI geni msm driver.

Change-Id: Ifcaccf747ee2efe41fba6d77660456916dcc099b
Signed-off-by: Jyothi Kumar Seerapu <quic_jseerapu@quicinc.com>
2023-10-17 14:54:41 +05:30
Prasanna S
94118e5df4 dt-bindings: buses: Add MSM geni serial bindings for Sun
Add msm geni serial binding for Sun device.

Change-Id: Ibe60f9ce579c8ed46ad542d265ca4b8164f9101e
Signed-off-by: Prasanna S <quic_prass@quicinc.com>
2023-10-17 14:10:00 +05:30
Prudhvi Yarlagadda
bc6d0ca2a9 ARM: dts: msm: Add device_type property for pcie node
Add device_type property for the pcie devicetree nodes
in sun.

This is needed to make sure that the pcie devicetree node
is associated with the pci bus when ranges property gets
parsed by the of/address.c driver.

And this change is mandatory for pci devicetree nodes with
the introduction of the following change in of/address.c
upstream commit <3d5089c4263d> "of/address: Add support
for 3 address cell bus".

Without this change, BAR address allocation failure will
happen as error logs below as the flags cell in ranges
property in devicetree will be read wrong.
pci-msm 1c00000.qcom,pcie:err 0x0060200000..0x00602fffff -> 0x0060200000.
pci-msm 1c00000.qcom,pcie:err 0x0060300000..0x0063ffffff -> 0x0060300000.
pci-msm 1c00000.qcom,pcie: non-prefetchable memory resource required.
pci 0000:00:00.0: BAR 0: no space for [mem size 0x00001000 64bit].
pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x00001000 64bit].

Change-Id: I8b1591ea83784ffc19c928e1af73117657ac7f15
Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
2023-10-16 20:15:04 -07:00