Commit graph

363 commits

Author SHA1 Message Date
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
joenchen
06d7d2a9f2 C10: set value of config_stableDeviceDisplayWidth/Height
Bug: 209592558
Test: adb shell dumpsys display | grep mStableDisplaySize
Change-Id: I76e835c695508295ad23538005bfa899efafbc01
2022-04-05 17:57:46 +00:00
Victor Liu
92c6cceefd uwb: update aoa_capability in calibration file am: d36f9382e0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17540977

Change-Id: I7566eb3ed6f8bd1313ac374701b9bf40593108e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 23:56:14 +00:00
Victor Liu
d36f9382e0 uwb: update aoa_capability in calibration file
Test: builds
Bug: 227427724
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I9d5d5ad6a89ec2081993e02d00eebe5f3e678831
2022-04-01 23:39:18 +00:00
Jasmine Cha
d29bb9655b audio: update FM table am: ae824a50b7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17535905

Change-Id: I850b504c8ce59da79d378fc16978697c522b3b74
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 08:29:35 +00:00
Jasmine Cha
ae824a50b7 audio: update FM table
FM table Changelist:

C10P10
1. Parameter version update from 1.2.0 to 1.2.1
2. Headset BB
    Disable FFP for NB/WB to avoid low RLR issue (ST solution)
3. Headset TTY Full and HCO
    Set AEC_NUM_CH to be 0x0001 (Original is 0x0000) to make TX work properly.
4. BT
    Disable low latency mode on BTNB-NB and BTNB_NREC-NB to avoid TX clipping/distortion issue (ST solution)
5. HHNB/WB/SWB  NS parameter update for v603
6. HHNB/WB/SWB RX fune tuing for power consuming
7. Align same parameter
   (1) Handsfree TX to VCO TX/ BT-HAC TX/ Headphone TX
   (2) Handsfree RX to HCO RX

Bug: 216258666
Test: b/216258666#comment19

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I583bda3772be7a667aed2b0c8fb34249b3223c9e
2022-04-01 07:59:19 +00:00
David Li
dc13079fa9 Revert "audio: add dynamics processing effect to audio_effects.xml" am: 12775d11ed
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17525128

Change-Id: Ibe7b4397aa3f65abbf5f41a63a3593e3e02e2126
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 05:37:30 +00:00
David Li
12775d11ed Revert "audio: add dynamics processing effect to audio_effects.xml"
This reverts commit 9e36616a4d.

Reason for revert: disable offload DPE

Change-Id: Iecd1079a625094b322f672846c4cd1517c853827
2022-04-01 05:17:58 +00:00
Yung Ti Su
98696e6eec add BLE Headset Mic
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ic796722d5186b2bb354315862892c5640252bf67
2022-03-30 14:14:24 +00:00
chungkai
a925b66a17 sched: move sysfs to procfs
Modify name from sysfs_vendor_sched to proc_vendor_sched

Test: without avc denial
Bug: 216207007
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Ie8fdb9e6634fb160f5cea64883bead93be13d93e
2022-03-30 08:22:02 +00:00
Mason Wang
acfa31d518 Add touch module in init.insmod.xxx.cfg for P10&C10.
Add touch module into the init.insmod.xxx.cfg, it will be loaded after
all common modules in late-init. So the touch module won't be loaded in
off-mode-charge.

Bug: 227269826
Bug: 226881266
Test: Verify pass that the touch module is not loaded in off-mode-charge.

Change-Id: I3f3153afb75355020e17534838410050f20f02b2
2022-03-29 10:26:21 +00:00
Carter Hsu
cc9519a3cb audio: update FM tuning 0324
FM table Changelist:

C10P10
1. Table form 20220309 version
2. HE disable FFP on Blackbrid NB WB
3. BT disable low latency mode on NB

Bug: 216258666
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ib1641bfd0c42cfcf3636c69c81f8bf5d55202199
2022-03-29 03:37:52 +00:00
Sayanna Chandula
d8f5b8c917 thermal: update dynamic control/switchon trips in powerhint
- Create separate powerhint json files for a0 soc
- Add control/switchon powerhints for all IPs
- Change thermal severity level to LIGHT
- Update trip temps as per policy

Bug: 194509203
Test: Build and boot on device. Check change of trip temperatures
after the thermal severity of LIGHT
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: Ibd19ea16d0fee25dec801b287e1eab05699a8d7f
2022-03-29 01:51:28 +00:00
David Li
9e36616a4d audio: add dynamics processing effect to audio_effects.xml
Bug: 215662726
Test: n/a
Change-Id: I1346de62a2e1425250583d7bc1365ffa72353ee6
2022-03-29 01:48:50 +00:00
George Lee
c7017427f5 thermal: BCL policy for cold temperature
Add cold temperature policy to combat sharp SOC% drop

Bug: 223420221
Test: Local peak current shock test at cold temperature
Signed-off-by: George Lee <geolee@google.com>
Change-Id: If1db429a6c6c181735af001a72372f63a59d01c4
2022-03-28 17:48:38 +00:00
Martin Liu
0f4fbe609b set swiotlb as noforce
There is no swiotlb usage so we can append noforce to
remove 2MB reserved memory.

Bug: 226578178
Test: check total memory and io_tlb_nslabs
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I746e8a1d18d78243bfe6a0b7549d5cf09cc4e227
2022-03-25 12:57:43 +00:00
Speth Chang
9eb76e0f20 WAR: set MIF floor to 2G when GCA capture
Due to b/214429812, QURGENT currently is not working properly, and cause
easily see EBUF full when capture on GCA. Temporary increase MIF clock to
mitigate memory interface congestion. We should revert this when
b/214429812 fixed.

Bug: 223734867
Test: P22 GCA capture
Change-Id: I0cc16d5bd83cb23462147c44547077665bc1dc73
2022-03-24 21:10:13 +00:00
Omer Osman
d2cbdf2b6b Include libspatialaudio and librondo in product builds
Test: Spatialized audio (including headtracking) with Pixel Buds and
multichannel mp4 file playback

Change-Id: I4f216aff07c25f80337ea07470983c4ae1e48efb
2022-03-24 19:01:45 +00:00
chungkai
df927bb9d0 sched: move sysfs to procfs
Modify the path of vendor_sched nodes

Test: powerhal work normally
Bug: 216207007
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I0f499fac276fbdd3bf965bdd8c81bc4c4e7f48c4
2022-03-24 17:44:37 +00:00