Commit Graph

966 Commits

Author SHA1 Message Date
Tai Kuo
a87896836f Update cs40l26 modprobe modules
Bug: 278018625
Test: Driver probed and checked lsmod.
Change-Id: Ie59677b09eab1ca4b65f151bc05bcf99ad6bca4a
2023-06-01 07:35:23 +00:00
Lokesh Kumar Goel
44a04c7eab Update lynx SVN to 9 am: b1270a0342
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/23451028

Change-Id: Icf9092c841cb55aa13249e84202d3b52ca6bcefc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-27 03:33:26 +00:00
Suprabh Shukla
fe9c0c0140 Update Sound_trigger interrupt mapping
Test: Manually verify the output of `dumpsys batterystats --wakeups`

Bug: 284405919
Change-Id: I23d49e39ae3d694a7131ed18fbf8a7b3ec6053c9
2023-05-26 21:20:47 +00:00
Lokesh Kumar Goel
b1270a0342 Update lynx SVN to 9
Bug: 282371465
Change-Id: I2bc487cf92477db51bdc31868a8482a070af9453
2023-05-26 19:26:22 +00:00
Lokesh Kumar Goel
518c92731a Update lynx SVN to 8 am: 40e7950a68
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/23436282

Change-Id: I73b841c6ef6220fefc0198716189ede3d94c0f32
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-25 21:41:38 +00:00
Lokesh Kumar Goel
40e7950a68 Update lynx SVN to 8
Bug: 282371465
Change-Id: I247e1b42d7224cb9deec7da374654827bb2adc52
2023-05-25 18:20:13 +00:00
Ted Wang
095daf9794 Bluetooth SAR table for hostpot mode scenario
Bug: 283235997
Test: Manual
Change-Id: I95c3110dbc43def30ec9272f9e011cabe3d707e0
2023-05-19 08:24:09 +00:00
Steve Berbary
c524b0aecf Update lynx SVN to 7 am: 5afd78e4a5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/23229420

Change-Id: I9576beb4d083f4b2a27d21e85097517e859e85b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-17 00:18:21 +00:00
Richard Chang
2a47a112fa lynx: remove customizedMaxCachedProcesses
With project Snowbird in U, the MaxCachedProcesses is 1024 by default

Bug: 278086134
Test: Build
Change-Id: I3010e82a0424e20d71df9c9a8ff83f78731730fe
2023-05-15 02:40:03 +00:00
Steve Berbary
5afd78e4a5 Update lynx SVN to 7
Bug: 282371465
Change-Id: I17d48910cd87583118621a76b81c8023c2dfd39d
2023-05-13 22:41:50 +00:00
Xin Li
693aed7667 Fix build for non-Lynx devices. am: 19e09f99f8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/23179591

Change-Id: Ie222d70d5e7950967a1da37f3597312694589401
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-12 03:12:15 +00:00
Qais Yousef
d57beb455c The dvfs headroom was split into its own knob. Update to use it.
util_threshold only controls migration margin now. dvfs headroom has its
own new knob.

Bug: 261705301
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I48d330cb7d9d82d05ec0dfc4b38ea0d8a22409aa
2023-05-12 01:02:23 +00:00
Xin Li
19e09f99f8 Fix build for non-Lynx devices.
radio.img should be target dependent and should not be used
unconditionally.

Test: ag/23177298 against aosp_barbet and aosp_bramble (L03400000960607158)
Bug: 281935024
Change-Id: Ia436210a90dfcb477a19f44eae2412b5589d23fc
2023-05-11 21:55:38 +00:00
Suprabh Shukla
363a65f7c9 Adding interrupt mapping for sound_trigger wakeups
Test: Manually inspect the output of `dumpsys batterystats --wakeups`

Bug: 271922941
Change-Id: If7e1e0a4153796c4836fced1500e27e84d379987
2023-05-10 16:03:20 -07:00
Wendly Li
b9152eee7d touch: move the setup of gti ownership to gs-common
Bug: 278023960
Test: adb bugreport
Change-Id: Ifd57118d37261229f184a8098776423d96140239
Signed-off-by: Wendly Li <wendlyli@google.com>
2023-05-08 17:09:42 +00:00
sashwinbalaji
837a22b1d1 thermal: Update config for stats
Bug: 259903201
Test: local build and verify stats
Change-Id: Ib24d17454e58cbdb305b146018deac66ee64f875
2023-05-04 09:28:48 +00:00
Shuibing Dai
429d547442 Remove overlay item: country code update during setup wizard
The country code updating from scan results generic case can cover setup wizard case.

Bug: 279625751
Test: manually verified generic case
Change-Id: Id173adb1ac0f144b6b293ef707979025d4c358a9
2023-05-04 01:55:08 +00:00
Suprabh Shukla
c30c7c4ff6 Add wakeup interrupt mapping
Test: Manually inspect the output of:
`dumpsys batterystats --wakeups`

Bug: 271922941
Change-Id: Ic418b4fc02f8ada450b43a9a25e82ce37b0beb21
2023-05-03 23:56:14 +00:00
Rick Yiu
5f600515e7 Remove background cpuset setting
Already set in init.gs201.rc.

Bug: 201260585
Test: build pass
Change-Id: Ib1343e32a4133e09029b66f8747b3b43a45548b5
2023-05-02 06:40:57 +00:00
Rios Kao
1375d8428b 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 WHI_PRO
        CHRE PDM Gain(gain=158)
        CHRE AEC Gain(gain=-42)
        CHRE SRC AEC Timeout(timeout=0)
      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: I0091641ba689f04d24f53b898fd29399c48fd21a
2023-04-27 03:53:59 +00:00
Peter (YM)
378190d82f thermal: lower tj control temp during battery save
Use LOW_POWER power hint to detect and lower the control temp
for junction control loops.

Bug: 266011718
Test: Build and boot on device. Check thermal control temperatures
during battery save

Change-Id: If2e0756b24913ed5d71e499e219f7b60b947baaa
2023-04-25 21:48:15 +00:00
Qais Yousef
c0f618e356 powerhint.json: Update uclamp_min hint to account for margin
Upstream has fixed relationship between uclamp_min and margin which
means uclamp_min value between 80-100% of capacity of the CPU is a valid
value and will not cause upmigration.

To keep the current hints in powerhint.json the same, we must update
uclamp_min to be capacity_orig_of(medium_cpu) + 1.

This change is dependent on uclamp vs fits margin in GKI, vendor
modules. And an improvement in sched_pixel to ignore the 25% boost if
the only reason to request the frequency is uclamp_min.

To cater for the later - we multiply each uclamp_min value with 1.25
- except ones that look intentionally set around capacity boundaries.

Bug: 261695590
Test: PtsUiBench
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I4689a953734b6049da14ec13ef399c1c686b1024
2023-04-25 21:27:34 +00:00
Cyan_Hsieh
7d96f2d75f Add device mk OWNERS
Bug: 278167548
Change-Id: I4cb78bbb94fcfda984433636b24c95e7440297f2
2023-04-25 05:36:34 +00:00
Yung Ti Su
b76dfb70ec audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:
Handheld :

Optimize long distance speech preserve on HHWB

Sync TX setting to
- Condor-Headphone/ TTY-VCO / BT-HAC  (WB)

Files from the latest attachment on b/278661101

Bug: 278661101
Test: verified by ntkuo@
Change-Id: I47764bbc65204339b9258d7dfbfab3e312a1f4bb
2023-04-21 07:20:27 +00:00
Jasmine Cha
404e87d2c5 audio: update aidl platform config
- Add spatial_capture_conditions since this conditions will be different
  by each project.

Bug: 267548143
Test: manual test

Change-Id: I177e2179071570ba6a8ab713ea55f0f0b340ec72
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-04-21 10:17:07 +08:00
Patty Huang
4ad1706d86 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: I669dee84bec323437c8dbb0e45a675ac98c0d809
2023-04-21 02:15:16 +00:00
Jimmy Shiu
b55d0a7933 powerhint: Boost GPU(302000) by 1st frame
Take ADPF_FIRST_FRAME hint to boost the GPU freq to 302000

Bug: 243025173
Test: Manual
Change-Id: If9265845c3497e64f9fe944a24061ca21cbedd82
2023-04-19 22:02:15 +00:00
Cyril Lee
228e03b34d Revert^2 "[Quickstart] Turn off QS on legacy Pixels"
6edfcfbcc8

Change-Id: Iebe3f7c73e20919f963bf58362e8f36ae6c1869d
2023-04-19 01:03:59 +00:00
Poomarin Phloyphisut
407fc5eff5 [USB Audio] Enable 192k support sample rate to hifi usb
related cl: ag/22549253

Test: Local Test.
Bug: 198122814
Change-Id: I43e2ca3f17bd5e39f400dd86b33a7230db9574f5
2023-04-18 17:17:26 +00:00
Jasmine Cha
1c6bf15dfd audio: update table
- move control Mic Spatial Module Enable to code.
- add camcorder mic setting.
- move definition of Waves instance id number to code.

Bug: 206738075
Test: manual test/ host test
 vendor.google.whitechapel.audio.hal.audio.tuner_tests

Change-Id: I795402e8c460b01a148ba9e3b032143fddacd3cb
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-04-18 05:13:20 +00:00
Shuibing Dai
a834cefdf1 Enable updating country code from scan results for generic case
Bug: 271928725
Bug: 267944733
Test: manually test
Change-Id: I6250533dc0d061a304d7640b3a548bbbb779e611
2023-04-17 15:46:24 +00:00
Cyril Lee
6edfcfbcc8 Revert "[Quickstart] Turn off QS on legacy Pixels"
Revert submission 22606975-turn off qs

Reason for revert: confirm with team that this CL submit too early and need to rollback then submit again at 4/19.

Reverted changes: /q/submissionid:22606975-turn+off+qs

Change-Id: Ib39c027b1b2fcf78ef68c0ecfdd2d0f6d774fdbd
2023-04-14 01:13:52 +00:00
Cyril Lee
0fd4f57cff [Quickstart] Turn off QS on legacy Pixels
Bug: 277898824
Change-Id: I1b60c0e67be94d988df515876ec763b1bc08bb7a
Test: manually test
2023-04-13 10:04:15 +00:00
Presubmit Automerger Backend
8bba939f3c [automerge] Update lynx SVN to 6 2p: f893bea4f3 am: 504f8cc5a1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/22595983

Change-Id: I9c6e00ea35c449aab17adc486c0b99de40a7b455
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 20:59:46 +00:00
Presubmit Automerger Backend
504f8cc5a1 [automerge] Update lynx SVN to 6 2p: f893bea4f3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/22595983

Bug: 277078610
Change-Id: Ia64f2d51c46a36bbcb2547d4077d4027d0c65985
2023-04-12 19:00:19 +00:00
Steve Berbary
f893bea4f3 Update lynx SVN to 6
Bug: 277078610
Change-Id: I0bff639137245d2d9f76f457c600bdf33746859b
2023-04-12 18:59:55 +00:00
Adam Shih
237551895e create a wlan dump
Bug: 22338832
Test: adb bugreport
Change-Id: I78b81d5bf9f0646581de2a9df081ed657ad4a83f
2023-03-30 14:35:11 +08:00
millerliang
4581323719 audio:enable mmap and raw on BT
AoC can support mmap on BT both playback and recording
after gpar/322484.

Bug: 232205959
Test: OboeTester
Change-Id: I3f8eb8e83d95a1fb60e8f4c3ecc5ab442035aac7
Signed-off-by: millerliang <millerliang@google.com>
2023-03-29 04:14:42 +00:00
Cyan_Hsieh
5f6dc26ec7 Update Lynx SVN to 3 am: dda87b5405 am: cd494b2d46
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/22302833

Change-Id: I8495877b25015ec78e37a1ea19278d39d6cc767e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 11:24:02 +00:00
Cyan_Hsieh
cd494b2d46 Update Lynx SVN to 3 am: dda87b5405
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/22302833

Change-Id: Id74a3894fef63b1205b2ba0c404f8380af0b0694
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 10:56:55 +00:00
Cyan_Hsieh
dda87b5405 Update Lynx SVN to 3
Bug: 275500537
Change-Id: Ieb65f89513022c6a8ad53e863d70557873e10bb1
2023-03-28 16:53:05 +08:00
Liang Li
d131389e6b Enable adjusting link layer stats polling interval
Enable the feature of adjusting link layer stats polling interval in Pixels.

Bug: 237530606
Test: manual
Change-Id: Ifb10f95d08e6e0b7223b9a1214b576b5a331a341
2023-03-28 02:40:43 +00:00
David Li
b7c340d98f audio: reorg aidl_config and add voice call paths
Bug: 206737711
Test: mm
Change-Id: I9cc66ec5d35dd4e8df2981bb4205671fa926ab0c
2023-03-25 17:48:05 +08:00
Carter Hsu
827492459e Fortemdia: update kid's voice performance am: c46679f69f am: d9ccf75c1c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/22185337

Change-Id: I412a3bfbfb07e25170b299b61eca4385d93c2aea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 02:03:55 +00:00
Carter Hsu
d9ccf75c1c Fortemdia: update kid's voice performance am: c46679f69f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/22185337

Change-Id: I76aa04091dd85278c942b72e2e0e52ac6a377e13
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 01:25:42 +00:00
Gaurav Sarode
bcf427acd6 Lynx: Fix configs for google_car varient
Fixed screen density and bt configs for google_car target

bug: 273813426
Test: Local check
Change-Id: I292a071d6325121f884634d0661c8467a2635fe7
2023-03-23 21:21:12 +00:00
Chris Paulo
4e31e5eeb3 device/lynx: Add adaptive haptics feature flag
Add adaptive haptics feature flag to device-lynx.mk to enable feature in
vibrator HAL.

Bug: 198239103
Test: Verified on device
Change-Id: I2fee6f06bfff33b7044516a4022b16bd76a4beb5
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2023-03-22 21:58:42 +00:00
Carter Hsu
c46679f69f Fortemdia: update kid's voice performance
Bug: 274729450
Test: Verified by Acoustic team
Change-Id: I71a5b013576a146960dd2e3028002e5961c87f58
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-03-22 16:38:07 +08:00
Mao Lee
12bd46361e Camera: Add the property to raise the thermal severity to moderate for CPU throttling. am: ace8ff69fc am: ab29b8e4ae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/22106283

Change-Id: I77f94194dfe22c73a609f1b0d43ceff0f6aa3b66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-16 13:40:41 +00:00
Mao Lee
ab29b8e4ae Camera: Add the property to raise the thermal severity to moderate for CPU throttling. am: ace8ff69fc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/22106283

Change-Id: I38c89c61973f6c429735a0d4137413931543ce79
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-16 13:05:03 +00:00