The ath10k snoc bus uses NAPI in rx path and tasklet
is no more used. Remove tasklet references from
bus layer. Refactor driver unload path to have
consistency in API uses.
CRs-Fixed: 2005874
Change-Id: Ib9534286ed45bf1394e109c6ca8063cd89a1d58e
Signed-off-by: Govind Singh <govinds@codeaurora.org>
Fix memory corruption in Goodix touchscreen driver, by resetting
the global structure cmd_head to zero (except *data and wr flag)
in goodix_tool_write handler on error case.
Change-Id: I4f7f8f464b93571627b922b10c10a65826228e42
Signed-off-by: Vevek Venkatesan <vevekv@codeaurora.org>
WCN3990 target uses more fields in htt rx descriptor.
Refactor htt rx descriptor to not break legacy code.
Remove last msdu check in htt rx for WCN3990 which is not required.
CRs-Fixed: 2005906
Change-Id: Id2f670ecd72ea898a11a9d9eea61b5a1f2364d32
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
This is the reference driver source code for ST
Touchscreen of version 4.1.0. It is used for QVR8998
touchscreen.
(cherry picked from commit 2cd09314337d614e69d0ebd99afb71d99d31b69a)
Signed-off-by: chenx <chenxiang0527@thundersoft.com>
Git-commit: 2cd09314337d614e69d0ebd99afb71d99d31b69a
Git-repo: https://source.codeaurora.org/quic/la/kernel/msm-3.10
CRs-Fixed: 1106217
Change-Id: I6674245402c0a5d6cca6bf82a9f8b1bf4f4f4ef3
Signed-off-by: Jin Fu <jinf@codeaurora.org>
Coresight ETR sink is enabled as the default sink to
collect traces.
Change-Id: I78cec888284307dbc7e696e7b33b45707bf9e1ca
Signed-off-by: Saranya Chidura <schidura@codeaurora.org>
Modify DCC RAM size for sdm660 and sdm630. DCC RAM is used to
store captured information locally in DCC.
Change-Id: Ib4c630e165e55b8ac82976e406069ee9e4d3f3c2
Signed-off-by: Saranya Chidura <schidura@codeaurora.org>
In case of PLL lock errors or the RCGR fails to update the new
configuration, add support to capture all the PLL and RCGR
configuration registers as part of kernel logs.
Change-Id: Ifb0cefafc30f8796ba17f2d388fb65ed41aae485
Signed-off-by: Taniya Das <tdas@codeaurora.org>
If the user-space client doesn't provide the pixel extension and qseed3
configuration, driver should set the default values. Change sets the
default values if user-space client is not configuring the blocks when
VIG pipes are selected.
CRs-Fixed:2002381
Change-Id: I02f0e76fb87587d2eed9e5f4fcca5baa7d605b92
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Signed-off-by: Manoj Kumar AVM <manojavm@codeaurora.org>
Fastmap feature is used in the cases where it required reduced time for
dma_map/unmap().
Change-Id: Ic1c1fd0bbd95d849eaf6ee13569e345117a988b6
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
Currently the interrupt trigger type is configured as NONE. This
causes a level handler to be assigned to these interrupts.
However, all of them are edge triggered interrupts with varying
falling/rising/both edge flavors. Update the device tree to
use their correct trigger types thereby preventing missed interrupt
storms because of incorrect handler types.
Change-Id: I6b5cddc8281ca7f6810dcb754d7dd2e6ae6f339c
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Prevent concurrent usage & re-allocation of the wr_buf variable.
Based off patch by chengengjia <chengjia4574@gmail.com>.
BUG: 33001936
Change-Id: I88d78e1ec0fc9e88b1e6824c06161b67d01136ec
Signed-off-by: Andrew Chant <achant@google.com>
Git-commit: d740e7228bd1578ed01762998b2a86e7df56e608
Git-repo: https://android.googlesource.com/kernel/msm
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
Add support to configure battery thermal coefficients so that different
battery thermistors can be supported. These coefficients can be
configured via "qcom,battery-thermal-coefficients" device tree property.
CRs-Fixed: 2004461
Change-Id: Iff25acd397a68c31057dff4db1896d46e396adc6
Signed-off-by: Yingwei Zhao <cyizhao@codeaurora.org>
Add null check in firmware_direct_write to avoid null
pointer dereference due to firmware_abort.
Change-Id: Ibde30452bb6f3fe7a9f92aa3b1f2ed85a858d94e
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
SSR logic is executed during device shutdown. During device
shutdown the Linux tasks (processes) are moving to SIGKILL
state. If a DMA allocation from the kernel happens
in a context of a process in SIGKILL state and page migration
is needed, the allocation will fail.
Use GFP_ATOMIC allocation flag during SSR. This will
utilize the atomic memory pool and will not require page
migration.
CRs-fixed: 1077811
Change-Id: Ie06b85d1f9d0a230c3d3832b6f0bbcdefc520c1e
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
Add support for 352800 sampling rates and 32 bps for the TDM.
Add support for PCM compress passthough mode with mixer controls.
CRs-fixed: 1116515
Change-Id: Iab059a5a6b6ce8f57717023467677a399a60032e
Signed-off-by: Josh Kirsch <jkirsch@codeaurora.org>
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
This module adds support for the Integrated WCN3990 WLAN
module, The ATH10k WCN3990 has integrated 802.11ac chipset
with SNOC bus interface.
The ATH10K is MAC80211 based driver, enable MAC80211 and
ATH10K core related kernel config flag for driver compilation.
CRs-Fixed: 2005603
Change-Id: Ie153688eabf29e8f33aee413750028147a94d9a2
Signed-off-by: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Following list of changes have been made
1. Add the missing clocks in multimedia clock controller driver.
Also clean up clock flags and parent info for few clocks.
2. Removing clocks which are not controlled by HLOS.
3. MMCC needs to vote for volatge level on rail for the clock
frequencies, so add voltage voting in MMCC.
4. Initial rate configuration for MMPLLs.
Change-Id: If3d84e52783651b611b624dbc60b18993c0f0b1a
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
Afe driver changes to query avtimer vs device drift.
Drift obtained can be used to pull the device pll so
that avtimer and device are in sync.
CRs-Fixed: 1112258
Change-Id: I4d4ddb0dbc06270553d583f266a44ddbe9412d1a
Signed-off-by: Manish Dewangan <manish@codeaurora.org>
io-pgtable-fast was implemented to achieve
better performance for IOMMU map/un-map. Add
DMA API support that goes through io-pgtable-fast
for 32 bit targets.
Change-Id:I3d0560a4331f6b7b87c70d0885df11d12cb1d6ec
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
Add initial version of SDM630 GPU properties.
This is needed to support Graphics driver functionality
on SDM630 target.
Change-Id: I0442ed8dbb728adae36db8631eeba83c6425ea82
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
Configure CPR4/h controllers to reset to default step_quot on each
loop_en = 0 transition. This enables the CPR controller to use the
default step_quot during a corner switch and then later switch to
the run-time calibrated step_quot. Without this feature enabled,
there is a chance for the CPR controller to use the run-time
calibrated step_quot of lower modes for higher modes that sometimes
can lead to closed-loop voltage getting stuck at open-loop voltage.
CRs-Fixed: 2003482
Change-Id: Ic738f6205a2e2030202abd811e94bd47240bad43
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
Add ufs and ufs-phy device nodes to support
ufs as storage device for SDM630 QRD platform.
CRs-Fixed: 2005015
Change-Id: If0c4edaba9285ba9a1c927e1e804427160947b11
Signed-off-by: xiaonian <xiaonian@codeaurora.org>
Split the joint LAN_WAN producer pipe to two
pipes, one for LAN and one for WAN.
Use event based completion for the WAN pipe
instead of status based to improve UL performance.
CRs-fixed: 1098422
Change-Id: I1776a5b9dc6265dc862a2eeb9419dce34efaad8b
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>