Enable SHOW_RESUME_IRQ to show the wake up reason from
suspend.
Change-Id: I1aee300c4e347a1f5f69730229abca4af5e788e3
Signed-off-by: Darshankumar Jagdishchandra Thakkar <quic_djagdish@quicinc.com>
Enable CONFIG_QCOM_SECURE_HIBERNATION to support encryption
on hibernation for sdmsteppeauto target.
Change-Id: I6f793e678a0d89f16e30b928c9b688f7a94bb266
Signed-off-by: Darshankumar Jagdishchandra Thakkar <quic_djagdish@quicinc.com>
Enable the interconnect driver so that consumers are
able to obtain their path handles properly.
Change-Id: Ifddc37c584616a4c4434de1a03b07746b97e5b3d
Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
Cancel set_gain_work in haptics_erase before stopping haptics play to
avoid the Vmax being updated concurrently with next haptics play.
Change-Id: Ice5df62c7ac0d518d1a8e7a9cafe1d075893cf3c
Signed-off-by: Fenglin Wu <quic_fenglinw@quicinc.com>
Enable configs for GENI based peripheral protocols such as uart, i2c,
spi, gsi, sps, bam and slimbus for pitti.
Change-Id: I782b3b972f0cfad4782bec07974b523e8d437fd1
Signed-off-by: Jyothi Kumar Seerapu <quic_jseerapu@quicinc.com>
Move setup_dsi_device call from probe to bridge_attach and
link_bridge to later part of probe function.This makes
sure ANX bridge driver probe and DSI driver probe
happens independently.
Change-Id: Id842e044f33416722b37e113cdfb6527faebd521
Signed-off-by: Balaji Vekatesh Kalkonda <quic_bkalkond@quicinc.com>
Change the ILED_SYNC and MOD_SYNC write sequence from 0 to 1
instead of 1 to 0 as per HW recommendation.
Change-Id: I93f4491cd1fd59ba5839c458157265c2d75315f9
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
We set the utmi sleep assert to usb2 phy as part of dwc3 suspend.
Reset this bit during resume to undo this action. This feature is
controlled through a dt property and hence not resetting this bit
during resume would override the intended settings.
Change-Id: I839afa11f110b27d5570bb727b41bcb880c15a8f
Signed-off-by: Elson Roy Serrao <quic_eserrao@quicinc.com>
Signed-off-by: Udipto Goswami <quic_ugoswami@quicinc.com>
Add support of Video clock controller on Volcano for clients to
be able to request on these clocks.
Change-Id: I4a90929a939b9f5133df5d20e54edc25a34d471b
Signed-off-by: Ajit Pandey <quic_ajipan@quicinc.com>
In "tmc_disable_etr_sink", the mem_lock is used to support USB mode switch
and thus the lock is only necessary in CS_MODE_SYSFS.
"byte_cntr" is only enabled in "CS_MODE_SYSFS", and thus it only needs
to be disabled in "CS_MODE_SYSFS".
Change-Id: I319bfab96df26ed1cd993492852ab1f4c2fb0a55
Signed-off-by: songchai <quic_songchai@quicinc.com>
In gh_tlmm_vm_populate_vm_info(), use kfree to release the memory
alloctated by temp pointer in case of potential memleak.
Add missing NULL check.
Change-Id: I29928965db2df53631fb20717c356e41662e4798
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
Signed-off-by: Naini Singh <quic_nainsing@quicinc.com>
In situations where all cpus are either offline or in paused
paused state, WALT returns first paused cpus as the timer
target.
In situation where the first paused cpu is also an offline
cpu, timer's target cpu will be an offline cpu.
Fix this by always returning first active cpu from the paused
cpu mask, thus ensuring timer target is always an online cpu.
Change-Id: Id935b14946f21ef5501d3050e5766a64faf18c7d
Signed-off-by: Ashay Jaiswal <quic_ashayj@quicinc.com>
Add support of Graphics clock controller on Volcano for clients to
be able to request on these clocks.
Change-Id: Iea1999b1138e60e49c85ca377718ae0f7cba3eac
Signed-off-by: Ajit Pandey <quic_ajipan@quicinc.com>
Update parent supply of few clocks for gpucc as per the latest
HW frequency plan recommendation on NIOBE platform.
Change-Id: Ie3bea51eed104afeaee9bacbc682aa588bb8c826
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
In the current virtio hab design, when the number of
vh_buf_headers is not enough, the process calling the
function physical_channel_send will fall into sleep.
However, we promise hab client that when the process
calls habmm_socket_send (this function will eventually
call physical_channel_send) with the flag
HABMM_SOCKET_SEND_FLAGS_NON_BLOCKING, process sleep
will not occur.
To fulfill the promise in our API, we check the
non-blocking flag in virtio-hab's physical_channel_send
function. If the non-blocking flag is set, even if the
number of vh_buf_headers is not enough,
physical_channel_send will return directly instead of sleeping.
Change-Id: Iae421551f510457e150f62d42d7701ffe8068312
Signed-off-by: Zelong Ren <quic_zeloren@quicinc.com>
Signed-off-by: Deyan Wang <quic_deyawang@quicinc.com>
As part of kernel 'commit b9e8a791a570
("q2spi-msm-geni: Add q2spi interface drivers snapshot")'
compilation errors reported in 6.4 kernel are fixed.
Backport these fixes to 6.1 kernel branch.
Change-Id: Icbb06f37a815765496d1dcfeb41e448982006d24
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
Current remove entry point is not handling
cleanup properly during unload of driver.
Fix rmmod path in the driver.
Change-Id: If10ff854326fe4db25871e5dcf5837901d61985d
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
Add soc-id support for CliffsP and Cliffs7P platform.
Change-Id: I82262d5980e9e0f31005365a2d4946293b2b9f06
Signed-off-by: Naina Mehta <quic_nainmeht@quicinc.com>
We expect that the latest pchan->sequence_rx value obtained from
the received message should be 1 greater than the local
pchan->sequence_rx value. But in some abnormal cases, such as when
pchan loses messages, the difference between the two sequence_rx
may be greater than 1. We add additional checks to detect these
abnormal cases as early as possible.
Change-Id: Ief45c3d520d1ea067f990bd1cfc76946b2865e4d
Signed-off-by: Zelong Ren <quic_zeloren@quicinc.com>
Signed-off-by: Deyan Wang <quic_deyawang@quicinc.com>
CRMV have status for various power rails. Dump them along with
CRMB and CRMC status.
Change-Id: I0330bff3545afc33e28ba1490cd6b0acf0afc3a4
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
1.add the vchan->closed, and togther w/ vchan->otherend_closed, it
will be clear that whether the local hab client calls habmm_socket_close
(vchan) or the remote hab client calls habmm_socket_close(vchan's remote
pair).
2.use the atomic variable for vchan->rx_cnt/tx_cnt to avoid some
concurrent +1 operations.
Change-Id: I5effef972369231ef2888fe88852d5cf657dc553
Signed-off-by: Zelong Ren <quic_zeloren@quicinc.com>
Signed-off-by: Deyan Wang <quic_deyawang@quicinc.com>
hab_ctx_free() might sleep due to call habmem_remove_export()
->habmem_export_put()->habmem_export_destroy()
->habmem_exp_release()->dma_buf_unmap_attachment() &
dma_buf_detach(),because dma_buf_unmap_attachment() and
dma_buf_detach() might sleep.
Meanwhile hab_ctx_free() might be called in atomic context in
following situations:
1. physical_channel_rx_dispatch()->hab_msg_recv()->
hab_vchan_put()->hab_ctx_put()->hab_ctx_free() in tasklet.
2. hab client holds spin_lock and calls hab_vchan_close()->
hab_vchan_put()->hab_vchan_free()->hab_ctx_put()->hab_ctx_free().
So move the work of hab_ctx_free() to workquque when hab_ctx_free()
is called in non-preemptive context.
Change-Id: I1f7ef6cb377833290752e1032a1925c66483ebf3
Signed-off-by: Deyan Wang <quic_deyawang@quicinc.com>
Update SLEW support flags for display and graphics plls
and Add support for restore context in slew_ops pll.
Change-Id: Iab3dae61c482108750bfe318417488f273f01e59
Signed-off-by: Chetan C R <quic_cchinnad@quicinc.com>
Add support of Global clock controllers on Volcano for clients to
be able to request on these clocks.
Change-Id: I67511f61720f4ef65d03c713d6cb16f41d46e4c7
Signed-off-by: Ajit Pandey <quic_ajipan@quicinc.com>