Commit graph

281 commits

Author SHA1 Message Date
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
chungkai
c9cd788e18 fix path for i2c peripheral device
paths are changed when we enable parallel module loading and
reorder the initializtaion of devices.

Test: without avc denial on P10 when booting
Bug: 227541760
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Ia94bccdf479262e96210c2eda4794c2708e56861
2022-04-08 02:20:26 +00:00
Rios Kao
97ddff06d4 audio: add immersive playback support am: 9b7f753e57
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17535909

Change-Id: I78467ce10f89414e08e93ce834d0cf84a7e9388b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 03:03:47 +00:00
Rios Kao
c8a6ba8181 audio: sync mixer table for Eraser capture am: 7c61e4166e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17525130

Change-Id: I459e78037a81e1ef35f330bb7202cdd026d55a3e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 03:03:46 +00:00
Rios Kao
9b7f753e57 audio: add immersive playback support
Bug: 227697054
Test: build pass and pts-audio
Change-Id: Iccb1953def4a9dffaf7b9e3dd512c68ae8a37c1e
2022-04-07 02:42:39 +00:00
Rios Kao
7c61e4166e audio: sync mixer table for Eraser capture
Bug: 227697054
Test: build pass and pts-audio.
Change-Id: Id0384c7af546dec1a6237e3091a366a85d097d26
2022-04-07 02:42:39 +00:00
linpeter
24352d2b7c display: update the outdoor auto-brightness curve am: 3b4f9c3cdc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17442333

Change-Id: I1441b845a1ff005aa5d9e1dc93a3afc4aedf6487
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 10:29:03 +00:00
Mason Wang
8298d9326d P10: Change touch procfs node ownership am: 006af1e810
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17525123

Change-Id: I2a285631c33ea7e104659245e72f4283ef80ce20
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 10:28:53 +00:00
linpeter
3b4f9c3cdc display: update the outdoor auto-brightness curve
Modified the outdoor range mapping in
the outdoor auto-brightness curve.

Bug: 213251504
Test: check the default curve
Change-Id: I387e87f343ffe7af72fb965f2c7ea05eb85dfda1
2022-04-06 10:03:44 +00:00
Mason Wang
006af1e810 P10: Change touch procfs node ownership
Change touch procfs node ownership as system/system for dumpstate.

Bug: 199105131
Test: adb bugreport

Change-Id: Ibae5adfc22e661917618ac75b49bf50804892285
2022-04-06 10:03:14 +00:00
TeYuan Wang
ad337a0619 thermal: Hide the sensors which are not used by framework am: deaa89eb24
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17535915

Change-Id: Ic132998af9bc65913250f9712bf26b36bc4e0217
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 00:36:49 +00:00
TeYuan Wang
deaa89eb24 thermal: Hide the sensors which are not used by framework
Bug: 227686549
Test: adb shell dumpsys thermalservice
Change-Id: I26e16c664ac95264d0d4cc943bb45627ff774d8c
2022-04-05 23:58:19 +00:00
joenchen
46edc6ccb7 C10: set value of config_stableDeviceDisplayWidth/Height am: 06d7d2a9f2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17518870

Change-Id: Ife2db2c6bda9d326f99b0b71e59d0cd03b95a29d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 19:43:48 +00:00