Commit graph

617 commits

Author SHA1 Message Date
samou
e05a45ac1b bm: add mitigation config file for caimito
Bug: 319619657
Change-Id: I76cf52eaccfac00eb177752e5105eaabdae2e4c6
Signed-off-by: samou <samou@google.com>
2024-03-14 02:15:21 +00:00
Treehugger Robot
53c1f9c2f4 Merge "uwb: add overlay" into 24D1-dev 2024-03-07 16:07:42 +00:00
Victor Liu
1627551b73 uwb: add overlay
Bug: 328328781
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I334581d19312c98f26577a509b910db9b8ded215
2024-03-06 21:10:03 +00:00
Treehugger Robot
08d2ba261d Merge "audio: update recording table" into 24D1-dev 2024-03-06 19:27:40 +00:00
Yixuan Jiang
9fc9a1b499 audio: update recording table
[Subject]
Check in recording tuning table for device
  Update recording.gatf & audio_platform_configuration.xml

[Details]

Change list ver 5.0 for EVT 1.1 :
1. Tuning table for enabling Mic COMP module

Bug: 327138345
Bug: 327137905
Bug: 327138336

Change-Id: I25ed3032d249a8c657e23b9f7e6b4e42774bf7f3
Merged-In: I25ed3032d249a8c657e23b9f7e6b4e42774bf7f3
Signed-off-by: Yixuan Jiang <yixuanjiang@google.com>
2024-03-06 02:32:54 +00:00
Carter Hsu
32eb2b8931 audio: 2024/02/29 Fortemedia table check in
<change list>
TK4
- Handset (Ricky)
1. HAWB Modify TdDRC expander as short term for BWE noise issue on (max to max-2)
- Handsfree (Ricky)
1. HHSWB fine tune (max-1 to min) for EVT1.1
2. HHWB fine tune for EVT1.1
     TX/RX: PreEQ, TdDRC, EQ

- Headset (Gene)
1. HE WB: Mitigate the NB call RX noise after speech due to noise from NW and boosted by BWE.
2. HE WB: Enable 120Hz HFP for both TX and RX
3. HE WB Rx FNS level from 0x0006 to 0x000F for CCA BWE

- BT (Gene)
1. BTWB and BTWB_NREC WB Rx FNS level from 0x0006 to 0x000F for CCA BWE



CM4
- Headset (Gene)
1. HE WB: Mitigate the NB call RX noise after speech due to noise from NW and boosted by BWE.
2. HE WB: Enable 120Hz HFP for both TX and RX
3. HE WB Rx FNS level from 0x0006 to 0x000F for CCA BWE

- BT (Gene)
1. BTWB and BTWB_NREC WB Rx FNS level from 0x0006 to 0x000F for CCA BWE


KM4
- Headset (Gene)
1. HE WB: Mitigate the NB call RX noise after speech due to noise from NW and boosted by BWE.
2. HE WB: Enable 120Hz HFP for both TX and RX
3. HE WB Rx FNS level from 0x0006 to 0x000F for CCA BWE

Bug: 327555914
Test: Verified by Acoustic team
Change-Id: I2939312348ac6d9a13ac4be86460d49839b545ca
Signed-off-by: Carter Hsu <carterhsu@google.com>
(cherry picked from commit 2678747eae)
2024-03-05 11:22:16 +00:00
Yabin Cui
2bda846652 Merge "caiman: add etm modules in userdebug/eng builds" into main 2024-03-04 18:36:10 +00:00
Treehugger Robot
269defe48f Merge "thermal: update WLC charging throttling policy" into main 2024-03-04 16:59:56 +00:00
Treehugger Robot
4a49f89c93 Merge "powerhint: fix duplicated LAUNCH action" into main 2024-03-01 05:52:19 +00:00
Treehugger Robot
b200f23964 Merge "GPS : Update GNSS FW 4.15.0_147" into main 2024-03-01 03:55:57 +00:00
Treehugger Robot
5d1140381b Merge "Enabling Observe mode" into main 2024-03-01 00:29:10 +00:00
Treehugger Robot
560d2a57eb Merge "Enabling Observe mode" into main 2024-03-01 00:29:10 +00:00
Treehugger Robot
c22c66b10b Merge "Enabling Observe mode" into main 2024-03-01 00:29:10 +00:00
Yabin Cui
06b08f2a8b caiman: add etm modules in userdebug/eng builds
Since etm modules are not in the normal kernel prebuilts,
they get left out of modules.load. So also import rc
file to load them.

Bug: 321061072
Test: build and run caiman
Change-Id: Iaf41244bc1135b7528d3a3ec3e92a4e644f5ee53
2024-02-29 16:18:56 -08:00
Yvonne Yip
33c9a3fb77 powerhint: fix duplicated LAUNCH action
Bug: 327623327
Test: boot
Change-Id: I9dd0b18acd4ea7e0ff0c9d6f5901c61e46428d12
2024-02-29 12:41:18 -08:00
Brad Lassey
3086f68a2f Enabling Observe mode
Bug: 327601464
Test: Tested on local device
Change-Id: I6161c2a2671bcd1b3cbd176a597a36b3af618039
2024-02-29 20:06:51 +00:00
Brad Lassey
705e35e4c7 Enabling Observe mode
Bug: 327601464
Test: Tested on local device
Change-Id: Ic00a1b596bff01526d443bc649ca7fdd9af6a750
2024-02-29 20:06:44 +00:00
Brad Lassey
8599e087d0 Enabling Observe mode
Bug: 327601464
Test: Tested on local device
Change-Id: I9a72ecd1032eb3899b3aa45a72443a164a79b798
2024-02-29 20:06:05 +00:00
Bill Yi
ca29bc0475 Add template for generating Caiman/Komodo/Tokay vendor blobs
Also add template for generating factory image

TEST: generated images/blobs from artifacts. Flashed device

BUG: 325612343
Change-Id: Iadf0f425866b0bde379fcea15348a01a53860d51
2024-02-29 11:24:06 -08:00
Treehugger Robot
a001a40448 Merge changes from topic "thread_hal_config" into main
* changes:
  Support Thread HAL on KM4CM4TK4
  Support Thread HAL on ripcurrentpro
  Add Thread Service Config
2024-02-29 10:20:44 +00:00
shihchienc
4ef4ccf7f3 Support Thread HAL on KM4CM4TK4
add Thread config into device, default not enabled.

Bug: 318601784
Test: Build pass
Change-Id: Ie2fbb205ff373762d20c12f013e7f892cc2787ad
2024-02-29 05:44:18 +00:00
shihchienc
1d9c4e7081 Support Thread HAL on ripcurrentpro
add Thread config into device, default not enabled.

Bug: 318601784
Test: build pass
Change-Id: I63aa1eb386fcf26967c9b7e2f02b2afc87dcba2f
2024-02-29 05:44:07 +00:00
shihchienc
f08329c9f7 Add Thread Service Config
Bug: 318601784
Test: Build pass
Change-Id: I3fcff022849c2729301e52820ec7139e133131c8
2024-02-29 05:43:43 +00:00
TeYuan Wang
ea8c58d2d1 thermal: update WLC charging throttling policy
Bug: 323435751
Test: run the charging test with D250
Change-Id: I028f809f54fdb0c9675c82f34f6aab989b99cb65
2024-02-29 04:59:17 +00:00
TeYuan Wang
293906adff thermal: reading the thermistor temperature from upstream sysfs for proto
Bug: 326252555
Test: adb shell dumpsys thermalservice
Change-Id: I13dc61d5d4df64b3a9858dc062a3eee52d0dee94
2024-02-29 02:12:11 +00:00
Bill Yi
c90f92067a Merge "Add AOSP support for caiman/komodo/tokay" into main 2024-02-28 19:58:31 +00:00
Mitch Phillips
648b4936c8 Merge "Disable MTE on certain system processes that have it enabled by default" into main 2024-02-28 08:19:50 +00:00
TeYuan Wang
f2a7aba99e thermal: reading the thermistor temperature from upstream sysfs
tz_temp callback will invoke thermal_zone_device_update and return the cached temp from thermal core. However, during device resume, the cached temp may be reset to INVALID number before being returned.
So, change the reading path to upstream temp_show which will return the temperature from thermistor driver directly.

Bug: 326252555
Test: adb shell dumpsys thermalservice
Change-Id: I82cf81d940585c4827256804bc9c9397f4b54ccf
2024-02-28 07:30:38 +00:00
James Huang
05267ee6c4 GPS : Update GNSS FW 4.15.0_147
Bug: 327304220
Test: Verify CTS/VTS and GNSS sanity test
Change-Id: I5e13faad368c5ddf6387399dd156ff869eb28830
2024-02-28 14:32:17 +08:00
Yvonne Yip
4269b04d39 Merge "powerhint: port changes from p23" into main 2024-02-28 00:26:01 +00:00
Bill Yi
443a642059 Add AOSP support for caiman/komodo/tokay
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/caiman
platform/vendor/aosp/google_devices/komodo
platform/vendor/aosp/google_devices/tokay

and the path is
vendor/google_devices/caiman
vendor/google_devices/komodo
vendor/google_devices/tokay

BUG: 325612343
Change-Id: I881994da5b81e963f5427af1642e29bffdca9c97
2024-02-27 14:26:16 -08:00
Sayanna Chandula
11c24123c3 Merge "thermal: update vt model with 3 prev samples" into main 2024-02-27 21:09:19 +00:00
Yvonne Yip
361c057f61 powerhint: port changes from p23
- Add DISPLAY_CHANGE powerhint
- Add more boosts to LAUNCH_EXTEND
- Remove unused idle target residency settings

Test: boot
Change-Id: Iadaf2c57ce2e85c72bff9fbf4891300caa3eb469
2024-02-27 20:09:38 +00:00
Sayanna Chandula
879af0e284 thermal: update vt model with 3 prev samples
Bug: 326130588
Test: Build and boot on device

Change-Id: If08449d01fc3c70ef68ba2900ab0ea0d6840a9c4
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-02-27 15:31:42 +00:00
Mitch Phillips
e3f2c1238c Disable MTE on certain system processes that have it enabled by default
A bunch of stuff in build/make/target/product/memtag-common.mk is specified has having MTE by default, in order to ensure that OEMs that have MTE-capable devices get a default level of MTE on security sensitive processes.

For now, on these devices, ensure that devices that enable MTE through the developer toggle (or the bootloader cmdline) only have the zygote with MTE.

Bug: 327060622
Change-Id: Ibb6d4fba7915c8556ebe9a303d38f7c642ad8fe9
Test: I do not have a device to test with - but follow the instructions at b/327060622
2024-02-27 13:44:56 +00:00
Treehugger Robot
eddb8013e6 Merge "audio: [KM4/CM4/TK4] 2024/02/26 Fortemedia table check in" into main 2024-02-27 11:52:43 +00:00
Rick Yiu
e4c0d822f3 Merge "Revert "Disable auto prefer idle if ta prefer_idle is explictly disabled"" into main 2024-02-27 06:42:57 +00:00
Carter Hsu
b72d3f68a0 audio: [KM4/CM4/TK4] 2024/02/26 Fortemedia table check in
<change list>
TK4
- Handset (Ricky)
1. HA fine tune for EVT1.1 on WB/SWB
     TX/RX: TdDRC, EQ
-Handsfree (Ricky)
1. HH fine une for EVT1.1 on SWB
    TX: Pre-EQ, TdDRC
    RX: TdDRC gain/ limiter(Limiter THR => 50C3 (-4dB)), EQ for Max vol
2. Disable adative NS on WB/SWB

- Headset (Gene)
1. Improve HE  Blackbird WB TX echo noise
2. Enable WB DL FENS for F821 adaptor

KM4
- Headset (Gene)
1. Improve HE  Blackbird WB TX echo noise
2. Enable WB DL FENS for F821 adaptor

CM4
- Headset (Gene)
1. Improve HE  Blackbird WB TX echo noise
2. Enable WB DL FENS for F821 adaptor

- Handset/Handsfree (Duncan)
1: HHWB 3QUEST NMOS improvement
2: HHWB/SWB RX TdDRC limiter threshold 0x5800/0x5900 to avoid pop sound
3: HHWB RX max volume fine tune for FR and distortion 1020Hz
4: HHWB SLR tune to 10.6dB
5: HHSWB SFR, RFRmax tuning for distortion pass

Bug: 326846982
Test: Verified by Acoustic team
Change-Id: I16b038fe1fb9206bfa9cc83bd0657902a0f6e47b
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-02-27 11:00:01 +08:00
Rick Yiu
f8d8a2b2db Revert "Disable auto prefer idle if ta prefer_idle is explictly disabled"
This reverts commit 3beb1e6364.

Reason for revert: to avoid potential power regression

Bug: 326507991
Change-Id: If0fa9544c1848cfa5e195570c805653a33e52a75
Test: build pass
2024-02-27 01:48:20 +00:00
Wei Wang
882fa9d0c7 Merge "Disable CDPreferHighCap, use cam2 for CAMERA_STREAMING_STANDARD" into main 2024-02-23 22:33:20 +00:00
Achigo Liu
d43349277f Merge changes from topic "2024-02-22-caimito-comet-kernel" into main
* changes:
  display: cm4: don't apply overlay in low light
  display: km4: don't apply overlay in low light
2024-02-23 11:56:57 +00:00
Rick Yiu
3beb1e6364 Disable auto prefer idle if ta prefer_idle is explictly disabled
In auto prefer idle mode, a task in top-app will be granted prefer
idle if it satisfied the conditions. So turn auto prefer idle off
if top-app prefer_idle is explictly disabled.

Bug: 326507991
Test: build pass
Change-Id: Ie8d02bcc2291c00f12c337220d0d7ad80729d6a9
2024-02-23 07:56:43 +00:00
Richard Chang
03dddaa99e Merge "caimito: move zram size setting to general mk file" into main 2024-02-23 06:08:35 +00:00
Treehugger Robot
d2c9df5cb0 Merge "conf: update cs40l26 sysfs ownership" into main 2024-02-23 02:50:15 +00:00
Ali K. Zadeh
0041bcd547 Disable CDPreferHighCap, use cam2 for CAMERA_STREAMING_STANDARD
Using cam2 will help reduce the framedrops for 120fps, and disabling
CDPreferHighCap helps with distributing the tasks to all cores and not
just being restricted to middle cores.

Test: https://g3doc.corp.google.com/wireless/android/camera/camera_performance_analyzer/power_tuning/results/g3doc/prefer_highcap_midcpus_30fps_120fps/index.md?cl=alikz/932
Test: https://docs.google.com/spreadsheets/d/1sKURR1tq0KJCTycw86BVk3wX2wWQ72HUDKq3rpzSLuc/edit?resourcekey=0-qbawDHe11an1OMQYqhj5Zw#gid=247988314
Test: https://docs.google.com/spreadsheets/d/1zOCS8hnphaNMcR_VoXgB3UkQl42i_r_CDY9Y7lzzZDA/edit?ouid=105033174378721646302
Bug: 322542383
Bug: 322229036
Bug: 311011064
Change-Id: I5bb427be8c1707515ab3ec2cea26bbb8ad338afa
2024-02-22 21:14:38 +00:00
Tai Kuo
2d8359e05a conf: update cs40l26 sysfs ownership
Bug: 326085750
Test: No permission denials.
Change-Id: I7bea4ab95125ca38b61ba016d88e245fd08a74f8
2024-02-22 22:00:54 +08:00
Alan Chen
aa3f6e79fd Merge "Add radioext aidl" into main 2024-02-22 13:21:01 +00:00
Treehugger Robot
42eb9c42e5 Merge "gps: update gps version 4.15.0.145" into main 2024-02-22 09:06:40 +00:00
Alan Chen
ec97a1d6a1 Merge "Update coex table" into main 2024-02-22 06:57:07 +00:00
John Pan
9885b6c176 Merge "Don't use default wallpaper when factory build" into main 2024-02-22 05:23:36 +00:00