Remove video_cc_sleep_clk modelling and keep it always ON from
clock driver.
Change-Id: I4148e9223ba28a2ad3d2533ead368a76f5095efa
Signed-off-by: Jagadeesh Kona <quic_jkona@quicinc.com>
kalama lu share the same configurations as kalama le,
it use the same HW platform, so sync defconfig.
Change-Id: I904f84e061a7bafa10328f0b6f27431dd039fb3a
Signed-off-by: Shudan Liu <quic_shudan@quicinc.com>
Reduce Cyclomatic complexity in dwc3_msm_suspend function
and created the dwc3_msm_suspend_phy for the phy.
Change-Id: Ibcb58185224b9c2429cf543f92533d511374e754
Signed-off-by: Manish Nagar <quic_mnagar@quicinc.com>
ADSP teardown is not possible in LPM. Ignore the return value from
SCM call for the ADSP teardown.
Change-Id: Id41e09222893137e95b327909304973c26b8214b
Signed-off-by: Yadu MG <quic_ymg@quicinc.com>
Refined the sanity check branch to decrease the complexity.
Change-Id: Ifb99709c62261e75231469f165765d6602f38a82
Signed-off-by: lixiang <quic_lixian@quicinc.com>
Bring the QMP channel availability check to early stage of
probe so that if channel not available we can return EPROBE_DEFER
early instead do register SSR notification and unregister if QMP
get_channel fails.
This patch also duplicates the subsystem name into the subsystem's
data structure instead assigning the name pointer.
Change-Id: I03a37e8c002b8357052542b8594d64b6fb280a03
Signed-off-by: Raghavendra Kakarla <quic_rkakarla@quicinc.com>
As per databook, when there are unused lanes in a system, you must
reprogram the following registers through the DBI. For this example, where
a 4-lane controller is connected to a 1-lane PHY:
1. Reprogram LINK_CAPABLE field of the PORT_LINK_CTRL_OFF register to 6h1
from 6h7. This is used by the LTSSM in Detect.
2. Reprogram NUM_OF_LANES[8:0] field of the GEN2_CTRL_OFF register to 9h1
from 9h4. This indicates to the LTSSM, the number of lanes to check for
exiting from L2.Idle or Polling.Active.
3. Reprogram PCIE_CAP_MAX_LINK_WIDTH field of the LINK_CAPABILITIES_REG
register to 6h1 from 6h4. This enables the RP to determine the Maximum
Link Width for this port.
We should not set link_width to PCIE20_CAP and GEN2_CTRL_OFF, but should
set the target_link_width. NUM_OF_LANES[8:0] field is recommended to set
as LINK_WIDTH_X1 even if there are more one lane.
Change-Id: I7b32160d6582b6ddc65d860b5e58f6ec77baf48d
Signed-off-by: Qiang Yu <quic_qianyu@quicinc.com>
page could be NULL when out of memory, only dereference it when allocate
successfully.
Change-Id: Ib3af2dabe9fdb69211b63196086736a5e6c82768
Signed-off-by: Keming Zhang <quic_kemingz@quicinc.com>
Removal of duplicate session check with fastrpc_session_exists API as
it is no longer needed. Duplicate session creation is restricted using
set_session_info flag already.
Change-Id: I6b85d96f85e8d1e5af005a6939d8b9a25ca06fcf
Signed-off-by: Ansa Ahmed <quic_ansa@quicinc.com>
Update GCC, GPUCC, VIDEOCC, DISPCC and CAMCC clock
controllers with vdd_data struct to support voltage
voting for SDM845.
Change-Id: Icc75301ed289d72ee3bf9fdb541b690ac6a7ba53
Signed-off-by: Chetan C R <quic_cchinnad@quicinc.com>
Enable CONFIG_QCOM_DMABUF_HEAPS_SYSTEM_UNCACHED for qcs605.
Change-Id: I51ab216ec785f9f5fedba515b7020d19d6417c6e
Signed-off-by: Saranya R <quic_sarar@quicinc.com>
This reverts commit 18af9e38ea.
Reason for revert: Mismatch in power count which prevents sleep.
Change-Id: I8412404f269fd7054b55136cc7cba7734964023f
Signed-off-by: Yadu MG <quic_ymg@quicinc.com>
Handle accessing the AON spi device when driver is not ready
& when device enter to shutdown path.
Change-Id: Ibebb2f526b289ee31517d7e52e48ca46ce705d1c
Signed-off-by: Praveen koya <quic_pkoya@quicinc.com>
Currently a process is limited to create only 2 sessions, by toggling
the 30th bit of tgid of the process, to create different process IDs on
DSP remote sybsystem. This approach is not scalable to create unique
process IDs to DSP, by using bits within the tgid of the process. Add
support to allow a process to create multiple sessions by choosing and
sending unique dsp process IDs on DSP remote sub system, instead of tgid
of HLOS process.
Change-Id: I33f52c68453301bdbb83dfb9a10df16143098a49
Acked-by: Santosh Sakore <quic_ssakore@quicinc.com>
Signed-off-by: Ansa Ahmed <quic_ansa@quicinc.com>
Add sanity check to handle write operation on
aon_com_dev node from userspace when driver
is not initialized.
Change-Id: I1bd1fb94ee5b59ff113f8e359c303a2dd1f47430
Signed-off-by: Praveen koya <quic_pkoya@quicinc.com>
Add check for tzapp coredump cmd response status in AoN subsystem.
This check is to confirm whether dumps are written successfully.
Change-Id: Idc452fc1d1e24d25cf4b95d642b68af8a8dd059d
Signed-off-by: Pradnya Dahiwale <quic_pdahiwal@quicinc.com>