Commit graph

371 commits

Author SHA1 Message Date
Andrew LeCain
ac98c0cb5a Revert "raviole: allow UDFPS to read mfg_data blk device" am: 3eabec9671
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15389339

Change-Id: Iea141ad127d513858256804a2e6a575b0ab8b74f
2021-07-27 21:50:27 +00:00
Andrew LeCain
8340b00c0e Revert "raviole: allow UDFPS to read mfg_data blk device"
This reverts commit 2d2e597690f3e2fc06ffeb3749599fe5b8521959.

Bug: 193549276
Test: FP app doesn't report permissions error reading cal partition.
Change-Id: I8b982dec8bd5920eac69b48d6bd1de8cfc989003
2021-07-27 21:32:11 +00:00
Yanting Yang
99e87176f6 Update MIC e-label for JP SKU of Oriole am: b13ba60a1c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15390920

Change-Id: I470bbc10ab319211dcf96eafa76c0871292ff211
2021-07-27 17:08:17 +00:00
Yanting Yang
b043fc0a41 Update MIC e-label for JP SKU of Oriole
Bug: 194450210
Test: visual
Change-Id: I7e732dad9028629bb3a22b1f2f5749449ac41266
2021-07-27 16:52:01 +00:00
Ted Wang
3a7836263a Bluetooth: Raven BT SAR tables for US sub6 and mmwave am: 09f919c640
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15390921

Change-Id: I171e7dcf04ac90b203ade8fee162856d727bac61
2021-07-27 15:21:16 +00:00
Ted Wang
d92243beae Bluetooth: Raven BT SAR tables for US sub6 and mmwave
Bug: 194717982
Test: make
Change-Id: I1fe2c5752ffea01cc78550e0433f3ac3904484ee
2021-07-27 12:02:55 +08:00
samou
72467c997c power_profile: add battery capacity am: d9ab742bd7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15270344

Change-Id: I78e93254f5f424b9529e6ea2c778d5d8e94f4057
2021-07-27 02:52:50 +00:00
samou
2c99b67e63 power_profile: add battery capacity
Bug: 185956384
Test: Manually verified
Change-Id: Ida34a4415662bd4e24ef9d2ea64520d1070d436d
2021-07-27 02:37:03 +00:00
George Lee
b807786e48 bcl: Lower VDROOP2 threshold am: 2ab64f29bc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15350353

Change-Id: I036d5999b5367e568c0887d9c94600a8387f7ce9
2021-07-27 01:02:57 +00:00
George Lee
a73cca8ccc bcl: Lower VDROOP2 threshold
VDROOP2 had the same threshold as VDROOP1.  It should be lower.

Bug: 194239833
Test: VDROOP2 doesn't always trigger.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ic6a28707eb69309291132a3ca9838c42d5be6c8d
2021-07-27 00:43:10 +00:00
Ted Wang
013720462b Bluetooth: BT SAR tables for US sub6 and mmwave am: fba560e2d1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15327153

Change-Id: I615961023eae6ae581de4db8f968b8aa8486b7db
2021-07-26 08:54:23 +00:00
Ted Wang
e241d59858 Bluetooth: BT SAR tables for US sub6 and mmwave
Bug: 193752643
Test: make
Change-Id: Iac21fc563b0d4ad494b29d584ed4a19073118b61
2021-07-26 08:39:24 +00:00
Jasmine Cha
4488a83d1f audio: update fm tables (20210722_v540) am: 202899e304
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15343069

Change-Id: I4f3d52aac7221c9c9c4d57ad605a9658abbbe747
2021-07-23 10:48:36 +00:00
Jasmine Cha
9609aa66fb audio: update fm tables (20210722_v540)
//R4
1. HH WB mic blocked enable
2. HH SWB BVE disable
3. HA WB mic blocked enable
4. HE TTY VCO: sync the latest of HH TX
5. HE TTY HCO: sync the latest of HH RX
6. HE Headphone : sync the latest of HH TX
7. BT HAC : sync the latest of HH TX
8. HA BVE turn on in Generic settings: NB/WB/SWB
9. HA BVE turn on in TMUS settings: NB/WB/SWB
10 HE by Gene
For both R4 and O6
 BB
  - General
     -  EnableBBLowLatencyMode
  - NB
      - TX EQ, NS improve
      - RX volume, DRC
 - WB
      - TX EQ, NS improve
      - RX EQ
      - RX volume, DRC
 - SWB
      - RX EQ, NS improve
      - RX TDDRC change from 5 to 7.01dB
      - RX volume, DRC
- FB
     - TX EQ for NS
     - RX volume, DRC

Google Condor
 - Enable LowLatencyMode
 - NB TX EQ depress low freq, increase high freq
 - WB TX EQ depress low freq

Condor reservation
 - same to Google Condor

Condor for sertification
 - Enable LowLatencyMode

//O6
1. HH WB EVT1.1/DVT fine tuning
=> FdEQ for more headroom
2. HH WB mic blocked enable
3. HH SWB BVE disable
4. HA WB mic blocked enable
5. HE TTY VCO: sync the latest of HH TX
6. HE TTY HCO: sync the latest of HH RX
7. HE Headphone : sync the latest of HH TX
8. BT HAC : sync the latest of HH TX
9. HA NB/WB/SWB/FB Generic tuning based on acoustic structure change
10. HA NB/WB/SWB/FB TMUS tuning based on acoustic structure change
11. HA BVE turn on in TMUS settings: NB/WB/SWB
12 HE by Gene
For both R4 and O6
 BB
  - General
     -  EnableBBLowLatencyMode
  - NB
      - TX EQ, NS improve
      - RX volume, DRC
 - WB
      - TX EQ, NS improve
      - RX EQ
      - RX volume, DRC
 - SWB
      - RX EQ, NS improve
      - RX TDDRC change from 5 to 7.01dB
      - RX volume, DRC
- FB
     - TX EQ for NS
     - RX volume, DRC

Google Condor
 - Enable LowLatencyMode
 - NB TX EQ depress low freq, increase high freq
 - WB TX EQ depress low freq

Condor reservation
 - same to Google Condor

Condor for sertification
 - Enable LowLatencyMode

Bug: 194273785
Test: manual test (b/194273785/comment#7)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ifb00378b6b5a9df95af82b7a1ff6256e91bd0ca3
2021-07-23 10:32:02 +00:00
linpeter
1ea4b19002 display: enable hbm dimming am: f44935bf00
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15172891

Change-Id: I09267d77d772b12a5daa4a372caf6d08a4fe5885
2021-07-23 06:47:45 +00:00
linpeter
a6263cc521 display: enable hbm dimming
Bug: 190806064
test: hbm dimming
Change-Id: I7897110c87b6b47df48ef7ad14f8ee330fab0fd2
2021-07-23 06:22:11 +00:00
Robert Lee
5f0aee200b audio: update speaker protection bin am: 0819275476
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15360143

Change-Id: I227b135ca885a5c30bb639a75f04e19ea380bf21
2021-07-23 04:28:18 +00:00
Robert Lee
912f6acaec audio: update speaker protection bin
Change log:
===

O6 Top Speaker Protection:
File: "o6Top_protect_20210720_120hpf_pb6.47.0_17.5dB_withRtrace_125C_fastRL.bin"
Phone file: /vendor/firmware/cs35l41-dsp1-spk-prot.bin
Sha1sum: 033d5ad6d6be86849d74fe641c575e50425cd8c0  o6Top_protect_20210720_120hpf_pb6.47.0_17.5dB_withRtrace_125C_fastRL.bin
Changes: Decreased TMAX for 5degC margin at peak, increased thermal rate limiter attack to 0ms (fastest possible)
Tests - Protection: Passed XMAX/TMAX testing
Tests - Acoustic: Passed acoustic impact testing (no much change from POR tuning in FR, reduced distortion)
Tests - Listening: Coupled w/ bottom speaker - Can hear slight change in color on compressed chorus (negative), but brings out warmth slightly (positive), and slight impact to loudness because of sharpness delta (negative)

===

O6 Bottom Speaker Protection:
File: "o6Bottom_protect_20210712_120hpf_pb6.47.0_17.5dB_withRtrace_110C.bin"
Phone file: /vendor/firmware/R-cs35l41-dsp1-spk-prot.bin
Sha1sum:  d8695fc43e1049ac2e258b37103396730016f4e6  o6Bottom_protect_20210712_120hpf_pb6.47.0_17.5dB_withRtrace_110C.bin
Changes: Decreased TMAX for 10degC margin at peak, increased thermal rate limiter attack to 0ms (fastest possible)
Tests - Protection: Passed XMAX/TMAX testing
Tests - Acoustic: Passed acoustic impact testing (no much change from POR tuning in FR, reduced distortion)
Tests - Listening: Same as top speaker comment

===

R4 Top Speaker Protection:
File: "r4Top_Protect_21.7.0_pb6.47.0_17.5dB_100hpf_withRTrace_120Tmax.bin"
Phone file: /vendor/firmware/cs35l41-dsp1-spk-prot.bin
Sha1sum:   172683183693d6df1d482f1e4f018607bc534a41  r4Top_Protect_21.7.0_pb6.47.0_17.5dB_100hpf_withRTrace_120Tmax.bin
Changes: Decreased TMAX for 10degC margin at peak, increased thermal rate limiter attack to 0ms (fastest possible)
Tests - Protection: Passed XMAX/TMAX testing
Tests - Acoustic: Passed acoustic impact testing (no much change from POR tuning in FR, reduced distortion)
Tests - Listening: No change audible, low risk

===

sha1sum
033d5ad6d6be86849d74fe641c575e50425cd8c0  oriole/cs35l41/fw/cs35l41-dsp1-spk-prot.bin
d8695fc43e1049ac2e258b37103396730016f4e6  oriole/cs35l41/fw/R-cs35l41-dsp1-spk-prot.bin
172683183693d6df1d482f1e4f018607bc534a41  raven/cs35l41/fw/cs35l41-dsp1-spk-prot.bin

Bug: 193902089
Test: Hardware verified
Change-Id: I354f99c96526f23b43b7e50f69ee550e3a5a52de
Signed-off-by: Robert Lee <lerobert@google.com>
2021-07-23 04:11:50 +00:00
Jasmine Cha
2ddbe4b9e1 audio: update Waves O6 tuning (20210723) am: 7ef1481c87
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15360142

Change-Id: I2d2f9cbd67d68b9a8d880b92b55e98fb89bdb80c
2021-07-23 03:28:09 +00:00
Jasmine Cha
338b7bc063 audio: update Waves O6 tuning (20210723)
It fixes the following bugs:
 - Volume pumping on vocals with musical content(b/193867952)
 - Stereo balance skewed to the left (b/193867898)

Bug: 194443833
Test: LR mixed/swap, Mute/Unmute, bypass, playback

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ic0c8a27178509aebe8ca7d295a0ed4ee4daaec00
2021-07-23 09:51:04 +08:00
Chiawei Wang
89de537bee Add the customized max cached processes number for O6/R4 am: 177764ee93
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15001750

Change-Id: I2857e13f709536365eff530698378a31da1b0b8a
2021-07-22 16:23:39 +00:00
Chiawei Wang
843ed6b028 Add the customized max cached processes number for O6/R4
Bug: 190531672
Test: make
Test: dumpsys activity | grep CUR_MAX_CACHED_PROCESSES
Change-Id: Ie1c17312a0eadb2c3f033c8a674ceb234abeadb3
2021-07-22 15:55:36 +00:00
Yung Ti Su
698c5b314d audio: update audio capture tuning am: 34002eb8ee
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15344548

Change-Id: I2505eef8c627428340c836238585a78460add575
2021-07-22 04:44:55 +00:00
Yung Ti Su
3a1f1e352f audio: update audio capture tuning
Media recording tuning table on O6 for RC code lock.
This tuning table aimed for the adjustment on Camcorder.

  Change list(O6):
    1. Update IIR2, MBDRC, spatial audio parameters

  Applied stage: O6 DVT

Bug: 194278836
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I873dbd2a4378fbf2b256f1f79d100234a832ed8a
2021-07-22 11:06:12 +08:00
Long Ling
c22e6754c5 display: update golden profiles am: 965f7de376
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15342673

Change-Id: I6793b1e0b21829a176f05113602b98c49ec004fc
2021-07-21 02:17:54 +00:00
Long Ling
55e6b8e239 display: update golden profiles
Bug: 186056830
Bug: 186057140
Change-Id: Id550d4fac629300414693443facb8771af5301e8
2021-07-21 02:02:23 +00:00
TeYuan Wang
3d22c73de7 thermal: Enable usb port overheat protection am: cb86c1856e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15235005

Change-Id: Ief68b643844bce04c3d2ebd8fae10c4dc4964faa
2021-07-21 00:08:53 +00:00
TeYuan Wang
1b6d959f9d thermal: Enable usb port overheat protection
Bug: 183573049
Test: Veirfied with emul temp
Change-Id: I6235228b06938e5a33ad64b07bd69f50846a78d4
2021-07-20 23:53:52 +00:00
YiHo Cheng
c078883e7a thermal: Update gpu pid control loop parameters am: 299e0f4f1f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15283194

Change-Id: Icb0aa14b1e019c081640c76230ae60f0e9c6ae9f
2021-07-20 05:54:52 +00:00
YiHo Cheng
6acf60f157 thermal: Update gpu pid control loop parameters
Adjust to smooth the curve for gfxbench improvement

Bug: 178178393
Test: run gfxbench safety certification
Change-Id: Idb3c7f77aa4e60ba914fa6abd25e2ccd0758507a
2021-07-20 05:44:49 +00:00
Carter Hsu
5473635c91 audio: update camcorder tuning 20210716 am: 845b40a50c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15325213

Change-Id: I1b6cdfc65f33c493df95b92193969711881f4616
2021-07-20 04:25:49 +00:00
Carter Hsu
3c11dab0d8 audio: update camcorder tuning 20210716
Update IIR2, MBDRC, spatial audio parameters

Bug: 193873738
Bug: 193872138
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Id3be3729b19f66d88634d4ca6a0dd1dd8bb991e8
2021-07-20 04:10:40 +00:00
Jie Song
53b501b56b Update latest MIPI CoEX config files am: 6da2873c16
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15288514

Change-Id: Ieb4bcdfa58d829ebed3105bdfb5ae867df115441
2021-07-20 02:13:37 +00:00
Jie Song
6b68ff7396 Update latest MIPI CoEX config files
Bug: 193733956
Test: b/193733956
Change-Id: I7e4ad6c6035e352de6835f5fb71b1ac66cbc12cf
2021-07-20 02:00:59 +00:00
jiabin
58bd1ba9d9 Add distortion output gain for Pixel 6.
The value will be used in HapticGenerator. The value is from UX
experiments.

Test: make
Bug: 193926091
Change-Id: I314aa5bc79ba756cdde4a03b0addd44eb69b27a3
Merged-In: I314aa5bc79ba756cdde4a03b0addd44eb69b27a3
2021-07-19 19:06:42 +00:00
Andrew LeCain
970af86924 raviole: allow UDFPS to read mfg_data blk device am: 2d2e597690
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15295961

Change-Id: Id1a3d30ac3d7874fed264fc5576c6e4bab13d297
2021-07-19 18:06:19 +00:00
Andrew LeCain
b40e3550aa raviole: allow UDFPS to read mfg_data blk device
Bug: 189135413
Test: fastboot stage cal_file; fastboot oem udfps update-cal; HAL sends CAL
Change-Id: Ib9f236bb49d3aa961edcc113c6e6aaa94927f454
2021-07-19 17:46:17 +00:00
Joey Poomarin Phloyphisut
bc6282e3e5 audio_usb: Updating mixer_paths.xml to use V2 command to send config to AoC to support USB behind HUB. am: 6efa3ed238
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15283191

Change-Id: I2c84367d561697dbaaf8916f6bf3b9d21af755a8
2021-07-19 11:46:02 +00:00
Joey Poomarin Phloyphisut
96b58c1c6f audio_usb: Updating mixer_paths.xml to use V2 command to send config to AoC to support USB behind HUB.
This V2 command is from this patch:
https://partner-android-review.googlesource.com/c/kernel/private/google-modules/aoc/+/1962494

Bug: 181296179
Test: Local build
Change-Id: Ia95886ed22519f4da70e2a4880f7fb0eb9900660
2021-07-19 11:33:51 +00:00
Joey Poomarin Phloyphisut
409d7496a9 audio_usb: Add unsupported pcm format for USB accessory on Raviole. am: e8505f1183
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15270332

Change-Id: Ifb42394f9422951875a14c6e554602240c7c739a
2021-07-19 07:49:15 +00:00
Joey Poomarin Phloyphisut
895e3d3808 audio_usb: Add unsupported pcm format for USB accessory on Raviole.
This patch need ag/15270810 to work.

Test: N/A
Bug: 193477495
Change-Id: Ied9317fed60f1fae5a0de76ed12aec723c20a0c2
2021-07-19 07:33:28 +00:00
Ted Wang
7d976ebed0 Bluetooth: Add sar_test in userdebug build am: 4dec5367a1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15297638

Change-Id: I95ac76446b919c1b49dd15095301d6c13d130e9f
2021-07-16 06:12:57 +00:00
Ted Wang
34a89635a9 Bluetooth: Add sar_test in userdebug build
Bug: 193757202
Test: make
Change-Id: Ie940b6e770d2682cc3fff7fbc79a5bcc43645efd
2021-07-16 06:01:46 +00:00
Jia-yi Chen
c3693e0ab6 thermal: Update thermal table am: af86dce11f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15301296

Change-Id: I9e96e4ead8033cbd82cb12fc6fbb62e7d3c70886
2021-07-15 21:30:28 +00:00
Jia-yi Chen
ec0d43627b thermal: Update thermal table
1) Adjust dc_icl settings due to one more level 100000 in dts
2) Change fcc ODPM-lo at MODERATE from 0 back to 1
3) Adjust wlc_fcc settings due to one more level in dts

Bug: 193785535
Test: Boot
Change-Id: If8b6a1439d4464968589f1ed8f6234fac6991977
2021-07-15 21:12:56 +00:00
millerliang
e1f212e478 audio: adjust the latency for USB Headphone am: 62a108d71a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15284570

Change-Id: I26a4ce5c3fc2ea94fb01c6260286ca8be4b305df
2021-07-15 09:02:58 +00:00
millerliang
eff4e0db3d audio: adjust the latency for USB Headphone
Adjust the latency for OUT_USB_HEADSET_BE_CFG

Bug: 174992590
Test: Test av sync for video playback
Change-Id: Idc1dedbbc21290106d417905832810b1ebd1c576
2021-07-14 21:27:00 +08:00
Jia-yi Chen
ae40fec5af thermal: Update thermal table am: d5763a2aea
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15275827

Change-Id: I34136d378a7170b8a4ee7e1736861652cb603ec5
2021-07-14 01:12:10 +00:00
Jia-yi Chen
78fd4977a9 thermal: Update thermal table
Change CdevFloorWithPowerLink for fcc at MODERATE from 1 to 0 to avoid
unwanted throttling from fcc when wlc_fcc is set to 0 with ODPM-lo.

Bug: 192281595
Test: Boot & check log
Change-Id: I718eeb1c3c325a34345a24de90669f349addc972
2021-07-14 00:56:00 +00:00
Jasmine Cha
c3ff3a1eba audio: waves: update O6/R4 MPS (20210713) am: 8d9dbf24d1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15258649

Change-Id: Ie2362d04432c8a8bebe3e8fcfc9c8bc46e21387f
2021-07-13 10:26:40 +00:00