Commit graph

65 commits

Author SHA1 Message Date
Rios Kao
387cd61a6f audio: Phase in Waves mps in TG4
1. This mps file version modify Portrait and Landscape 1st~24th volume sound quality.
2. This is the EVT first version to make 1st~24th volume sound quality.
3. This file internal name: TG4_EVT_Release_20240618_tune4.mps

Files from the latest attachment on b/348309503

Bug: 348309503
Test: verified by supery@
Flag: NONE tuning table for existed feature
Change-Id: Ic50d336cab63224e2295727d49c21295138b3502
2024-06-20 07:32:43 +00:00
Rios Kao
988f895191 Merge "audio: Phase in TG4 fortemedia tuning tables" into main 2024-06-19 02:58:43 +00:00
Rios Kao
213d136d9b audio: Phase in TG4 fortemedia tuning tables
Change List :

Fortemedia:

Optimize performance with EVT1.0 HW.

Files from the latest attachment on b/347861392

Bug: 347861392
Test: verified by ntkuo@
Flag: NONE tuning table for existed feature
Change-Id: I7cd37c26c6703658198849673221a5075709020e
2024-06-19 02:18:53 +00:00
Rios Kao
115a582481 Phase in TG4 speaker compensation tuning tables
Test: verify ntkuo@
Bug: 347858646
Flag: NONE tuning table for existed feature
Change-Id: Id3070afe921195d5181cd8893beb452a5c2c0a09
2024-06-19 02:13:13 +00:00
Rios Kao
64f0a0b7b1 audio: Phase in Waves mps in TG4
1.This version modify Portrait and Landscape mode Max volume only.
2.This tuning fit TG4 EVT HW.
3.Internal file name: TG4_EVT_Release_V2_20240613_tune3.mps

Files from the latest attachment on b/347132693

Bug: 347132693
Test: verified by supery@ and pts-audio
Change-Id: I1ca04b53e7f1a8cdefd4942f6aa37e09d810ee61
2024-06-17 01:52:45 +00:00
Rios Kao
4f4d918233 Merge "tegu: sync missing path for incall, voip and hotword tap" into main 2024-06-14 02:37:04 +00:00
Treehugger Robot
36b30c3e39 Merge "audio: add spatializer-offload-playback to sco device" into main 2024-06-13 08:40:32 +00:00
Yung Ti Su
b4b9617e8e audio: add spatializer-offload-playback to sco device
Bug: 330318667
Test: manual

Change-Id: I313c70538cc08d9d31ab8eaf4c86a345f7293a5d
Signed-off-by: Yung Ti Su <andysu@google.com>
2024-06-13 08:07:57 +00:00
Rios Kao
9abedcd622 tegu: sync missing path for incall, voip and hotword tap
Test: build pass
Bug: 345365730
Change-Id: I0b8a59c9252c69c329fc5cf8b203ba547a89b229
2024-06-13 07:51:55 +00:00
Robert Lee
193959cb8b audio: fix PTS audio error
- add initial value for TAS25XX controls
- remove useless control

Bug: 346473597
Test: builds
Change-Id: Ie48a38010df6e7ab31f98fdeb8544033901e2100
Signed-off-by: Robert Lee <lerobert@google.com>
2024-06-13 07:14:12 +00:00
Robert Lee
87a567779b audio: update speaker tuning bin file
Change List:
- EVT Speaker Model Update
- Change TA2 and PAM to fix output noise issue
- add flex cable Re setting

Bug: 345406081
Test: builds
Change-Id: I8127dbba9ad45128cb1e42995c480628bc9df015
Signed-off-by: Robert Lee <lerobert@google.com>
2024-06-11 06:27:02 +00:00
Rios Kao
f07dfa3784 tegu: correct mixer paths location from previous check
note:
     previous cl of mixer table is incorrect due to
     bot wrong path setup.

Bug: 343570040
Test: check the file in the test build.
Change-Id: Ie6e17eab71255c605078bcd6da529e7a818b63db
2024-05-30 02:23:01 +00:00
Treehugger Robot
de87dbfa64 Merge "audio: add sound dose offset curve" into main 2024-05-30 01:45:13 +00:00
Rios Kao
57152fcb1e audio: Update templete.xml, recording.gatf and audio_platform_configuration to leverage RC setting
- Update PGC, AGC and SNS settings for camcorder use case
- Update PGC, AGC and SNS settings for recorder use case
- Add SA-Lite in voice recognition use case for enabling MIC COMP function

Files from the latest attachment on b/343141249

Bug: 343141249
Test: verified by cartercheng@
Change-Id: I57052a1be4992a9a11fc83a67c189d033cb6a0ba
2024-05-29 01:53:51 +00:00
Rios Kao
d59904cedf audio: Phase in TG4 mixer_paths tables
Change List :

mixer_paths:

Disable T-coil Amp

Change from

<path name="speaker-earpiece (VOICE,HAC)">
<ctl name="TAS25XX CODEC PROFILE" value="voice"/>
<ctl name="TAS25XX ASI Switch" value="1"/>
<ctl name="TAS25XX PLAYBACK_VOLUME_LEFT" value="58"/>
<ctl name="HAC AMP EN" value="1" />
<ctl name="TAS25XX EM LEFT" value="OFF"/>
<ctl name="TAS25XX EM RIGHT" value="OFF"/>
</path>

to

<path name="speaker-earpiece (VOICE,HAC)">
<ctl name="TAS25XX CODEC PROFILE" value="voice"/>
<ctl name="TAS25XX ASI Switch" value="1"/>
<ctl name="TAS25XX PLAYBACK_VOLUME_LEFT" value="58"/>
<ctl name="HAC AMP EN" value="0" />
<ctl name="TAS25XX EM LEFT" value="OFF"/>
<ctl name="TAS25XX EM RIGHT" value="OFF"/>
</path>

Thanks.

Files from the latest attachment on b/342982889

Bug: 342982889
Test: verified by ntkuo@
Change-Id: I3b20c5f232334a0f0e9d35ab2b4c202837d42ec9
2024-05-28 02:12:56 +00:00
vincenttew
56642aafbd audio: add sound dose offset curve
Bug: 340149054
Change-Id: I705891298651640ff8deb6ae0a33bdb4101b1642
Signed-off-by: vincenttew <vincenttew@google.com>
2024-05-23 14:54:10 +08:00
Treehugger Robot
629a1d9b66 Merge "audio: update mixer table" into main 2024-05-16 04:14:42 +00:00
David Li
ea61fc0c9b audio: Phase in audio_policy_volume.xml in TG4
I put TG4  audio_policy_volume.xml in the attached file.

1. This table all number follow AK3 parameters.
Just use TG4 format.
It will be a good start for TG4 to align AK3.
2. This  audio_policy_volume.xml internal name: audio_policy_volumes(TG4_EVT_1).xml

Files from the latest attachment on b/340373394

Bug: 340373394
Test: verified by supery@
Change-Id: Ifd788a00964117b6eee3289cf136c319efd0eaad
2024-05-15 19:51:43 +08:00
Rios Kao
6f5bea436a tegu: align buildin microphone value for master
note: AOC changes the pdm list to align the value
     to different platform.
Test: build pass
Bug: 330632172
Change-Id: Ifc259aa6d2c82476fee9c1dcfbfb1fd291505fd0
2024-05-08 05:47:04 +00:00
Robert Lee
189a6edc3d audio: update mixer table
Turn off music efficiency mode all for voice call usecase.

Bug: 337151234
Test: manual test
Change-Id: Iec572da6f3b44a46dfdaf2791cb3f63fae0ccb42
Signed-off-by: Robert Lee <lerobert@google.com>
2024-05-06 03:41:30 +00:00
Rios Kao
7de12294a2 Merge "audio: Phase in speaker compensation tuning tables" into main 2024-05-03 09:07:25 +00:00
Rios Kao
194cb87a48 Merge "audio: Phase in fortemedia tuning tables" into main 2024-05-03 09:07:25 +00:00
Treehugger Robot
ec4e3a1733 Merge "audio: remove non-supported analog headset" into 24D1-dev am: 1c5021c651
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tegu/+/27148522

Change-Id: I7dddb445cdeb8c05aecbeb2e7085c745b384100c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-03 03:08:59 +00:00
Rios Kao
27f734653c audio: Phase in speaker compensation tuning tables
Speaker Compensation

speaker compensation update with proto1.0 HW

Bug: 338351355
Test: Test: verified by ntkuo@
Change-Id: I571d8bbb19f44bea0236eff32a52928070b6d2c0
2024-05-02 09:56:23 +00:00
Rios Kao
2956e98b70 audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:

Optimize handheld mode performance with speaker compensation.
Sync headset and BT setting.

Files from the latest attachment on b/338350788

Bug: 338350788
Test: verified by ntkuo@
Change-Id: Iadc0da4b3c0bc418da5b2fccf717ab71801b5beb
2024-05-02 09:53:32 +00:00
vincenttew
37fb86d18d audio: remove non-supported analog headset
Bug: 329470379
Change-Id: I461952abbb91e0d9fe5911e868fbecdf0b3f2eff
Signed-off-by: vincenttew <vincenttew@google.com>
2024-04-30 18:20:11 +08:00
Robert Lee
7e76bd3067 audio: update speaker firmware bin file
Enable IV sense and disable ME on voice profile

Bug: 335540954
Test: HW manual test
Change-Id: I3fedc01f26bb273b346ba29b280db6dff627807f
Signed-off-by: Robert Lee <lerobert@google.com>
2024-04-29 08:24:37 +00:00
Rios Kao
c10d0f5561 audio: Phase in TG4 fortemedia tuning tables
Change List :

Fortemedia:

Optimize handset and handheld mode performance.

Files from the latest attachment on b/335789169

Bug: 335789169
Test: verified by ntkuo@
Change-Id: I8ef869f33d694962d63989dbc8fcd1c3bc38fadf
2024-04-24 03:44:49 +00:00
Robert Lee
5fed43a35b audio: update speaker tuning table
Change List:
1. first speaker model for proto stage
2. enable ABG function  and set initial parameters in tuning bin for tuning

Bug: 335796812
Test: builds
Change-Id: I7dbeeb5c196b998546f2c9491e1cc4375318d310
Signed-off-by: Robert Lee <lerobert@google.com>
2024-04-19 09:56:51 +00:00
Rios Kao
5ae43ebced tegu: Phase in waves mps.
note:
    1. Based on TI smart parameter to make Proto tuning
    2. Timbre is similar to mid-end phone
       Original Proto ROM mps file is for IMU test purpose.
       That only add 18kHz Low Pass Filter.
       Timbre is not like previous mid-end phone
    3. Internal tuning file name:
       20240329_more_dynamic_modify_Waves_Portrait_Test_20240328_tune1.mps

Test: build pass, verified by HW team.
Bug: 333345405
Change-Id: I3e360aa2f85f852dad6d89c02caf486ba8bf6bf1
2024-04-08 11:49:34 +00:00
Rios Kao
6a45c7e580 tegu: update FM table 0403
note:
     Optimize handset and handheld mode performance for MIC compensation

Test: build pass
Bug: 332624949
Change-Id: Id07cda4d46b7851538c3063c56aa91c38adc8a51
2024-04-08 02:06:50 +00:00
Treehugger Robot
39a1e47a16 Merge "audio: enable speaker protection" into main 2024-04-02 06:28:25 +00:00
vincenttew
9c91bd9f57 audio: remove non-supported analog headset am: da2a87e0a5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tegu/+/26718356

Change-Id: Iaa1711730d4c07d7a2b0b87a07816d1a0213e0b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-01 09:20:50 +00:00
vincenttew
da2a87e0a5 audio: remove non-supported analog headset
Bug: 329470379
Change-Id: I93ab1bcb758726b4fec072fb892018f8f6f69616
Signed-off-by: vincenttew <vincenttew@google.com>
2024-03-27 12:08:00 +08:00
Robert Lee
424edfea35 audio: update speaker driver tuning bin file
- File is from b/313341617#comment63
- New current limit setting range is from 0 ~ 36 (1.5A ~ 5.1A)
- Current limit value = 1.5A + index * 0.1A

Bug: 313341617
Test: manual test
Change-Id: I7203017bdc10f549312c42a307cff7548ef0d2c7
Signed-off-by: Robert Lee <lerobert@google.com>
2024-03-19 11:55:13 +00:00
Robert Lee
c81ec2fa7d audio: enable speaker protection
Change back the digital volume from 47 to 55.

Bug: 313341617
Test: manual test
Change-Id: I274625317c3b256a7ac7bc9de4b8ce7f79fca59f
Signed-off-by: Robert Lee <lerobert@google.com>
2024-03-19 03:12:18 +00:00
Robert Lee
08254de772 tegu: audio: sync aidl setup from caimito.
note:
     - Basically sync everyhing from caimito
     - But keep builtin_mic setup for tegu.
     - Sync waves_config.ini from caimito
     - Sync volume curve from caimito
     - Enable HAC and gain control.
Bug: 313341617
Test: builds pass
Change-Id: I2f891d943056c05762acdbffdd1b3b6da0c03c8d
Signed-off-by: Robert Lee <lerobert@google.com>
2024-03-18 07:02:39 +00:00
Rios Kao
0db20cc4fd Merge "tegu: update mixer table for hac." into main 2024-03-18 06:22:18 +00:00
Rios Kao
a6627644f5 tegu: update mixer table for hac.
note:
     - Enable HAC amp
     - Fine-tune TI amp D gain for voice-hac and voice-handset mode

Test: Build pass and verified by acoustic team.
Bug: 330086792
Change-Id: Ie13aaedc072a0647b25685849fa78208b87473c5
2024-03-18 04:41:39 +00:00
Robert Lee
7580a1333c audio: update speaker tuning bin
ti_sp_tuning.bin is from PreModel.bin in b/313341617#comment54

Bug: 313341617
Test: manual
Change-Id: I63943a926e8bf1743cddad4adfbf52d8b2a8d2a4
Signed-off-by: Robert Lee <lerobert@google.com>
2024-03-15 02:58:16 +00:00
Rios Kao
80da34e35e tegu: waves: Phase in Waves mps
note:
     1. Based on default ROM tuning adding 18kHz Low Pass filter.
     2. It will help IMU performance.

Test: HW team verified.
Bug: 328730202

Change-Id: Iebc2ea2b66970ab9abe917997a173df4ca2cb08f
2024-03-11 05:57:31 +00:00
Rios Kao
28ec15fe41 tegu: Phase in fortemedia tables for FM V6.4.1/V6.4.2
note:
     Fortemedia tables for FM V6.4.1/V6.4.2:
     Sync table version

Bug: 328323915
Test: HW team verified.
Change-Id: I0e72caba64a0a86cfb800b24961d9c121f67e40f
2024-03-11 05:56:38 +00:00
Rios Kao
14f8181815 tegu: Update templete.xml and recording.gatf for correcting 2 microphone hardware.
note: - Remove id="8" MBDRC and
      param id="297" name="chre_gain" in templete.xml file
      to avoid error log (b/314852055#comment9)
    - Levarage settings in recording.gatf to align tuning with 2 channels
Test: build pass
Bug: 327107700
Change-Id: I5f525fa02a32ca73d484dda1e62f7c85d599178a
2024-02-27 08:54:32 +00:00
Rios Kao
72119eb05f tegu: update missing table
note: correct missing mic list.

Test: build pass
Bug: 326861780
Change-Id: Idb923088ef5976e0dc30f82bb8a687f1fbea61bc
2024-02-27 08:40:44 +00:00
Rios Kao
a570a358dc tegu: update table and mcps.
note: update correct mic list.

Test: build pass
Bug: 326861780
Change-Id: I475ba319a0a7720a0ef06c6a27ad11e0baddc4f9
2024-02-26 07:37:25 +00:00
Treehugger Robot
7a569cd8c9 Merge changes from topic "tg4_tas2572" into main
* changes:
  audio: add mixer table for calibration tools
  audio: load tas25xx module
2024-02-23 04:32:23 +00:00
Rios Kao
c009789d85 tegu: update fortemedia table
note:
      convert FM table version to 1.4.2

Test: build pass
Bug: 326371366
Change-Id: I68920c995686286cfab3fcf51f20f206fb890139
2024-02-22 12:01:18 +00:00
George Verhaegen
ad906ada5f audio: update mixer table for re-mapping mics on Tegu
Bug: 322323357
Test: None
Change-Id: I6686edcf5e9cab6b53505d054d98a61ac367ff6a
Signed-off-by: George Verhaegen <verhaegen@google.com>
2024-02-05 18:19:21 +00:00
Robert Lee
3726c65895 audio: add mixer table for calibration tools
Bug: 313341617
Test: local test
Change-Id: I55f9f5080c07c47e2913cf5059247fd6f36f225f
Signed-off-by: Robert Lee <lerobert@google.com>
2024-01-26 03:36:57 +00:00
Robert Lee
f5c1d5645d audio: load tas25xx module
Bug: 313341617
Test: builds
Change-Id: Iea7241bd69e11803f26f8570d87344ca7f0037cf
Signed-off-by: Robert Lee <lerobert@google.com>
2024-01-19 07:18:43 +00:00