Commit graph

877,410 commits

Author SHA1 Message Date
Subbaraman Narayanamurthy
29ec019e35 power: supply: qti_battery_charger: Handle generic notification
Charger firmware sends some battery related events with a generic
notification opcode. Handle such notifications as well to send
events up to the userspace.

Change-Id: Ia35fb7dbe56183d3c7c7a66b5f387b94072e6ed0
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2020-02-12 18:53:14 -08:00
Subbaraman Narayanamurthy
f8b9116ee0 soc: qcom: qti_battery_debug: Update QBG device context dump length
QBG device context dump length has been increased to 598 words in
the charger firmware. Increase the length to support upto 4KB.

Change-Id: I4a0a28044a54cdbde146101384f5a1ccf73b1562
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2020-02-12 18:52:36 -08:00
Subbaraman Narayanamurthy
f0d6115e00 leds: qti-flash: Update interrupt names
Update interrupt names to have "flash" prefix so that all the
interrupts for flash LED can be monitored easily.

Change-Id: Ib7c17ea48110461823702c8d11b7554ddebbbb26
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2020-02-11 18:09:53 -08:00
qctecmdr
41c8b9e2f3 Merge "defconfig: arm64: Add SELinux configs" 2020-02-11 06:56:31 -08:00
qctecmdr
26692f6684 Merge "i3c: i3c-master-msm-geni: Propagate tip changes from 4.19" 2020-02-11 06:56:31 -08:00
qctecmdr
075947b759 Merge "ASoC: dt-bindings: update soundwire port configurations" 2020-02-11 06:56:31 -08:00
qctecmdr
ab33cc9923 Merge "soc: qcom: spcom: propagate print macro parameters to pr_*()" 2020-02-11 06:56:30 -08:00
qctecmdr
b1a5fe988e Merge "clk: qcom: gdsc-regulator: Add support for proxy consumers" 2020-02-11 06:56:30 -08:00
qctecmdr
18456641d5 Merge "dwc3-msm: Add USB role switch handling" 2020-02-11 06:56:29 -08:00
qctecmdr
4c77e0c054 Merge "defconfig: lahaina: Enable hv-haptics driver" 2020-02-10 21:10:31 -08:00
qctecmdr
c80a3f6ef0 Merge "drivers: edac: Defer work for the polling EDAC driver" 2020-02-10 21:10:29 -08:00
qctecmdr
7392fc6449 Merge "defconfig: Split CNSS configs to GKI and debug" 2020-02-10 21:10:29 -08:00
qctecmdr
a4d164558e Merge "defconfig: lahaina: enable FSA driver on Lahaina" 2020-02-10 21:10:29 -08:00
qctecmdr
7b05f44006 Merge "input: touchscreen: Enable new Focaltech touch driver" 2020-02-10 21:10:28 -08:00
qctecmdr
996874f161 Merge "ASoC: pcm: update arch_setup_dma_ops to of_dma_configure for hostless" 2020-02-10 21:10:27 -08:00
Dennis Cagle
30dcc390c9 defconfig: arm64: Add SELinux configs
Add SELinux related kernel defconfig options.

Change-Id: Id08aec868995b0f3bfe1eab19a03f3b809e6967c
Signed-off-by: Dennis Cagle <dcagle@codeaurora.org>
2020-02-10 16:27:13 -08:00
qctecmdr
3bdb50e53a Merge "arm64: defconfig: Enable haven doorbell driver" 2020-02-10 07:51:49 -08:00
qctecmdr
81c4256b2e Merge "scsi: ufs: Fix phy init sequence" 2020-02-09 21:05:45 -08:00
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
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
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