Commit graph

2329 commits

Author SHA1 Message Date
George Lee
aea23ce5b2 bcl: Enable limitation on VDROOPX and BATOILO am: ba2a4ec458
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16076667

Change-Id: Ib3159db62497b5e4e232e4c43b71b93c86d33fce
2021-11-18 20:23:38 +00:00
George Lee
ba2a4ec458 bcl: Enable limitation on VDROOPX and BATOILO
To mitigate Synthetic load in brownout test, we need to increase
UVLO1 to 3.2V, UVLO2 to 3.0V, and increase BAT_OILO deglitch time from
100us to 1ms.  In addition, we must limit DVFS State whenever the
interrupts are triggered.

Bug: 200943374
Test: Local test
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Iaf607b48eda878fc47cb4eb85e326e2d0a8684f0
2021-11-18 19:33:20 +00:00
TeYuan Wang
bc7c206aaa thermal: disable usbc protection for EVT1.0 and PROTO
We have USBC thermistor change after EVT1.0, so disable the
throttling for earlier HW version to prevent false alarm.

Bug: 197266814
Test: adb shell cat /dev/thermal/tz-by-name/usb_pwr_therm2/temp
Change-Id: Ia829d6a16d8ac390ed213efe2c5e12e24aca4320
2021-11-17 18:41:00 +00:00
Benjamin Collins
661b79346d Revert "Revert "thermal: update TPU SKIN policy"" am: 61d459a428 am: c0eb47067b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16221979

Change-Id: Ibdcfb9dd5a9b98db58b18f31faf0709e9e16562d
2021-11-17 18:16:27 +00:00
Benjamin Collins
c0eb47067b Revert "Revert "thermal: update TPU SKIN policy"" am: 61d459a428
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16221979

Change-Id: I2efd10797b622acf2565f3eb8d02f902556294b9
2021-11-17 17:52:37 +00:00
Vincent Tew
d25ce1e3a5 [automerger skipped] Revert "Revert "Update: audio tuning table"" [DO NOT MERGE] am: 51e7f7fb3b am: 1a9bf29f74 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16258248

Change-Id: I0cdd475b69ca2d8fac18b1d2d62ab32b56ef564b
2021-11-17 17:40:36 +00:00
Benjamin Collins
61d459a428 Revert "Revert "thermal: update TPU SKIN policy""
This reverts commit 00246ff28cfbdad5bab98071e3f3ac51027668b2.

Reason for revert: camera no longer broken

Bug: 201155685
Change-Id: I2e21bd0daa3eb70cea2c8dae566c77d50fd7a686
2021-11-17 17:33:41 +00:00
Vincent Tew
1a9bf29f74 Revert "Revert "Update: audio tuning table"" [DO NOT MERGE] am: 51e7f7fb3b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16258248

Change-Id: Ia05c49653d65213e078b421150d4d94c56b4e6fd
2021-11-17 17:17:34 +00:00
Vincent Tew
51e7f7fb3b Revert "Revert "Update: audio tuning table"" [DO NOT MERGE]
This reverts commit fa1f5094d1.

Reason for revert: MBDRC solution merged, revert the tuning back

Bug: 205934425
Change-Id: I431a1a9117d6c10416c0f94b33643480815e583b
2021-11-17 16:52:16 +00:00
millerliang
91daad4478 audio: change format of mmap-playback to float
Bug: 201398105
Test: OboeTester
Change-Id: If63d33624100185d1126d8e00df5a14b5da9a4d5
2021-11-17 08:32:56 +00:00
Cole Faust
ec16f8c155 Replace PHONE_CAR_BOARD_CONFIG with more specific PHONE_CAR_BOARD_PRODUCT
The statement
```
include $(PHONE_CAR_BOARD_CONFIG)
```
is difficult to translate to the Starlark configuration file. Fortunately,
all the potential values of this variable have have similar structure, so
```
PHONE_CAR_BOARD_CONFIG := device/google_car/foo/BoardConfig.mk
....
include $(PHONE_CARD_BOARD_CONFIG)
```
can be changed to
```
PHONE_CAR_BOARD_PRODUCT := foo
....
include device/google_car/$(PHONE_CAR_BOARD_PRODUCT)/BoardConfig.mk
```

Bug: 190051051
Test: treehugger
Change-Id: Ic7563540a70670f42d73f6466860fadf7883fb86
2021-11-17 00:24:50 +00:00
Victor Liu
da993a0946 nfc: enable nfc debugging for usedebug builds am: 3d9d289756 am: 9ff33f5a38
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16242177

Change-Id: Ie65e38ea6af7c48fdeea6107de458b85bf32ed66
2021-11-16 18:33:15 +00:00
Victor Liu
9ff33f5a38 nfc: enable nfc debugging for usedebug builds am: 3d9d289756
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16242177

Change-Id: I34e112dfee82677e5bb8c176bcf081a8f979a55f
2021-11-16 18:09:24 +00:00
Victor Liu
3d9d289756 nfc: enable nfc debugging for usedebug builds
Requested by vendor to help debug uwb applets

Bug: 205861476
Test: build and check out/*/libnfc-hal-st.conf has debug change
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I748ceba61fe4f24326b1111a7f07de6c037c7dfc
2021-11-12 00:29:59 +00:00
vincenttew
5017f0d504 Revert "Update: audio tuning table" am: fa1f5094d1 am: 1dd04b76b7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16238922

Change-Id: Iedb2eade576e85b58e8e74db76f90741c24ae5bf
2021-11-11 14:01:34 +00:00
vincenttew
1dd04b76b7 Revert "Update: audio tuning table" am: fa1f5094d1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16238922

Change-Id: I6e56001103e8e2da3db4695bf0f908c48b497d90
2021-11-11 13:47:35 +00:00
vincenttew
fa1f5094d1 Revert "Update: audio tuning table"
This reverts commit 4bfaa9f2f3.

revert reason: the AoC prebuilt MBDRC seems not working after pick
prebuilt ag/16234618, the bug tracking on b/205934425, will apply
this tuning back once the MBDRC can work correctly on sc-v2-dev

Bug: 205934425
Change-Id: I24e2805675360d59d70cd2b5a9095aaf1c8a5875
Signed-off-by: vincenttew <vincenttew@google.com>
2021-11-11 18:20:25 +08:00
vincenttew
b809879418 Update: audio tuning table am: 4bfaa9f2f3 am: 93a1176824 am: cb94151a31
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16191708

Change-Id: Ia6b046c0ed6145b87d744dbd0c3846ab8537178b
2021-11-10 03:50:04 +00:00
vincenttew
052901d64e Update: audio tuning table am: 4bfaa9f2f3 am: 47f0f8d016 am: 5d16114baf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16191708

Change-Id: I783944beb52e4132676b0b78786e734d75a70f90
2021-11-10 03:49:44 +00:00
vincenttew
cb94151a31 Update: audio tuning table am: 4bfaa9f2f3 am: 93a1176824
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16191708

Change-Id: I4ed8a0c13612167866dce4dea6d83426794e7ffb
2021-11-10 03:24:51 +00:00
vincenttew
5d16114baf Update: audio tuning table am: 4bfaa9f2f3 am: 47f0f8d016
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16191708

Change-Id: I225289b6a55945f3e763ca30a926186427e98ea5
2021-11-10 03:24:37 +00:00
vincenttew
93a1176824 Update: audio tuning table am: 4bfaa9f2f3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16191708

Change-Id: Ief9126fed491ec9893761ad3a61563b4f368fadf
2021-11-10 03:13:57 +00:00
vincenttew
47f0f8d016 Update: audio tuning table am: 4bfaa9f2f3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16191708

Change-Id: Iacaff188b70346f958163e8f099466203ea32865
2021-11-10 03:13:54 +00:00
Rios Kao
5bbba35f19 audio: add support for aec recording path am: 7b87bd2241 am: 3bbf4164a4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16057600

Change-Id: I753eb2128dbd90ec314fecc3d5493a4389683d18
2021-11-09 13:56:23 +00:00
Rios Kao
3bbf4164a4 audio: add support for aec recording path am: 7b87bd2241
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16057600

Change-Id: Ia29e134735bcbaab92cc0fe19d3c4c6eb1f18897
2021-11-09 13:35:54 +00:00
Rios Kao
7b87bd2241 audio: add support for aec recording path
Add Audio Capture Eraser Enable to switch
    Eraser for recording path.
    For gain of this path, we shouldn't apply
    software gain, because the input source is
    from hotword pipeline.

Test: build pass
Bug: 172266161
Change-Id: Iabe372e7fe91e557ba9125af14bfb61606c09ea0
2021-11-09 13:05:24 +00:00
Gaurav Sarode
34a08de36e Support Oriole for automotive builds am: 59a71ba972 am: 508c41e3c9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16193136

Change-Id: Ia2ada0798c16609238608cd746cc595be1b4ee64
2021-11-05 22:37:45 +00:00
Tomasz Wasilczyk
ff5d57e727 [automerger skipped] Support automotive builds. am: 3d30571078 am: 1a1d10711c -s ours
am skip reason: Merged-In I20decb81c3a7993ce75f807e26c2bc903d333340 with SHA-1 3a55c05b18 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16193135

Change-Id: I3e829d1297fac61969b312ed2000dab89bcc2860
2021-11-05 22:37:43 +00:00
Gaurav Sarode
508c41e3c9 Support Oriole for automotive builds am: 59a71ba972
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16193136

Change-Id: I9951ca7f9abea2a840abed3875d8e6c6442d014e
2021-11-05 22:13:17 +00:00
Tomasz Wasilczyk
1a1d10711c Support automotive builds. am: 3d30571078
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16193135

Change-Id: I0d32207af48d96bb77153569908f9423a35dfa7f
2021-11-05 22:13:16 +00:00
Gaurav Sarode
59a71ba972 Support Oriole for automotive builds
bug: 205158078
Test: Local build and test aosp_oriole_car
Change-Id: I31fd5e2e6bf262f72ffc086cebdefdbd1f76b6ed
2021-11-05 21:49:02 +00:00
Tomasz Wasilczyk
3d30571078 Support automotive builds.
Bug: 187195661
Bug: 205158078
Test: build aosp_raven_car-userdebug and flash R4
Change-Id: I20decb81c3a7993ce75f807e26c2bc903d333340
Merged-In: I20decb81c3a7993ce75f807e26c2bc903d333340
2021-11-05 21:49:02 +00:00
vincenttew
4bfaa9f2f3 Update: audio tuning table
Change list:
Update recording.gatf, templete file for modifying parameters to fit
the change of dynamic range compressor(DRC)(b/200794903), the DRC has
been changed from 1 band to 3 band.

Bug: 204745396
Test: build pass
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: Ic0962536e50b310a159af15e7e191f130d41e969
2021-11-05 16:41:47 +08:00
Victor Liu
884fe4a32f uwb: update AoA capabilities am: c636f58192 am: f72f30fce4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16182259

Change-Id: I24c9a0f743020edc5e4dc0a01481adfdcc095396
2021-11-04 23:47:00 +00:00
Victor Liu
f72f30fce4 uwb: update AoA capabilities am: c636f58192
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16182259

Change-Id: I881405b2e9fa4a888af8bd9c1793a4761e4d0669
2021-11-04 23:27:18 +00:00
Victor Liu
c636f58192 uwb: update AoA capabilities
remove has_elevation_support since it's not supported

Bug: 202900376
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I9bcd1ea20379fa6d2d6731bed0709fd54117eaf0
2021-11-04 23:06:36 +00:00
Krzysztof Kosiński
9f50f9c1d3 [automerger skipped] Configure Lyric camera IQ tuning for O6/R4. am: 65b7d3d708 am: 131ff4c85e -s ours
am skip reason: Merged-In If99c56fb4d41a86916b6d21289c5b34ce7446e20 with SHA-1 0fc38d279c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16178981

Change-Id: Ie6cfb27dc3842d6ebb9b2f65d0b753c2ba2a36af
2021-11-04 22:28:28 +00:00
Krzysztof Kosiński
131ff4c85e Configure Lyric camera IQ tuning for O6/R4. am: 65b7d3d708
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16178981

Change-Id: I41e9d7b427b361febb108e6762532f7933daf1a5
2021-11-04 22:11:55 +00:00
Krzysztof Kosiński
65b7d3d708 Configure Lyric camera IQ tuning for O6/R4.
Bug: 200221875
Test: build and check camera HAL APEX content for affected devices
Change-Id: If99c56fb4d41a86916b6d21289c5b34ce7446e20
Merged-In: If99c56fb4d41a86916b6d21289c5b34ce7446e20
2021-11-04 21:58:06 +00:00
Krzysztof Kosiński
61162924ca Add missing Lyric configuration for whitefin
Bug: 205087705
Test: build for whitefin
Change-Id: I9b6b3d51ba9058c3de4d93e42e93876f0a08989a
2021-11-04 11:37:22 -07:00
Krzysztof Kosiński
0fc38d279c Configure Lyric camera IQ tuning for O6/R4.
Bug: 200221875
Test: build and check camera HAL APEX content for affected devices
Change-Id: If99c56fb4d41a86916b6d21289c5b34ce7446e20
2021-11-04 07:41:04 +00:00
Victor Liu
6fb7a29402 uwb: update ccc calibration value am: 9fbe2c86e4 am: 8bc61a2062
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16166356

Change-Id: Icaa3da6b389ccf30e7a10c29ed199e2ba80b597c
2021-11-03 06:47:56 +00:00
Victor Liu
8bc61a2062 uwb: update ccc calibration value am: 9fbe2c86e4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16166356

Change-Id: Ieedd8d4eeae9abb7de0201253f9ddd388e19e6ba
2021-11-03 06:33:20 +00:00
Victor Liu
9fbe2c86e4 uwb: update ccc calibration value
Bug: 195755847
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I9a144cbccdb089b1cc03c677ba26071488138b91
2021-11-03 06:17:38 +00:00
Jasmine Cha
6c0b1b1034 audio: waves: add test file for unit test am: e303cad342 am: 0586179b4d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16123776

Change-Id: Ia1c421c8bda6e6a87d0dd70419cdd0c2660516ba
2021-11-02 06:40:07 +00:00
Jasmine Cha
0586179b4d audio: waves: add test file for unit test am: e303cad342
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16123776

Change-Id: I2c585f9dec4cab73cec7a0ba137ef567fac1564d
2021-11-02 06:22:34 +00:00
Jasmine Cha
e303cad342 audio: waves: add test file for unit test
Bug: 204272480
Test: atest audio_waves_halcontroller_tests

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I7aa5205c7443692c95b96ac6537d404e0e15d165
2021-11-02 06:18:13 +00:00
Victor Liu
afac3fed5e uwb: update hal offset timer am: 5533a4afdb am: 48af24f30a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16144082

Change-Id: Ieef4bbd05aff8a6ce49c390acd165c6725702a6d
2021-11-01 16:42:45 +00:00
Victor Liu
48af24f30a uwb: update hal offset timer am: 5533a4afdb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16144082

Change-Id: I4c3cefa489e5ac0a82c915c826cce642a95a3639
2021-11-01 16:05:17 +00:00
Victor Liu
5533a4afdb uwb: update hal offset timer
Bug: 203119045
Change-Id: I347a7bd89f4404ad553ed3179662c114a0d0a02d
2021-10-28 23:54:05 +00:00