liaohj fb5e35ab7b audio:ti2558:add brown protection function
add ti2558 brown protection function
1. currently just have limit voltage setting:
a.ti,lim_th_max is the start limit voltage, when
voltage less than the voltate,
smart pa will decrease gain step by step.
b.ti,lim_th_min is the immediately limit voltage,
when voltage less than the voltage,
smart pa will decrease the min gain .

ti,lim_th_max & ti,lim_th_min defined at product dts.

2.how to enable.
we can set TAS2562 BROWNOUT PROTECT ENABLE On to mixerpaths.

3.when HW test the voltage ,we will set in dts and enable by mixer_paths.

4.If HW need to adjust the min gain, need add more code .
if there are the request ,need to achieve in the future.

fix some no function.
1.fix tas2562_codec_read & tas2562_codec_write no function.

2.fix Amp Output Level no useful.

Change-Id: I6e4be083063f009246d3a4a478c22fa6aee8467f
Signed-off-by: liaohj <liaohj@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1435926
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wanlong Zhou <zhouwl@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
2019-11-06 23:59:45 -06:00
2019-08-08 22:17:12 +00:00
S
Description
Android Kernel for Motorola Moto G52 (sm6225) — Nethunter Release
2 GiB
0 Stars 1 Watchers 0 Forks