Commit graph

103 commits

Author SHA1 Message Date
Jeff LaBundy
d0ffbf6bb1 misc: cs40l2x: Update DSP load procedure
Separated DSP initialization into its own function and qualified the
silicon revision to determine the appropriate firmware file and boot
sequence.

Change-Id: Ic2d50e8604d390877cf431811963d95be72d1ba6
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
Jeff LaBundy
0518b5bf94 misc: cs40l2x: Regmap updates for extended device family
* Changed regmap cache type to REGCACHE_NONE to disable caching of
  chip-level registers outside the DSP.
* Removed cs40l2x_reg array and cs40l2x_volatile_reg callback.
* Added macros for register addresses introduced with B0 silicon.
* Removed unused register mask/shift macros.

Change-Id: I3e47e265d413a7c22b59abb761ef066074f928d2
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
Jeff LaBundy
a09b0ec803 misc: cs40l2x: Update part number resolution
* Updated the qualification of the device ID to include part numbers
  programmed by the OTP controller (e.g. revisions B0 and B1).
* Conditionalized OTP memory unpack and application of errata based
  on silicon revision.

Change-Id: I7c8c6f194c6f300e632b3382dca5f54eed6f6603
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
Jeff LaBundy
a0cad12b61 misc: cs40l2x: Extend support for CS40L2X family of devices
* Renamed all files and namespaces from cs40l20 to cs40l2x.
* Added platform driver entries for CS40L25, CS40L25A and CS40L25B.
* Updated copyright year to 2018.

Change-Id: I2b2266a9870e713d454bee3cfc3e01e5e53bc191
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
Jeff LaBundy
b7be84d308 misc: cs40l20: Add errata support for revision A0
* Added a check for the expected revision of silicon.
* Added support for revision A0 errata.

Change-Id: Id647367a23d1856ee3c61c0b2e83d4ed71584f09
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
Jeff LaBundy
f1d99233ee misc: cs40l20: Add click compensation enable control
Exposed the firmware's click compensation enable control as a sysfs
control.

Change-Id: I9cbc4454c52277eee486dff80c19de481d3668a0
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
Jeff LaBundy
26f267a2f3 misc: cs40l20: Update wavetable validation scheme
* Corrected the calculation of algorithm revision
* Limited the comparison of algorithm revisions to the MAJOR field

Change-Id: I903802f98c472109aa5d62915ab611b1ff869c80
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
Jeff LaBundy
081966893d misc: cs40l20: Remove superfluous printing
* Replaced printing of wavetable entry count with the num_waves sysfs
  control.
* Removed printing of custom/default wavetable notification as existing
  request_firmware_nowait already prints in the case of failure.

Change-Id: Id86ad20d12bb23b029338c0b847ecdeb80248cfa
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
Jeff LaBundy
405a002d3e misc: cs40l20: Show firmware information
Exposed the firmware's heartbeat register as a read-only sysfs control
and printed the firmware revision number at startup.

Change-Id: Iaf844e72b2f2618a7c67156432c63e2375c388ab
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
Jeff LaBundy
a67e3232cb misc: cs40l20: Validate wavetable version and size
* Added a means to reject user-provided wavetables that do not match the
  algorithm ID and revision advertised by the firmware.
* Added a means to calculate the maximum allowable wavetable size for a
  given revision of firmware, and then reject user-provided wavetables
  that exceed the calculated limit.

Change-Id: Ib1d04bdc5f8d6c2150cd1d313a3f61178adeffe6
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
Jeff LaBundy
81adc68352 misc: cs40l20: Add support for stored ReDC
Added the redc_stored sysfs control to expose access to the firmware's
stored ReDC input parameter.

Change-Id: Ifb6ca330f9b1a546c024d9e066dbb4da5fafe4c6
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
Jeff LaBundy
afdf7df102 misc: cs40l20: Regmap updates
Corrected various register default values, updated the list of registers
marked as volatile and removed some inapplicable register macros.

Change-Id: I51ca890aaa98001e85728a113670a391911b00a1
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
2018-06-06 14:15:34 -05:00
Jeff LaBundy
38fb393fa4 misc: cs40l20: Add digital scale control
Exposed a means to apply attenuation to the device's digital signal
path with the dig_scale control.

Change-Id: I66cd3bc425e770faf8b2ee0fd89ffbb20a394d5c
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
2018-06-06 14:15:34 -05:00
Jeff LaBundy
cb96274331 misc: cs40l20: Mark OTP memory registers as precious
Added precious_reg regmap callback to prevent the device's OTP memory
from being read outside of the driver's control.

Change-Id: I1dbd76a1d918187d8e2d9757b26785aad5484dba
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
2018-06-06 14:15:34 -05:00
Jeff LaBundy
8783a8fadc misc: cs40l20: Add OTP unpack support
Updated the initialization sequence to apply trim data stored in
OTP memory.

Change-Id: I4854fe8ee394d04522c7db540b68b270a674901b
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
2018-06-06 14:15:34 -05:00
Jeff LaBundy
4fc2938a7b misc: cs40l20: Accommodate firmware load time
* Added a timeout loop to allow the firmware sufficient time to load
  after the DSP is enabled.
* Increased the minimum supported firmware revision to 0x000205.

Change-Id: I7403060a7ea11a19efb9debdd4c3aac694662b6e
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
2018-06-06 14:15:34 -05:00
Jeff LaBundy
0c7591e6b9 misc: cs40l20: Handle diagnostics interruption
* Preserved device state correctly if new work is scheduled before
  diagnostics is cancelled.
* Removed hard coding of diagnostics trigger index.
* Updated minimum supported firmware revision to 0x000202.

Change-Id: I5b667cf32a588e329eb03face69ad8e7e0a13e71
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
2018-06-06 14:15:34 -05:00
Jeff LaBundy
7b0b39679a misc: cs40l20: Update diagnostics sequences
* Rearranged entry into and exit from closed-loop mode
* Checked for mutex lock in f0/ReDC capture function
* Moved mutex init and destroy to probe and remove, respectively

Change-Id: I38d83e9eb3881f833bf000ce760f4a8fda7fa17f
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
2018-06-06 14:15:34 -05:00
Jeff LaBundy
c259c6853e misc: cs40l20: Add diagnostics support
Added support for diagnostics stimulus generation as well as f0
and ReDC reporting.

Change-Id: I0a496501cc229026897865cca2333ba0a70f8bf0
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
2018-06-06 14:15:34 -05:00
Jeff LaBundy
e637d16c8e misc: cs40l20: Add support for Y memory
Added support for large wavetables that straddle both X memory (XM) and
Y memory (YM).

Change-Id: If946713744228a1010ff12715548c74a76fa3a85
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
2018-06-06 14:15:34 -05:00
Jeff LaBundy
4993ca75e1 misc: cs40l20: Add extended-length playback support
Allowed for the MSB of the cp_trigger_index sysfs control to indicate
that playback should be rendered until forcibly stopped.

Change-Id: Ic9c0111a7b4110d482174bfd475697bb2ac2c17a
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
2018-06-06 14:15:34 -05:00
Jeff LaBundy
c699185902 misc: cs40l20: sysfs control enhancements
* Added missing mutex lock/unlock around regmap access.
* Changed waveform index store functions to use an unsigned int.
* Added measured-f0 show function and stored-f0 show/store functions.

Change-Id: I00eb137ee65bb863d3208b0a1ab3b5e3f7464fbe
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
2018-06-06 14:15:34 -05:00
Jeff LaBundy
b7d20f1700 misc: cs40l20: Fix loop counter sign
Converted loop counters used in for statements from unsigned int to
int as per style guidelines.

Change-Id: I102f9bfc955c8b00adae381854104c04fc7484fa
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
2018-06-06 14:15:34 -05:00
Jeff LaBundy
d16628f7b8 misc: cs40l20: Add support for variable register addresses
Replaced references to algorithm control register addresses (which vary
with each firmware build) with their corresponding human-readable
control names (which are fixed).

Change-Id: If373845874353d121470c9071342bb03fa9667ec
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
2018-06-06 14:15:34 -05:00
chenlj2
74933c3916 motorola: dlkm: Add Sarsensor sx932x
-Add the Semtech Sx932x DLKM.

Change-Id: Iccf677e1f125de953bde75fd86ae3c3f62de8896
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1187156
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2018-06-06 04:48:25 -05:00
haojl2
12dd3b9089 synaptics_tcm: Remove TCM driver when probe failed.
Remove TCM driver when probe failed. In case unused worker block
others processes.

Change-Id: Ia04006d998c5ca330cba7b7bd80aa307fc7d15c6
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1185594
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Shanshan Dai <daiss1@lenovo.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-06-05 02:56:52 -05:00
huangys
8c267475d3 madera: remove some code on runtime resume
It's a workaround solution, these removed codes cause
spi communition error and need to be reviewed by cirrus..

Change-Id: I6632023de8c874bfabecf81ffef27c368e4a18f9
Signed-off-by: huangys <huangys@motorola.com>
Reviewed-on: https://gerrit.mot.com/1182137
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2018-05-30 03:03:03 -05:00
haojl2
7d5226f649 synaptics_tcm: Set FB counter to 1.
For river, only 1 FB notification got when boot up.
Set this counter to 1 to enable auto FW update.

Change-Id: I87cc21d481f8790e6b273741cf3236ad5f2c25d9
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1181635
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-05-28 20:03:34 -05:00
haojl2
cf19ec2814 synaptics_tcm: Add init FW to River.
This Patch should be revert.
Add this init Fw only for Factory SW.

Change-Id: Ied7ee9b5e7d716e48a768bfcff743d7dc7c0f690
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1181634
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-05-28 20:03:23 -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
Lucas Tanure
6448cc8e4d ASoC: wm_adsp: Make ao_dsp a member of struct wm_adsp
To avoid changing the existing API

Change-Id: I926118983af26ed706c246cf04e13d60b1908277
Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Mot-CRs-fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1177444
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
2018-05-22 12:57:07 -05:00
Charles Keepax
ee2bf724f7 ASoC: wm_adsp: Switch to listing firmwares per core
Change-Id: I3ce2687dec8159012dcacc38b5867fdcc9a24679
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mot-CRs-fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1177443
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
2018-05-22 12:57:01 -05:00
Charles Keepax
4508482dba ASoC: wm_adsp: Move firmware enums and controls to be DSP local
In situations were multiple devices are using ADSP cores in
the system it is not safe to modify the global list of controls
in the case of custom firmwares. Fix this by creating local
copies of the firmware enumeration and control data structures.

Change-Id: I9acc29397e49ea902819e19ad7e238ffa984136d
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Mot-CRs-fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1177442
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
2018-05-22 12:56:56 -05:00
Vlad Karpovich
159458d35b ASoC: wm_adsp: split coeff control read into smaller chunks
If the control contains any large regions and memory is
heavily fragmented the allocation of a single buffer for
the region data can fail. Avoid this by splitting the
data into page-sized chunks.

Change-Id: I10cc9312a80bf863e00b6ba63dc737212d756339
Signed-off-by: vkarp <Vlad.Karpovich@cirrus.com>
Mot-CRs-fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1177441
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:56:52 -05:00
Richard Fitzgerald
ea4e2b8f67 ASoC: wm_adsp: split binfile load into smaller chunks
If the binfile contains any large regions and memory is
heavily fragmented the allocation of a single buffer for
the region data can fail. Avoid this by splitting the
data into page-sized chunks.

Change-Id: I45c62ae04409bbcfbc5280f89ef0da5e68dc1bf4
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Mot-CRs-fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1177440
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:56:46 -05:00
Richard Fitzgerald
366b99b81c ASoC: wm_adsp: factor out writing wmfw block data
Move the loop which buffers and writes wmfw data out
into a separate function so that it can be re-used for
other purposes.

SQA-952

Change-Id: I19b5666d974bd5db5b08b2081a61d39da0af0e83
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Mot-CRs-fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1177439
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:56:39 -05:00
Vlad Karpovich
1664a31151 ASoC: cs35l36: Update to womack driver
Merge recent changes from Moto kernel 4.4 branch

Change-Id: I40a8374bfd11717642265147696b8796700ca7ee
Signed-off-by: Vlad Karpovich <Vlad.Karpovich@cirrus.com>
Mot-CRs-fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1177438
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:56:34 -05:00
Vlad Karpovich
23e33a0c4d ASoC: wm_adsp: Update Cirrus ADSP driver
Add support for HALO DSP Core.

Change-Id: Iae25b559d2277bd40241f85d265d1fc2ac9280a6
Reviewed-on: https://gerrit.mot.com/1166692
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:17:01 -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
Vlad Karpovich
0253d73bba ASoC: cs47lxx: Update audio codecs
Make codec drivers work with new wm_adsp driver.

Change-Id: I800999dd518301c026096c32cbfbf444f6b0a155
Reviewed-on: https://gerrit.mot.com/1166690
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:43 -05:00
Ryan Lattrel
7c9c5ae6ce modules: create watchdog_cpu_ctx modules
Port watchdog_cpu_ctx functions to SDM845 and also
make it a loadable module.

Change-Id: I35f53a75b4e58ae0a59fe14491e9c70bc69a19a0
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1144236
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Ling Jin <lingjin@motorola.com>
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
2018-05-09 13:52:57 -05:00
haojl2
fc1e19450c input: synaptics_tcm_mmi: Fix some warning
Fix some warning when build synaptics_tcm code.

Change-Id: I9876078e22ded85a0b46f15b66ef51d4d24098f1
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1171050
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:36 -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
haojl2
1b0013ece1 misc: Port TPS61280 regulator driver
Port TPS61280 regulator driver in DLKM.

Change-Id: I5cf990e9811204dc1d8356718fb694adff687370
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1171100
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-05-04 02:18:27 -05:00
Ryan Lattrel
6cf41b0c79 modules: create usbnet gadget module
Port the usbnet motorola gadget driver for
factory to a loadable module.

Change-Id: I6713b97d6e6c2e2dfb90b703a7a17694d44bdccb
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1147494
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
2018-04-25 13:26:02 -05:00
huangys
d648dbbb5f ospl: fix build error of header files absence
pippen and ali-shm2018 audo kernel directory is not same,
include differenct header file directory according directory
exist or not

Change-Id: I721fe66e659945caa3cae39d579c6f3a754dc0f7
Signed-off-by: huangys <huangys@motorola.com>
Reviewed-on: https://gerrit.mot.com/1167714
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-25 01:05:56 -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
4c11484538 report headphone plug as input event
Change-Id: I294e2646d7cf81bef6be9e2c96bb7bd74f62350d
Signed-off-by: huangys <huangys@motorola.com>
Reviewed-on: https://gerrit.mot.com/1166091
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-20 04:12:45 -05:00
huangys
1ae601bb04 correct MADERA_HP_DONE value
According CS47L35 spec and cirrus github code

Change-Id: I31678be931c4e30356ad45abdf72730e43da0c69
Signed-off-by: huangys <huangys@motorola.com>
Reviewed-on: https://gerrit.mot.com/1165494
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-19 23:42:23 -05:00
Ryan Lattrel
1f97a5cf46 modules: tzlog_dump: write to mmi_annotate
Change module to write to the mmi_annotate space
instead of having a procfs entry to read.

Change-Id: I0931f7c1ef1305ebe23dfa2bb56fdb5a95948330
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1145135
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Ling Jin <lingjin@motorola.com>
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
2018-04-12 08:32:09 -05:00