Commit Graph

241 Commits

Author SHA1 Message Date
Ronak Vijay Raheja
1fb24b5e92 ARM: dts: msm: Add M31 HS and QMP SS USB PHY configuration on sun
Add M31 eUSB2 and QMP SS PHY nodes to sun. Add required dependencies in
pinctrl as well for HW based SS lane detection.

Change-Id: Ib1546aa7d92853a88a05d0bbc836ec4caac40960
Signed-off-by: Ronak Vijay Raheja <quic_rraheja@quicinc.com>
2023-11-06 11:14:37 -08:00
qctecmdr
be9cb5bbff Merge "ARM: dts: msm: Add SPS node for SUN" 2023-11-05 10:59:11 -08:00
qctecmdr
fb52675156 Merge "ARM: dts: qcom: add primary SPMI debug bus for Sun boards" 2023-11-04 17:39:20 -07:00
qctecmdr
f78fe0ea4c Merge "ARM: dts: msm: add wcd_usbss and sdam_71 nodes for sun" 2023-11-03 19:34:10 -07:00
qctecmdr
416f4cf765 Merge "ARM: dts: qcom: Add SLIMBUS and BAM dtsi nodes for SUN" 2023-11-03 19:34:09 -07:00
qctecmdr
219d35cf5c Merge "ARM: dts: qcom: switch to RPMh control of VRM regulators on Sun" 2023-11-03 19:34:09 -07:00
qctecmdr
e35e6ed8d0 Merge "ARM: dts: msm: sun: Add cpu vendor hooks node" 2023-11-03 19:34:09 -07:00
Nurit Lichtenstein
bcf5d03433 ARM: dts: qcom: Add SPU related DMA heaps to sun dtsi
Needed for SPU shared memory on sun dtsi.

Change-Id: I7871182d7ee4f5d41f8afc37f1811dacd988c50b
Signed-off-by: Nurit Lichtenstein <quic_nuritl@quicinc.com>
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-11-03 15:15:07 -07:00
qctecmdr
0d591b74e2 Merge "ARM: dts: msm: Add nodes for minidump for sun" 2023-11-03 10:26:24 -07:00
Chandana Kishori Chiluveru
2668cb53b8 ARM: dts: msm: Add SPS node for SUN
Add SPS module to device tree. SPS (Smart Peripheral System)
enables the support of all BAMs in the system which provide DMA
functionality to various peripherals for SUN.

Change-Id: I4b69ad41de0a27921b5cd050b589e7ab7af406e3
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2023-11-03 10:22:58 +05:30
Chandana Kishori Chiluveru
976ea69bfe ARM: dts: qcom: Add SLIMBUS and BAM dtsi nodes for SUN
Add Slimbus and BAM dtsi nodes for SUN.

Change-Id: Ic4e97121cb030e2e34dd0db56a49f2c95917e005
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2023-11-03 10:17:50 +05:30
Melody Olvera
b7a4eaa9f1 ARM: dts: msm: sun: Add cpu vendor hooks node
Add cpu vendor hooks node for sun SoC.

Change-Id: If9b0dde4db579d2b35fdd8d73f7d812771323878
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-11-02 16:36:20 -07:00
qctecmdr
cb754701df Merge "ARM: dts: msm: Add bus dcvs nodes for sun" 2023-11-02 16:09:56 -07:00
qctecmdr
cf983b5cbf Merge "ARM: dts: msm: add Modem DSM region info to IMEM" 2023-11-02 16:09:56 -07:00
qctecmdr
c240c923d9 Merge "ARM: dts: msm: add uetm/cti/qmi node for sun" 2023-11-02 16:09:56 -07:00
qctecmdr
982a4b3ee3 Merge "ARM: dts: qcom: Enable SPU nodes in sun dtsi" 2023-11-02 12:43:36 -07:00
qctecmdr
ef7cdfc8a8 Merge "ARM: dts: msm: Add sys-pm-violators device for sun" 2023-11-02 12:43:36 -07:00
qctecmdr
996ce2d0c4 Merge "ARM: dts: msm: Add GLINK PKT nodes for sun" 2023-11-01 14:38:09 -07: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
Satya Durga Srinivasu Prabhala
63b5b62c9b ARM: dts: msm: add Modem DSM region info to IMEM
IMEM gets updated with Modem DSM memory region info when Modem taken out
of reset by APPS and the info is used for collection of coredumps.

Change-Id: I313d374772bcc95495e9965b7fa1f455ac36a82a
Signed-off-by: Satya Durga Srinivasu Prabhala <quic_satyap@quicinc.com>
2023-11-01 11:30:09 -07:00
Phani Kumar Uppalapati
d88e9a61df ARM: dts: msm: add wcd_usbss and sdam_71 nodes for sun
Add device tree nodes for wcd usb subsystem and pmic
sdam_71 needed for usb analog audio, display functionality.

Change-Id: I35cb8e17efb1c7288330a1b125a03b23990a829b
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
2023-11-01 10:46:24 -07:00
qctecmdr
c15c13a04e Merge "ARM: dts: msm: Add dtsi entries for sun vm" 2023-11-01 03:25:57 -07:00
qctecmdr
e48a855b11 Merge "ARM: dts: qcom: Add SPU related nodes to sun dtsi" 2023-11-01 03:25:56 -07:00
qctecmdr
c7340cbb38 Merge "ARM: dts: msm: Add smp2p_sleepstate and qsee irq bridge" 2023-11-01 03:25:56 -07:00
qctecmdr
432ded0756 Merge "ARM: dts: msm: Add clock phandles for debugcc on Pineapple" 2023-10-31 16:15:16 -07:00
qctecmdr
059e89f545 Merge "ARM: dts: qcom: Add ufs support for sun platforms" 2023-10-31 16:15:15 -07:00
qctecmdr
76c3ffc776 Merge "ARM: dts: msm: Add mem-offline device for sun" 2023-10-31 16:15:15 -07:00
qctecmdr
cccc862bc6 Merge "ARM: dts: msm: Add dma-buf heaps for sun-vm" 2023-10-31 16:15:14 -07:00
qctecmdr
501a7fcfc5 Merge "ARM: dts: msm: Disable SW DRV for pcie in sun" 2023-10-31 15:55:52 -07:00
qctecmdr
b3231b1467 Merge "ARM: dts: msm: Add phy gdsc for pcie node in sun" 2023-10-31 15:55:52 -07:00
Kishore Kumar Ravi
4f4abafb24 ARM: dts: msm: Add GLINK PKT nodes for sun
GLINK PKT provides a userspace interface to RPMSG GLINK through
character device node. Add the nodes and corresponding channel
devices to enable GLINK communication from userspace.

Change-Id: I0b7c9b273df3201113095fba9c70d10599b8faf7
Signed-off-by: Kishore Kumar Ravi <quic_kiskum@quicinc.com>
2023-10-31 17:24:22 +05:30
Kishore Kumar Ravi
b27696bd54 ARM: dts: msm: Add smp2p_sleepstate and qsee irq bridge
Add the smp2p sleepstate and qsee_ipc_irq_bridge
nodes for sun.

Change-Id: Iecdde69fe89d883c87ea9cd527a6753355d2327d
Signed-off-by: Kishore Kumar Ravi <quic_kiskum@quicinc.com>
2023-10-31 17:21:21 +05:30
Anmolpreet Kaur
91bc24856f ARM: dts: msm: Add dtsi entries for sun vm
Add dts entries for smcinvoke and
qtee shmbridge driver in sun vm.

Change-Id: I5ce5eddf5854735a676e1bf1bb0c5dfa67d569b6
Signed-off-by: Anmolpreet Kaur <quic_anmolpre@quicinc.com>
2023-10-30 13:16:24 -07:00
Nurit Lichtenstein
c2eaf10f3d ARM: dts: qcom: Enable SPU nodes in sun dtsi
Enable spcom and spss_utils.

Change-Id: I5066c10a6fad276f701cd6a6147c5e21471a8071
Signed-off-by: Nurit Lichtenstein <quic_nuritl@quicinc.com>
2023-10-30 22:07:58 +02:00
Mike Tipton
08133a1db7 ARM: dts: msm: Update video_cc_mvs0_gdsc parent-supply for Sun
The mvs0c_gdsc needs to be enabled first for mvs0_gdsc to turn on
reliably, so list it as a parent to enforce this relationship.

Change-Id: I2b6cf6861d1bf8ddb8eb764be3ba175edee9e3db
Signed-off-by: Mike Tipton <quic_mdtipton@quicinc.com>
2023-10-27 12:54:57 -07:00
Nurit Lichtenstein
d04fa7ba64 ARM: dts: qcom: Add SPU related nodes to sun dtsi
Needed for SPU pil on sun dtsi.

Remoteproc-spss, spcom and spss_utils are disabled.

Change-Id: I97519bacccee2f7094edbcf32e3fdac29d67ac77
Signed-off-by: Nurit Lichtenstein <quic_nuritl@quicinc.com>
2023-10-26 10:34:56 +03:00
David Collins
ae98f1e70e ARM: dts: qcom: add primary SPMI debug bus for Sun boards
Add an SPMI debug device and associated PMIC child devices for the
primary SPMI interface.  This provides consumers with unrestricted
access to the PMIC registers on pre-production devices.  This helps
to simplify debugging.

Change-Id: I920a3655e0e257ee819c7227e154d27ee43f3250
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-10-25 14:10:07 -07:00
David Collins
834840db5a ARM: dts: msm: add pmic-glink-debug PMIC subdevices for Sun boards
Add SMB and IDT charger PMIC devices inside of the pmic-glink-debug
device.  These are interfaced over I2C and an SPMI bridge bus.  This
ensures that software is able to access the registers of these PMICs.

Change-Id: I7afc56cb78a353960cb7db98ce5d9b51a05db9fe
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-10-25 12:09:31 -07:00
David Collins
47e74e072e ARM: dts: qcom: add PMIC Glink ADC channel nodes for Sun boards
Add PMIC Glink ADC channel nodes for Sun MTP and QRD boards.
This exposes an interface for software to read PMIC charger ADC
channels for input current, charge current, and die temperature.
This is useful for PMICs connected via I2C which are only
accessible to charger firmware.

Change-Id: Ie8a9a0690b9937f9c0c541123c28e544ba3495ec
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-10-25 11:46:30 -07:00
Prudhvi Yarlagadda
b3ed3392eb ARM: dts: msm: Disable SW DRV for pcie in sun
Disable software DRV (L1SS sleep) with PCIe instance
on sun platform as ADSP subsystem (software DRV component)
doesn't support this functionality.
Only CESTA based hardware DRV is supported.

Change-Id: I75368fab37e8bcaaa3c65320b6fdd37e023d3297
Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
2023-10-25 10:52:52 -07:00
Yuanfang Zhang
ee8776d01b ARM: dts: msm: add uetm/cti/qmi node for sun
add uetm/cti/qmi device tree configuration on sun.

Change-Id: I7fde13b226eac500f46865aeed6b337105b1dffd
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2023-10-25 08:30:14 -07:00
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
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
qctecmdr
e9ec2b678d Merge "ARM: dts: msm: Add device_type property for pcie node" 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
c31a3a4dcc Merge "ARM: dts: msm: Enable virtio-mem device on PineappleVM" 2023-10-24 09:15:47 -07:00