Commit graph

27 commits

Author SHA1 Message Date
Yixuan Jiang
971c9743ce tegu: Update xml for recording setting
Bug: 356733590
Change-Id: I3e3e160d00f9987e778963852b9073761010e897
Signed-off-by: Yixuan Jiang <yixuanjiang@google.com>
2024-08-01 14:54:32 +08: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
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
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
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
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
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
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
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
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
Wilson Sung
a5146d127e Initialize Tegu
Copy tegu from caimito c3019ae

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