Commit graph

472 commits

Author SHA1 Message Date
Andrew Chant
77e6c02e7c shusky: move perf/thermal configs around
Move shusky thermal .json files into thermal/
and perf configs into perf/.

Also move the configs into device-shusky-common.mk,
allowing override of the config file path.

Bug: 277993984
Change-Id: Ifa2882ee9c27c57d967c27f9f8e8edaff313e2d5
2023-05-02 09:39:45 -07:00
Dan Moore
bb1576b0ff Merge "thermal: update bts_window_partial coefficients" into udc-d1-dev 2023-05-02 15:00:31 +00:00
Carter Hsu
50fab6913b Merge "audio: FM table check in (2023/04/28) for telephony." into udc-d1-dev 2023-05-02 03:05:51 +00:00
Carter Hsu
f27f61425f Merge "audio: FM table check in (2023/04/28) for telephony." into udc-d1-dev 2023-05-02 03:05:29 +00:00
Treehugger Robot
32e929bbf8 Merge "Camera: Force front camera always binning for 720P or less" into udc-d1-dev 2023-05-02 02:59:26 +00:00
Treehugger Robot
e3a83ba4fe Merge "Revert "Revert "shusky: disable parallel module loading""" into udc-d1-dev 2023-04-29 01:57:34 +00:00
Andrew Chant
04716d5711 Revert "Revert "shusky: disable parallel module loading""
This reverts commit ca1a96d3bd.

Reason for revert: ToT instability.

Bug: 280112517
Change-Id: Icef303545cbef7884c2ae81bd9b9d5fd94ea42ca
2023-04-28 22:41:37 +00:00
Sayanna Chandula
54ae215675 thermal: update bts_window_partial coefficients
Bug: 280076251
Test: Build and boot on device

Change-Id: I11de9feff1803438bf8e5306e0d0a5bea114dbaa
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-04-28 14:07:27 -07:00
Carter Hsu
d835249441 audio: FM table check in (2023/04/28) for telephony.
- HK3 Handset.dat (Owen)
1. Copy SWB Rx settings of Handset_HAC | Voice_Generic to Handset_HAC | RESERVE2
2. Modify NB/WB Rx FDEQ of Max/Max-1/Max-2 to fix distorted sound in Handset | Voice_Generic
3. Copy item2. to Handset | Tmobile-US

- HK3 Heaset (Gene)
Modify TTY RX Gain

Files from the latest attachment on b/279995395

Bug: 279995395
Test: verified by rickycheng@
Change-Id: I1835fedd755a0c449472a8621f801a4b50f4fc45
2023-04-28 10:48:20 +08:00
Carter Hsu
e240a9cb15 audio: FM table check in (2023/04/28) for telephony.
- SB3 Handset (Duncan)
Fine tune NB/WB/SWB for TMO US position

- SB3 Heaset (Gene)
Modify TTY RX Gain

Files from the latest attachment on b/279995733

Bug: 279995733
Test: verified by rickycheng@
Change-Id: Ib3c37c0fd85a04504e4f42b2e889071a71552b62
2023-04-28 10:47:15 +08:00
Rios Kao
7924176f3d Merge "audio: add smartfeature table for chre tuning" into udc-d1-dev 2023-04-28 02:17:07 +00:00
Chung-Kai (Michael) Mei
1e58cbbc4b Merge "Revert "shusky: disable parallel module loading"" into udc-d1-dev 2023-04-28 01:23:29 +00:00
Chung-Kai (Michael) Mei
ca1a96d3bd Revert "shusky: disable parallel module loading"
This reverts commit efaeac87c2.

Reason for revert: the patch for iommu has been merged

Test: shiba rebooted 1000 times without failure and https://android-build.googleplex.com/builds/abtd/run/L49300000960255489 run device-boot-health-check-extra for husky
Bug: 271931921
Change-Id: I4dcbc1e2028facd8531c94c03d0b28cbd6769b06
2023-04-28 01:12:57 +00:00
Treehugger Robot
e8b7e64f7b Merge "thermal: reduce VSYS_PWR_RFFE window to 14s" into udc-d1-dev 2023-04-27 22:34:47 +00:00
TeYuan Wang
70af6960a0 thermal: reduce VSYS_PWR_RFFE window to 14s
Bug: 278948544
Test: emul_temp
Change-Id: Idb4d3179594bb20946fe4e23bceaef9db2c7b494
2023-04-28 02:27:47 +08:00
Wei Wang
a08c53bf89 Merge "shusky: adjust zram swap size to 50% of total memory" into udc-d1-dev 2023-04-26 21:41:50 +00:00
Wei Wang
7746ca2b84 Merge "thermal: remove MMWAVE from partial system power reference" into udc-d1-dev 2023-04-26 18:21:14 +00:00
Jia-yi Chen
35726fa691 Camera: Force front camera always binning for 720P or less
Bug: 275886769
Test: Boot & check logs
Change-Id: I78ded68fdec10c447ad2b402dc979e18d754855f
2023-04-26 10:49:08 -07:00
Shuibing Dai
739ec6cb48 Merge "Enable updating country code from scan results for generic case" into udc-d1-dev 2023-04-26 15:57:24 +00:00
Poomarin Phloyphisut
ee227966b2 [USB Audio] Enable 192k support sample rate to hifi usb
related cl: ag/22549253

Test: Local Test.
Bug: 198122814
Change-Id: I3e0648f616a60f2a6e1fe5fadb30faf6c88978f7
2023-04-26 09:19:28 +00:00
Richard Chang
455a5c9c54 shusky: adjust zram swap size to 50% of total memory
- 8 GB 	-> 3.62 GB
- 12 GB -> 5.57 GB

Bug: 249179924
Test: Boot
Change-Id: I8c9a3ce05893564878fc395579ae962a2fbe53ca
2023-04-26 08:50:49 +00:00
Peter (YM)
ced8f1ee3b thermal: remove MMWAVE from partial system power reference
Since MMWAVE power rail will be removed for SUB6 only sku (device without MMWAVE module),
remove this from partial system power reference.

Bug: 279698561
Test: Build and boot on device, verify device can boot to home and
thermal can launch

Change-Id: I6ae177a58753f701053d531871f9771962f9c114
Signed-off-by: Peter (YM) <peterym@google.com>
2023-04-26 07:59:39 +00:00
Timmy Li
73e108e439 Merge "Disable rlsservice for P23 devices" into udc-d1-dev 2023-04-25 19:32:03 +00:00
Wei Wang
fc09fbf0aa Merge "powerhint: Add CAMERA_STREAMING_VIDEO_CALL hint" into udc-d1-dev 2023-04-25 17:13:49 +00:00
Jia-yi Chen
bfba21f025 powerhint: Add CAMERA_STREAMING_VIDEO_CALL hint
Use CAMERA_STREAMING_VIDEO_CALL powerhint to optimize power for
the video_call use cases like Meet.

Bug: 279451663
Test: Check power and framedrop running Goggle Meet
Change-Id: I51ac0da491b6cb8d1c57d84a3f6b2d67d1a02f4a
2023-04-25 08:51:34 -07:00
Rios Kao
8a2a6b6435 audio: add smartfeature table for chre tuning
note: add smartfeature.gstf that only used for Hotword
      pipeline in AoC which is sharing to chre usage too.

      On ZUMA
        CHRE PDM Gain(gain=10)
        CHRE AEC Gain(gain=-22)
        CHRE SRC AEC Timeout(timeout=300000)
      This table also contains hotword gain control as
      Non Eraser gain (gain=220)
      Eraser Post Gain (gain=220)

Test: end-to-end verify by CHRE
      using aoc_audio_cfg to query gain as below

      adb shell aoc_audio_cfg hotword_get_non_eraser_gain
      adb shell aoc_audio_cfg hotword_get_eraser_post_gain
Bug: 271078701

Change-Id: I8355563141b86c59e0c9115a64b787ac92f5aadd
2023-04-25 05:23:45 +00:00
Rios Kao
0e2008d2a5 Merge changes Ia4b23782,I1432bda8 into udc-d1-dev
* changes:
  shusky: add sound_trigger_tap and hotword_lookback_capture
  audio: reorg aidl_config and add voice call paths for shusky
2023-04-25 05:07:12 +00:00
timmyli
602ad8190d Disable rlsservice for P23 devices
These devices will use spectral driver for ambient
light and flicker information.

Bug: 277959222
Test: ./run_cts.sh
Change-Id: I5a245fa222bc83ed3c4976895671070be02a9a43
2023-04-24 20:06:09 +00:00
Bill Yi
abbeadcfe4 Merge "Add template for generating Husky and Shiba vendor blobs" into udc-d1-dev 2023-04-24 18:30:15 +00:00
Bill Yi
88fa567740 Add template for generating Husky and Shiba vendor blobs
Also add template for factory image

TEST: generated images/blobs from artifacts. Flashed device

BUG: 278968179
Change-Id: Ia26ea58c2f8b94f2aedf1a8f097ba6aa28e53d51
2023-04-24 09:37:00 -07:00
Cyan Hsieh
7c21a77018 Merge "Add device mk OWNERS" into udc-d1-dev 2023-04-24 06:01:50 +00:00
Treehugger Robot
d256ed79c1 Merge "Add supported of POF" into udc-d1-dev 2023-04-24 04:07:53 +00:00
Rios Kao
2a375b2ddb shusky: add sound_trigger_tap and hotword_lookback_capture
note: add path for new use-case
      sync diff from P22.

Test: end-to-end test with test apk
Bug: 259455755

Change-Id: Ia4b23782b6e08258450d3c7ca5624ea387add529
2023-04-24 03:39:56 +00:00
Rios Kao
79ada777b9 audio: reorg aidl_config and add voice call paths for shusky
note: sync audio_platform_configuration from P22

Bug: 206737711
Test: mm
Change-Id: I1432bda83eaff5bdb988a6baaf31705b79100575
2023-04-24 03:39:51 +00:00
George Chang
fd20619cc2 Merge "Update NFC customize settings" into udc-d1-dev 2023-04-21 06:54:06 +00:00
Cyan_Hsieh
204b3a1016 Add device mk OWNERS
Bug: 278167548
Change-Id: I6d08227975a8832c90fdfebde951bd967db1adb3
2023-04-21 13:51:18 +08:00
Treehugger Robot
7cb2951f2a Merge "audio: FM table check in (2023/04/13) for telephony." into udc-d1-dev 2023-04-21 03:23:21 +00:00
TreeHugger Robot
60491aa57f Merge "Enable 32k audio config for LE Audio with condition" into udc-d1-dev 2023-04-21 02:15:19 +00:00
Treehugger Robot
7a889ab62a Merge "[SWB] Enable super wideband" into udc-d1-dev 2023-04-21 01:12:07 +00:00
Shuibing Dai
e6de3af5ff Enable updating country code from scan results for generic case
Bug: 271928725
Bug: 267944733
Test: manually test
Change-Id: Id5ffab8c4c35797872d96ca3448d7d8adeea6b0a
Merged-In: Id5ffab8c4c35797872d96ca3448d7d8adeea6b0a
(cherry picked from commit 5e3e1c947ee2c29687bb25d439518305b824c135)
2023-04-20 20:39:43 +00:00
Patty Huang
bb8178c325 Enable 32k audio config for LE Audio with condition
Align the setting with other projects that only enable 32k
audio config with condition
* Remove the 32k support for two devices
* Remove the 32k for encode only

Bug: 271247229
Bug: 272597112
Test: Check the offload supported config
Change-Id: Ic9a79d632e4b983a29c235122ada504b57c98264
2023-04-20 09:19:10 +00:00
Jason Hsu
95e65ad4c8 audio: FM table check in (2023/04/13) for telephony.
Update mcps.dat
vote for highest clock

Bug: 277993237
Test: tested by acoustic team
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I12bb9cf029af26d629004095f76efb316e3893bf
2023-04-20 07:09:57 +00:00
Bill Yi
062ebe5313 Add AOSP support for Husky and Shiba.
We will have a 'vendor' project containing proprietary blobs
to be able to build and flash Pixel device when vendor source is not
available.
The project names are
platform/vendor/aosp/google_devices/husky
platform/vendor/aosp/google_devices/shiba

and the paths are
vendor/google_devices/husky
vendor/google_devices/shiba

TEST:make and flash a husky device

BUG: 278968179
Change-Id: I1c5424dfddddb8ee29a86f2408a231aa5556a0bb
2023-04-19 22:26:16 -07:00
TreeHugger Robot
7bb022f4bd Merge "thermal: update virtual sensor euqation" into udc-d1-dev 2023-04-20 00:25:52 +00:00
Wei Wang
2c67560c6b Merge "powerhint: Boost GPU(302000) by 1st frame" into udc-d1-dev 2023-04-19 22:02:20 +00:00
George
2fd48aa99e Update NFC customize settings
Add antenna position info for the new NFC API
Update default routing settings and remove legacy settings

Bug: 278829073
Test: manual
Change-Id: Ice6dc1ffce1c9adebf03ccbe8c3d50eb07022186
2023-04-19 13:04:10 +00:00
shihchienc
7bdd128083 [SWB] Enable super wideband
Enable SWB by setting system property

Tag: #feature
Bug: 277338500
Test: flash devices and check property
Change-Id: I5dbdafc0a4ed03f137d4ce9602fe67c1b2fca756
2023-04-19 07:06:10 +00:00
Yung Ti Su
b28bf692ab Merge "add immersive_output" into udc-d1-dev 2023-04-19 04:20:50 +00:00
Robert Lee
db10c22071 Merge "audio: update speaker tuning bin files" into udc-d1-dev 2023-04-19 04:07:24 +00:00
Robert Lee
7376c60b3d Merge "audio: update speaker tuning bin files and fast switch table" into udc-d1-dev 2023-04-19 04:07:05 +00:00