Register driver work handler will only power up device, resume PCIe
link and start MHI to download firmware. It may only block there
for a timeout, so there is no need to post it as killable event.
Change-Id: Ib82050358dc8df4a8163ecb43702aa86ed34f23d
Signed-off-by: Yue Ma <yuem@codeaurora.org>
Fix uapi header to work with KERNEL_HEADER_TEST and UAPI_HEADER_TEST.
Change-Id: I1ad9ded45b95f9abf3a5543f5aa21cfe7541a9cd
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
When SMMU works in bypass mode, set has_iommu to false. ETR
can use SG mode.
Change-Id: Ic7a6814cace92098473e4b5302408034e662058d
Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org>
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
Will aid debugging lockups in perf_event_read_value()
track the cpu being ipi'd.
Change-Id: Ia948f31bb2d91bca6144c0c50f8f66bd9c1459fe
Signed-off-by: Stephen Dickey <dickey@codeaurora.org>
QRTR needs to be functional before service locator is up. Hence,
add a soft-dependency on the QRTR to ensure this happens when
these drivers are built as modules.
Change-Id: I1919ffc03f8eb215c21724a46c1250787ba2067c
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
This reverts commit 624d012216. KGSL driver
requires CONFIG_QCOM_ADRENO_DEFAULT_GOVERNOR to be set to msm-adreno-tz
in QGKI builds. CONFIG_QCOM_ADRENO_DEFAULT_GOVERNOR is set to the required
value for GKI and QGKI builds by the KGSL Kconfig.
Change-Id: I63b447409c7446376744bd5d9d7c850f0e7dcdc1
Signed-off-by: Raghu Ananya Arabolu <rarabolu@codeaurora.org>
During smmu probing same debugfs file is being created for each probe.
Move debugfs file creation from smmu probing to device init call.
Change-Id: Iebb6450744d507278d4f5c3283638399987d2a29
Signed-off-by: Edgar Flores <edgarf@codeaurora.org>
Add code to update cnss soc info from the info
received as part of target capability response.
Change-Id: I6b88192d772dd30a8aaeb90725141c7c38b2c50c
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
In order to support early merge of code, a vestigial definition for
qcom_smem_get() was added. This was accidentally merged in. Let's remove
it and allow the RPMH master stats to be read from the memory.
Change-Id: I89dc45c6edd8fb0df01416f7d9fb95feb1dfacc2
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
On QRD redriver will use this information to configuration.
Change-Id: Icf077136fbc4473e58e45ce55ca542f99233d506
Signed-off-by: Linyu Yuan <linyyuan@codeaurora.org>
Replicator register value could be reset when it's disabled and
clock is off. Reset the register to all ports disabled when enabling
it first time to avoid all ports to be enabled by default.
Change-Id: I29973d38eb7f836fabe22757f98db62afbe6a4c3
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
On QRD device we want to read pmic CC output through gpio function,
thus request and release phy pinctrl state here,
it allow other function driver request gpio pin state.
Change-Id: I9901e3019656691d1f4ae17cd55ef2cd6784a330
Signed-off-by: Linyu Yuan <linyyuan@codeaurora.org>
Set auto resonance when loading effect according to the effect
settings.
Change-Id: I8dc9ac99a57e396d67da28ae7b1eb31813ab3362
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Currently, nvmem device is used to store closed loop brake settings. If
nvmem-cells is not specified for closed loop brake, then nvmem device
can be NULL. For such case, skip updating closed loop brake settings by
not writing to the nvmem device.
Change-Id: I18d455814f3731af519949f21a3a553bd1692548
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Restrict untrusted third-party applications to only unsigned PD
offload on the remote subsystem. This is done by comparing PID at
the time of process create with the one stored during device open
as the fastrpc device will be opened by DSP HAL service on behalf
of third-party applications.
Change-Id: Ibaead21a429e6bffe8f0808eebf93bf71d1db7ab
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: Himateja Reddy <hmreddy@codeaurora.org>