audio: update speaker protection bins

Bug: 179534284
Test: Audio hardware verified
Change-Id: Iacbcca51ba787dd4e213b91922c940df5e2d6b5f
Signed-off-by: Robert Lee <lerobert@google.com>
diff --git a/audio/raven/cs35l41/fw/R-cs35l41-dsp1-spk-prot.bin b/audio/raven/cs35l41/fw/R-cs35l41-dsp1-spk-prot.bin
index 20a3ca3..81154a1 100644
--- a/audio/raven/cs35l41/fw/R-cs35l41-dsp1-spk-prot.bin
+++ b/audio/raven/cs35l41/fw/R-cs35l41-dsp1-spk-prot.bin
Binary files differ
diff --git a/audio/raven/cs35l41/fw/cs35l41-dsp1-spk-prot.bin b/audio/raven/cs35l41/fw/cs35l41-dsp1-spk-prot.bin
index 0e725b4..a2e0cd6 100644
--- a/audio/raven/cs35l41/fw/cs35l41-dsp1-spk-prot.bin
+++ b/audio/raven/cs35l41/fw/cs35l41-dsp1-spk-prot.bin
Binary files differ
diff --git a/audio/raven/cs35l41/fw/readme.md b/audio/raven/cs35l41/fw/readme.md
index 125daf9..cda3a13 100644
--- a/audio/raven/cs35l41/fw/readme.md
+++ b/audio/raven/cs35l41/fw/readme.md
@@ -1,8 +1,8 @@
-# R4 Protect Tune - Top And Bottom Speakers Build 21.4.0

+# R4 Protect Tune - Top And Bottom Speakers Build 21.6.0

 

 ## Tune Details

 

-- **File name**: r4_21.4.0

+- **File name**: r4_21.6.0

   - _Device_: CS35L41 revB2

   - _Firmware Version_

     - _Protect_: Playback 6.47.0

@@ -16,11 +16,42 @@
 

 ### Changelog

 

-#### 21.2.4.0

+#### 21.6.0

+

+- Top Speaker protect tune 21.5.0 → 21.6.0

+  - Recharacterized and retuned to include new limit samples

+  - Wael retuned XMAX gain to -24.3 (from -24.5) for slightly safer XMAX

+

+#### 21.5.1

+

+- Bottom speaker protect tune uprev 21.5.0 → 21.5.1

+  - Recharacterized and retuned to include new limit samples

+- All top speaker tunes remain the same as in 21.5.0

+

+#### 21.5.0

+

+- Updated 21.4.0_withWaelTuning with redc fallback values per customer request.

+  - **Top**: 5.402 ohms

+  - **Bottom**: 5.445 ohms

+- This change in in the protect bins only. Cal and CalAndDiag bins remain the same as in 21.2.4.0_withWaelTuning

+

+#### 21.4.0_withWaelTuning

+

+Updated Top Tuning xmax parameters by Wael

+No changes to bottom

+

+#### 21.4.0

 

 Retune using R4 EVT samples.

 Firmware moved to 6.47.0 for protect, calibration, and diagnostics signal chains.

 

+Changes in firmware between 6.45.0 and 6.47.0:

+

+- Implemented a timeout feature that allows a maximum delay between the start of the BCLK and the start of the LRCLK.

+  If the timeout is exceeded, an error notification is sent to the driver and the command is ignored. This addresses a

+  host-side timing issue for these signals that could lead to a no-audio situation.

+- Fixed an issue where repeated pause/resume commands could cause pops on the output.

+

 #### 21.2.3_ENG

 

 Based on 21.2.2_ENG with HPF cutoff frequencies set to 150Hz for both top and bottom protect tunes

@@ -53,41 +84,35 @@
 **Protect, Calibration, and Diag bins with R Trace**  

  _For use in actual phone_

 

-- Top Speaker

+- #### Top Speaker

   - Top\r4Top_calAndDiag_21.4.0_pb6.47.0_17.5dB_withRTrace.bin

   - Top\r4Top_cal_21.4.0_pb6.47.0_17.5dB_withRTrace.bin

-  - Top\21.4.0_100hpf\r4Top_protect_21.4.0_pb6.47.0_17.5dB_100hpf_withRTrace.bin

-  - Top\21.4.0_120hpf\r4Top_protect_21.4.0_pb6.47.0_17.5dB_120hpf_withRTrace.bin

-- Bottom Speaker

+  - Top\21.6.0_100hpf\r4Top_protect_21.6.0_pb6.47.0_17.5dB_100hpf_withRTrace.bin

+- #### Bottom Speaker

   - Bottom\r4Bottom_calAndDiag_21.4.0_pb6.47.0_17.5dB_withRTrace.bin

   - Bottom\r4Bottom_cal_21.4.0_pb6.47.0_17.5dB_withRTrace.bin

-  - Bottom\21.4.0_100hpf\r4Bottom_protect_21.4.0_pb6.47.0_17.5dB_100hpf_withRTrace.bin

-  - Bottom\21.4.0_120hpf\r4Bottom_protect_21.4.0_pb6.47.0_17.5dB_120hpf_withRTrace.bin

+  - Bottom\21.5.1_100hpf\r4Bottom_protect_21.5.1_pb6.47.0_17.5dB_100hpf_withRTrace.bin

 

-**Protect & Calibration files without R trace**  

+**Protect & Calibration jsons without R trace**  

  _For use on Lochnagar 2 development platform_

 

-- Top Speaker

-  - Top\21.4.0_100hpf\r4Top_21.4.0_pb6.47.0_17.5dB_100hpf_noRTrace.json

-  - Top\21.4.0_120hpf\r4Top_21.4.0_pb6.47.0_17.5dB_120hpf_noRTrace.json

-- Bottom Speaker

-  - Bottom\21.4.0_100hpf\r4Bottom_21.4.0_pb6.47.0_17.5dB_100hpf_noRTrace.json

-  - Bottom\21.4.0_120hpf\r4Bottom_21.4.0_pb6.47.0_17.5dB_120hpf_noRTrace.json

+- #### Top Speaker

+  - Top\21.6.0_100hpf\r4Top_21.6.0_pb6.47.0_17.5dB_100hpf_noRTrace.json

+- #### Bottom Speaker

+  - Bottom\21.5.1_100hpf\r4Bottom_21.5.1_pb6.47.0_17.5dB_100hpf_noRTrace.json

 

 _JSON files contains both protect and calibration deploy groups_

 

 **Labsuite Files**

 

-- Top Speaker

-  - 21.4.0_100hpf\r4Top_21.4.0_pb6.47.0_17.5dB_100hpf_noRTrace.exported_tuning

-  - 21.4.0_100hpf\r4Top_21.4.0_pb6.47.0_17.5dB_100hpf_withRTrace.exported_tuning

-  - 21.4.0_120hpf\r4Top_21.4.0_pb6.47.0_17.5dB_120hpf_noRTrace.exported_tuning

-  - 21.4.0_120hpf\r4Top_21.4.0_pb6.47.0_17.5dB_120hpf_withRTrace.exported_tuning

-- Bottom Speaker

-  - 21.4.0_100hpf\r4Bottom_21.4.0_pb6.47.0_17.5dB_100hpf_noRTrace.exported_tuning

-  - 21.4.0_100hpf\r4Bottom_21.4.0_pb6.47.0_17.5dB_100hpf_withRTrace.exported_tuning

-  - 21.4.0_120hpf\r4Bottom_21.4.0_pb6.47.0_17.5dB_120hpf_noRTrace.exported_tuning

-  - 21.4.0_120hpf\r4Bottom_21.4.0_pb6.47.0_17.5dB_120hpf_withRTrace.exported_tuning

+- #### Top Speaker

+  - Top\21.6.0_100hpf\r4Top_21.6.0_pb6.47.0_17.5dB_100hpf_noRTrace.exported_tuning

+  - Top\21.6.0_100hpf\r4Top_21.6.0_pb6.47.0_17.5dB_100hpf_withRTrace.exported_tuning

+- #### Bottom Speaker

+  - Bottom\21.5.1_100hpf\r4Bottom_21.5.1_pb6.47.0_17.5dB_100hpf_noRTrace.parameters

+  - Bottom\21.5.1_100hpf\r4Bottom_21.5.1_pb6.47.0_17.5dB_100hpf_withRTrace.parameters

+  - Bottom\21.5.1_100hpf\r4Bottom_protect_21.5.1_pb6.47.0_17.5dB_100hpf_noRTrace.exported_tuning

+  - Bottom\21.5.1_100hpf\r4Bottom_protect_21.5.1_pb6.47.0_17.5dB_100hpf_withRTrace.exported_tuning

 

 **Firmware Files**  

 _Each firmware wmfw is in a folder respective for which type of bin file it is for_

@@ -96,6 +121,12 @@
 - Firmware\Diag\halo_cspl_RAM_diag_revB2_29.49.0.wmfw

 - Firmware\Protect\halo_cspl_RAM_revB2_29.49.0.wmfw

 

+**Additional data**

+

+- r4EvtSpeakerCalAndDiagResults.xlsx

+- CustomerTuneReports\R4_21.5.1_Bottom_CustomerTuneReport.pdf

+- CustomerTuneReports\R4_21.6.0_Top_CustomerTuneReport.pdf

+

 ---

 

 ## Speaker Parameters

@@ -110,6 +141,7 @@
 | **Coil co-efficiency (Tk)**         | 0.00393          |

 | **DC Resistance**                   | 6 [Ohms]         |

 | **Resonance Frequency**             | 820 [Hz] +/-7.5% |

+| **ReDC Fallback**                   | 5.402 ohms       |

 

 ### Bottom Speaker

 

@@ -121,3 +153,4 @@
 | **Coil co-efficiency (Tk)**         | 0.00393               |

 | **DC Resistance**                   | 6.1[Ohm]              |

 | **Resonance Frequency**             | 720 [Hz] +/- 10% [Hz] |

+| **ReDC Fallback**                   | 5.445 ohms            |