Age | Commit message (Collapse) | Author |
|
SBMerger: 605678113
Change-Id: I72d22220800cad97c674a8164d8a651e6d7d28f2
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Bug: 315190967
Change-Id: I0d1de44c3b58790031d4e0d3cd92ccb871b7bb5f
Signed-off-by: Benjamin Schwartz <bsschwar@google.com>
|
|
SBMerger: 571992243
Change-Id: I7f504f9e1f9aabcaa204628a58f3ac93ddb203cb
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
SBMerger: 571992243
Change-Id: I477ad9ffd6730003387e679c404e4332e91a059d
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Detection:
1. Check effects_in_flight count for vibe_state hang issue. (Trigger
reset at cs40l26_resume since cs40l26_suspend might have issue
during the controller bus off or system powering off sequence.)
2. Check I2C errors at the end of functions cs40l26_set_gain_worker,
cs40l26_vibe_start_worker, cs40l26_vibe_stop_worker,
cs40l26_upload_effect, cs40l26_erase_effect and cs40l26_resume.
Reset sequence:
Toggle hardware reset pin, reload the current firmware, reset the
state flag and counter, and update vibe_state driver attribute.
Reset cooldown period:
Pause further reset recovery if reset is conducted for 10 times in 5
minutes. Resume reset recovery after 5 minutes.
Bug: 299023920
Bug: 281146462
Test: Vibe_state can be recovered.
Change-Id: I3aaf8191932cfd5ca0fd5f8eee88adb5ffd21527
Signed-off-by: Tai Kuo <taikuo@google.com>
(cherry picked from commit 5c931c62a0861c25ae4f79e4d4b91abc036f2895)
|
|
Rename cca_rate_read_once to cca_count_read_once
Ex:
cat /sys/devices/platform/audiometrics/cca_count_read_once_show
Ex: result 10 15 20 25
means active CCA are 10, 15, 20, and 25
Bug: 289857250
Test: local testing
Change-Id: I20ab587395adb89bb66aeb898154b107f5c9a518
Signed-off-by: poomarin <poomarin@google.com>
|
|
Test: Local Test
Bug: 294377056
Change-Id: I097a6a53ab4b12aa5c0576380fe9981a12a6b59f
Signed-off-by: poomarin <poomarin@google.com>
|
|
SBMerger: 526756187
Change-Id: Ibb3add38e3f89bfacdc9aad25369729691de507f
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Bug: 278018625
Test: Build pass.
Change-Id: Ib5ab826bb3c308f10cd309aca376ca1f3e9e2934
Signed-off-by: Tai Kuo <taikuo@google.com>
|
|
Bug: 278018625
Test: Kernel modules were built.
Change-Id: Id699f6b47a3f0dee2630cc192ae33fc16c243f58
Signed-off-by: Tai Kuo <taikuo@google.com>
|
|
Merge Cirrus kernel driver (tag cs40l26 v6.0.2, 6.1.1, 7.0.0 and dsp v4.0.0,
4.0.1) and manually update the Kconfig and Makefile.
Branches: v5.15-cirrus-dsp-fw and v5.15-cs40l26
Tags: cirrus-dsp-fw-v4.0.0_5.15, cl-dsp-fw-v4.0.1_5.15,
cs40l26-v6.0.2_5.15, cs40l26-v6.1.1_5.15 and cs40l26-v7.0.0_5.15.
Files:
Documentation/devicetree/bindings/input/cs40l26.yaml (No changes)
drivers/firmware/cirrus/cl_dsp-debugfs.c
drivers/firmware/cirrus/cl_dsp.c (No changes)
include/linux/firmware/cirrus/cl_dsp.h (No changes)
drivers/input/misc/cs40l26-debugfs.c
drivers/input/misc/cs40l26-i2c.c
drivers/input/misc/cs40l26-spi.c
drivers/input/misc/cs40l26-sysfs.c (No changes)
drivers/input/misc/cs40l26-tables.c
drivers/input/misc/cs40l26.c
include/linux/mfd/cs40l26.h
sound/soc/codecs/cs40l26.c -> cs40l26-codec.c
...
Tag: cirrus-dsp-fw-v4.0.0_5.15: Cirrus DSP Firmware Driver v4.0.0
New Features:
- Change the build method and module name for the cl_dsp code
Commits:
a9da515 firmware: cirrus: Change CL_DSP build method
Tag: cl-dsp-fw-v4.0.1_5.15: Cirrus DSP Firmware Driver v4.0.1
Bug Fixes:
- Wait until reinitialization process to reset EVENT_LOGGER
to avoid potential race condition in debugfs_destroy().
Commits:
3e1294c firmware: cirrus: Reset EVENT_LOGGER during initialization
Tag: cs40l26-v6.0.2_5.15
- Prevent invalid option of 0 for mixer control "A2H Level"
- Various build warnings fixed
Commits:
919d495 input: cs40l26: Remove unused functions
84feb83 ASoC: cs40l26: Prohibit setting VOLUMELEVEL to 0
9965618 input: cs40l26: Use string literal in snprintf
8c7e2b1 input: cs40l26: Avoid undefined function warning
Tag: cs40l26-v6.1.1_5.15
- Fix composites with repeats
Commits:
7054f8b ASoC: cs40l26: Change name of ALSA mixer control and its options
8821e02 input: cs40l26: Fix PWLE header serialization
1010409 input: cs40l26: Load Live F0 Tracking tuning file
3f0d182 input: cs40l26: Fix delay field present bit
Tag: cs40l26-v7.0.0_5.15
- Add support for silicon revision B1
- Do not attempt to load the event logger if it is not preset in the FW
- Change build configuration to match precedent in the kernel
Commits:
2249a92 input: cs40l26: Improve build configuration
d8a7a15 input: cs40l26: Don't initialize CL DSP debugfs if not supported firmware
35ef42e input: cs40l26: Add support for revision B1
Bug: 278018625
Test: Build and probe.
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
Test: atest PtsVibratorHalTestSuite \
PtsHapticsTestCases \
VibratorHalCs40l26TestSuite \
VtsHalVibratorManagerTargetTest \
VtsHalVibratorTargetTest \
android.os.cts.VibratorTest \
android.os.cts.VibratorManagerTest \
android.os.cts.VibrationEffectTest \
android.os.cts.VibrationAttributesTest \
android.os.cts.CombinedVibrationTest
Change-Id: I0a0da4726fa14c7e61be48d8dd7e51ecb1e0a2d9
Signed-off-by: Tai Kuo <taikuo@google.com>
|
|
Bug: 278018625
Test: Build pass.
Change-Id: Ib5ab826bb3c308f10cd309aca376ca1f3e9e2934
Signed-off-by: Tai Kuo <taikuo@google.com>
|
|
Bug: 278018625
Test: Kernel modules were built.
Change-Id: Id699f6b47a3f0dee2630cc192ae33fc16c243f58
Signed-off-by: Tai Kuo <taikuo@google.com>
|
|
Merge Cirrus kernel driver (tag cs40l26 v6.0.2, 6.1.1, 7.0.0 and dsp v4.0.0,
4.0.1) and manually update the Kconfig and Makefile.
Branches: v5.15-cirrus-dsp-fw and v5.15-cs40l26
Tags: cirrus-dsp-fw-v4.0.0_5.15, cl-dsp-fw-v4.0.1_5.15,
cs40l26-v6.0.2_5.15, cs40l26-v6.1.1_5.15 and cs40l26-v7.0.0_5.15.
Files:
Documentation/devicetree/bindings/input/cs40l26.yaml (No changes)
drivers/firmware/cirrus/cl_dsp-debugfs.c
drivers/firmware/cirrus/cl_dsp.c (No changes)
include/linux/firmware/cirrus/cl_dsp.h (No changes)
drivers/input/misc/cs40l26-debugfs.c
drivers/input/misc/cs40l26-i2c.c
drivers/input/misc/cs40l26-spi.c
drivers/input/misc/cs40l26-sysfs.c (No changes)
drivers/input/misc/cs40l26-tables.c
drivers/input/misc/cs40l26.c
include/linux/mfd/cs40l26.h
sound/soc/codecs/cs40l26.c -> cs40l26-codec.c
...
Tag: cirrus-dsp-fw-v4.0.0_5.15: Cirrus DSP Firmware Driver v4.0.0
New Features:
- Change the build method and module name for the cl_dsp code
Commits:
a9da515 firmware: cirrus: Change CL_DSP build method
Tag: cl-dsp-fw-v4.0.1_5.15: Cirrus DSP Firmware Driver v4.0.1
Bug Fixes:
- Wait until reinitialization process to reset EVENT_LOGGER
to avoid potential race condition in debugfs_destroy().
Commits:
3e1294c firmware: cirrus: Reset EVENT_LOGGER during initialization
Tag: cs40l26-v6.0.2_5.15
- Prevent invalid option of 0 for mixer control "A2H Level"
- Various build warnings fixed
Commits:
919d495 input: cs40l26: Remove unused functions
84feb83 ASoC: cs40l26: Prohibit setting VOLUMELEVEL to 0
9965618 input: cs40l26: Use string literal in snprintf
8c7e2b1 input: cs40l26: Avoid undefined function warning
Tag: cs40l26-v6.1.1_5.15
- Fix composites with repeats
Commits:
7054f8b ASoC: cs40l26: Change name of ALSA mixer control and its options
8821e02 input: cs40l26: Fix PWLE header serialization
1010409 input: cs40l26: Load Live F0 Tracking tuning file
3f0d182 input: cs40l26: Fix delay field present bit
Tag: cs40l26-v7.0.0_5.15
- Add support for silicon revision B1
- Do not attempt to load the event logger if it is not preset in the FW
- Change build configuration to match precedent in the kernel
Commits:
2249a92 input: cs40l26: Improve build configuration
d8a7a15 input: cs40l26: Don't initialize CL DSP debugfs if not supported firmware
35ef42e input: cs40l26: Add support for revision B1
Bug: 278018625
Test: Build and probe.
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
Test: atest PtsVibratorHalTestSuite \
PtsHapticsTestCases \
VibratorHalCs40l26TestSuite \
VtsHalVibratorManagerTargetTest \
VtsHalVibratorTargetTest \
android.os.cts.VibratorTest \
android.os.cts.VibratorManagerTest \
android.os.cts.VibrationEffectTest \
android.os.cts.VibrationAttributesTest \
android.os.cts.CombinedVibrationTest
Change-Id: I0a0da4726fa14c7e61be48d8dd7e51ecb1e0a2d9
Signed-off-by: Tai Kuo <taikuo@google.com>
|
|
Bug: 270109840
Test: Build pass.
Change-Id: I61a3cbfe3263197130d98be597d60238073ec99d
Signed-off-by: Tai Kuo <taikuo@google.com>
|
|
To have better reference and improve the merge process.
Bug: 270023634
Bug: 270109840
Test: trigger audio coupled haptics via sound picker app
Change-Id: I9b6ae715fa675781ad2d74455b9520bdcc93ccd7
Signed-off-by: Tai Kuo <taikuo@google.com>
|
|
Branches: v5.15-cs40l26
Tags: cs40l26-v6.0.1_5.15
Files:
Documentation/devicetree/bindings/input/cs40l26.yaml
drivers/firmware/cirrus/cl_dsp-debugfs.c (No changes)
drivers/firmware/cirrus/cl_dsp.c (No changes)
include/linux/firmware/cirrus/cl_dsp.h (No changes)
drivers/input/misc/cs40l26-debugfs.c
drivers/input/misc/cs40l26-i2c.c (No changes)
drivers/input/misc/cs40l26-spi.c (No changes)
drivers/input/misc/cs40l26-sysfs.c (No changes)
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
Features:
- Add devicetree parameters for mapping default
GPI events to particular effects
- Rename certain mixer controls for more intuitive usage
Bug fixes:
- Allow CL DSP debugfs directory to be created when firmware
loading is deferred via the devicetree
Commits: 9c56d30 input: cs40l26: Enable cl_dsp debugfs for deferred F/W case
b967746 Documentation: cs40l26: Map GPI effects via devicetree
e991944 input: cs40l26: Map GPI effects via devicetree
02c7093 ASoC: cs40l26: Reconfigure mixer controls
Bug: 270109840
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
Test: atest PtsVibratorHalTestSuite \
PtsHapticsTestCases \
VibratorHalCs40l26TestSuite \
VtsHalVibratorManagerTargetTest \
VtsHalVibratorTargetTest \
android.os.cts.VibratorTest \
android.os.cts.VibratorManagerTest \
android.os.cts.VibrationEffectTest \
android.os.cts.VibrationAttributesTest \
android.os.cts.CombinedVibrationTest
Change-Id: I9ef639e7fb4adc7eb0d99c8c0cec15d086d50096
Signed-off-by: Tai Kuo <taikuo@google.com>
|
|
Bug: 261694194
Test: Build pass.
Change-Id: I721f1cdf813cd092216910ec4ccb33353637cc1f
Signed-off-by: Tai Kuo <taikuo@google.com>
|
|
Bug: 261694194
Test: Build pass
Change-Id: I345aeba923443829a55b95d1d21d5b46efb6ace0
Signed-off-by: Tai Kuo <taikuo@google.com>
|
|
Bug: 261694194
Test: Build pass
Change-Id: I0642858685ecbe0fb0920a0084ad5f7fe9872fed
Signed-off-by: Tai Kuo <taikuo@google.com>
|
|
Merge Cirrus kernel driver (tag cs40l26 v5.7.1 and dsp v3.2.0) for
firmware RAM19 (v7.2.49 (runtime) & v1.1.35 (calib))
Branches: v6.1-cirrus-dsp-fw and v5.15-cs40l26
Tags: cl-dsp-fw-v3.2.0_6.1, cs40l26-v5.7.1_5.15
Files:
Documentation/devicetree/bindings/input/cs40l26.yaml (New)
drivers/firmware/cirrus/cl_dsp-debugfs.c (New)
drivers/firmware/cirrus/cl_dsp.c
include/linux/firmware/cirrus/cl_dsp.h
drivers/input/misc/cs40l26-debugfs.c (New)
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)
...
Tag: cs40l26-v5.7.1_5.15: CS40L26 v5.7.1
Features:
- Add device tree parameter for skipping normal delay before stopping playback
- Add Debugfs controls for reading FW controls
- Add support for debug logger
- Add support for DVL coefficient calibration
Bug fixes:
- Remove unused functions
- Fix potential memory leak
- Remove terminator write from owt setup
Commits:
6ebc38890aba input: cs40l26: Use linked list to track uploaded effects
a26249ad215e input: cs40l26: Add dvl_peq_coefficients control
4b3e947f0b4b input: cs40l26: Add support for DVL PEQ cal request
09e8c62468df input: cs40l26: Load cs40l26-dvl.bin for both runtime and cal FW
e0176fefb2ba input: cs40l26: Use completions for calibration requests
fcec4c470704 input: cs40l26: Add support for cl_dsp debug logger
ae8df81dcd84 input: cs40l26: Add Debugfs to read FW controls
52400ada10c5 Documentation: cs40l26: Skip delay for reserved indices
e4a7db96e597 input: cs40l26: Skip delay for reserved indices
350990b074eb input: cs40l26: Remove terminator write from owt setup
3dd46703b73c input: cs40l26: Only load tuning if algorithm is present
7e6977e678ae input: cs40l26: Resolve memory leak
b98183034193 input: cs40l26: Remove unused functions
...
Tag: cl-dsp-fw-v3.2.0_6.1: Cirrus DSP Firmware Driver v3.2.0
New Features:
- Support Debugfs Event Logger
Improvements:
- Use kvmalloc for large data handling
- Mask MSB when looking for algorithm ID
Commits:
6ebc38890aba input: cs40l26: Use linked list to track uploaded effects
7f373ff54162 firmware: cirrus: Add support for Debugfs and debug logging
e7b3c3b3f852 firmware: cirrus: Use kvmalloc() for large memory allocation
00ca52ae9448 firmware: cirrus: Mask bits[31:16] when comparing algorithm ids
021d5954c875 firmware: cirrus: add function to check for algo presence
Bug: 261694194
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
Test: atest PtsVibratorHalTestSuite \
PtsHapticsTestCases \
VibratorHalCs40l26TestSuite \
VtsHalVibratorManagerTargetTest \
VtsHalVibratorTargetTest \
android.os.cts.VibratorTest \
android.os.cts.VibratorManagerTest \
android.os.cts.VibrationEffectTest \
android.os.cts.VibrationAttributesTest \
android.os.cts.CombinedVibrationTest
Change-Id: I10e31d93b0248b32858e0aa07d4b40e20e66b38a
Signed-off-by: Tai Kuo <taikuo@google.com>
|
|
Bug: 228406045
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: I589dfe4d82ed40b60eabb776b31d09455b6ee063
|
|
1. Interrupt-based haptics awake, on and off.
Events: AWAKE, TRIGGER_CP, TRIGGER_CPIO and TRIGGER_I2S.
2. ff-core IOCTL callback
Events: cs40l26_set_gain, cs40l26_playback_effect,
cs40l26_upload_effect and cs40l26_erase_effect.
3. PM state transition.
Events: WAKEUP and PREVENT_HIBERNATE.
Note:
1. Workqueue profiling is already supported.
Event: cs40l26_set_gain_worker, cs40l26_vibe_start_worker,
cs40l26_vibe_stop_worker, cs40l26_upload_worker and
cs40l26_erase_worker
Bug: 261427473
Test: Check Perfetto with default category
Change-Id: I9757c88df182a3294b97dfa7053ef9ac368bcaef
|
|
SBMerger: 478053055
Change-Id: I6743c186be8a0b7807087e947e2f3a2e239103e1
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
SBMerger: 478053055
Change-Id: I022b2f47f00a05d2fd2d9f54c1e6bd3c0288b66d
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Use strscpy to write to the buffer in cs40l2x_cp_trigger_queue_show
to avoid writing incorrect addresses using snprintf.
Also, checking to see if the input trigger queue string is too large.
Bug: 224000736
Test: push a poc file and check the log
Change-Id: Id46d8a0dbe8eea188362e4f2ca54ccbd720d2bc8
Signed-off-by: Paul Handrigan <Paul.Handrigan@cirrus.com>
Signed-off-by: Chase Wu <chasewu@google.com>
|
|
SBMerger: 478053055
Change-Id: Iaa3ec317767567568e2725ba5ebd66a35a6b3166
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Bug: 260653033
Test: builds
Change-Id: I7217a0f6ca9d725f0f842873a430507a196499d2
Signed-off-by: Robert Lee <lerobert@google.com>
|
|
SBMerger: 478053055
Change-Id: I7557b9f0d7949f2c2d94fa9de5ab3435621f291f
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
sensing rule
1. Remove lock in vibe state sysfd
Since HAL will only read this attribute after sysfs_nofity is called,
removing the mutex_lock to mitigate the chances that HAL only get the
stopped state in triggering the back-to-back short haptic effect
(e.g. TICK effct).
2. Disable falling edge GPIO sensing
Extend the GPIO trigger mask to ignore GPIO1 falling edge as well.
In this way, chip will not waste it's resource to monitor the GPIO
falling edge change and rise the IRQ to driver, then do nothing.
Bug: 262491181
Test: Manually trigger light_tick and check logs
Change-Id: Ie721b804c73f89d4875da17c41c5ac463b59fde8
Signed-off-by: Chase Wu <chasewu@google.com>
|
|
SBMerger: 478053055
Change-Id: I7a9eb61e686ac64e6d1a1432eab859ff01b8c673
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
SBMerger: 478053055
Change-Id: Ic312698f8971c7427cbc5b0ed778817becdc9007
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Change speaker statistics to variant numbers up to 4.
Bug: 248451580
Test: Manually test passed
Change-Id: Ie287d8ee615a98a99fb07933813533c4312f9f3c
Signed-off-by: Roger Fang <rogerfang@google.com>
|
|
Add sysfs for CCA metrics API.
Bug: 249225148
Test: manually test passed
Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: I32af297b2e26505123b862ef25286e6a1791c484
|
|
SBMerger: 478053055
Change-Id: I2ae72a1dacfbc4061304f626ef5cc3d071f2f928
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Bug: 254810265
Test: Build pass.
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: Idd1207cce9baa35f9f11de4e7331d6d276c16e28
|
|
Bug: 254810265
Test: Build pass
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: I2c661e61c37fe75c055abb6cef89a93caa32ae73
|
|
Merge Cirrus kernel driver (tag cs40l26 v5.6.3) for firmware RAM18
(v7.2.42 (runtime) & v1.1.34 (calib))
Branch: v5.15-cirrus-dsp-fw and v5.15-cs40l26
Tag: cs40l26-v5.6.3_5.15
Files:
drivers/firmware/cirrus/cl_dsp.c (No changes)
include/linux/firmware/cirrus/cl_dsp.h (No changes)
drivers/input/misc/cs40l26-i2c.c (No changes)
drivers/input/misc/cs40l26-spi.c (No changes)
drivers/input/misc/cs40l26-sysfs.c (No changes)
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:
- Set GPI trigger duration during mapping
Bug fixes:
- Remapped GPI not working
Commits:
498efc6 input: cs40l26: Modify handling of GPI mapping
c8e0e13 input: cs40l26: Set duration for GPI triggered events
Bug: 254810265
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
Test: atest PtsVibratorHalTestSuite \
PtsHapticsTestCases \
VibratorHalCs40l26TestSuite \
VtsHalVibratorManagerTargetTest \
VtsHalVibratorTargetTest \
android.os.cts.VibratorTest \
android.os.cts.VibratorManagerTest \
android.os.cts.VibrationEffectTest \
android.os.cts.VibrationAttributesTest \
android.os.cts.CombinedVibrationTest
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: I4e21ceae7ba76559cc4416502e5485fc8fd4509d
|
|
Branch: v5.15-cirrus-dsp-fw and v5.15-cs40l26
Tag: cl-dsp-fw-v3.1.10_5.15, cs40l26-v5.6.1_5.15, cs40l26-v5.6.0_5.15
and cs40l26-v5.5.0_5.15
Files:
drivers/firmware/cirrus/cl_dsp.c
include/linux/firmware/cirrus/cl_dsp.h
drivers/input/misc/cs40l26-i2c.c
drivers/input/misc/cs40l26-spi.c
drivers/input/misc/cs40l26-sysfs.c
drivers/input/misc/cs40l26-tables.c
drivers/input/misc/cs40l26.c
include/linux/mfd/cs40l26.h
sound/soc/codecs/cs40l26.c -> cs40l26-codec.c
...
Tag: cl-dsp-fw-v3.1.10_5.10: Cirrus DSP Firmware Driver v3.1.10
- Error reporting from memchunk functions
- Resolved issues causing KASAN warnings
- Improved code readability
Commits:
b8c9ea5 firmware: cirrus: Add function cl_dsp_wavetable_check()
2e99074 firmware: cirrus: Use strscpy() instead of memcpy() for string copy
7b1080c firmware: cirrus: Incorporate ERR_PTR and related macros
0642715 firmware: cirrus: Add memchunk_read error reporting
00861ea Revert "firmware: cirrus: Add memchunk_read error reporting"
02deb1b firmware: cirrus: Add memchunk_read error reporting
...
Tag: cs40l26-v5.6.1_5.10: CS40L26 v5.6.1
Bug fixes:
- Resolve potential for NULL pointer derefence
leading to kernel panic
Commits:
cd45047 input: cs40l26: Fix dangling pointer
59aea6b input: cs40l26: Check for empty list
...
Tag: cs40l26-v5.6.0_5.10: CS40L26 v5.6.0
Features:
- Load SVC tuning file when calibration firmware is loaded
Bug fixes:
- Avoid possibility of infinite loop in asp_start()
- Remove PDATA_PRESENT check to set DT properties correctly
- Prevent user from starting calibration if calibration firmware is not loaded
- Explicitly prevent user from editing OWT effects
- Address KASAN warnings
Commits:
8d8ec58 input: cs40l26: Fix typo in sysfs file header
a2bb173 input: cs40l26: Re-format lines > 80 characters
e98056f input: cs40l26: Load SVC tuning file along with calib. F/W
db62b28 input: cs40l26: Disallow editing of Open Wavetable effects
4b1cac8 input: cs40l26: Remove extraneous lines
8a2f865 input: cs40l26: Disallow calibration if correct firmware not loaded
074b436 input: cs40l26: Fix DT property not being set
e2f016b input: cs40l26: Remove regmap writes before DSP start
8542587 input: cs40l26: Incorporate ERR_PTR and related macros
d8d24a4 input: cs40l26: Avoid infinite loop in asp_start
a6b6046 input: cs40l26: Add memchunk_read error reporting
...
Tag: cs40l26-v5.5.0_5.10: CS40L26 v5.5.0
Features:
- Move SVC LE Estimation procedure from probe time to runtime
- API CHANGE: svc_le_stored added as a sysfs control
Bug fixes:
- OWT Nested Composites were not expanding properly
- Added missing documentation from .yaml file cirrus,fw-defer (Skip)
- Remove check of logger source count when performing BEMF, VBST, or VMON logging
Commits:
d79fc88 Documentation: cs40l26: Add documentation for cirrus,fw-defer (Skip)
d0744f7 ASoC: cs40l26: Add pm_enter/pm_exit functions
69cc3fb input: cs40l26: Add pm_enter/pm_exit functions
f1d7c12 input: cs40l26: Fix typo in SVC algo ID macro
d9eb712 ASoC: cs40l26: Add dmesg for a2h tuning file load
fdad29f input: cs40l26: Remove check for logger src count
432dacf ASoC: cs40l26: Update year in header comments
abb2a2c input: cs40l26: Update year in header comments
2eb2548 input: cs40l26: Remove unneeded function call
53c5613 input: cs40l26: Avoid pm teardown if fw is not loaded
b44e61d ASoC: cs40l26: Fix mutex and pm_runtime in kcontrols
00be432 input: cs40l26: Add support for Le est on production line
35bfaee input: cs40l26: Remove le est from tuning select
849939b input: cs40l26: Clamp effects_in_flight to minimum of 0
Bug: 249456529
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
Test: atest PtsVibratorHalTestSuite \
PtsHapticsTestCases \
VibratorHalCs40l26TestSuite \
VtsHalVibratorManagerTargetTest \
VtsHalVibratorTargetTest \
android.os.cts.VibratorTest \
android.os.cts.VibratorManagerTest \
android.os.cts.VibrationEffectTest \
android.os.cts.VibrationAttributesTest \
android.os.cts.CombinedVibrationTest
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: I262c3d4dd3d5205cc0cd1228f9f67607a86b2cb1
|
|
Bug: 236659376
Test: add test logs to display the count setting
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: I0cdf84a90e3ddae2b88a756a9198bb3e2ac6a3c0
|
|
SBMerger: 478053055
Change-Id: I40c7def02800b7197d146419cb3a721a0be5fbd3
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Bug: 238399460
Signed-off-by: Lucas Wei <lucaswei@google.com>
Change-Id: I3e933274a262ec8e3246e7e0c7c075b426d64cff
|
|
Bug: 231382694
Test: builds
Change-Id: Ia59bdbca00e7167a08fddcb61d4cb551bb1a9fe0
Signed-off-by: Robert Lee <lerobert@google.com>
|
|
Bug: 231382694
Test: builds
Change-Id: Ia59bdbca00e7167a08fddcb61d4cb551bb1a9fe0
Signed-off-by: Robert Lee <lerobert@google.com>
|
|
Add sysfs for AMS metrics API.
Bug: 222428306
Test: manually test passed
Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: Icb4a5e7638dda168cf9cf2a6ecb13a33f0499b3d
|
|
Add sysfs for AMS metrics API.
Bug: 222428306
Test: manually test passed
Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: Icb4a5e7638dda168cf9cf2a6ecb13a33f0499b3d
|
|
Branch: v5.10-cs40l26
Tag: cs40l26-v5.3.0_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 (No changes)
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 maintenance firmware revisions dating back to Rev. 39.2.22
Bug fixes:
- Disallow erase call if a haptic effect is in-flight. This allows the driver
maintain correct number of loaded effects when firmware fails to delete waveform
if the delete is attempted when haptics playback is active.
- Minor code update to handle potential failure of memchunk read from CL DSP FW driver.
Commits:
6e36db4 input: cs40l26: Rollback minimum fw revision for maintenance fw
77a5ce5 input: cs40l26: Handle memchunk read failure
20efcc3 input: cs40l26: Ensure effect to be erased is not in-flight
Bug: 237047104
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
Test: atest VtsHalVibratorManagerTargetTest \
VtsHalVibratorTargetTest \
android.os.cts.VibratorTest \
android.os.cts.VibratorManagerTest \
android.os.cts.VibrationEffectTest \
android.os.cts.VibrationAttributesTest \
android.os.cts.CombinedVibrationTest
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: Iad33742ad694ea9ed5987dc617e64fca0044f7c7
|
|
This reverts commit 1dcf4405cceab9a3701a9d4f4822628502a5322e.
Bug: 237047104
Test: n/a
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: I1c6c09e30975340b15b446fb3fd671954c886f01
|
|
Branch: v5.10-cs40l26
Tag: cs40l26-v5.3.0_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 (No changes)
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 maintenance firmware revisions dating back to Rev. 39.2.22
Bug fixes:
- Disallow erase call if a haptic effect is in-flight. This allows the driver
maintain correct number of loaded effects when firmware fails to delete waveform
if the delete is attempted when haptics playback is active.
- Minor code update to handle potential failure of memchunk read from CL DSP FW driver.
Commits:
6e36db4 input: cs40l26: Rollback minimum fw revision for maintenance fw
77a5ce5 input: cs40l26: Handle memchunk read failure
20efcc3 input: cs40l26: Ensure effect to be erased is not in-flight
Bug: 237047104
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
Test: atest VtsHalVibratorManagerTargetTest \
VtsHalVibratorTargetTest \
android.os.cts.VibratorTest \
android.os.cts.VibratorManagerTest \
android.os.cts.VibrationEffectTest \
android.os.cts.VibrationAttributesTest \
android.os.cts.CombinedVibrationTest
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: Iad33742ad694ea9ed5987dc617e64fca0044f7c7
|
|
This reverts commit 1dcf4405cceab9a3701a9d4f4822628502a5322e.
Bug: 237047104
Test: n/a
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: I1c6c09e30975340b15b446fb3fd671954c886f01
|