Commit graph

593 commits

Author SHA1 Message Date
Sayanna Chandula
b9a5b73834 thermal: enable thermal engine for evt1.0 devices am: 1f98950323
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17902573

Change-Id: I849b33c9885f6e8bb6d9b79bd383e435337e14d4
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-25 18:51:48 +00:00
Sayanna Chandula
1f98950323 thermal: enable thermal engine for evt1.0 devices
New version of thermal engine (Powerlink v2) uses ODPM data for
thermal mitigation. But proto devices does not support ODPM.
Currently we have disabled thermal mitigation for all A0 based
devices through a separate config, thermal_info_config_A0.json.
This change restricts using separate thermal config  only for the
proto devices and uses thermal_info_config.json for the rest.
Fix a format issue with qi-quiet sensor definition.

Bug: 196478280
Test: Build and boot on device. Check thermal config
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I0922e935cafe118f3437335e2a72b87aae6f6009
2022-04-25 18:20:58 +00:00
Carter Hsu
5d2012de5b audio: update FM tuning 0422 am: 74b13c4c45
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17897259

Change-Id: If174ecbe23aba2333ca120e09a5cb28655b586e2
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-25 08:21:49 +00:00
Carter Hsu
74b13c4c45 audio: update FM tuning 0422
FM table Changelist:

1. C10 HA NB/WB/SWB: fine tuning for EVT1.1
2. C10 HA NB/WB/SWB: FFP parameter update (enable)

Bug: 216258666
Test: Acoustic team verified
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ia4dcb8dd19d4aaf7fa4150a3cdacb9d455994ac6
2022-04-25 07:55:16 +00:00
Automerger Merge Worker
b9ae7ed26b Merge "audio: rename spk module config am: 3a50fbbc53 am: 4e5fc66f5d" into tm-d1-dev-plus-aosp 2022-04-25 05:34:45 +00:00
Jasmine Cha
2e9bcdd0d7 audio: rename spk module config am: 3a50fbbc53 am: 4e5fc66f5d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17856403

Change-Id: I9c943239d008581dfdc761f9b590699fee056e29
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-25 05:34:38 +00:00
Jasmine Cha
a489c90542 audio: rename spk module config am: 3a50fbbc53 am: 844477baf8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17856403

Change-Id: I3dab00353cba8a6bb370b8baf090f7aa426051dd
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-25 05:34:34 +00:00
Jasmine Cha
844477baf8 audio: rename spk module config am: 3a50fbbc53
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17856403

Change-Id: Ie07acb2eb11d7f43d05064c10a9394ef496b3fb3
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-25 05:11:26 +00:00
Jasmine Cha
4e5fc66f5d audio: rename spk module config am: 3a50fbbc53
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17856403

Change-Id: I0b39058bb760b60716b2e107d5e4bb9eaa6e156b
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-25 05:09:43 +00:00
Jasmine Cha
3a50fbbc53 audio: rename spk module config
Bug: 204271052
Test: voip + speaker mode

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I6aa0da65a1b1faa8be26ae8eb77a01b14d277666
2022-04-25 04:50:48 +00:00
Taeju Park
73911edd45 powerhal: update new boost uclamp value am: 24632f9b42
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17913035

Change-Id: I9c278867019bf3565db8cb8164acb860e3b6e113
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-22 21:10:24 +00:00
Taeju Park
24632f9b42 powerhal: update new boost uclamp value
update new boost uclamp value since we update
cpu capacity

Bug: 224649226
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: I49b38af1000ecb750acf94807547670941881b31
2022-04-22 16:02:13 +00:00
Sayanna Chandula
09b55b3d91 thermal: update virtual coefficients to 0.5 version
Update virtual-skin, virtual-skin-charge and cellular-emergency
sensors to 0.5 version coefficients.
Added "Version" field for virtual-skin node for identifying the
version of coefficients.

Bug: 229418131, 227477863
Test: Build and boot on device. Check virtual-skin readings
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I709fa1dfa5304416335bba1a7cb21a267e00c744
2022-04-21 19:25:31 +00:00
Rick Yiu
54f8cd48f0 Reduce FG prefer_idle when display is idle am: c7574a18e9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17868107

Change-Id: I800c50d796a565233d0f9ab598a554e300c66ce7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-21 15:50:27 +00:00
Rick Yiu
c7574a18e9 Reduce FG prefer_idle when display is idle
Bug: 178016953
Test: build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: If3770c4de98cbbd2f36cc7401d9ac284473c10d4
2022-04-21 16:32:48 +08:00
Jason Chang
07462d28c2 Phase out config_roundedCornerMultipleRadius from overlay package am: beb111be34
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17782663

Change-Id: I941c63cc5aeda856fedf6980c3db6cc2ee63c7b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-21 06:34:47 +00:00
Jason Chang
beb111be34 Phase out config_roundedCornerMultipleRadius from overlay package
[P10/C10]

Phasing out config_roundedCornerMultipleRadius config from device
overlay package.

Bug: 224688507

Test: Build ROM and pass presubmit test
Change-Id: I325157ca5163d9c429724000be73c07728fbdc45
2022-04-21 06:17:44 +00:00
chungkai
c3ca48e3ed fix path for i2c peripheral device am: a0b3ae5472
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17822305

Change-Id: I5c52334d71d53d3ca794cb31dea5ab10e3b120ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 17:43:51 +00:00
chungkai
a0b3ae5472 fix path for i2c peripheral device
add potential paths for i2c peripheral devices
sine we enable parallel module loading

Test: without error log on P10 when booting
Bug: 227541760
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I2afcf5d9255cd821a3bb9136d032b82782f396b3
2022-04-20 17:01:39 +00:00
Isaac Chiou
e86f1e8450 wifi: Seperate WifiOverlay2022 into C10 and P10
Since the behaviors of Wifi/LTE coex avoidance for GPS L1 between C10 and P10 are difference, we need two independent overlay for C10 and P10.
For ravenclaw and cloudripper, they follow the overlay of C10 since they are only for developing purpose.

Bug: 228415213
Test: Overlay config can be read correctly.
Change-Id: I4323682686d8f83b584f2a56f01ebe8ea831cb43
2022-04-20 15:57:53 +00:00
TeYuan Wang
f0cda432e8 thermal: bringup PID thermal throttling for CPU GPU
Bug: 196478280
Test: run burn8 and manhattan
Change-Id: I447fa5bc452f413f65c46c235a5a3692b628586b
2022-04-20 15:37:48 +00:00
Jimmy Shiu
63032d0c25 powerhint: Add Adpf Profiles am: 06a0093822
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17004534

Change-Id: Id4117c90593d2b9c00202d602255c62040b3f2fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 14:07:47 +00:00
Jimmy Shiu
06a0093822 powerhint: Add Adpf Profiles
Add Adpf Profiles:
1. REFRESH_120FPS
2. REFRESH_90FPS
3. REFRESH_60FPS
4. UiHighBoostWithoutPid
5. UiLowBoostWithoutPid
6. UiLowNoneBoost

Bug: 202158746
Test: boot to home

Change-Id: Ia6b48077dad9f9cf6e10eebcd06e080ae07f75d7
2022-04-20 13:47:14 +00:00
Sayanna Chandula
90962da17e thermal: Set 80degC as control temperature at LIGHT severity
High throttling was observed on BIG cores resulting in device
sluggishness when the skin temperature hit LIGHT severity.
Current Tj control temp is set to 75 degC when LIGHT severity
is set for A0 based devices. This change is to increase the
Tj control temperature to 80 degC, same as B0 soc.

Bug: 229682004
Test: Build and boot on device. Check Tj control temperature
setting at LIGHT severity
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I67219937f89a9edec6fcf6083f4814d29ef600f2
2022-04-20 03:34:35 +00:00
Avinash Malipatil
0ae8841b8e Enable ONS auto provisioning using device config
Bug: 229727068
Test: Manual. Flash the device with the binary including this change and check adb logs. ERR_AUTO_PROVISIONING_DISABLED should not be printed.
Change-Id: I826f86c9943573d25ffeb1ac9761a29c03bf4cc9
2022-04-19 14:03:57 +00:00
Patty
7a63683bc8 Add ewp test tool in userdebug build am: 92755e7a37
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17607098

Change-Id: Id1098419eac267b83a3327710a7ca847e5067fd1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-19 12:04:59 +00:00
Patty
72d2aa797d Add EWP bthal interface am: d92f08f9a2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17607096

Change-Id: Ib5467c9d13ea4430eb7dae4f09265718075096af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-19 12:04:53 +00:00
Patty
92755e7a37 Add ewp test tool in userdebug build
Bug: 220121592
Test: make; Test with /vendor/bin/hw/ewp_tool
Change-Id: Ifdb05187b2f46403befb0b087cec9a146e00f8d4
2022-04-19 11:40:00 +00:00
Patty
d92f08f9a2 Add EWP bthal interface
Bug: 220121592
Test: Manual
Change-Id: I693379056b83c1dfc9345b3c2cb6d514d56986af
2022-04-19 11:40:00 +00:00
Carter Hsu
4f0e8ae510 audio: update Fortemedia tuning 0415 am: 6715af9b17
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17773509

Change-Id: Iedaecae43aabf13880b9f331aa56d70ec9595ddd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-18 02:10:17 +00:00
Carter Hsu
6715af9b17 audio: update Fortemedia tuning 0415
FM table Changelist:
1. P10 HA NB/WB/SWB : FFP parameter update(enable)
2. P10C10 HH NB/WB/SWB:
     (1) TX/RX fine tune for phone call quality
     (2) FFP parameter update (enable)
     (3) Enable Stereo spk in reserve2
3. P10C10 HE NB/WB/SWB:
    (1) Enable Stereo spk in reserve2
4. Align same parameter
     (1) Handsfree TX to VCO TX/ BT-HAC TX/ Headphone TX
     (2) Handsfree RX to HCO RX

Bug: 216258666
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I50ec916280b96d631f1b656d6c1a0a96d324408f
2022-04-15 17:45:06 +08:00
Bill Yi
ca2b633de3 Add template for generating cheetah/panther vendor blobs
TEST:generated blobs from artifacts. Flashed device

BUG: 217478568
Change-Id: I8278e0044d5ece17037a06a4872c7361c34061b6
2022-04-13 17:08:52 +00:00
Tianyu Jiang
343b67ef00 Revert "WAR: set MIF floor to 2G when GCA capture"
This reverts commit 9eb76e0f20.

Reason for revert: a VC is merged in ag/17591379

Bug: 227407595
Change-Id: I3e778ed1df4f0ff0f02d2f16385b6c3f8ab508cd
2022-04-13 16:45:13 +00:00
Ted Wang
2b5f26d053 Change Timesync node owner to Bluetooth am: 26b24cdfd4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17518863

Change-Id: I94482cab0595982d5b2e1a31f1985c412d4750c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 08:52:17 +00:00
Ted Wang
26b24cdfd4 Change Timesync node owner to Bluetooth
This patch change owner of Bluetooth Timesync node to be Bluetooth to
allow Bluetooth HAL to read controller timestamp data via this node.

Bug: 226659256
Test: make
Change-Id: I70010daf45186235a48633355b5641b38597b2d6
2022-04-13 12:33:26 +08:00
Sayanna Chandula
dade9ed2ac thermal: add usbc virtual sensors for overheat protection
Add a virtual sensor for USBC overheat protection and messaging to
UI. Bind overheat protection sensor with USBC cooling device.

Bug: 222577017
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I6f3cdc01fedfd152382a2d5370e22e0acf6cb3ba
2022-04-12 21:49:02 +00:00
shawnlin
963d0ac445 Fixed status bar glitch for apps that access internal resource dimen am: f94b464832
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17652505

Change-Id: I2fd119edbcfced918bda67a6e90ee2e50123ac49
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 02:36:53 +00:00
shawnlin
f94b464832 Fixed status bar glitch for apps that access internal resource dimen
Bring back old usage of status_bar_height, status_bar_height_portrait,
and status_bar_height_landscape by set the size containing cutout size.

Bug: 216782082
Test: make
Change-Id: Iff388639497a7955e363c3372d79ead35831bea5
2022-04-12 02:15:55 +00:00
George Lee
43ad58996b thermal: Remove 80% SOC monitoring
Bug: 228808192
Test: Local test to verify no polling
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I6a0a0fa240e199a3ccf47138b3204679fd3f6eed
2022-04-12 00:10:45 +00:00
Grace Chen
175bd53191 Enable read/write access to st33spi_state for euiccpixel_app
Bug: 228508704
Test: Confirm can read/write st33spi_state

Change-Id: Ia7a41d2785a84fdf2d99c09fb040e35733e0eda1
2022-04-11 21:00:50 +00:00
Peter Liu
c681b24963 port target load hint to a0 powerhint
Bug: 222570798
Change-Id: I5ea132fbb94d7b80a490656276a706b3b57d241a
2022-04-11 14:37:23 +00:00
Wayne Lin
e82a1a78c3 gps: Update ExtL5Bias
Bug: 227139460
Test: verify ExtL5Bias value pass
Change-Id: I8a45f6c225181e9bc00d9ff784e35f3523e1d1f1
2022-04-11 09:30:48 +00:00
neoyu
537fb5e54c Add property to set initial svn as 1 am: ea01db85ba
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17681645

Change-Id: I52d92939ed545336489c1573adeb017a3374b431
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 06:39:18 +00:00
neoyu
ea01db85ba Add property to set initial svn as 1
Bug: 228742484
Test: manual
Change-Id: I9c97d2280ac50a0121fafd19a07592b03fd7e439
2022-04-11 06:20:49 +00:00
Daniel Solomon
6a6d41f779 display: Set ro.surface_flinger.ignore_hdr_camera_layers
This property prevents display high brightness mode from being triggered
due to HDR layers produced by camera.

Bug: 218728138
Change-Id: I772d6c73e877661a2296a448725e9a0ca247ed07
2022-04-08 21:39:57 +00:00
Robert Lee
33ecc54bf5 audio: update speaker protection bin files
Change list:
1.Enable Top/Bot speaker FIR module on voice call

Bug: 198765357
Test: Builds
Change-Id: Ia51415f64b429cd79afaee709a8b16bc33d1edcc
Signed-off-by: Robert Lee <lerobert@google.com>
2022-04-08 10:22:30 +00:00
Robert Lee
80e905ded6 audio: update fast switch config for speaker amp
fast_swtich1.txt => Enable FIR of top amp
fast_swtich2.txt => Enable FIR of bot amp
fast_switch3.txt => Disable FIR of top amp
fast_switch4.txt => Disable FIR of bot amp

Bug: 214487028
Test: Build pass
Change-Id: Id7c9eae52d9e59250cbc7e79705d86d0268a7a79
Signed-off-by: Robert Lee <lerobert@google.com>
2022-04-08 10:22:30 +00:00
Robert Lee
5e1c689130 audio: update speaker protection bin files
Changelist:
1.Enable Top/Bot speaker FIR module on voice call

Bug: 199029784
Test: Builds
Change-Id: I8e54a63830a32a4d41f257a5187d722ec199a368
Signed-off-by: Robert Lee <lerobert@google.com>
2022-04-08 08:13:34 +00:00
Cyan_Hsieh
970a2bc9d2 Set audio.camerasound.force for JP devices
Test: set to JP sku and check No camera sound option

Bug: 227405874
Change-Id: I9f647175ac83d12ddfa1d54e5deb419dbea63877
2022-04-08 03:23:07 +00:00
chungkai
75e628bb37 fix path for i2c peripheral device am: c9cd788e18
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17630449

Change-Id: Ifdb2d17d4c001faea14491ff7d76d6be02ddaacd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 02:53:21 +00:00