Commit Graph
26 Commits
Author SHA1 Message Date
Srihari Sathyanarayana dbdc900d3c Documentation:ledtrig-sol:Add led trig support
Added documentation for led trigger support with sol tri led
wrt battery status.
This will add trigger driver on top of QTI Tri-led driver

Change-Id: I050a9f42f9b2b3af156d8c86cca28a0151385b74

Signed-off-by: Srihari Sathyanarayana <sriharis@motorola.com>
Change-Id: I050a9f42f9b2b3af156d8c86cca28a0151385b74
Reviewed-on: https://gerrit.mot.com/2523300
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Perry White <awhite6@motorola.com>
Reviewed-by: Vijayakumar Gn <vijaygn@motorola.com>
Reviewed-by: Mahesh Med(CR) <maheshmk@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2023-03-14 01:00:07 -05:00
Konstantin Makariev dc8383a32c drv8424_mmi: relative positions, gpio init and reset
Fix for relative positions location. Peek position is farther
from Extended than Compact. Init state can be defined in device
tree to properly initialize GPIOs. Sensors data check became
optionally configurable via device tree property.

Change-Id: I7e31801d86e782e1ac7f5bdd3df0ef6cde7b6b0a
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2271623
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Sridhar Vashist <svashist@motorola.com>
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2022-05-24 15:15:51 -05:00
Yan Zhang 92e5e859ae dlkm: add goodix fod driver
cherry-pick from (CR)
Goodix FOD driver is used for Goodix G5-GW9608
Fingerprint Over Display (FOD) sensor.

Change-Id: I31a45ec4239d63bcc520013e63ba7da1c900fb85
Signed-off-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-on: https://gerrit.mot.com/1402926
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2019-09-26 22:46:49 -05:00
Eric Jeong 017ea66e94 regulator: slg51000: add slg51000 regulator driver
Adding regulator driver for the device Dialog SLG51000.

The SLG51000 device contains seven compact and customizable low
dropout regulators and is designed for high performance camera modules
and other small multi-rail applications.

Change-Id: I871afe5c6b2f9e32e73696519983db33b04feeb6
Signed-off-by: Eric Jeong <eric.jeong.opensource@diasemi.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Ravi Vembu <raviv@motorola.com>

Mot-CRs-Fixed: (CR)
Change-Id: I871afe5c6b2f9e32e73696519983db33b04feeb6
Reviewed-on: https://gerrit.mot.com/1412454
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
2019-09-25 18:39:43 -05:00
huangys 5fe048dccc ASoC: move cirrus playback driver to QC audio-kernel
This driver is hard to share on all QC platform. But this project
is hoped to common for as most as product. Move it to QC audio kernel.
It's seperated on different QC platform.

Change-Id: I37202e87bf6174be7aa015ae9566d34739ed7d87
Signed-off-by: huangys <huangys@motorola.com>
Reviewed-on: https://gerrit.mot.com/1370172
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2019-06-14 03:27:39 -05:00
huangys 1e7204e942 audio: remove Cirrus code to vendor/cirrus/audio/dlkm
Cirrus has their own code release branch. and these branches are
not compatible each other. audio team can't branch off motorola
kernel modules

Note: cs4012 and msm-cirrus-playback had not beeen moved away.

Change-Id: Ib14bf3c5a5cfaa9c363a59c4ba0f871e11e9c92a
Signed-off-by: huangys <huangys@motorola.com>
Reviewed-on: https://gerrit.mot.com/1350673
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2019-05-20 21:39:12 -05:00
Kaio Karam Galvao 3ce14a4680 Apply mot changes
Mot changes ported from 8998 Android O:
(CR): 8998: ToF sensor VL53L1 bring up
(CR): change netlink protocol ID
(CR): moto change for TOF_INT
(CR): update pinctl and regulator for power
(CR): 8998: To make laser sensor work on Nash DVT1B
(CR): moto changes on 7.2.1
(CR): implement sar function
(CR): turn off l22 when sensor is off
(CR): Apply moto changes based on new ST driver 8.0.0_b4.1.0_1268
(CR): adjust xtalk value per ST's request
(CR): fix laser autonomous mode issue
KSWN-43010: fix black target at 0mm range issue
(CR): [CTS] Nash ATT: 4 failures on Module CtsSensorTestCases
(CR): unlock ipp_mutex in ipp_in_process to avoid deadlock.
(CR): Set timing budget for SAR mode
(CR): Add default calibration

Change-Id: Ieebb105bf64706d3ef6df9141a0ba8d1989290ac
Reviewed-on: https://gerrit.mot.com/1233052
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Sumit Jamadar <xkbr38@motorola.com>
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
2018-08-28 16:04:56 -05:00
Yoon (Seungyoon) Lee ba4251d211 modules: cspl: implement multiple sets of tuning tables loading
read product specific usecase index from kernel dt and use those to
communicate with SE module in QDSP/LPASS. AudioHAL will use these indexes
to load external configuration files to corresponding usecases in QDSP.

Change-Id: Ic2e6473f2ec1437aa674a579cd12e3ca96aca480
Signed-off-by: Yoon (Seungyoon) Lee <w22905@motorola.com>
Reviewed-on: https://gerrit.mot.com/1228726
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
2018-08-17 19:36:49 -05:00
Yoon (Seungyoon) Lee f20a95ede9 modules: cirrus_playback: add Speaker Enhancement
add Cirrus Speaker Enhanement driver as DLKM.

Change-Id: Ibad2b4d5f6cac12ce8d6660cb41928ef8562fe10
Signed-off-by: Yoon (Seungyoon) Lee <w22905@motorola.com>
Reviewed-on: https://gerrit.mot.com/1215912
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
2018-08-03 08:26:37 -05:00
huangys de2eeab0f0 extcon-madera: delay to enable mic bias
there is obvious noise can be heared when heaset plug in.
if we enable micbias when the headset has not been inserted
totally. the noise can be transfered to HPHL/HPHR

Propagated from: (CR)

Change-Id: I9afc1cb0c7a5bad1381ac448774131d4b56a645c
Signed-off-by: huangys <huangys@motorola.com>
Reviewed-on: https://gerrit.mot.com/1216722
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2018-07-27 05:37:58 -05:00
Yoon (Seungyoon) Lee 7164464455 modules: ospl: remove OSPL from DLKM
There is no plan of record to use OSPL on any DLKM kernel.
This reverts commit 42547f66e2c68a6479623dd1f55c82b9d9785b41.
This reverts commit c442ee33c2d29133994516500acdd4f64ed74118.

squash Revert "(CR): ospl: fix build error of header files absence"
squash Revert "(CR): propagate ospl module from bomr1-8998 kernel branch"

Change-Id: Ie20ca57c5583efb95a5332be5a0204b22c1e4ec8
Signed-off-by: Yoon (Seungyoon) Lee <w22905@motorola.com>
Reviewed-on: https://gerrit.mot.com/1203864
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wanlong Zhou <zhouwl@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2018-07-25 10:18:26 -05:00
Karpovich@cirrus.com 4d34365898 extcon: madera: Add support for 2 gpio mic bias switch.
This is port from switch-madera driver.

Change-Id: I491a03a9cebfca1ff8ee9f71d6c9a3000e21d5a8
Signed-off-by: Vlad Karpovich <Vlad.Karpovich@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>

Mot-CRs-Fixed: (CR)
Change-Id: I491a03a9cebfca1ff8ee9f71d6c9a3000e21d5a8
Reviewed-on: https://gerrit.mot.com/1209118
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-07-12 17:27:48 -05:00
cuijy2 5f7eeb4fb6 add capsense sx933x dlkm driver
Change-Id: Ice3448a9920048a3bf43274d36153eed4e3da20a
Signed-off-by: cuijy2 <cuijy1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1206782
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2018-07-10 20:56:03 -05:00
Wen Xie 3d4a09ba8b ASoC: Tas2560: Add codec algo.
Add audio codecs Tas2560 algo driver.

Change-Id: Ib2aa0b0594fd551345b5bccde192ba9e7be9c062
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1203896
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Reviewed-by: Zhengming Yao <yaozm1@lenovo.com>
Submit-Approved: Jira Key
2018-07-04 21:18:24 -05:00
Jeff LaBundy 2b00d444a3 Documentation: cs40l2x: Add GPIO1 enable/disable support
Added device tree binding documentation for GPIO1 mode device tree
entry.

Change-Id: I42378692ff2ed6cbe62d0f9eba161615196a2a21
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-Fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1202245
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-07-02 11:22:18 -05:00
haojl2 25fb12224c input: ets_fps_mmi: Inital egis fps driver
Poring Egis fps driver.

Change-Id: I6313631950869d7d44dc155538034ba4a85f323f
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1181700
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-06-20 04:58:18 -05:00
Jeff LaBundy bf29268493 Documentation: cs40l2x: Add GPIO1 device tree entries
Added device tree binding documentation for GPIO1 rising-edge
wavetable index, falling-edge wavetable index and falling-edge
timeout device tree entries.

Change-Id: I0b527eda2969428aadc0a8bd11131f46387cc3d6
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
2018-06-06 14:15:36 -05:00
Jeff LaBundy ecbe7bb187 Documentation: cs40l2x: Add f0/ReDC device tree entries
Added device tree binding documentation for default, minimum and
maximum f0 and ReDC device tree entries.

Change-Id: I7f3d7170e51e81bf4900c4065500a78fbae55878
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
2018-06-06 14:15:36 -05:00
Jeff LaBundy 1fa2701dba Documentation: cs40l2x: Extend support for CS40L2X family
Added device tree binding documentation for CS40L25, CS40L25A and
CS40L25B devices.

Change-Id: I4b809d34aad193915f25044ade404db83d6aa3ad
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
2018-06-06 14:15:35 -05:00
Vlad Karpovich 8ae1c8cd2b ASoC: cs35l41: Change from MFD to codec driver.
Remove MFD driver support from cs35l41 codec.

Change-Id: Iffcb54eac647a4aa7e47b37ffda8ded1e06af8cf
Signed-off-by: Vlad Karpovich <Vlad.Karpovich@cirrus.com>
Mot-CRs-fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1177445
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
2018-05-22 12:57:13 -05:00
Vlad Karpovich 1a6e7dd73c ASoC: cs35l41: Cirrus cs35l41 amplifier driver
11-V Boosted mono class D amplifuer with DSP speaker
protection and equalization

Change-Id: Ic8e2fe2a5a024e6b19fd97db9ece814a8764523c
Reviewed-on: https://gerrit.mot.com/1166691
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yuesheng Huang <huangys@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2018-05-15 04:16:52 -05:00
haojl2 0437d00289 input: synaptics_tcm_mmi: Port Synaptics TCM driver.
This patch port synaptics_tcm_v1.0 origin code.
First line of release_notes.txt is:
v1.0 Mar 09, 2018 scott.lin@tw.synaptics.com

Change-Id: I0f83d23bce4375c609d09ef1f413627fce5f60b7
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1171049
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2018-05-08 02:37:18 -05:00
huangys eb96306f27 propagate ospl module from bomr1-8998 kernel branch
copy base from bomr1-8998: f2668732ab262c40c81286418aec9e8122aa690f

Change-Id: I25b4097dee29afce11121ef1211c7460c3980c1e
Signed-off-by: huangys <huangys@motorola.com>
Reviewed-on: https://gerrit.mot.com/1166270
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2018-04-24 05:02:20 -05:00
huangys 08e4828a96 update cs35l35 driver from Payton
the old came from github site of cirrus driver v4.9-cs35l35 branch

Change-Id: I182e2bb0d1e041c72307c6b9541a7b2755e64ad2
Signed-off-by: huangys <huangys@motorola.com>
Reviewed-on: https://gerrit.mot.com/1160165
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2018-04-09 01:20:41 -05:00
huangys 4296ab05d2 ASoC: add cs35l35 driver
Change-Id: I3675d255f6c472ff0d781981b9184a265d389596
Signed-off-by: huangys <huangys@motorola.com>
Reviewed-on: https://gerrit.mot.com/1159946
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2018-04-08 01:04:50 -05:00
Vlad Karpovich 8d6c6a5296 ASoC: madera: Add Cirrus Logic audio drivers
The following drivers are included and modyfied to be run
as DLKM:
Core madera drivers,
extcon driver,
CS47L35 and CS47L90 codec drivers,
CS35l36 AMP driver,
CS40L20 haptic driver.

Change-Id: I7a285d434244e08635a2cfdcd3f21f45c3d8c0f6
Signed-off-by: Vlad Karpovich <Vlad.Karpovich@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1131231
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
2018-02-07 16:23:31 -06:00