Commit graph

877,558 commits

Author SHA1 Message Date
Meng Wang
54792d2a02 ASoC: pcm: update arch_setup_dma_ops to of_dma_configure for hostless
arch_setup_dma_ops is not exported and when compiling ASoC framework
as modules, it would not found arch_setup_dma_ops. Change it to
of_dma_configure to resolve this issue.

Change-Id: I2a031373eff8a4abc212798825c9effd77bce9f7
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-02-09 20:21:33 -08:00
qctecmdr
c5d20367bc Merge "ion: msm: Add support for addition/removal of memory to ION heaps" 2020-02-09 14:36:35 -08:00
qctecmdr
d54f34fc01 Merge "input: qcom-hv-haptics: correct pattern source checking logic" 2020-02-09 09:08:49 -08:00
qctecmdr
495a16b463 Merge "leds: qti-flash: Fix updating flags when disabling flash/torch device" 2020-02-09 09:08:49 -08:00
Maya Erez
ae1b591161 wil6210: prevent ioctl access while in reset or suspend
Accessing some of the memory of the device while the device is
resetting or suspending may cause unexpected error as the HW is still
not in a stable state. Prevent this access to guarantee successful
read/write memory operations.

Change-Id: Idbf046e21726ec8d074161f75643f34137d6ec24
Signed-off-by: Ahmad Masri <amasri@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Lior David <liord@codeaurora.org>
2020-02-09 01:34:32 -08:00
Prakruthi Deepak Heragu
06c03f1e68 drivers: edac: Defer work for the polling EDAC driver
Use the defer work mechanism to poll for errors using a callback function.

Change-Id: Id599a9159098a8b13df386290b3e46939831a4ff
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2020-02-08 15:14:23 -08:00
Rohit Vaswani
b6541efc03 edac: Allow the option of creating a deferrable work for polling
EDAC provides a mechanism to poll for errors using a callback function
and uses a delayed timer to schedule it. Provide an option to create
a deferrable timer if the error checking is not worth waking up
the cpu from idle.

Change-Id: Ia25216323eabf7fa4b894897c950414006921f3f
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Signed-off-by: Venkata Narendra Kumar Gutta <vnkgutta@codeaurora.org>
2020-02-08 15:13:16 -08:00
qctecmdr
3fb337ee18 Merge "power: reset: use nvmem restart_reason" 2020-02-08 06:26:43 -08:00
qctecmdr
6b53de76bd Merge "linux: scm: Update the API for assign memory to subsys" 2020-02-08 06:26:43 -08:00
qctecmdr
40becc1936 Merge "soc: qcom: glink_pkt: Fix minor version in device creation" 2020-02-08 06:26:43 -08:00
qctecmdr
4adec99e93 Merge "wil6210: add ioctl interface" 2020-02-08 06:26:42 -08:00
qctecmdr
08b5802cf3 Merge "ion: msm: Add support for mapping VMIDs to ION flags" 2020-02-08 06:26:42 -08:00
qctecmdr
bac1da57bd Merge "HID: Trace events for external sensor driver" 2020-02-08 00:48:03 -08:00
qctecmdr
18fc76a46e Merge "Bluetooth: Remove unused regulator entries" 2020-02-08 00:48:03 -08:00
qctecmdr
088760b3a7 Merge "msm: cvp: Enable CVP power collapse and LLC" 2020-02-08 00:48:03 -08:00
qctecmdr
6ddbe715d4 Merge "soc: qcom: ipcc: Do not reset the device during probe" 2020-02-07 18:53:35 -08:00
qctecmdr
5e2f8c3236 Merge "devfreq: memlat: Add CPU Hotplug and Idle awareness in memlat" 2020-02-07 18:53:35 -08:00
qctecmdr
ed8e9ec37e Merge "include/linux: add HDCP QSEECOM header file" 2020-02-07 18:53:35 -08:00
qctecmdr
2648fff13a Merge "qseecom: add compat_qseecom to support 32bit process" 2020-02-07 18:53:34 -08:00
Sudheer Papothi
7f0577a8e0 ASoC: dt-bindings: update soundwire port configurations
Update soundwire port configurations.

Change-Id: I1a6007c88bdf84b0544fdd13fa55ddbfde77526f
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-02-07 18:48:02 -08:00
Fenglin Wu
63cf41928a defconfig: lahaina: Enable hv-haptics driver
Enable hv-haptics which registers the High Voltage Haptics module as an
input FF device to receive the input events for playing different
vibration effects.

Change-Id: Iccd58121cf6a0e5129ad4ca98ae36d9e4e760e9d
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2020-02-08 09:51:15 +08:00
Fenglin Wu
885fb73a42 input: qcom-hv-haptics: correct pattern source checking logic
The pattern source check before loading predefined effect is incorrect.
Correct it.

Change-Id: I8026f6ee24ce17dfe43bc514eeb526300af99746
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2020-02-08 09:50:08 +08:00
Meng Wang
5f563b2c24 defconfig: lahaina: enable FSA driver on Lahaina
Enable FSA driver on Lahaina to support analog type-c
headset.

Change-Id: I45574cec40f0bb082708d44ace8a9db1c358113c
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-02-08 08:50:14 +08:00
Isaac J. Manjarres
d8ff597794 ion: Add support for dynamic carveout heaps
The memory regions managed by carveout heaps are provisioned to
the heaps at boot, and once a memory region is bound to a heap,
the binding of heap to memory region is immutable. In some cases,
it might be desireable to assign the memory region for a carveout
heap on demand.

Thus, add support for dynamic carveout heaps. Dynamic carveout heaps
are initialized as empty heaps (i.e. they have no memory associated
with them) and must have memory added to them prior to use. Dynamic
heaps can also have memory removed from them, so add support for both
of these functionalities as well.

Change-Id: Icafe83c879e7f5a10a92dd1fcd97f1fda2b02c20
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-07 14:03:10 -08:00
Subramanian Ananthanarayanan
e5e857aef6 i3c: i3c-master-msm-geni: Propagate tip changes from 4.19
Changes are to propagate the tip changes of 4.19 to 5.4 kernel

'commit 137b5f5720ba ("i3c: i3c-master-qcom-geni: Support for
OD,PUSH-PULL mode frequency switch")'.
'commit a7d29dd6723b ("i3c: i3c-master-qcom-geni: Support for
static address zero")'.

Change-Id: I40ed219bc9b099e095595e8a0f777bc0d3ae6df6
Signed-off-by: Subramanian Ananthanarayanan <skananth@codeaurora.org>
2020-02-08 03:13:28 +05:30
Shyam Kumar Thella
d06911ff63 leds: qti-flash: Fix updating flags when disabling flash/torch device
Currently when brightness is zeroed-out for a flash/torch device its
"configured" flag is set to false. Hence the flash/torch device is
ignored when its switch is disabled. This leads to the corresponding
LED channel left enabled. Fix this by setting "configured" flag to
false only when led strobe is de-asserted.

Change-Id: I46c640d3e0db8611343e2e67321db820161dd144
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
2020-02-07 23:30:49 +05:30
Jack Pham
a96556c936 sound: usb: Add snapshot for usb audio qmi driver
This change adds snapshot of usb audio qmi service related files.
A remote entity communicates with usb audio qmi server to enable
or disable particular audio stream on enumerated usb audio device.
This offloads ISOC data transfer operations to remote entity and
allows apps processor to go to power collapse more frequently for
better power saving.

This snapshot was taken as of msm-4.19 commit 3ecc1a5c8726 ("sound:
usb: Don't bail out if qmi_send_indication fails"). In addition,
several updates were made for the current kernel to be compatible
with the GKI ABI, such as making direct calls to APIs exported by
the XHCI driver as well as other minor checkpatch fixes.

Change-Id: I0d3c1c129723e2327406a61ae7c756736df99872
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2020-02-07 00:33:20 -08:00
Isaac J. Manjarres
0585fb4452 ion: msm: Add support for addition/removal of memory to ION heaps
There is currently no interface for adding/removing memory to an
ION heap, so add one.

Change-Id: I68061feca3c29cd8f2370665f40f8005fb8765ff
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-06 22:54:49 -08:00
Isaac J. Manjarres
878cf94a7a ion: msm: Add support for querying the security state of heaps
ION clients may want to know about the security state of a heap
prior to allocating from it, so expose an interface for querying
the security state of a heap.

Change-Id: Ibf832792ffbc81b5b96b8ddbc507db5418a47928
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-06 22:54:49 -08:00
Isaac J. Manjarres
f1efdc30c2 ion: msm: Add support for mapping VMIDs to ION flags
Add support for mapping VMID values to their corresponding
ION flags.

Change-Id: I827c4e7c4a1761fcc6c6b08f2855f490243d8ea5
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-06 22:54:48 -08:00
qctecmdr
0cfe100396 Merge "arm64: defconfig: Enable USB Mass Storage drivers on Lahaina" 2020-02-06 18:37:45 -08:00
qctecmdr
5ecbe390cb Merge "drivers: cpuidle: lpm-levels: Move local_irq_enable" 2020-02-06 18:37:45 -08:00
qctecmdr
668565e9c7 Merge "soc: qcom: rpmh: Correct rpm_msg pointer offset and add list_del" 2020-02-06 18:37:44 -08:00
qctecmdr
392966878a Merge "coresight: csr: read MSR start address and size from dt" 2020-02-06 18:37:44 -08:00
qctecmdr
912bc8da6c Merge "extcon: usb-gpio: Add support for optional VBUS output enable GPIO" 2020-02-06 18:37:43 -08:00
Mahesh kumar Sharma
a2826133ef Bluetooth: Remove unused regulator entries
Remove unused regulator entries from vreg table.

Change-Id: I6373d0ce67f770a77fdec4bea85a62b98a1f9edb
Signed-off-by: Mahesh kumar sharma <smahesh@codeaurora.org>
2020-02-06 17:31:02 -08:00
George Shen
f24033302b msm: cvp: Relocate Synx init/uninit calls
Move synx init/uninit calls to session creation and
deletion functions to avoid racing between synx release and
uninit.

Change-Id: I57d0a3e621f1fe7bacd811c03f89d754b4255b8e
Signed-off-by: George Shen <sqiao@codeaurora.org>
2020-02-06 16:23:01 -08:00
Zhen Kong
ee11cdb777 qseecom: add compat_qseecom to support 32bit process
add compat_qseecom to support 32bit process to call ioctl on a
64-bit system.

Change-Id: I7e9b1c3d0cc34e3794265aa21db69e346f40833c
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2020-02-06 15:46:55 -08:00
Prakruthi Deepak Heragu
19910d905d drivers: llcc: edac: Add a config flag for non GKI variants
Add defer work feature in edac driver for non GKI variants.

Change-Id: Ie05ada1efe94f9ecb3bc5518790aeb5e741cf1e1
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2020-02-06 15:33:48 -08:00
George Shen
0040f4d045 msm: cvp: Enable CVP power collapse and LLC
Dependencies are available in build. Time to enable remaining
CVP features.

Change-Id: If34945f5d7ec1ad51d9b22c4c6cda37f65de84f1
Signed-off-by: George Shen <sqiao@codeaurora.org>
2020-02-06 14:37:52 -08:00
Prasad Sodagudi
976d884954 defconfig: arm64: Enable wakelock feature for lahaina
Enable wakelock feature to allow user space to create,
activate and deactivate wakeup source.

Change-Id: Iead1601322bedb5498bea047d1203a6f90c8023a
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2020-02-06 14:27:06 -08:00
Venkata Narendra Kumar Gutta
4d18b20d0b defconfig: Enable ARCH_QTI_VM config
This enables the compilation of required modules that are needed
for QTI's virtual machines.

Change-Id: Ie1ac8696d0af76f4de38d2e7803e43292775c8b1
Signed-off-by: Venkata Narendra Kumar Gutta <vnkgutta@codeaurora.org>
2020-02-06 14:02:37 -08:00
Venkata Narendra Kumar Gutta
9e16cb257e arm64: Kconfig: Add config option for QTI's virtual machine
Add option "CONFIG_ARCH_QTI_VM" to enable the compilation of
required modules of QTI's virtual machine.

Change-Id: I52ec096500aaa14e75661e6cb3012f0759c76776
Signed-off-by: Venkata Narendra Kumar Gutta <vnkgutta@codeaurora.org>
2020-02-06 14:01:53 -08:00
Raghavendra Rao Ananta
04a30d517b soc: qcom: ipcc: Do not reset the device during probe
There are potential scenarios where the IPCC interrupts would have
been raised (and pending) during the bootloader stage. As a result,
the driver shouldn't be performing a reset as it would clear all the
pending interrupts. Hence, do not perform an explicit reset in the
driver's probe.

Change-Id: I1d45b20d539524900516532d968172d6b2c10b27
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-02-06 13:19:39 -08:00
Elliot Berman
1030d4e111 power: reset: use nvmem restart_reason
Lahaina uses SDAM to store restart reason instead of PMIC PON register.
This change uses nvmem consumer framework to store restart reason.

Change-Id: Ib5d4406b7204b0c24992bd026f0f1a71f8b1e6fe
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-02-06 12:17:57 -08:00
Maria Yu
b6e5c7c0f5 sched/fair: bonus vruntime for task boost 3
When task boost with special value 3 also have vruntime
bonus to run faster.

Change-Id: I7da2dd985a961671b27036a0d5b13cb79480c933
Signed-off-by: Maria Yu <aiquny@codeaurora.org>
[satyap@codeaurora.org: fix compilation issues with User Mode Linux]
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2020-02-06 12:16:53 -08:00
Manikandan Mohan
17e671c821 defconfig: Split CNSS configs to GKI and debug
Place CNSS base and debug Kconfigs in corresponding GKI
fragment config file.

Change-Id: I3e20fde45dace4ee40e7ff7f671873aa25754eb9
Signed-off-by: Manikandan Mohan <manikand@codeaurora.org>
2020-02-06 11:28:59 -08:00
Rama Aparna Mallavarapu
791a09d445 devfreq: memlat: Add CPU Hotplug and Idle awareness in memlat
Register with CPU Hotplug and Idle notifiers so that memlat
gets notified when CPU is being hotplugged in/out or when CPU
enters Idle state. The perf events should be recreated when the
cpu is brought back online. Also do not update the counts when
the cpu is hotplugged out or when it enters Idle state.

Change-Id: I35a05be0a43a4519282d5787e6c87d92e5bec1de
Signed-off-by: Rama Aparna Mallavarapu <aparnam@codeaurora.org>
2020-02-06 10:39:22 -08:00
Fei Mao
12e6f4f42e input: touchscreen: Enable new Focaltech touch driver
Enable this new Focaltech touch driver for Lahaina device.

Change-Id: I34b9b19bbf98ffd2b0a88ebeedf033463b5e4824
Signed-off-by: Fei Mao <feim1@codeaurora.org>
2020-02-06 18:14:52 +08:00
qctecmdr
cc72a30d25 Merge "eud: Set pdev->id value to 0 and add set_mctrl() API" 2020-02-06 01:26:17 -08:00