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>
For VM bootup the scm device needs to have memory from above 4GB, but for
PIL boot the Metadata memory needs to be limited to 32 bit. This is
because the authentication software for the metadata in the secure world
works with only 32 bit addresses. Add support for only 32 bit addresses
for PIL and memory from anywhere for other memory allocation from SCM
device.
Currently, this is being enabled for ADSP/CDSP/MSS however, this limitation
was applicable only for modem and not with ADSP/CDSP but there was some
issue observed with above 4G addresses allocated for ADSP/CDSP and it
was analyzed that it could be only issue on emulation platform and will
not observed on Silicon. So, we could revert this change for ADSP/CDSP
if the issue is not observed on Silicon.
Change-Id: I398158a76207f4ef43770ed60210d1f155263850
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
Introduce bindings for the USB QMI audio offload driver. Defines the
required properties, as well as lists an example of the node definition.
Change-Id: I43a7dadc8ac45a26de00f295c0bed0ae20e6075c
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
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>
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>
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>
In 'commit 583aa96f35 ("ARM: dts: msm: Add swiotlb command line
parameter for VMs")', option "swiotlb=noforce" was appended to kernel
command line for trusted VMs. Extending the change to OEMVMs.
Change-Id: I3371bc3d077ef4a45d7a66779a77bdf434c0f5e0
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
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>
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>
Add dts entries for smcinvoke and
qtee shmbridge driver in sun vm.
Change-Id: I5ce5eddf5854735a676e1bf1bb0c5dfa67d569b6
Signed-off-by: Anmolpreet Kaur <quic_anmolpre@quicinc.com>
Pinctrl driver enables Top Level Mode Multiplexer block(TLMM)
on Sun VM. TLMM VM irqchip acts as parent interrupt controller
for TLMM on VM.
Change-Id: I36df331dc4af91a5ef1f46c7791ffaa79d8f289f
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
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>
Start correcting the gunyah/vm.yaml schema. It passes basic validation
now, but is still incomplete with Gunyah Resource Manager's
parsing.
Change-Id: I9d3123fa5fa9752960523249136c11adcfd8e092
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
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>
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>
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>
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>
When the dt-bindings Makefile searches for schema files, it uses "find"
to search for yaml files. Find does not travese past symlinks, but
bindings is a symlink to the devicetree project. Force traversal by
adding trailing slash so that the root directory is past the symlink.
Change-Id: I9575b3b9e00725c5e1bcaccf99070d71994a9f77
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>