Commit graph

216 commits

Author SHA1 Message Date
Ravi Jain
9501f4c2b9 Vibrator: Set Soong Config variable - kernel_ver
Bug: 340148508
Test: Build and check fw files in all devices.
Change-Id: I9282369332140d7ffdea42be2fcceabe3000acc0
2024-05-20 06:52:23 +00:00
Taeju Park
ea642c51c7 powerhint: add PMU_FORCE_LIMIT control knob am: 6d0a2a2851
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tegu/+/27240564

Change-Id: I22ce6f7431a6243c1309e56ac66d7d5ee6ed27f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-10 19:21:08 +00:00
Treehugger Robot
ee1e2de6d7 Merge "tegu: align buildin microphone value for master" into main 2024-05-10 02:22:46 +00:00
Peter (YM)
36ca057ab7 thermal: Align PARTIAL_SYSTEM_POWER rails
Test: Build and verify offmode charge no thermalhal crash
Bug: 332417716
Change-Id: I7735336ed5282457af8f134c065c01f8022813c8
Signed-off-by: Peter (YM) <peterym@google.com>
2024-05-09 03:40:48 +00:00
Peter (YM)
d8e30d91db Merge "thermal: update thermal config" into main 2024-05-09 03:39:48 +00:00
Peter (YM)
605307f729 thermal: update thermal config
Algin with latest device setting

1. Update cdevceiling and hardlimit with frequency
2. Update TPU thermal throttle policy
3. Release thermal throttle in camera and game mode

Bug: 317750833
Test: Build and flash on device
Change-Id: If51183f72822febb3b3cf0cac33d03b33a4fb270
Signed-off-by: Peter (YM) <peterym@google.com>
2024-05-09 03:38:32 +00:00
Robin Peng
8e91379258 Switch bootloader and radio directory to control by build flag
Bug: 337163126
Change-Id: I6f5ac5657b4b61b0cdef171181b26183b6b68633
2024-05-08 07:23:13 +00:00
Robin Peng
0c44a3a4f2 Switch kernel directory to control by build flag
Bug: 337161745
Change-Id: I7ea8421a2322f55861b920208df288e80e42c31c
2024-05-08 07:22:59 +00:00
Rios Kao
6f5bea436a tegu: align buildin microphone value for master
note: AOC changes the pdm list to align the value
     to different platform.
Test: build pass
Bug: 330632172
Change-Id: Ifc259aa6d2c82476fee9c1dcfbfb1fd291505fd0
2024-05-08 05:47:04 +00:00
Shin-Yu Wang
bda4605c5b Merge "display: tg4b: use default adaptive brightness table" into main 2024-05-08 02:04:11 +00:00
Taeju Park
6d0a2a2851 powerhint: add PMU_FORCE_LIMIT control knob
Bug: 335331630
Change-Id: I779d912c34d44b0afdc5e0ab9107dd6acfc268eb
Signed-off-by: Taeju Park <taeju@google.com>
2024-05-07 00:52:18 +00:00
Rios Kao
7de12294a2 Merge "audio: Phase in speaker compensation tuning tables" into main 2024-05-03 09:07:25 +00:00
Rios Kao
194cb87a48 Merge "audio: Phase in fortemedia tuning tables" into main 2024-05-03 09:07:25 +00:00
Treehugger Robot
b4197915c7 Merge "gps: update gps configuration" into main 2024-05-03 08:44:59 +00:00
Peter (YM)
eed13b648c Merge "thermal: usb thermal protection" into main 2024-05-03 05:24:53 +00:00
Edwin Tung
66ba4743a4 gps: update gps configuration
disable requestRefLocCb to prevent incorrect cell info
set SUPL UT1 timer to 20 seconds to align ixit_timer_UT1 range
re-enabling OTDOA

Bug: 336760721
Bug: 336398796
Bug: 329779403

Test: Config change works
Change-Id: Ifa59586c271a3a1caf400f7acaf3f86d342b29f1
2024-05-03 12:16:36 +08:00
Treehugger Robot
f72de42c1c Merge "odpm: support 2 random mappings to iio device" into 24D1-dev am: f6b17d90d1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tegu/+/27189657

Change-Id: If98eac4694f228bcec78d0933bbb7323d1148824
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-03 03:09:09 +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
Treehugger Robot
f6b17d90d1 Merge "odpm: support 2 random mappings to iio device" into 24D1-dev 2024-05-03 02:58:08 +00:00
Treehugger Robot
1c5021c651 Merge "audio: remove non-supported analog headset" into 24D1-dev 2024-05-03 02:46:05 +00:00
Peter (YM)
fd239ef939 thermal: usb thermal protection
Based on HW proposal in b/335112894#comment21

Bug: 335112894
Test: b/335112894#comment21, verifiy by HW test
Change-Id: Id1f9e1595433c55d59539c947f8e8a5da285dfa9
Signed-off-by: Peter (YM) <peterym@google.com>
2024-05-03 01:53:37 +00:00
Darren Hsu
72e3730811 odpm: support 2 random mappings to iio device
VSYS_PWR_MMWAVE will be replaced with S12S_VDD_AUR on SUB6
only sku. The replacement failed sometimes because there are
2 random mappings to iio device.

Mapping 1
iio:device0 -> s2mpg14-odpm
iio:device1 -> s2mpg15-odpm

Mapping 2
iio:device0 -> s2mpg15-odpm
iio:device1 -> s2mpg14-odpm

Bug: 337665886
Bug: 338416918
Bug: 338316877
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I42e93a013de790b8d79d5934d57069ce83f3cb74
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-05-03 01:47:21 +00:00
Treehugger Robot
16bbe844aa Merge "gps: fix pdk build break" into main 2024-05-02 13:58:44 +00:00
Rios Kao
27f734653c audio: Phase in speaker compensation tuning tables
Speaker Compensation

speaker compensation update with proto1.0 HW

Bug: 338351355
Test: Test: verified by ntkuo@
Change-Id: I571d8bbb19f44bea0236eff32a52928070b6d2c0
2024-05-02 09:56:23 +00:00
Rios Kao
2956e98b70 audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:

Optimize handheld mode performance with speaker compensation.
Sync headset and BT setting.

Files from the latest attachment on b/338350788

Bug: 338350788
Test: verified by ntkuo@
Change-Id: Iadc0da4b3c0bc418da5b2fccf717ab71801b5beb
2024-05-02 09:53:32 +00:00
Edwin Tung
8878c6d275 gps: fix pdk build break
Bug: 338302928
Test: Build pass
Change-Id: I12624cad765da28d1660844e6a3f9665f136bf3e
2024-05-02 14:44:48 +08:00
Peter (YM)
74d002881d Merge "thermal: Update thermistor_name.txt from tflite model" into main 2024-05-02 03:25:12 +00:00
Matt Buckley
05ea3376fc Add POWER_EFFICIENCY uclamp max to adpf config am: a91c6786f9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tegu/+/27163301

Change-Id: I2d469158db02bd00d95f7339760ebc71cd19859c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 21:59:20 +00:00
Matt Buckley
a91c6786f9 Add POWER_EFFICIENCY uclamp max to adpf config
Add the "UclampMax_EfficientBase" value to the ADPF config in the
powerhint.json to specify efficient core scheduling in the static
case, and "UclampMax_EfficientOffset" for the dynamic case, for this
device.

Bug: 277285195
Test: manual
Change-Id: I858da8b21739d946f21c9cdda2277f34723836f3
2024-04-30 18:29:24 +00:00
sashwinbalaji
b564103698 thermal: Update thermistor_name.txt from tflite model
With ag/27095449, we'll always parse thermistor_name config and the
current tflite model thermistor_name is not in json format.
This will lead to thermal hal crash. Fix it by setting the file content
to empty json object {}

Bug: 337961368
Test: Locally update and ensure no thermal hal crash
Change-Id: Ib171509a9cdf89d7982adcc0fa3c9c700b49b55b
2024-04-30 19:52:13 +08: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
1d592e0980 Merge "audio: update speaker firmware bin file" into main 2024-04-30 08:03:24 +00:00
Jason Chang
29dbabf9f2 Merge "Adjust Power button light reveal position in line with the power button." into main 2024-04-29 10:53:09 +00:00
Jason Chang
b31134b8c2 Adjust Power button light reveal position in line with the power
button.

To configure the power button light reveal’s y-axis offset.

Bug: 336667868

Test: manually test and check the Power button light reveal visual
Change-Id: I6db7179a4c877a5b136ac7c05a4181ca02d3dc88
2024-04-29 09:34:33 +00:00
Robert Lee
7e76bd3067 audio: update speaker firmware bin file
Enable IV sense and disable ME on voice profile

Bug: 335540954
Test: HW manual test
Change-Id: I3fedc01f26bb273b346ba29b280db6dff627807f
Signed-off-by: Robert Lee <lerobert@google.com>
2024-04-29 08:24:37 +00:00
Jason Chang
1c85f94fad Fix udfps lottie animation UI wrong place for new project
Customize overlay package for udfps lottie animation
translate position.

Flag: NONE

Bug: 335564108

Test: manully test with reproducible steps:
1. Flash the device.
2. Set fingerprint in SUW
3. Observe behavior.

Change-Id: I15a76c3d08ab97492de219de7c6c15596030df3f
2024-04-29 06:47:16 +00:00
Shin-Yu Wang
84e10290c3 display: tg4b: use default adaptive brightness table
Bug: 316356236
Test: Check dumpsys display
Change-Id: Ib9f8f56563700e1c04db5a0fddc13ed39d3136bf
2024-04-29 06:25:54 +00:00
Taeju Park
b5a82d7a8c powerhint: remove lcpi paramter for PMU limit am: 3b9cfb2867
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tegu/+/27120490

Change-Id: I5eaa4391de3b532860e6845b78dbf1cfe328915a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-26 21:27:43 +00:00
Taeju Park
3b9cfb2867 powerhint: remove lcpi paramter for PMU limit
PMU-based soft freq limit no longer use lcpi paramter

Bug: 295054083
Change-Id: I64d78680b42c8d757c023856af4ca31c13c120e9
Signed-off-by: Taeju Park <taeju@google.com>
2024-04-26 18:50:24 +00:00
Thomas Girardier
4bde1ff78e Merge "Revert "[BT] Disable BT auto on"" into main 2024-04-26 04:03:00 +00:00
Thomas Girardier
f1f56f2806 Revert "[BT] Disable BT auto on"
This reverts commit 75233c269f.

Reason for revert: Auto On has been approved for 24Q3

Change-Id: I527d2ab67496c232afb153bedf3af93d334e43c4
2024-04-25 16:22:54 +00:00
Henry Wang
5cf1e9c5f0 Merge "Init: start twoshay on boot." into main 2024-04-24 07:31:56 +00:00
Treehugger Robot
1e9f513514 Merge "gps: change RfPathLoss to 3800" into main 2024-04-24 06:50:40 +00:00
Rios Kao
c10d0f5561 audio: Phase in TG4 fortemedia tuning tables
Change List :

Fortemedia:

Optimize handset and handheld mode performance.

Files from the latest attachment on b/335789169

Bug: 335789169
Test: verified by ntkuo@
Change-Id: I8ef869f33d694962d63989dbc8fcd1c3bc38fadf
2024-04-24 03:44:49 +00:00
Kyle Hsiao
aa99785141 Merge "Add antenna position coordinates" into main 2024-04-23 10:00:07 +00:00
Treehugger Robot
3e3669795c Merge "Update pixel pitch of device" into main 2024-04-23 09:20:11 +00:00
Kyle Hsiao
5aed3e5982 Add antenna position coordinates
Bug: 336231684
Test: manual
Change-Id: I71129e9385a1519c987efc445082edb14a2335af
2024-04-23 07:57:48 +00:00
chenkris
b302f80dc3 Update pixel pitch of device
Bug: 336186841
Test: manual
Change-Id: Ic3b80f3d4505469df3ca5b934729a67a7a87e142
2024-04-23 07:46:02 +00:00
Treehugger Robot
4f9eaffb3a Merge "audio: update speaker tuning table" into main 2024-04-23 02:31:15 +00:00
Kyle Hsiao
1dc84395b7 Remove duplicate DEVICE_PACKAGE_OVERLAYS
Bug: 336219663
Test: Manual
Change-Id: I32485b3d2b759002fc0f652f73f3aa89ddb61be2
2024-04-22 09:21:03 +00:00