Commit Graph

176 Commits

Author SHA1 Message Date
yixuanjiang 797bb58dc3 acdb: update acdb files
1. modify the topology for recording path
2. adjust the mic degrade/dead threshold parameters
3. speakerphone mode SWB TX tuning update
4. update BVE tuning for speaker phone mode
5. update mic distance calibration

Bug: 150747438
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: I5c2d38c64b86d17c9421ba8b524cc522f791b1c5
2020-05-29 21:21:13 +08:00
TreeHugger Robot 79e22bee08 Merge "Revert "R3 supports 3 camera_vsync"" into qt-qpr1-dev
Change-Id: I0d1092562040826bb3ef14cd79e9b1bde1723fb0
2020-05-29 21:21:08 +08:00
TreeHugger Robot 8b501b35b7 Merge "audio: update audio table" into qt-qpr1-dev
Change-Id: I727bf7456a97a881c3b51d9a0fd1431eed02b638
2020-05-29 21:20:57 +08:00
vincenttew 318f6d54cf audio: update audio table
change list:
1. changing VOIP EC ref to TDM-RX for HA/HH/HE
2. Add ec reference in VOIP headset

Test: build pass
Bug: 145244105
Bug: 149545927
Change-Id: I2fbdb51f733f6afa6bc1abcf3e6e45dc3e93c0b8
Signed-off-by: vincenttew <vincenttew@google.com>
2020-05-29 21:20:57 +08:00
TreeHugger Robot ff736d1e75 Merge "Throttling wireless charging current in retail mode." into qt-qpr1-dev
Change-Id: I98aae9a80714e07f604cc628145ad1a517884e93
2020-05-29 21:20:54 +08:00
TeYuan Wang 5307b91aab Throttling wireless charging current in retail mode.
Bug: 149805680
Test: manually verified wireless charging throttling behavior when
      enabling/disabling retail mode.
Change-Id: Icf9ea56958431a67bfdc844cb3f9efd8c9787178
Signed-off-by: TeYuan Wang <kamewang@google.com>
2020-05-29 21:20:54 +08:00
TeYuan Wang 80bb488ee5 Add OWNERS for thermal_info_config_redfin.json
Bug: 149970140
Test: NA
Change-Id: Ic5294f348792d2bfc391b14f522bb443dd35a8b2
Signed-off-by: TeYuan Wang <kamewang@google.com>
2020-05-29 21:20:52 +08:00
HW Lee 4ce6cae214 audio: acdb for FM mic break detection
Bug: 149715971
Test: build pass
Change-Id: I040819e9b18d9ef3f1789a6f7cc13c939f8c15cd
Signed-off-by: HW Lee <hwlee@google.com>
2020-05-29 21:20:49 +08:00
Salmax Chang fc9f5b212d Merge "dumpstate: Remove unused files" into qt-qpr1-dev
Change-Id: Ia3e3285ffb0f63bb733f4aeab209fdbf8ad77ed8
2020-05-29 21:20:48 +08:00
SalmaxChang 3e11992b0d dumpstate: Remove unused files
Bug: 144332391
Change-Id: I87b3a2dda2eee10aa7ee69e906341f4815fae1f4
2020-05-29 21:20:47 +08:00
Raylin Hsu b1715c0bad dumpstate: Remove to dump MDP xlog in bugreport.
The /data/vendor/display/mdp_xlog is for mdp driver but not for DRM/KMS.
The bugreport should not need dump it.

Bug: 149467103
Test: There is no failed selinux log of display_vendor_data_file.
Change-Id: I79adfd810be9c5df1f42ce5732aca930c2cee4e3
2020-05-29 21:20:44 +08:00
TreeHugger Robot 9bcc8e22d5 Merge "audio: change audio table location" into qt-qpr1-dev
Change-Id: Ia91a1ce2356e7edaa943dd51faf40d2a138df34f
2020-05-29 21:20:42 +08:00
vincenttew cd95ddce9c audio: change audio table location
change mfg acdb & audio_platform_info directory
old: vendor/google_fih/redfin/factory/packages
new: vendor/google_fih/redfin/factory/prebuilt

Bug: 148644097
Test: build pass
Change-Id: I72df1e2636009a29522920cc4980c2cc9e8b5ccb
Signed-off-by: vincenttew <vincenttew@google.com>
2020-05-29 21:20:42 +08:00
Gil Liu 9238ca5f64 Merge "[Display] Modify R3 Brightness level" into qt-qpr1-dev
Change-Id: Ic4f4a80bf115dcb6e4730cc9c5c3b052aebb77e7
2020-05-29 21:20:40 +08:00
Gil 5e3c26084b [Display] Modify R3 Brightness level
Set Min level as 2 , Max level as 450

Bug: 147634251
Test: Boot test and check display log
Change-Id: If1ddb1f39d684100303bc6f5f9c87f821bb073a5
2020-05-29 21:20:40 +08:00
chasewu 3673167161 vibrator: Modify some delta and apply calibration fix
Reference the delta from the leading project.

Bug: 148918900
Test: manual haptics function check and logs
Change-Id: I777d3295a7a92e2ce8547b85886038cfbe32ac5a
Signed-off-by: chasewu <chasewu@google.com>
2020-05-29 21:20:39 +08:00
TreeHugger Robot e43aa49812 Merge "redfin: thermal: separate init.hardware.chamber.rc.userdebug by project" into qt-qpr1-dev
Change-Id: I166821ddd3edbc22a3b16dcc78a31113fbec4678
2020-05-29 21:20:36 +08:00
TeYuan Wang 66e62998c6 redfin: thermal: separate init.hardware.chamber.rc.userdebug by project
Bug: 148839492
Test: thermal protection can be disabled/enabled at run time
Change-Id: Iae355f8678da9da83111d3665a429fbf5aa5ca69
2020-05-29 21:20:36 +08:00
eddielan fb04ddaceb fingerprint: Correct keyevent for navigation feature in landspace
Bug: 148188103
Test: Build Pass, navigation works as expected
Change-Id: Ief427255e8e73f416f893bb5370512e77d569726
2020-05-29 21:20:35 +08:00
Super Liu d1cc42e56e redfin: increase keyboard height ratio
Override the default IME height ratio to match the keyboard height of
previous devices.

Bug: 140591953
Test: make productimage and check /product/build.prop
Change-Id: Idc927054a0e2b4b8eb0f986e50bcc8df7dec05de
Signed-off-by: Super Liu <supercjliu@google.com>
2020-05-29 21:20:18 +08:00
Bill Richardson 7c81f10e1b dumpstate: Include Citadel status in all bugreports
Gather Citadel's firmware version, uptime stats, and motherboard type in all
bug reports. None of this can be used to identify a specific phone, so it's
safe to run in production builds.

Previously we were running --id and --selftest. Because these could be used
to indentify a specific Citadel chip, we only gathered it on userdebug and
test builds. We used that to isolate problems with early Citadel samples in
prototype phones, which we've done, fixed, and replaced. We don't need that
info anymore.

Bug: 141235263
Test: manual
Change-Id: Ie8bbf818bca5bfda3905cbef9e103854dc0abaef
Merged-In: Ie8bbf818bca5bfda3905cbef9e103854dc0abaef
Signed-off-by: Bill Richardson <wfrichar@google.com>
(cherry picked from commit cbb9211b88ad75d17835579b3af31daa76910bc0)
2020-05-29 21:20:18 +08:00
TreeHugger Robot 6860324a4e Merge "dumpstate: Change TCPM and pd_engine logs paths" into qt-qpr1-dev
Change-Id: I775ed0855bf786cffeca42f428790c4e0209b440
2020-05-29 21:20:16 +08:00
Kyle Tso ac99d26353 dumpstate: Change TCPM and pd_engine logs paths
Bug: 140367237
Test: check logs in dumpstate
Change-Id: I98dd9b724f50ab788986721ee1dd0e3d189576a2
Signed-off-by: Kyle Tso <kyletso@google.com>
2020-05-29 21:20:16 +08:00
TreeHugger Robot 97aa23f0ac Merge "audio: update audio table" into qt-qpr1-dev
Change-Id: I78c3c05f1600609d0aa99d22a2706890f8067962
2020-05-29 21:20:14 +08:00
vincenttew 900ab57a1e audio: update audio table
Changelist:
1. Modify VOIP Handset SND name

Bug: 147470422
Test: build pass
Change-Id: Ia7b4534e81384b590223cbde7e70457ece15b7bb
Signed-off-by: vincenttew <vincenttew@google.com>
2020-05-29 21:20:14 +08:00
TreeHugger Robot efa25b56e2 Merge "audio: add back 5514 switch control for micbias use" into qt-qpr1-dev
Change-Id: I6bfe474bd4cb7e6a8d0b0b83f7b02968c17d1960
2020-05-29 21:20:13 +08:00
yixuanjiang 85dc5e3a71 audio: add back 5514 switch control for micbias use
Bug: 147567469

Revert "audio: rt5514: keep sto mixer control on"
This reverts commit 96a24b52f7.
Change-Id: Id586695eeaaa3ac6bcd5b4a6cded9e7c6e3e9f1e
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2020-05-29 21:20:12 +08:00
TreeHugger Robot 48c21394d4 Merge "redfin: dumpstate: add touch raw data types 3, 5, 30 and 31 to bugreport" into qt-qpr1-dev
Change-Id: I0ee0a7cdea042ccfe8d9911535f440eb3dc72ba1
2020-05-29 21:20:11 +08:00
Super Liu 9ddfb169a9 redfin: dumpstate: add touch raw data types 3, 5, 30 and 31 to bugreport
Bug: 144538796
Test: check bugreport for touch snapshots
Change-Id: If683e4271fcee01f3db4c864a094ac795469106f
Signed-off-by: Super Liu <supercjliu@google.com>
2020-05-29 21:20:11 +08:00
Wei Wang eaed077922 Add cooling device stat dump in BR
Test: Verified dumpstate_board.txt

(cherry picked from commit 3a3004d07a1db8d23a71a6481bbeb5d31a03d173)

Change-Id: I7d42bce8d63da01ee2415349926eec6506d1b062
Signed-off-by: TeYuan Wang <kamewang@google.com>
2020-05-29 21:20:10 +08:00
TreeHugger Robot aa401a16b8 Merge "dumpstate: dump ttf logbuffer in dumpstate" into qt-qpr1-dev
Change-Id: Ie7f32ddf71731a260eaa01811fbc2f5fce2a78cc
2020-05-29 21:20:08 +08:00
Jack Wu ffb2cba2f9 dumpstate: dump ttf logbuffer in dumpstate
Bug: 146775451
Test: check dumpstate result
Change-Id: I7e4af209dc36dd98ff05b95499b297e4969d392d
Signed-off-by: Jack Wu <wjack@google.com>
2020-05-29 21:20:08 +08:00
Super Liu 633f2e912b redfin: move touch status sysfs nodes to system group
Change group to allow dumpstate to capture touch snapshots

Bug: 144538796
Test: treehugger build pass and check bugreport for touch
Change-Id: I6a41799701448eb8c91d6131eafc275a3db7a73c
Signed-off-by: Super Liu <supercjliu@google.com>
2020-05-29 21:20:07 +08:00
Robert Lee d75253d551 audio: fix resume music no sound after ringtone playback
Bug: 146538232
Test: Youtube resume has sound after reject incoming call
Change-Id: Ic675ed57d4f683ed048e605c405ff2495394aa29
Signed-off-by: Robert Lee <lerobert@google.com>
2020-05-29 21:20:05 +08:00
TreeHugger Robot 180f9aeab5 Merge "audio: modify the mixer table to fix apply cal data for the second time." into qt-qpr1-dev
Change-Id: I1e599780a710d78464aba4402fd96405e49fd210
2020-05-29 21:20:03 +08:00
juyuchen 8cf72d056a audio: modify the mixer table to fix apply cal data for the second time.
Bug: 144005610
Test: manual audio tests

Change-Id: I6d34ed344ecc0fcf69e5bcb9282bcfb736d22557
Signed-off-by: juyuchen <juyuchen@google.com>
2020-05-29 21:20:03 +08:00
TreeHugger Robot 8cde5622f8 Merge "acdb: update acdb files" into qt-qpr1-dev
Change-Id: I0fe3337e29727046018595bdd002816454b8cf44
2020-05-29 21:20:01 +08:00
Jason Hsu d2feabe6cd acdb: update acdb files
Changelist:
1. Handset Tuning: NB/WB/VoIP
2. Handsfreee Tuning: NB/WB

Bug: 147334935
Test: built pass
Change-Id: Id54ace2541262e6628457ebb10607d431469bd9e
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2020-05-29 21:20:01 +08:00
Jason Chiu 60af7f05b9 init: remove slpi since sm7250 don't have this subsystem independently
Bug: 147341847
Change-Id: Ifcfa95540448c27ee28845afa342ac4197ce4082
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2020-05-29 21:20:00 +08:00
Randall Huang bde1b963d9 Merge "init.recovery.device.rc: limit discard size to 128MB" into qt-qpr1-dev
Change-Id: I41a2e0b0d0d8e4e87d9f7152e3227b5a42279554
2020-05-29 21:19:59 +08:00
Randall Huang bb42b2be15 init.recovery.device.rc: limit discard size to 128MB
limit UFS discard size to avoid UFS unmap timeout issue

Bug: 146203801
Test: print log in recovery mode
Change-Id: I484b44abc1e14a19a7dd753e927c52af3565fe65
Signed-off-by: Randall Huang <huangrandall@google.com>
2020-05-29 21:19:58 +08:00
Jason Chiu ad56c24662 init: disable npu subsystem
Bug: 145738380
Bug: 147333900
Change-Id: Ib67aca39ab18a72612b1fc507b9046e64867bd28
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2020-05-29 21:19:57 +08:00
Super Liu 7f3d415097 redfin: dumpstate: collect touch calibration info
Bug: 145262526
Test: check bugreport for touch snapshots
Change-Id: I0760eafcd0b9a395a00112eb7f9b7fc280945e91
2020-05-29 21:19:56 +08:00
TreeHugger Robot 224f68b3b5 Merge "audio: separate mfg acdb table" into qt-qpr1-dev
Change-Id: I42ad3d6a4ec4d99e8fecee2c82dff4ef1dfc20e8
2020-05-29 21:19:55 +08:00
vincenttew c3ae96db97 audio: separate mfg acdb table
seperate audio table to bypass some module in mfg
acdbs

Test: build pass
Bug: 147204623
Change-Id: I01e13053355b94897050568e1e57384ca2f0dfd6
Signed-off-by: vincenttew <vincenttew@google.com>
2020-05-29 21:19:55 +08:00
Super Liu 6efd6a14e1 redfin: dumpstate: adjust touch snapshoots sequence
Bug: 144538796
Test: check bugreport for touch snapshots
Change-Id: If72c659349895146bf0b7d37ab5616f372552788
Signed-off-by: Super Liu <supercjliu@google.com>
2020-05-29 21:19:54 +08:00
Super Liu 467876afbb init: add heatmap module
Test: treehugger build pass
Bug: 145788304
Change-Id: Ia15ca850ea6af0f43f713ccf7196de9b66d81838
Signed-off-by: Super Liu <supercjliu@google.com>
2020-05-29 21:19:53 +08:00
Midas Chien d7c6bb01af Merge "Port over surfaceflinger configurations from Floral" into qt-qpr1-dev
Change-Id: Id4bc8b686860a5ed8eb88bb7266224ec4b370005
2020-05-29 21:19:51 +08:00
Midas Chien b21ed062b9 Port over surfaceflinger configurations from Floral
Sync surfaceflinger configurations include
9d8197af set idle timer to 80ms
f26b3c95 set touch event timer to 200ms
c688d43e set display power state timer to 1000ms
227e852c enable video detection logic
8fcdab39 enable high fps early phase offset

Bug: 142222472
Bug: 142222407
Test: scrolling, launch, play video
Change-Id: I9fbbeb000fe458cd8b43f2175fb652a435ce869e
2020-05-29 21:19:42 +08:00
Yung Ti Su 7cbc18eb4d acdb: remove dynamic Waves library
20191223_modify_Waves

Bug: 146596382
Test: push into device with ADSP patch and
      passed Waves effect basic tests.

Change-Id: I775d2c26474c68ce202821839f00d513efb5e851
Signed-off-by: Yung Ti Su <andysu@google.com>
2020-05-29 21:18:58 +08:00