summaryrefslogtreecommitdiff
path: root/cs40l26/cs40l26-codec.c
diff options
context:
space:
mode:
authorTai Kuo <taikuo@google.com>2022-05-04 16:44:56 +0800
committerTreeHugger Robot <treehugger-gerrit@google.com>2022-05-31 16:21:29 +0000
commit9346e6318577d70ae497225192be80dcf57e06ec (patch)
treeddf18f2ff5114bc18012522d99d1e9ce7de0f81f /cs40l26/cs40l26-codec.c
parentb2b99f296410c0e91c6459e924a63a63c39f649f (diff)
downloadamplifiers-9346e6318577d70ae497225192be80dcf57e06ec.tar.gz
cs40l26: merge dsp v3.1.8 and cs40l26 v5.1.1
Branch: v5.10-cirrus-dsp-fw Tag: cl-dsp-fw-v3.1.8_5.10 Files: drivers/firmware/cirrus/cl_dsp.c include/linux/firmware/cirrus/cl_dsp.h (No changes) Features: - Add error print statement in case of the firmware controls linked list being empty. Commits: 3bbeced firmware: cirrus: Add print for empty list error condition ... Branch: v5.10-cs40l26 Tag: cs40l26-v5.1.1_5.10 Files: drivers/input/misc/cs40l26-i2c.c (No changes) drivers/input/misc/cs40l26-spi.c (No changes) drivers/input/misc/cs40l26-sysfs.c drivers/input/misc/cs40l26-tables.c (No changes) drivers/input/misc/cs40l26.c include/linux/mfd/cs40l26.h sound/soc/codecs/cs40l26.c -> cs40l26-codec.c (No changes) Features: - Support for reverse frequency sweep in F0 and Q-factor calibration - Add ability to load calibration firmware at boot time - Improved firmware loading procedure, code readability - Support for PWLE zero-crossing - Support for Dynamic Boost Control via devicetree defaults Bug fixes: - f0_and_q_cal_time_ms can be read directly from "TONE_DURATION_MS" if it is non-zero. In the case where this was zero, the calculation for the time was incorrect. - Avoid race condition in case where an effect is stopped prior to the DSP registering the start of playback and vibe_state reporting is enabled. Major API changes: - Devicetree controls for default DBC parameters "cirrus,dbc-*" added. - The sysfs control "f0_and_q_cal_time_ms" now has support for negative (i.e. reverse frequency sweep) values. This is dependent on the "FREQ_SPAN" firmware control which can only be set via the calibration tuning file. - Devicetree boolean "cirrus,pwle-zero-cross-en" added. Enables to PWLE zero-cross feature. - Devicetree boolean "cirrus,calib-fw" added; loads calibration instead of runtime firmware at boot. - Devicetree boolean "cirrus,vibe-state" removed. The driver will automatically detect whether or not to enable vibe_state tracking. Commits: 24187f6 input: cs40l26: Support negative FREQ_SPAN values 3bc43e3 Documentation: cs40l26: Remove cirrus,vibe-state devicetree entry bce94c1 input: cs40l26: Remove cirrus,vibe-state devicetree entry 2040c5c Documentation: cs40l26: Load calibration firmware at boot c88c071 input: cs40l26: Load calibration firmware at boot 16cb878 input: cs40l26: Refactor firmware loading procedure f63db44 Documentation: cs40l26: Add PWLE zero crossing control 870ac63 input: cs40l26: Add PWLE zero crossing control da51a2d input: cs40l26: Add support for SVC metadata in OWT 61e85dc Documentation: cs40l26: Default Dynamic Boost Control Settings 059a235 input: cs40l26: Default Dynamic Boost Control Settings 39324ea input: cs40l26: Update reporting of calibration time Bug: 231410838 Test: Copy texts and adjust alarm Test: NFC, dumpstate, keyboard vibration Test: idlcli commands Test: Switch firmware continuous Test: Switch firmware and check the first tick effect Signed-off-by: Tai Kuo <taikuo@google.com> Change-Id: Ib2f99f67469f67be0ce33ac031e553a409a569e4
Diffstat (limited to 'cs40l26/cs40l26-codec.c')
0 files changed, 0 insertions, 0 deletions