Commit graph

937 commits

Author SHA1 Message Date
TeYuan Wang
3dddd667ea thermal: align the latest VSKIN-model for wingboard config
Bug: 328118301
Test: boot to home
Change-Id: I746ed4148094541afa502929d57f39e1ea8c7d68
2024-05-10 23:38:47 +00:00
David Chao
b7ca1c1e1a thermal: Update charging thermal throttling
Reduce temperature and charging throttling overshoots by fine-tuning PID
parameters.

Bug: 303547723
Test: boot and charging thermal throtlting worked properly.
Change-Id: Icaeef76998347167976a1ef3606f417db3c5a380
2024-05-10 23:26:57 +00:00
Taeju Park
ef1f5d317a Merge "powerhint: add PMU_FORCE_LIMIT control knob" into 24D1-dev 2024-05-10 19:07:40 +00:00
Treehugger Robot
7fae8abe87 Merge "waves: Thermal Throttling scheme" into 24D1-dev 2024-05-10 01:49:36 +00:00
Ali K. Zadeh
0508270ad8 Merge "Enable PMU during photo capture" into 24D1-dev 2024-05-09 23:58:52 +00:00
Ali K. Zadeh
730f445f01 Enable PMU during photo capture
Bug: 298227152
Test: Kibble 12MP - https://docs.google.com/spreadsheets/d/1Exxzy_7CHu4RQQ_-eR2s16Ob9BpxdQZFn6GIkUmoc4k/edit?resourcekey=0-CrG5HCXn9v7iR0PFk84j2g#gid=328258859
Test: Kibble 50MP - https://docs.google.com/spreadsheets/d/1qIdxci3qRwgM_XD5rRdmQPqDrsf8VHQIqQggDh2rgGY/edit?resourcekey=0-t25YyqKalsLbrCM7ADDHlQ#gid=2134912777
Test: Kibble 12MP - repeated capture - https://docs.google.com/spreadsheets/d/1XTwC5iCaobxwCcj5QH1f_34lJysvFDv53wt4K9l8DAM/edit#gid=1477598242
Test: Kibble 50MP - repeated capture - https://docs.google.com/spreadsheets/d/17wlxE2MsRx56Vhr9IE1iBYLz1Lee1s7Bb7E_GKaBJtc/edit?resourcekey=0-Vh8vf55xZHgYnWqDESm5lA#gid=1630323952
Test: Latency 12MP - https://docs.google.com/spreadsheets/d/1xUmS4H8SmwKzrL-CScIhZABsrlCq1CZsDT9ZSWFAMwU/edit#gid=466916271
Test: Latency 50MP - https://docs.google.com/spreadsheets/d/1GUs1TVCCOD6Bv73ilxrjg99tJVq6wQ5kJfYrJ1djY54/edit#gid=1885938822
Change-Id: I5083184f9e226d42584de5b6910994f1d5d3cc52
2024-05-09 22:44:32 +00:00
Rick Yiu
d8c84c47ff Set big core to group_cfs_skip_mask for sys group
Set big core to group_cfs_skip_mask for sys group when screen is off,
so that sys group tasks will run less in big core.

Bug: 328210236
Test: suspend/resume test
Change-Id: I4868ba0303e981250105b1ff69a6db6458df844a
2024-05-09 16:06:24 +00:00
Jasmine Cha
26876c9740 waves: Thermal Throttling scheme
Bug: 338159946
Bug: 338159502
Test: manual test

Change-Id: I539d7cf1fbcab817a86ce54b4f6ee6ac28943d86
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-05-09 08:53:08 +00:00
Sayanna Chandula
8517862a90 Merge "thermal: virtualtemp: update vt models with dvt and cuj data" into 24D1-dev 2024-05-09 04:38:46 +00:00
Treehugger Robot
3b7d3922e2 Merge "audio: 2024/05/07 Fortemedia tuning settings for RC v2" into 24D1-dev 2024-05-08 20:14:17 +00:00
Treehugger Robot
7ffc642322 Merge "audio: Update DVT parameters" into 24D1-dev 2024-05-08 18:30:14 +00:00
Treehugger Robot
6de5273219 Merge "audio: Update DVT parameters" into 24D1-dev 2024-05-08 18:29:35 +00:00
Treehugger Robot
c630b7b095 Merge "audio: Update DVT parameters" into 24D1-dev 2024-05-08 18:29:34 +00:00
Zheng Pan
e4935a136c Merge "Revert "init: disable async dvfs for Tokay only"" into 24D1-dev 2024-05-08 17:59:20 +00:00
Jonglin Lee
f71d0af7fc Revert "init: disable async dvfs for Tokay only"
This reverts commit 1aae9b9089.

Reason for revert: disabling async dvfs of all devices via kernel

Bug: 320066094
Change-Id: I1f9e9b6824a56e6d01932e400b92c8c63968ff0e
Signed-off-by: Jonglin Lee <jonglin@google.com>
2024-05-08 17:57:56 +00:00
James Huang
bba5755748 Merge "gps: Update gps: Update GNSS FW 4.15.1_7_P2_R3 + config for P24" into 24D1-dev 2024-05-08 13:13:12 +00:00
Robin Peng
9fb7c94da0 Merge changes from topic "337161745_prebuilt_directory_control_by_build_flag" into 24D1-dev
* changes:
  Switch bootloader and radio directory to control by build flag
  Switch kernel directory to control by build flag
2024-05-08 09:56:26 +00:00
Rick Yiu
1ae838086c Merge "Revert^2 "Set big core to cpu skip mask by default"" into 24D1-dev 2024-05-08 09:33:23 +00:00
Robin Peng
498ec2eb2c Switch bootloader and radio directory to control by build flag
Bug: 337163126
Change-Id: Ic342543ae53517febced03800af196d4c17ba390
Merged-In: I3f1688e6186cec4644f1d9a4cd80537c9672822f
2024-05-08 07:20:27 +00:00
Robin Peng
0d4a638cca Switch kernel directory to control by build flag
Bug: 337161745
Change-Id: Ie7d2f8623846a72de8dc1a423616e3bccbf1508c
Merged-In: I3f1688e6186cec4644f1d9a4cd80537c9672822f
2024-05-08 07:20:11 +00:00
Treehugger Robot
964f5fb64e Merge "update volume stereo output system sound loudness" into 24D1-dev 2024-05-08 06:46:42 +00:00
Sayanna Chandula
3014b79e70 thermal: virtualtemp: update vt models with dvt and cuj data
- Update VT models trained with dvt and cuj data
- Use backup sensor during undersampling
- Remove battery thermistor from VT model prediction

Bug: 337512118
Bug: 338596757

Test: Build and boot on device. Check VT through dumpsys
adb shell dumpsys thermalservice

Change-Id: Id26238f7baf58e23ef5e1c771d2ee6cf8968ec8e
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-05-07 14:36:41 -07:00
Yen-Chao Chen
e8deba9adf Merge "remove syna touch dump" into 24D1-dev 2024-05-07 07:42:10 +00:00
Rick Yiu
4958f15db0 Revert^2 "Set big core to cpu skip mask by default"
This reverts commit b64afc1747.

Reason for revert: regression fixed

Bug: 248621289
Change-Id: Ia3479262bf7188b2abf35f5b5ec5f18b0fe63aff
Test: build pass
2024-05-07 07:39:47 +00:00
Jason Hsu
357233d2a8 audio: 2024/05/07 Fortemedia tuning settings for RC v2
<change list>
CM4
--Handset/Handsfree(Duncan)
1: HHSWB SFR for reduce TX high frequency to reduce noisy hissing in noisy env
2: HHWB increase 1dB in TDDRC for SLR meeting target 10.5dB
3: HHWB NS update for car/kitchen noise Apr26 to reduce leqk noise floor discontinuous
4: HHWB fine tune RFRmax for RX distortion pass
5: HHSWB RFRmax increase high frequency for better noisy env listening
6: Batch copy from generic to co-use case
- Headset (Gene)
     - Mitigate BB ac. SWB TX hissing noise
     - Fine tune HE el. TX EQ for HD-Voice NB/WB SFR

TK4
- Handsfree (Ricky)
1: Double talk echo fixed in HHSWB
2: SFR optimize in HHSWB for DVT
- Headset (Gene)
     - Mitigate BB ac. SWB TX hissing noise
     - Fine tune HE el. TX EQ for HD-Voice NB/WB SFR

KM4
- Handset (Owen)
1. Rx: Modify WB Rx EQ at Vol_0-3 for Orange Mask
2. Batch copy 1. from generic to co-use case(TMO-US)
- Handsfree (Owen)
1. Rx: Modify SWB Rx DRC gain from 15dB to 16dB at Vol_0-3 for Orange Mask
2. Batch copy from generic to co-use case
- Headset (Gene)
     - Mitigate BB ac. SWB TX hissing noise
     - Fine tune HE el. TX EQ for HD-Voice NB/WB SFR

Bug: 339124130
Test: Verified by Acoustic team

Change-Id: If2ab8ababf1fbf85388201a3a92d7dd4121bfccd
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2024-05-07 04:21:34 +00:00
Jasmine Cha
6abc8d2bd6 update volume stereo output system sound loudness
Bug: 338159946
Bug: 338159502
Test: manual test by hardware team

Change-Id: I28ae8309284c599d948d57ca9bc62b7ce2bfef8a
signed-off-by: jasmine cha <chajasmine@google.com>
2024-05-07 04:12:48 +00:00
Treehugger Robot
a9d20b849f Merge "Add system property for concurrent encryption on LE and BR/EDR" into 24D1-dev 2024-05-07 02:49:07 +00:00
Yen-Chao Chen
8f6809863f remove syna touch dump
Because we added the touch reset at the end of gti touch dump,
it's possible making conflict between touch resetting and
syna touch dump. As all the information from the syna touch dump
is already covered by the gti touch dump, remove the syna touch
dump to avoid conflict.

Bug: 338935477
Test: trigger bugreport and there is no error in the log.
Change-Id: I395e45fd2f485c76ad80d05caa20cd27b34d1094
Signed-off-by: Yen-Chao Chen <davidycchen@google.com>
2024-05-07 10:40:59 +08:00
Taeju Park
3cfc93b4f6 powerhint: add PMU_FORCE_LIMIT control knob
Bug: 335331630
Change-Id: Idb5f21cdb98611edd07d3edcafca5699515e9bae
Signed-off-by: Taeju Park <taeju@google.com>
2024-05-06 19:33:24 +00:00
Treehugger Robot
b91652bcc7 Merge "audio: P24 Recording tuning table update - ver RC" into 24D1-dev 2024-05-06 16:41:01 +00:00
James Huang
b3683e372e gps: Update gps: Update GNSS FW 4.15.1_7_P2_R3 + config for P24
Enable Navic (Chip_Configuration_GNSSConstConstraintDef = 0x60FF)
Disable 1PPS feature by default (Is1PPSTimeSyncEnable=0)

Bug: 336693604
Bug: 321020637
Test: Verify CTS/VTS, sanity test and SST in b/338492673
Change-Id: If23397117be814eec89195090a15e61b28240a10
2024-05-06 22:03:46 +08:00
Peter (YM)
c8155e9f31 thermal: enable frequency based constrain on gpu thermal throttle
Replacec cdevceiling and hardlimit information with freuqencies in
thermal config

Bug: 336698561
Test: Flash Build and boot to home, run adb dumpsys android.hardware.thermal.IThermal/default, check the cdevceiling and hardlimit number for gpu
Change-Id: If5d105208ea055230dbbf4b6ecbac799b04a18db
Signed-off-by: Peter (YM) <peterym@google.com>
2024-05-06 02:30:49 +00:00
Robert Lee
b6fb5a822e audio: Update DVT parameters
Modify fallback value

*Checksum
68b8b2df3d443918ae57753e692337b443fe5dfe cs35l41-dsp1-spk-prot.bin
72305d1f921514764131c38997ebc7d4816284c0  R-cs35l41-dsp1-spk-prot.bin

Files from the latest attachment on b/338320001

Bug: 338320001
Test: verified by jackwjchen@
Change-Id: I2b441a8fe348c71213ccc428e03a3b03e118da84
2024-05-06 02:29:26 +00:00
Robert Lee
bfa6e49fb6 audio: Update DVT parameters
Modify fallback value

*Checksum
06c3edac905df52ad18067e38e480a5bd5cbeb11 cs35l41-dsp1-spk-prot.bin
59836689a83095934373f3be38b02aca2b004bb5  R-cs35l41-dsp1-spk-prot.bin

Files from the latest attachment on b/338318911

Bug: 338318911
Test: verified by jackwjchen@
Change-Id: Iaf7ee46cc5c2168774336c9a2a88518d7743eb7f
2024-05-06 02:26:13 +00:00
Robert Lee
c7d804e70a audio: Update DVT parameters
Modify fallback value

*Checksum
f19499dead5b674edaf36be9d3937843b54e2a29 cs35l41-dsp1-spk-prot.bin
e7dc0f6f63c9d555daabb6f5e333ea9e6414177e R-cs35l41-dsp1-spk-prot.bin

Files from the latest attachment on b/338318325

Bug: 338318325
Test: verified by jackwjchen@
Change-Id: I23cd8226e63491ba2309c4f5c9bc32196e74916e
2024-05-06 02:20:21 +00:00
Treehugger Robot
30eb0787d6 Merge "thermal: Move TPU to the VSKIN-SOC PID loop" into 24D1-dev 2024-05-03 17:00:32 +00:00
Yixuan Jiang
e3354e6b91 audio: P24 Recording tuning table update - ver RC
Update "gecording.gatf" & "template.xml"

[Details]
Change list
1. Adjust PGC tuning for camcorder to enhance clarity and reduce muffled sound in HSP recording.(b/328181251)
band0 gain align band1, 30 ->0
2. Adjust the PGC tuning for gRecorder to smooth out background noise without affecting speech clarity.
expander ratio 2, 2, 2 -> 1, 1.25, 1.25 (b/335773489)
3. Adjust the tunings for VOICE_RECOGNITION and triple mic use cases so that they only apply linear gain
4. Adjust audio zoom enhance ratio to make 2.1x as maximum ratio. (For fixing b/335807700, b/335809308, b/335808058)

Bug: 338349881
Test: HW verified - see bug
Change-Id: I22a94746ae5e84bbdb3465d93d1c7c2cf38d13f6
Signed-off-by: Yixuan Jiang <yixuanjiang@google.com>
2024-05-03 08:01:03 +00:00
S Ashwin Balaji
9883d695b7 Merge "thermal: Expose VCharge-Sensors with throttling" into 24D1-dev 2024-05-03 07:17:51 +00:00
Treehugger Robot
b9eb047abf Merge "gps: disable AGPS L5" into 24D1-dev 2024-05-03 03:55:31 +00:00
Treehugger Robot
0911054efe Merge "odpm: support 2 random mappings to iio device" into 24D1-dev 2024-05-03 02:58:08 +00:00
Treehugger Robot
3d9abbb381 Merge "audio: remove non-supported analog headset" into 24D1-dev 2024-05-03 02:16:59 +00:00
Darren Hsu
bc80d65178 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: I1c6f3ccc32a73f5b4758571882c4fca9df00c36a
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-05-03 01:46:54 +00:00
TeYuan Wang
1a2a883b47 thermal: Move TPU to the VSKIN-SOC PID loop
Bug: 322223131
Test: run TPU test
Change-Id: I9ed71aed7d2469bbeab0e792d72b2e4c5f618ebc
2024-05-02 23:40:07 +00:00
Wei Wang
c381116bd3 Merge "Revert "Set big core to cpu skip mask by default"" into 24D1-dev 2024-05-02 21:28:03 +00:00
Wei Wang
b64afc1747 Revert "Set big core to cpu skip mask by default"
This reverts commit 2cc7bc7c3d.

Reason for revert: may get geekbench5/6 regressed
Bug: 338140604
Bug: 338141118
Change-Id: I76b2b98ca233fccc1f9a15c99bbb622bd7869392
2024-05-02 20:26:43 +00:00
Treehugger Robot
cbb7525150 Merge "audio: 2024/04/26 Fortemedia tuning settings for RC v1" into 24D1-dev 2024-05-02 17:38:05 +00:00
Wayne Lin
b9548851c9 gps: disable AGPS L5
Bug: 336287475
Test: verify pass in b/336287475#comment25
Change-Id: Iffde98de5b7c8ea1e5218b87ff80d2ee31b065c0
2024-05-02 17:00:08 +00:00
Wayne Lin
5cd1a52d7d gps: disable requestRefLocCb to prevent incorrect cell info
Bug: 336760721
Test: verify pass in b/336760721#comment28
Change-Id: I4db133cbaa218d3a3a502c27264de5e4bae23bff
2024-05-02 22:15:32 +08:00
Carter Hsu
e11a334b3b audio: update Waves tuning
KM4:
- Improve sound profile overall (bass, tone, level, distortion, etc) from DF tuning
- Retune volume curve (compliant with battery and heat budgets)
- Update speaker-safe tuning (ringtone, alarm, notification)
- No need for thermal throttle (very low power)
- No need for BAACL tuning (no audible issues at 1.8A peak)
- Full acoustic testing complete
- Full power testing complete at speaker load (pending Monsoon battery test)
- Pending CTS compliance test
b8ad231b35a00ef24f349eb9c2a48ae95be63c92  /vendor/etc/waves_preset.mps
b8ad231b35a00ef24f349eb9c2a48ae95be63c92 *KM4_MangoXSS_REVERT2_LLv20Nv5_rebuild1.mps

CM4:
- Addresses many of the PTE bugs and is an improved tuning from previous versions.
- Reduces Power Usage compared to the previous release.
- SHA1Sum for MPS: 52927bbe91ba14c2412c1839cbc471c9ec6072bf
- SHA1Sum for XML: 449deead0bdc8642e43cdcc32578701699878c45

TK4:
- Addresses many of the PTE bugs and is an improved tuning from previous versions.
- Reduces Power Usage compared to the previous release.
- SHA1Sum for MPS: 52927bbe91ba14c2412c1839cbc471c9ec6072bf
- SHA1Sum for XML: 449deead0bdc8642e43cdcc32578701699878c45

Bug: 338159946
Bug: 338159502
Bug: 338141700
Test: verified by audio tuning team
Change-Id: I6108dee7335189a1fb98212a7e19d9cd9852ca47
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-05-02 05:55:03 +00:00
sashwinbalaji
77bd92b57d thermal: Expose VCharge-Sensors with throttling
Expose virtual charge sensors to which throttling is binded to and
hide those which don't have.

Unhide:
 - VIRTUAL-SKIN-CHARGE-WIRED
 - VIRTUAL-SKIN-CHARGE-PERSIST
Hide:
 - VIRTUAL-SKIN-CHARGE

Bug: 336193005
Test: Verify dumpsys
Change-Id: I4d83f6af17fccb7de8d053c9d981163c9dde0ea3
2024-05-02 09:10:14 +08:00