Modify cpu node information used by etm save
restore nodes. Etm save restore is used to
save etm data across power collapse.
CRs-fixed: 1056777
Change-Id: Ib00f5098412e0dbfd7aea81594129ddaa15664b9
Signed-off-by: Amey Telawane <ameyt@codeaurora.org>
Add sdhc1 to support eMMC for sdm660 QRD.
CRs-Fixed: 1103296
Change-Id: I764845530559ef8a7fc81ae3307f599e07d342dd
Signed-off-by: xiaonian <xiaonian@codeaurora.org>
QOS setting defines the priority and privilege levels
for VCodec hardware and the CPU. Enable the privilege
and priority for Core0 to Core5. Set the priority as
P2 for Core0 and rest as P1. Set the privilege for
Core0 as P2 and rest as P1.
CRs-Fixed: 1103405
Signed-off-by: Manikanta Sivapala <msivap@codeaurora.org>
Change-Id: I6b3f13b55bc153f81672fe82395e1fb6ee1ea333
Add camera related device nodes for sdm660 qrd.
That includes front/rear/aux sensor device nodes, and
corresponding eeprom/actuator/ois device nodes.
Change-Id: I67bcbd96f87e4d362b130e323f0fcc71642fa5a4
Signed-off-by: Kui Wang <kuiw@codeaurora.org>
Rndis_ipa loopback functionality at rndis_ipa driver
is a debug functionality that is not used.
Change-Id: Ibbcb26d3871cffeb46b028efcf4d428e88eb9e10
CRs-fixed: 1104431
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
On WDI-disable, Apps-IPA needs send QMI to inform
Q6-IPA to lift the delay and drain the pending UL
data in IPA to prevent IPA-UC crash.
Change-Id: Idb4d525b46d29b6ae283987c7b8707852ac810d4
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
wil6210 is required for 11ad card that is present
in qrd-skuk. Hence update the device node status
to reflect this.
Change-Id: I9f2461551a67b757064ee88f609fc8e2c9d75211
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
Added changes to update WB OT settings for
SDM660 based on QOS recommendations
Change-Id: I6a4dfe3f6ef88547c6c67750edb1cd2c2404429e
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
Add logic to register common sound controls
to ALSA SoC in both internal and external codec
machine drivers.
CRs-Fixed: 1106498
Change-Id: If5e210fb1f4a5684da4dab7ef567a588e0166d83
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Provide the support to enable MCLK output to external
audio connections. Also, update configuration to set
bit clock as EBIT in slave mode.
CRs-Fixed: 1094763
Change-Id: If07f31a6c37c7b8b23eb74b25a1e15990043cb92
Signed-off-by: Tanya Dixit <tdixit@codeaurora.org>
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Update notifier function to use platform device correctly
in order to fix Audio SSR on external codec.
CRs-Fixed: 1094763
Change-Id: I67fc099c30ad097d0be3a2c9fc92a31ce61368f7
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
mmssnoc_a_clk_cpu_vote clock is not required on msm8996, so
remove the clock instance for the same.
Change-Id: Ibf1cbb9dc67c9255df09c32a67c320f8bb3ecbc7
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
Add initial device tree support and socinfo support for
SDA630.
Change-Id: If2a60c27d5870f3738d77564d392efffece892ac
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Add initial device tree support for CDP, MTP and RCM
platforms of SDM630.
Change-Id: I77d221a632a2eaf5ad84d46926e8f85377c0d813
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Add initial device tree and socinfo support for SDM658 SoC.
Also add device tree and socinfo support for SDA variant.
Change-Id: I3d8860ed57c859d35eaf4d77f0064091993a1bcf
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Some smd-rpm and voter rpm clocks are critical for system booting
and should not be gated until a unused clock tree late_init level.
So add support for handoff functionality for system critical rpm
clocks by using CLK_ENABLE_HAND_OFF flag.
Change-Id: I9f9674a25fc5f7a2bc9b5672b00716b82223b06b
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
Add ipc logging for ipa driver for different use cases
such that ipa driver can direct messages to ipc logging
buffer which can be found in crashdump.
Allocate ipa_low IPC only when needed,
for data path and other frequent log prints to avoid
performance penalty.
Change-Id: I5350a015b587b6cbcbfdcebe523376a8e50fc06c
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
Sometimes after failing RPMB access due to card in bad voltgae state,
If issue USER parition access request,it fails as card is already in
bad state. Fix this by adding error handling to mmc_blk_part_switch()
and by resetting the block whenever partition switch fails.
Change-Id: I245683b0b0a06b13938036dbc37e87ed1ef70b89
Signed-off-by: Pavan Anamula <pavana@codeaurora.org>
Enable CPZ feature for A512 GPU on sdm660.
This is required to process secure conent by GPU.
Change-Id: Iaaedde4e56e331379be0b44b23527df0d5807f55
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
MMC_PM_WAKE_SDIO_IRQ flag is used by platform driver(sdhci-msm
here) to determine if SDIO wakeup IRQ needs to be enabled
or not. If this flag is not removed in every mmc_resume_host,
then while suspend, platform driver will configure the sdio
wakeup IRQ even though wlan is disabled from UI.
This flag can be enabled by wlan driver before entring into suspend.
In this case since Wlan is not enable and thus not entering WoW mode,
pull up present on this SDIO GPIO line will pull the line high (which
otherwise is pulled low by wlan firmware in WoW mode and triggers
interrupt by pulling it high in WoW mode) which eventually will
trigger a false SDIO wakeup interrupt thus breaking the suspend
everytime.
Hence disable the flag everytime in mmc_sdio_resume and let
wlan driver enables it (-by sdio_set_host_pm_flags)
before entering into suspend if needed
for sdio wakeup part.
Change-Id: Iecf9eef4d91a741116bc8b8bb59c49ae7f2891fd
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
This patch enables the deferred resume support which would
prevent initialization of the card each time the system resumes.
With this change, the resume process would only be initiated if
a request is received.
Following scenario can occur:
1. device runtime suspended, system suspend is triggered
When resumed, the device would not be resumed until a
request is received.
2. device is runtime active, system suspend is triggered
When resumed, the device would be marked as BUS_NEEDS_RESUME
and actual resume would happen, when a request is received.
At this point, the device may also enter runtime-suspend or
system suspend may also occur. In both the cases, since the
device has not been resumed, it won't be suspended again.
However, the platform device would be runtime suspended
and resumed as before.
It can so happen that the card is removed even before a
request is received. In this case the device would be
resumed and card would be removed from core layer and
upper layers would be notified.
In case of SDIO cards, this change would not have any effect
since manual resume would be enabled for devices supporting
a block read/write commands.
CRs-Fixed: 561382
Change-Id: Id39befea109ee24864dfde0898395b972d0a1b3a
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
Glink pkt client is calling glink_queue_rx_intent even after calling
glink_close, this result in calling with invalid handle.
glink_queue_rx_intent is called with mutex lock and dev handle is
set to NULL right after call to glink_close.
CRs-Fixed: 1098097
Change-Id: I6fc8e7d91a6d27fe6602e8aabcffcdbfb1316c97
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
variable size is output variable and is not initialized,
printing it can lead to information leak.
variable size is removed from log message.
CRs-Fixed: 1093837
Change-Id: I95cf227bb82a2ee7c6f43db151f75a942e8e55ce
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
Avoid printing of the error messages and register dumps,
incase of data endbit errors like other data errors.
Change-Id: If8ed082cc97a895cfbf959201c579914d5768b23
Signed-off-by: Pavan Anamula <pavana@codeaurora.org>
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
API check the wlan firmware ready status in icnss platform
data and return the status(true/false) to caller.
CRs-Fixed: 1106520
Change-Id: I1246e6c213011d73ade5078c07bb2190135e54ec
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>