Commit graph

41 commits

Author SHA1 Message Date
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
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
Treehugger Robot
59bf3e2875 Merge "factory: correct usb mfg playback/capture config" into main 2024-01-19 07:05:58 +00:00
vincenttew
77751cf3a3 factory: correct usb mfg playback/capture config
Bug: 319398045
Change-Id: I2f012c8924607bcd6b198b6b27d052eac12c86f8
Signed-off-by: vincenttew <vincenttew@google.com>
2024-01-18 10:09:39 +00:00
vincenttew
602a19d379 audio: add HIDL SoundDose libraries
Test: build pass, playback pass
Bug: 320840892
Change-Id: I73e5145edb16b73e9484ec5ace64bbd376dcdf29
Signed-off-by: vincenttew <vincenttew@google.com>
2024-01-18 10:08:03 +00:00
yixuanjiang
bc0de0131d audio: add mic2 power init
Bug: 317237570
Change-Id: Iabfadbe4a6975e35a1022a75341681c2b1476b47
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2024-01-10 03:51:16 +00:00
Treehugger Robot
52b2a170b8 Merge "audio: update mixer tables" into main 2023-12-25 09:25:19 +00:00
Treehugger Robot
722e954707 Merge "audio: update tuning bin for PG2.0" into main 2023-12-25 08:27:23 +00:00
Robert Lee
655e3855af audio: update mixer tables
Add amp switch control

Bug: 313341617
Test: local test
Change-Id: Id917c000df6e47135e4c963b99a0201b0a36b689
Signed-off-by: Robert Lee <lerobert@google.com>
2023-12-25 02:30:20 +00:00
YB_Chiu
839fd2a294 audio: Add HAC configurations in factory mixer table
Bug: 317163845
Test: build pass
Change-Id: I7df86685bfec9d7d5c55a29f90fe80021efc9239
Signed-off-by: YB_Chiu <yubinc@google.com>
2023-12-21 15:53:01 +08:00
yixuanjiang
abca76c22f audio: update microphone table for tegu project
Bug: 313546004
Bug: 316987758
Test: verify by HW
Change-Id: I4d85a77dc9be3ad65833e95ad6ef8360546ee2c6
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2023-12-20 05:08:12 +00:00
Robert Lee
bb74c90d58 audio: update mixer table
1. Remove all controls for cs35l41.
2. Reduce playback volume gain to 47 (default is 55)

Bug: 315921215
Test: build pass
Change-Id: Ied8bdff483fc0c5b34c90e6abf055ff46a97c1ff
Signed-off-by: Robert Lee <lerobert@google.com>
2023-12-12 09:34:30 +00:00
YB_Chiu
826076143a audio: update factory mixer table
1. update playabck gain tinymix commands
2. remove all controls for cs35l41
3. remove ultrasound playback path

Bug: 314114093
Test: build pass
Change-Id: I04713ba7fb6dd5532f05a425d20814dde9763312
Signed-off-by: YB_Chiu <yubinc@google.com>
2023-12-01 08:59:22 +00:00
Robert Lee
f591e947f4 audio: update tuning bin for PG2.0
Bug: 313341617
Test: local test
Change-Id: Ieb5e12efe0d9c15de12f3cd85f5a44101b7852cc
Signed-off-by: Robert Lee <lerobert@google.com>
2023-12-01 16:50:25 +08:00
Robert Lee
e8e2aafe77 audio: remove crus_sp_cal_mixer_paths.xml to fix BB
Bug: 314242482
Test: build pass
Change-Id: I9aa8878fa75ce33e18592d5b5079242b792ced22
Signed-off-by: Robert Lee <lerobert@google.com>
2023-12-01 06:37:34 +00:00
Robert Lee
6d140184c8 audio: update speaker tuning bin
Bug: 313341617
Test: build pass
Change-Id: Ic9a87bccf8951257776646354767ddf4ff9632f3
Signed-off-by: Robert Lee <lerobert@google.com>
2023-11-27 15:56:04 +08:00
Wilson Sung
a5146d127e Initialize Tegu
Copy tegu from caimito c3019ae

Bug: 298309659
Change-Id: I7d168ff0c60b7c3696239c12534ea3cfac239c1a
2023-09-15 09:48:00 +00:00