Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sound_card_init: apply calibration results for TAS2563
Implement the flow to apply the TAS2563 amp calibration parameters. The calibration parameters are read from VPD and feed by mixer controls every boot time. BUG=b:346949244 TEST=ciri.TAS2563.yaml contents ``` amp_calibrations: controls: - cal_data: "Speaker Calibrated Data" - cal_data: "Speaker Calibrated Data" rdc_ranges: - lower: 6.525 upper: 7.975 - lower: 6.525 upper: 7.975 ``` TEST= ``` "dsm_calib_value_0"="003a2457072da72f08119cb074004bef2f2bc00000" "dsm_calib_value_1"="013a093bf12d91e67611a4ea3e004bdd7a2bc00000" ``` TEST=`/usr/bin/sound_card_init boot_time_calibration --amp TAS2563 --id sofmt8188tas256 --conf ciri.TAS2563.yaml` and check `amixer -c 0 contents` for changed `Speaker Calibrated Data` Disallow-Recycled-Builds: test-failures Change-Id: Ia51f358f4eef57a609520e8b2d459e637b84f6c9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/5628928 Reviewed-by: Judy Hsiao <[email protected]> Tested-by: [email protected] <[email protected]> Tested-by: Baili Deng <[email protected]> Commit-Queue: Baili Deng <[email protected]>
- Loading branch information