Add support for clk8_a4 as fixed factor clock for client to be
able to request on them for Kera platform.
Change-Id: I3f6fe7e444231be4489cf4459b1f98cc19417b48
Signed-off-by: Ajit Pandey <quic_ajipan@quicinc.com>
Updated the HLOS Audio LPM memory region for Kera is causing bootup
crash.
Keep the HLOS Audio LPM memory region for Kera same as base target sun
and tuna.
Fixes: 87876b303b ("ARM: dts: qcom: Update HLOS Audio LPM memory region for kera")
Change-Id: I99ff160e4679b92dce337bd66d2ee1898a4470f0
Signed-off-by: Prasanna S <quic_prass@quicinc.com>
To support cable detection events from UCSI, updates need to be made
to enable usb role switch and setting up a connection to the UCSI PMIC
glink node.
Change-Id: Ic3a848f882072a766b3efb872f943dd3f4220ba1
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
Enable QoS programming for kera and add necessary AXI and
AHB clock handles for programming QoS for USB, IPA and PCIE masters.
Change-Id: I51bcc6a841005b6daf8ab3f22a79e6704dc3b3ed
Signed-off-by: Swetha Chintavatla <quic_chintava@quicinc.com>
Add support for cpufreq_hw and cpufreq_hw_debug nodes on kera platform.
While at it, set the default governor to performance on kera platform.
Change-Id: Id6fd146d3c80f686780591e5efa594bd76155bcd
Signed-off-by: Ajit Pandey <quic_ajipan@quicinc.com>
Mark the pcie_1 clocks as protected and remove the pcie_1 gdsc
nodes.
Change-Id: I3102a52895a6531fb82a411bdb760073fc3c28f3
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
Mark gpucc clock node as GenPD provider and disable the
graphics GDSC regulator nodes.
While at it, keep the gdsc's as it is on rumi platform.
Change-Id: I91b4915723e26685e950de3ae575540ac3940036
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
The device tree for dma heaps on vm was incorrectly included.
so, remove it.
Fixes: 92398e011c ("ARM: dts: msm: Enable securemsm related nodes for kera")
Change-Id: Ib812725bedfd0510d6a998ecc83fe5df8619391c
Signed-off-by: Vijayanand Jitta <quic_vjitta@quicinc.com>
Mark dispcc clock node as GenPD provider and disable the display GDSC
regulator nodes for kera platform.
While at it, keep the gdsc's as it is on kera-rumi platform and update
the compatible to align with freq plan.
Change-Id: If01f876b3d160cf5c1cfe6be13e3e4b42f62cfa6
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
Mark videocc clock node as GenPD provider and disable the video GDSC
regulator nodes for kera platform.
While at it, keep the gdsc's as it is on kera-rumi platform.
Change-Id: I4a41aacbaa7d144f72db48b9af3a336a92ef95aa
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
Add support for rpmh and debug clock controller nodes on Kera platform.
While at it, keep rpmhcc node as dummy for KERA rumi platform.
Change-Id: Ic11513d45bbc9b3f172a411f854a2348af4bfb94
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
Add support for GPU clock controller and move corresponding
gdsc's from dummy to real on Kera platform.
While at it, add the clocks property to camera and display gdscs.
Change-Id: If3061a7603035e799e7548f0e2a93b7ded0e3005
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
Fix (4082b0db ARM: dts: msm: Update stdout-path with serial0 alias)
to re-enable (09b0fdef ARM: dts: msm: update kernel bootargs for kera).
While at it align the same bootargs on rumi files.
Change-Id: I032af3b9ea9a78418ef7360fc5d8b94885c6a8e6
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
Memshare driver allocates and share the memory with the modem
clients for their use. The device tree information for memshare
driver on tuna is added to specify client details.
Change-Id: I577cccac63d4aeb54dcf7a9470cd8672c6c016d4
Signed-off-by: Fenil Panwala <quic_fpanwala@quicinc.com>
1.Disable some pmic dt nodes/properties which are not required for kera.
2. update regulator voltage support for kera
as per latest HW recommendation.
3. Update i2c instance for kera for slave charger debug support.
Change-Id: Iebcf53837ff021db418fb2cbd16f1fb1ba494304
Signed-off-by: Kavya Nunna <quic_knunna@quicinc.com>
Increase cma size by 4MB for use by memshare IMS usecase.
This is inline with sun.
Change-Id: I81f6da44aa02c00c895854d69dbd949b70f541ff
Signed-off-by: Vijayanand Jitta <quic_vjitta@quicinc.com>
Add thermal overlay support for kera and tuna.
Change-Id: I87a87a173715e9d748e8bab7250d34530be03554
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
Temporarily disable mem-offline node in tuna to resolve
bootup crash due to page allocation from movable zone.
The bad page state was reported for Movable zone
[ 84.281664][ T1622] BUG: Bad page state in process Jit thread pool pfn:a22bfe
[ 84.291750][ T1622] page:fffffffe268aff80 refcount:-1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xa22bfe
[ 84.301978][ T1622] flags: 0x4000000000000000(zone=2|kasantag=0x0)
[ 84.312225][ T1622] page_type: 0xffffffff()
[ 84.342884][ T1622] page dumped because: nonzero _refcount
[ 84.385712][ T1622] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x140dc2(GFP_HIGHUSER|GFP_COMP|GFP_ZERO),pid1462, tgid 1434 (binder:1434_1), ts 73871020589, free_ts 82485610563
<https://android-review.googlesource.com/c/kernel/common/+/3345971>
This fixes the bootup crash by TAO preventing page allocation
from movable zone but will land in QCOM branches through LTS.
Once landed revert back this temporary change.
Change-Id: Ibde1fab99236e3d44356ba412d53eac8da4cee03
Signed-off-by: Vijayanand Jitta <quic_vjitta@quicinc.com>
Remove CXM UART2 GPIO(100,116) from list of reserved GPIOs
as it is not PORed.
Change-Id: I18eaacf40ce766dab0e2c546f62829a06384b84a
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
Add qrtr gunyah tuivm node to enable communication between
PVM and TUIVM.
Change-Id: Ia81cca25f13d22f249350f5704264822c242123a
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
Add the nodes to enable qrtr communication between primary vm and
oemvm on kera.
This adds platform devices and vdevice descriptions to start the
qrtr gunyah transport on both primary vm and oemvm device trees. This
also adds the device tree node to configure qrtr as node id 21 on oem
vm.
Change-Id: Icdcfcb4872351df13561c2c6963f06094f46d8c6
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@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: I2347b12c733459ead821db476e446fbde470c03a
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>