Commit graph

286 commits

Author SHA1 Message Date
Xin Li
0d6bb5c71d [automerger skipped] Merge Android 24Q2 Release (ab/11526283) to aosp-main-future am: 864a02b998 -s ours
am skip reason: Merged-In Ifbd01aeaa18ce32fc5613c78170a6d39ae9024b4 with SHA-1 83c4993aa5 is already in history

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

Change-Id: Ie4cf8ebd5666b50e4ca19036ee29d8bb2981090e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-22 23:40:57 +00:00
Cathy Hsu
25ce5a9c08 display: update ssc_en permission
Bug: 316357878
Test: Dump ddic commands of "echo 1 > /sys/class/backlight/panel0-backlight/ssc_en"
Change-Id: Iedbcc92562e06bc7a833a9a2884a13800f7a0d37
Signed-off-by: Cathy Hsu <cathsu@google.com>
2024-05-22 07:08:16 +00:00
Cathy Hsu
e527c90525 display: remove display RRS default Config
TG4 doesn't support RRS; therefore, remove the related settings.

Bug: 341870097
Test: No error msg 'kernel doesn't support mode: 960x2142@120'.
Change-Id: I9acb3cbd48c53a4f21c1ec15d811aa6fb7a39b0d
2024-05-21 09:11:13 +00:00
Peter (YM)
193441806e Merge "thermal: init WLC themral throttle" into main 2024-05-21 02:36:50 +00:00
Peter (YM)
1ef4072ac6 thermal: init WLC themral throttle
- Init vskin-wlc v1
- init wlc thermal throttle with last generation algorithm

Bug: 341236825
Test: Build and boot to home
Change-Id: Iac66f0a13d94bf1e94744f7954775f0a91cbde0b
Signed-off-by: Peter (YM) <peterym@google.com>
2024-05-20 23:28:42 +00:00
Ravi Jain
5cd0d7934f Merge "Vibrator: Set Soong Config variable - kernel_ver" into main 2024-05-20 11:00:39 +00:00
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
Kah Xuan Lim
0725c98f6e Merge "Disable Dex preoptimization" into main 2024-05-16 08:23:28 +00:00
Kah Xuan Lim
6c52094291 Disable Dex preoptimization
When building with dexpreopt, the odex complains about not being able to find certain system server jars.

```
FAILED: ninja: 'out/soong/system_server_dexjars/modemml-tflite-service.jar', needed by 'out/soong/.intermediates/packages/modules/AdServices/adservices/service/service-adservices/android_common_apex33/e18b8e8d84cb9f664aa09a397b08c165/dexpreopt/service-adservices/oat/arm64/javalib.odex', missing and no known rule to make it
03:32:32 ninja failed with: exit status 1
```

Flag: build.WITH_DEXPREOPT
Bug: 339345077
Change-Id: Ic2900b4077e2311b6cbcd4a56365b36ba60c455f
2024-05-16 07:37:00 +00:00
Treehugger Robot
ae076a64bf Merge "wifi: Update wifi overlay config" into main 2024-05-16 05:28:36 +00:00
Treehugger Robot
629a1d9b66 Merge "audio: update mixer table" into main 2024-05-16 04:14:42 +00:00
Rios Kao
543dc88e0d Merge "audio: Phase in audio_policy_volume.xml in TG4" into main 2024-05-16 02:19:44 +00:00
Hsiu-Chang Chen
67784ac19c wifi: Update wifi overlay config
Bug: 340864926
Test: Build pass
Change-Id: I4dc98649d9374d1715ee5f8aadf4b86e5ba37344
2024-05-15 23:37:25 +08:00
David Li
ea61fc0c9b audio: Phase in audio_policy_volume.xml in TG4
I put TG4  audio_policy_volume.xml in the attached file.

1. This table all number follow AK3 parameters.
Just use TG4 format.
It will be a good start for TG4 to align AK3.
2. This  audio_policy_volume.xml internal name: audio_policy_volumes(TG4_EVT_1).xml

Files from the latest attachment on b/340373394

Bug: 340373394
Test: verified by supery@
Change-Id: Ifd788a00964117b6eee3289cf136c319efd0eaad
2024-05-15 19:51:43 +08:00
Robin Peng
5ba098bee4 Amend the KERNEL_DIR to the prefered name
Bug: 337163126
Change-Id: If9f3445c871eb9965ab58fb245b313cb32003e4a
2024-05-15 07:35:57 +00:00
Cindy Chung
76ddc30e96 Merge "display: Set ro.surface_flinger.ignore_hdr_camera_layers" into main 2024-05-14 06:25:09 +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
Xin Li
864a02b998 Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: Ifbd01aeaa18ce32fc5613c78170a6d39ae9024b4
Change-Id: Ib7e68ff9eace48b9278005a762136076458ac5ec
2024-05-06 12:09:17 -07:00
Wayne Lin
66128d2b64 gps: maintain one solution
Bug: 315915958
Test: build pass and GPS function works
Change-Id: I3bd3b09edd4e1ca1ecfa578095800c9052db5689
2024-05-06 09:17:11 +00:00
Robert Lee
189a6edc3d audio: update mixer table
Turn off music efficiency mode all for voice call usecase.

Bug: 337151234
Test: manual test
Change-Id: Iec572da6f3b44a46dfdaf2791cb3f63fae0ccb42
Signed-off-by: Robert Lee <lerobert@google.com>
2024-05-06 03:41:30 +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