Added SP PBL Patch Version Register to read the SP-PBL
patch version to handle SPSS attach timed out scenario.
Change-Id: Id7ee4df5d09d9c09410bc24fc475ee2a36fca246
Signed-off-by: Magesh M <quic_murugan@quicinc.com>
Add dtsi entry for ssip fuse configuration on Sun platform.
Change-Id: I1f6dbc9608db1e29aef1d9699820eb1e1d3c9299
Signed-off-by: Ping Li <quic_pingli@quicinc.com>
We need to override the PCIe SM PWR_CTRL and PWR_CTRL_MASK
registers so that CXPC can happen when pcie driver is not probed.
Without this change, CXPC will be blocked when the pcie driver is
not probed as there will be no notification from PCIe SM entity to
allow CXPC. Once we these registers are written 0x1, no one will
wait for PCIe SM to allow CXPC.
Change-Id: I8d1542deb4fcc10849c848aa73718a47af556719
Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
Make changes to enable SMEM Mailbox SMP2P nodes for sun to
communicate with modem.
Change-Id: Iea261c8f42768c05eec7caf62adcd1dcc93cd950
Signed-off-by: Tyler Wear <quic_twear@quicinc.com>
Update to memory map v4.
Additionally, sort hwfence-shmem and tz_merged_region in ascending order.
Change-Id: Ia45a28a1f0f0025cad0c947d19f2c27dcf94516a
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
CRMV regs have status captured for various commands/voltage levels.
Map CRMV registers in device so that driver can dump them when required.
Change-Id: I05911a0646b2317f90fd425e172d0458ce669ab0
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
Tmecrashdump ddr offset is per target defined value and is needed as an
input to tz-log driver to display tme logs in userpace.
Add support for sun.
Change-Id: I58584a0660f489299522c658b984370d800a8143
Signed-off-by: Kuldeep Singh <quic_kuldsing@quicinc.com>
Unstub skip-qos for mmnoc, gem_noc and aggre noc so that
required noc-qos settings are set.
Change-Id: I198b68f81691f7281593195c52d172fd8917186e
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
sun
Add keep-running flag to trustedvm loader node for sun.
Change-Id: I908030b52c409d25ccaaf5623eb384cda13cc922
Signed-off-by: Cong Zhang <quic_congzhan@quicinc.com>
GLink interrupt is being sent to SOCCP and is waking SOCCP which is
causing SOCCP not to go into D3 (suspend) state when SOCCP is taken
out of reset as there is no handshake between remoteproc & GLink.
Disable GLink edge until proper fix is identified.
Change-Id: I0282f09085bea2e2e3f93cc17841b2a2720e7b1a
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
Switch to using dma-noncoherent context bank on qce. Dma-coherent was
causing stale data to be read. SS confirmed that this was fixed by using
dma-noncoherent. Using explicit dma-noncoherent because the parent node,
qcedev, is dma-coherent, and the context bank would inherit it.
Change-Id: Ic6f45b15a9eb29bc7317fd824318cb219a29e0c2
Signed-off-by: Daniel Perez-Zoghbi <quic_dperezzo@quicinc.com>
Add System Health Monitor node with MPSS subsystem support for
Sun SoC.
Change-Id: Ie6fd1cf0e765bd6ef55c230d68066bf8a3115f75
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
FastRPC node is added under glink node to provide intent
information. With fastrpc driver migrating to upstream
driver, this property will be overlayed from out of
kernel. Also update glink label for adsp and cdsp.
Change-Id: Ia7463d32369e02637abe4bfab5c18cf2bc8d5b03
Signed-off-by: quic_anane <quic_anane@quicinc.com>
The Sun SoC has a True Random Number Generator, add the node with
the correct compatible set.
Change-Id: I67837f8e674be6445e35b4b1512b890f43861e4f
Signed-off-by: Udit Tiwari <quic_utiwari@quicinc.com>
Add DT entry to enable the memory onject support for
smcinvoke.
Change-Id: I87b62b048e94e2aad2a8329b275bbd8d75ae6cc7
Signed-off-by: Amirreza Zarrabi <quic_azarrabi@quicinc.com>
As soon as device boots up, there are few test cases like boot KPIs
which rely on dmesg, but by the time these tests are run on Sun,
buffer is getting overwritten and test cases were failing.
To unblock the tests, increase buffer size to 512K from 256K.
Change-Id: Ie6a810297553d1a104d00f87dae3bff51dac7b95
Signed-off-by: Satya Durga Srinivasu Prabhala <quic_satyap@quicinc.com>
Enable the UFS MCQ feature on the Sun platforms.
Change-Id: I86016f54c57825fe4c5c51682e619bedafe4786b
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
Add index table to llcc pmu for sun to override the
default register index mapping.
Change-Id: I1f470f011ddd00375bbad345432b8706ab0ae4be
Signed-off-by: Amir Vajid <quic_avajid@quicinc.com>
Add entries to specify the dev-id, net-id and low-latency fields
to configure forwarding in qrtr-mhi transport for HMT and HSP.
Forwarding via APPS qrtr-mhi should be disabled in case of HMT
(dev-id:1107) since there's a direct MHI satellite path between
ADSP and WLAN, and should be enabled for HSP (dev-id:1103).
Change-Id: I1ef7b543dcff3d187efcf5f7cfd8ac8587c55bd6
Signed-off-by: Sarannya S <quic_sarannya@quicinc.com>
The CPUCP SCMI notifications are used for thermal limits. Add the
mailbox used for them.
Change-Id: I51eadabe997670190414b9b767439be5064046c7
Signed-off-by: Mike Tipton <quic_mdtipton@quicinc.com>
Memshare driver allocates and share the memory with the modem
clients for their use. The device tree information for memshare
driver on sun are added to specify client details of gps, ftm
and diag.
Change-Id: I2dbe8729da13e40cebf4b2fd2e0722eb97c50f9e
Signed-off-by: Manoj Prabhu B <quic_bmanoj@quicinc.com>
qcom,dload-mode platform device is created from scm driver on
scm driver probe and now there is no need to maintain their
device tree node in SoC specific device tree.
Change-Id: Id79e5f67c57940b37bdfa151c90a9e1b02eb8192
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
SOCCP sleep status register is incorrectly set to 0x9a000, correct it.
Change-Id: I8533e9788614dbb4862ddd272caee7e76b96ed7e
Signed-off-by: Satya Durga Srinivasu Prabhala <quic_satyap@quicinc.com>
Add show_resume_irq device to print wakeup irq during resume from s2idle
or s2ram.
Change-Id: I1344bd7bb6e576cdd73011c845645c4959e23b64
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
Enforce dependency of dma heap driver on SCM driver
without which it will not work and this is in
the preparation of adding interconnect voting
in SCM node which if it gets added without this
change dma heap driver can result in NULL pointer
issue.
Change-Id: I654e69398643b2e78d180c7167b29b62e7914f77
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>