Commit graph

378 commits

Author SHA1 Message Date
Jia-yi Chen
c434ec8764 thermal: Update thermal config
Change the CRITICAL setting of dc_icl in odpm-lo to 100mA.

Bug: 202368734
Test: Boot & verify the actions via logcat
Change-Id: Iec0850fe62ce841884ac9a2af9ee0aff77790223
2021-10-13 16:00:53 +00:00
David Li
65bb51f95f audio: Update tuning table for removing the risk of blocking rear microphone in 3rd party recorder use case
Reason:
-Change the microphone assignment from rear mic to top mic since there is a risk that the rear mic will be blocked when users put devices on the desk.

Change list:
Update recording.gatf file for changing microphone assignment in handset_mono_mic usecase

Validation:
3rd party camcorder/recorder and GCA function are good and validation was used SD1A.210817.026 (7772856)

Bug: 202467646
Test: forrest build
Change-Id: I3b0f8a7ba590925fc70f28bdd3bbb4b29938fd68
2021-10-09 00:46:29 +00:00
Jia-yi Chen
941224c845 thermal: update thermal config
1) Lower CRITICAL temperature of VIRTUAL-SKIN to 46.5
2) Update the virtual-sensor formula based on latest data

Bug: 201020972
Test: Boot
Change-Id: I5dd45635828932b4561ab1deafe10de66a924dcd
2021-10-08 17:28:10 +00:00
Carter Hsu
8852d7bcee audio: update O6/R4 Aaram volume curve
O6
Change:
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
        <point>0,-4800</point>
R4
Change:
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
        <point>0,-5200</point>

Bug: 201069348
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ia5f82e06bc272d93172892692c7987993786b754
2021-10-08 12:02:04 +08:00
Eric Laurent
0800e891ec audio config: fix minimum alarm volume
The ALARM volume curve on SPEAKER device must have a lowest
point with abscisse 0 instead of 1 to prevent the stream from
being muted when lowest UI index is selected.

Bug: 201069348
Test: set alarm volume to min and play alarm
Change-Id: I29dda66002562e9ce889bd4f8b0154c2837f7be5
2021-10-08 12:01:03 +08:00
Robert Lee
b571f4881a audio: update speaker protection bin
O6 Top Speaker "DOE2" Bin file changes:
- XMAX reduced by 0.05mm w/ Waves processing in circuit.
- TMAX reduced by 10degC w/ Waves processing in circuit.

sha1sum file:
315408679aa97caba462b4ba1290b2be514558ab  cs35l41-dsp1-spk-prot.bin

Bug: 202297689
Test: Build pass
Change-Id: I78252b9c0a02941601a0b13d9d2cb14661f3e102
Signed-off-by: Robert Lee <lerobert@google.com>
2021-10-07 01:54:27 +00:00
Gil
b8b6426278 [automerger skipped] [AOD] R4O6 Modify AOD brightness setting am: 46e67d17ed -s ours
am skip reason: Merged-In Ica79bc6fa0c8d15c6c123f9584d48bd71eaeb094 with SHA-1 8aaa9f71b7 is already in history

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

Change-Id: Id5ab216b8c4a55074dff51ec218fad0c7166a5ba
2021-10-05 18:09:45 +00:00
Gil
8bd51be85f [AOD] R4O6 Modify AOD brightness setting
Modify High/Sun value to systme brightness format on 50 nits

Bug: b/184728677
Test: Dump brightness while entry AOD mode
      panel-samsung-s6e3hc3 1c2c0000.drmdsim.0: req: 216, br: 216
      panel-samsung-s6e3hc3 1c2c0000.drmdsim.0: req: 198, br: 198
Change-Id: Ica79bc6fa0c8d15c6c123f9584d48bd71eaeb094
Merged-In: Ica79bc6fa0c8d15c6c123f9584d48bd71eaeb094
2021-10-05 07:18:04 +00:00
Gil
da5a0267be [AOD] R4O6 Modify AOD brightness setting
Modify High/Sun value to systme brightness format on 50 nits

Bug: b/184728677
Test: Dump brightness while entry AOD mode
      panel-samsung-s6e3hc3 1c2c0000.drmdsim.0: req: 216, br: 216
      panel-samsung-s6e3hc3 1c2c0000.drmdsim.0: req: 198, br: 198
Change-Id: Ica79bc6fa0c8d15c6c123f9584d48bd71eaeb094
2021-10-04 03:16:58 +00:00
Daniel Solomon
cfb5797068 [automerger skipped] display: Update O6R4 refresh rate limitations am: 536ff9ede8 -s ours
am skip reason: Merged-In I2bebff0b5c0677e83a55168332bb2271a073bae1 with SHA-1 1db3592cca is already in history

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

Change-Id: I6fe402c8a873c58d771d1cdad2da9599123f7951
2021-09-29 18:25:09 +00:00
Daniel Solomon
035d7b452f display: Update O6R4 refresh rate limitations
Limit high brightness mode for HDR to 60Hz on both O6 and R4.

Bug: 196691596
Change-Id: I2bebff0b5c0677e83a55168332bb2271a073bae1
Merged-In: I2bebff0b5c0677e83a55168332bb2271a073bae1
2021-09-29 18:11:41 +00:00
David Chao
dffd74885b Revert "thermal: update TPU SKIN policy"
This reverts commit 74188d76380e2227119659c2c0670490bb38e091.

Reason for revert: Breaks camera

It appears the new frequencies in these table are buggy hence breaking camera.

Bug: 201155685
Change-Id: Ib1b0fc7d865cd1e7ee8c0f5575a2211e4629f5a9
2021-09-29 15:43:51 +00:00
Daniel Solomon
2402decf7b display: Update O6R4 refresh rate limitations
Limit high brightness mode for HDR to 60Hz on both O6 and R4.

Bug: 196691596
Change-Id: I2bebff0b5c0677e83a55168332bb2271a073bae1
2021-09-29 06:33:51 +00:00
David Li
ec055fe259 audio: Update tunings for SA-lite optimization and enhance audio zoom performance
Reason:
- Optimize audio zoom quality in camcorder
- Add tuning parameters to fit single band DRC modification in AOC (b/198128358)

Change list:
Update recording.gatf file for modifing audio zoom tuning parameters
Update template.xml file to select single band DRC reference channel

Validation:
3rd party camcorder/recorder and GCA function are good and validation was used SD1A.210817.019.A7 (7719665)

Bug: 201031972
Test: forrest build
Change-Id: I45cf7dcb0edbd38d0041e3112d88ce29cefacb2f
2021-09-27 07:37:20 +00:00
Robin Peng
08642455ab Jump SVN to 4 for SU0 am: 63f4e8a907
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15919063

Change-Id: I4d99f97d04b8bd3b255af42e3df9920460cc2ac3
2021-09-27 03:09:56 +00:00
Robin Peng
b5305769f8 Jump SVN to 3 for VZW Regression am: f9e4eda9bc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15919062

Change-Id: If9eaa9aa1abeb7cd7593b1aaa6f3cdd7c02b0fca
2021-09-27 03:09:56 +00:00
Robin Peng
221c80b231 Jump SVN to 4 for SU0
Bug: 201204693
Change-Id: I5851574e83e8abe1f219aa43aa5e51d8406e3880
2021-09-27 09:53:13 +08:00
Robin Peng
d465c7fccb Jump SVN to 3 for VZW Regression
Bug: 201204273
Change-Id: I6d6931d49cd89533da3bdf0cb9573a64f0034fa8
2021-09-27 09:52:49 +08:00
millerliang
5fb9498c64 audio: changet the period size of VoIP Record am: 47a8acc5f1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15824293

Change-Id: I9051aef768a94eb34b32770dafe38ed25046007d
2021-09-24 07:14:38 +00:00
millerliang
a8c236c35c audio: changet the period size of VoIP Record
Change the period size of VoIP Record to 20ms.
Otherwise it will apply fast capture.
Fast capture timestamps are not supported yet.

Bug: 196912510
Test: Build pass
Change-Id: I6434a7596880712efa7cbfa03b3480efb5e2c2aa
2021-09-24 10:41:15 +08:00
Xinhui Zhou
923b3af81f audio: deep buffer to floating point pcm data [DO NOT MERGE] am: ee3bc4db89
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15799241

Change-Id: I4ca8af2b8270665bd447859b010ad33ddbcd692e
2021-09-21 22:10:44 +00:00
Xinhui Zhou
411cd28a78 audio: deep buffer to floating point pcm data [DO NOT MERGE]
Bug: 199157246
Test: build pass
Signed-off-by: Xinhui Zhou <zxinhui@google.com>
Change-Id: I331d55403daadda3bb6699b3dfff0e759f782b95
2021-09-21 21:58:32 +00:00
David Chao
568ea8e346 thermal: update TPU SKIN policy
Update TPU SKIN thermal throttling to supports the full DVFS state table
to match TPU hardware DVFS capabilities.

Bug: 198679654
Test: Verified by emul temp
Change-Id: I8ddc588ad4fe48c9def78a180c5ff43b4a4203de
2021-09-20 21:23:33 +00:00
Jia-yi Chen
04cce01ad0 thermal: Update thermal config for charging am: faf677ffa1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15722388

Change-Id: Icef862e43e5c33e6ddb9cdbccbaf43a5ba02e846
2021-09-16 21:46:48 +00:00
Jia-yi Chen
110e5b2181 thermal: Update thermal config for charging
Add a new virtual sensor VIRTUAL-SKIN-CHARGE dedicated for charging
and lower the temperature threshold for thermal severity.

Bug: 195619668
Test: Boot
Change-Id: Ia8901e55d161a9d989a3d8450b62efe844900765
2021-09-16 21:25:19 +00:00
Robin Peng
f4156c08f8 Update SVN to 2 am: 050c3b4416
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15841970

Change-Id: I32a28e8f13d4217aeb4ed2dc60f5187ec6eca8ee
2021-09-16 14:30:12 +00:00
Robin Peng
9b6c2f066f Update SVN to 2
Bug: 200108214
Change-Id: Ia47b376781f6d7ca9f10a7825a3e097dd6e10250
2021-09-16 13:45:13 +08:00
Beverly
80e3da7342 Remove doze_brightness_uses_prox config
Moving forward, binned brightness will not
use prox. Let's get rid of this unnecessary config.

Test: manual
Bug: 194151347
Change-Id: I3352a3007138232c32aeb43ce4ec3ce97dad239d
2021-09-13 16:07:09 +00:00
Jia-yi Chen
4a41faabc8 thermal: Update thermal config for charging
Add a new virtual sensor VIRTUAL-SKIN-CHARGE dedicated for charging
and lower the temperature threshold for thermal severity.

Bug: 195619668
Test: Boot
Change-Id: I5e90762f2eb6e2ee55c78a23aec64102586f0143
2021-09-10 03:49:03 +00:00
Roger Fang
be2bde46ba audio_usb: Enable ASRC in USB voice call path
Telephony downlink ASRC should be enabled for USB. See b/173577733.
Otherwise the downlink ring buffer will underflow or overflow

Bug: 199230403
Test: Local build + Telephony test for five minutes: No glitch observed.
Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: Ifbcd9252c97a7f794e0b142e69faf1b0f3041098
2021-09-08 15:06:00 +08:00
Jia-yi Chen
8abd1d8f64 Adjust PID loop parameters to relax GPU throttling for MODERATE am: 6bd9dadb42
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15727767

Change-Id: Ifad8dc8205cd927be38a1374045064f4870296bf
2021-09-03 22:11:48 +00:00
Jia-yi Chen
e60ba10e86 Adjust PID loop parameters to relax GPU throttling for MODERATE
Test: Boot
Bug: 198291571
Change-Id: I606d4342fc92bc2d2c5552ea5e0ced1603e972fa
2021-09-03 21:55:52 +00:00
Petri Gynther
b058000fcf raviole: clean up kernel variables
1) make TARGET_KERNEL_DIR assignment conditional
2) add TARGET_BOARD_KERNEL_HEADERS

Bug: 198682676
Change-Id: Ica7d816bb421341f3620e156796ef611f437d688
2021-09-03 12:35:16 +00:00
Jasmine Cha
346f793bce audio: update music playback volume curve am: b116b57820
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15743308

Change-Id: I8017b50862f15075b07f9300e6f058e998e3c162
2021-09-03 06:53:41 +00:00
Jasmine Cha
7ebc080458 audio: update music playback volume curve
- changes volume 1,2,3,4,5 (due to a sound quality noise floor issue)

Bug: 198224217
Test: manual power test (b/198224217#comment21)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ied7e88ad941e8a13e2080da6e2897b9541966dd0
2021-09-03 05:32:23 +00:00
Yanting Yang
4533fcbfe6 Update regulation e-label for Oriole am: 05fc0b2ca9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15743482

Change-Id: I60270893a251b08febfea932442b33af33a6407d
2021-09-02 02:33:44 +00:00
Yanting Yang
528d915a9e Update regulation e-label for Oriole
Update the e-label of GR1YH and GB7N6 for SAR number.

Fixes: 187845531
Test: visual
Change-Id: Iaa8bb2e754181e8f3682a633b5e4f289920ab275
2021-09-02 01:47:23 +00:00
Ted Wang
6cd704db63 Bluetooth: Raven BT SAR tables for US and ROW for FRC am: b2c5a815e8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15683941

Change-Id: I1179edaf248f75154053f44cefd35fa00fdd0702
2021-08-27 12:31:40 +00:00
Ted Wang
1f5a53f33a Bluetooth: Oriole BT SAR tables for US for FRC am: e5d0d027e4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15683940

Change-Id: I1bfb9e9321f80777aa900b8179170c3910fd4fd9
2021-08-27 12:31:37 +00:00
Ted Wang
fcef52d17d Bluetooth: Raven BT SAR tables for US and ROW for FRC
Bug: 197871261
Test: make
Change-Id: I4d0f8a90485aeff75f81090385a07566f9ddb61c
2021-08-27 12:18:01 +00:00
Ted Wang
1e8d0d77d8 Bluetooth: Oriole BT SAR tables for US for FRC
Bug: 197871408
Test: make
Change-Id: I577e5ba00956fe843118886f66260c51908cc996
2021-08-27 12:17:47 +00:00
David Li
f590a05416 audio: update Media Record Tuning Files am: 748d19776f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15659825

Change-Id: I1b31168d5f5ebf8adf4154f47dca05a67ca07217
2021-08-27 02:13:27 +00:00
David Li
b82bc02526 audio: update Media Record Tuning Files
R4O6
Update camcorder tunings files for FRC

Reason:
- The SA-lite pipeline is used for 3rd party camcorder/recorder and
    need to be updated tuning for audio quality (b/185293492)
- There is e-Noise issue could be noticed when using 3rd party
    camcorder/recorder

Change list:
Update audio_platform_configuration.xml file so that parameters in
    SA-lite pipeline can be loaded correctly
Update template.xml file to enable feature swapping microphone
    assessment in SA-lite pipeline
Update recording.gatf file for modifing tuning parameters

Validation:
3rd party camcorder/recorder function are good and validation was
    used SD1A.210817.007 (7665414)

Bug: 197492283
Test: forrest build passed
Change-Id: Ifc66519c92935dc4bd14d68a85a491f96429272a
2021-08-27 01:57:46 +00:00
Jasmine Cha
03e3dc073a audio: update FM tables (20210729_v540) am: 95268bbff1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15671192

Change-Id: Iac62e8e86ac006cb622d26684243dfc505c44bc7
2021-08-26 08:46:05 +00:00
Jasmine Cha
254cdef7be audio: update FM tables (20210729_v540)
///R4
1. HHNB/WB/SWB double talk fine tune with v5.3.11 lib fix
2. Headset TTY VCO: sync the latest of HH TX
3. Headset Headphone : sync the latest of HH TX
4. BT HAC : sync the latest of HH TX
5. Headset FB tuning for NS

///O6
1. HHNB/WB/SWB double talk fine tune with v5.3.11 lib fix
2. Headset TTY VCO: sync the latest of HH TX
3. Headset Headphone : sync the latest of HH TX
4. BT HAC : sync the latest of HH TX
5. Headset FB tuning for NS

Bug: 197716271
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I6376ce7da579dcda09c6077182cd82c6fb2c2efb
2021-08-26 08:31:05 +00:00
Jasmine Cha
9448a090af audio: update tuning tables (20210826) am: 7516c91bc3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15674429

Change-Id: I894746e395eda337690d10ac111cfdbe8be0cbb8
2021-08-26 02:26:41 +00:00
Jasmine Cha
f21fa1b132 audio: update tuning tables (20210826)
Release Notes (R4):
- Retune top volumes for more balanced sound, less harsh
- Heavy emphasis on vocals, both depth and clarity
- DTMF volume curve reduced to better align w/ O6, F2, C2, B9
- SYSTEM volume curve reduced to better align touch sounds
- SYSTEM volume curve copied into AUDIBLE volume curve

Release notes (O6):
- Camera shutter (system sound) decreased volume curve to better align w/ R4/B9 and F2/C2
- Slight adjustment at min vol point for DTMF
- SYSTEM volume curve reduced to mitigate loud camera shutter
- SYSTEM volume curve copied into AUDIBLE volume curve

Bug:190960105
Test: High level tuning validation (b/190960105#comment15)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Icf0c9e921017b5e06ec950452a78a9d89acf86f2
2021-08-26 01:15:23 +00:00
George Chang
8cfdea1128 Allow NFC polling disable by system apps am: 40e1218f96
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15659822

Change-Id: I2136855a1aef6c177fba09def72575effe79e281
2021-08-25 06:02:18 +00:00
George Chang
675c8f7b6e Allow NFC polling disable by system apps
Bug: 195429557
Test: manual
Change-Id: Ib2a67580ffd5716e6b6b371c4502b8d377952568
2021-08-25 05:50:10 +00:00
Robert Lee
e63d2cb4eb init.raviole.rc: remove world writable on speaker.cal am: 1d75fb3ce6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15659823

Change-Id: I39bd0613b39b37a2e7c494bffce7f2770b0665c7
2021-08-24 06:01:17 +00:00