Commit graph

2755 commits

Author SHA1 Message Date
David Chao
a16f4ab2d7 Revert "Revert "powerhint: thermal: Support powerhint to change tmu control-temp"" am: eaaf1911d1 am: d75b7b5b69
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16214466

Change-Id: I20ae44e855d42717fe09b8677d6ac784b8677e63
2021-11-19 23:56:09 +00:00
David Chao
d75b7b5b69 Revert "Revert "powerhint: thermal: Support powerhint to change tmu control-temp"" am: eaaf1911d1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16214466

Change-Id: Id83e89fd44a24a7a6be6bf3ed35345aa07d6fb4e
2021-11-19 23:43:46 +00:00
David Chao
eaaf1911d1 Revert "Revert "powerhint: thermal: Support powerhint to change tmu control-temp""
This reverts commit e2da019e13.
Since the temperature getting struck at 10 degC b/192030129 has been fixed,
reenable dynamic Tj thresholds.

Bug: 202736847
Test: build and boot on device
Change-Id: I53c62595407ea156ee3aceef0d3723db46096b8f
2021-11-19 23:30:04 +00:00
George Lee
de5d05fc8c bcl: Increase SMPL_WARN to 3.1V am: 3cf3ce9386 am: 5ee850ab54
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16076579

Change-Id: Ief774ea5bb17d282be4e245c56d4e1b09bf05031
2021-11-18 21:53:07 +00:00
George Lee
5ee850ab54 bcl: Increase SMPL_WARN to 3.1V am: 3cf3ce9386
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16076579

Change-Id: I9971a2a7e56ea303a1275d7ea4dabb334ada192f
2021-11-18 20:23:39 +00:00
George Lee
3cf3ce9386 bcl: Increase SMPL_WARN to 3.1V
To mitigate Synthetic load in brownout test, we need to increase
UVLO1 to 3.2V, UVLO2 to 3.0V, and SMPL_WARN to 3.1V.

Bug: 200943374
Test: Local Test
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I182d55f3a898d6e9adc8d86747ae62541a1c8fab
2021-11-18 19:33:20 +00:00
Super Liu
7dc7b5ff1d dumpstate: stop dumping pretouch status.
Somehow FW will be unstable after dumping status.
Temporarily remove this to find out the root cause
with vendor.

Bug: 193467774
Test: lshal debug android.hardware.dumpstate@1.0::IDumpstateDevice/default pre-touch
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I670558f30f9d809a8f9df41e4844ee451c7f3f17
2021-11-18 12:27:29 +08:00
Super Liu
41c75ffb57 init.gs101.rc: adjust the sysfs permission for touch.
Bug: 193467774
Test: check bugreport for touch pre-logs.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: Iccf138fd891fd54bf22a56e8ed57643ef4d7d384
2021-11-16 10:56:42 +00:00
Super Liu
b32bc7188d dumpstate: support pre-touch status.
Bug: 193467774
Test: check bugreport for touch pre-logs.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I5c854866302333df7eac803b0366d432bc8d2540
2021-11-16 10:56:42 +00:00
Joe Huang
9358ac98d9 Modify gnss device.mk to support new projects am: 987378054f am: 764b89e605
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16128399

Change-Id: I71ba1ba7dc44e0fc31cbeccb8aff81236a20125d
2021-11-15 03:06:35 +00:00
Joe Huang
764b89e605 Modify gnss device.mk to support new projects am: 987378054f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16128399

Change-Id: I7a4311a5979467d03c047ec0e9a44abf618a3b07
2021-11-15 02:55:18 +00:00
Joe Huang
987378054f Modify gnss device.mk to support new projects
Copy default gps.xml to only specific projects under gs101 and maintain
new projects in their own folders.

Bug: 203745796

Test: Build test and check config

Change-Id: Ic0b6f8a6e41063f5c42573aea91650007963912b
2021-11-15 02:37:35 +00:00
Bowgo Tsai
529bca2e02 Removing 'verity_update_state'
This is not needed in device-specific init.rc file, because it's
is superseded by commit https://r.android.com/1866693.

Bug: 203720638
Test: presubmit
Change-Id: I9798f0fa868e453b62dcdd8d7b4ee7a94c7f148f
(cherry picked from commit e77021b4c4)
2021-11-12 02:53:02 +00:00
Martin Liu
f9cd87c0c4 gs101: set swiotlb as noforce am: 5bcfdac788 am: 26b36bda5f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16212520

Change-Id: Iee5d40fb27ed3f7ca14311fd6f1b5a93c233fac0
2021-11-11 00:42:15 +00:00
Martin Liu
26b36bda5f gs101: set swiotlb as noforce am: 5bcfdac788
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16212520

Change-Id: Ic10f8a23848bf24542dc2334914bdef4c6b61d01
2021-11-11 00:24:40 +00:00
Martin Liu
5bcfdac788 gs101: set swiotlb as noforce
As dma devices are 36bit bounded, we don't need SWIOTLB
bounce buffers. Set swiotlb=noforce to disable this and
make the minimum amount of memory allocation.

Bug: 205246642
Test: check total memory and io_tlb_nslabs
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: If9f68b269f326f0f4b8e165593ec5dd4787fbb52
2021-11-11 00:07:28 +00:00
Jakub Pawlowski
cfda47b843 Use bluetooth audio policy with LE Audio on gs101
Bug: 205103681
Test: play music using LE Audio device
Change-Id: I3e2787251c6aa3d59a18e945fbb6b82b79485d81
2021-11-05 00:39:32 +00:00
Krzysztof Kosiński
05fb255273 [automerger skipped] Add Lyric camera IQ tuning configuration. am: 1be9cf8a51 am: 14a34f2517 -s ours
am skip reason: Merged-In Ic3b9c50fa63b656f7e5a42d2687f4e6775720e55 with SHA-1 c846e4cc66 is already in history

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

Change-Id: I217b885dfd8fa23196e284142c9aa98e954f2c20
2021-11-04 22:28:28 +00:00
Krzysztof Kosiński
14a34f2517 Add Lyric camera IQ tuning configuration. am: 1be9cf8a51
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16178980

Change-Id: Ia1bf919e93d9e24dfcf2e1e8cb5ec2cab1cfa5c4
2021-11-04 22:11:55 +00:00
Krzysztof Kosiński
1be9cf8a51 Add Lyric camera IQ tuning configuration.
Bug: 200221875
Test: build and check camera HAL APEX content for affected devices
Change-Id: Ic3b9c50fa63b656f7e5a42d2687f4e6775720e55
Merged-In: Ic3b9c50fa63b656f7e5a42d2687f4e6775720e55
2021-11-04 21:58:06 +00:00
Will McVicker
04c94df116 gs101: recovery: add wait for dwc3 device to probe
This patch adds a dependency on the dwc3 device probing before setting
the sys.usb.controller property. Without this, we have a race between
fastbootd starting and the dwc3 device probing. If fastbootd starts
before the dwc3 device probes, then the recovery init.rc will fail to
setup the USB gadget resulting in "fastboot devices" failing to detect
the device.

Bug: 202338035
Test: verify device is detected in fastbootd
Change-Id: I146451eae03f23dde915c00af3028681be41a8c1
2021-11-04 14:36:37 -07:00
Krzysztof Kosiński
c846e4cc66 Add Lyric camera IQ tuning configuration.
Bug: 200221875
Test: build and check camera HAL APEX content for affected devices
Change-Id: Ic3b9c50fa63b656f7e5a42d2687f4e6775720e55
2021-11-04 07:41:04 +00:00
Bowgo Tsai
e77021b4c4 Removing 'verity_update_state'
This is not needed in device-specific init.rc file, because it's
is superseded by commit I300265f4af9c2781d40537f391bda9eaf62c27ba.

Bug: 203720638
Test: presubmit
Change-Id: I9798f0fa868e453b62dcdd8d7b4ee7a94c7f148f
2021-11-03 15:11:42 +08:00
davidycchen
82343a1489 dumpstate: dump touch HDM debug information am: 87c912336a am: 7a68c3cc43
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16169685

Change-Id: I6ead244615b425084ff208b7e525de2c6de75804
2021-11-03 05:23:23 +00:00
davidycchen
7a68c3cc43 dumpstate: dump touch HDM debug information am: 87c912336a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16169685

Change-Id: I66048ca063f0c1eda6685719b1852429014d41fe
2021-11-03 05:07:02 +00:00
davidycchen
87c912336a dumpstate: dump touch HDM debug information
HDM debug information already expend to 64 bytes. Dump whole debug
information when bugreport is triggered.
Read HDM debug information twice to check if any status events keep
changing.

Bug: 174191180
Test: trigger bugreport and check the data.

Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I9d2f9ed094f85dae303ba47e85a182adcd6954ac
2021-11-03 04:46:03 +00:00
Andrew Scull
4e18aa73ea Start the pKVM experiment
Reflect the pKVM experiment status from the property into the misc
partition so the bootloader can apply it next boot. This is only done on
builds that don't have pKVM enabled by default by pkvm_enabler.

Bug: 192819132
Test: set property and observe change in pKVM state at reboot
Change-Id: Ief85fa196f630867d0a0ced7fa4744f0241d41ea
2021-11-02 11:37:17 +00:00
Automerger Merge Worker
8258552f5a Merge "Add GPU Power-on hint for LAUNCH am: 0b13fa4150 am: 3eaed9b170" into sc-v2-dev-plus-aosp am: c8bbcfecb1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16091140

Change-Id: I17b99364cb4d702572f871f69e4f70f5d4a14206
2021-11-02 05:28:20 +00:00
Siddharth Kapoor
b83c22c540 Add GPU Power-on hint for LAUNCH am: 0b13fa4150 am: 79b0ea41ef am: a8e21f0f95
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16091140

Change-Id: Ic591d13fc6dfb742da4b34ffe5adf25da1845e62
2021-11-02 05:28:12 +00:00
Automerger Merge Worker
c8bbcfecb1 Merge "Add GPU Power-on hint for LAUNCH am: 0b13fa4150 am: 3eaed9b170" into sc-v2-dev-plus-aosp 2021-11-02 05:14:28 +00:00
Siddharth Kapoor
56314fd47a Add GPU Power-on hint for LAUNCH am: 0b13fa4150 am: 3eaed9b170
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16091140

Change-Id: Iee70c7029951e7dc661b39bbbe3e34a47c13d6be
2021-11-02 05:14:26 +00:00
Siddharth Kapoor
a8e21f0f95 Add GPU Power-on hint for LAUNCH am: 0b13fa4150 am: 79b0ea41ef
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16091140

Change-Id: I8bc6778cc2c63ae7b35cd3bc5c71eb5b0da6b97c
2021-11-02 05:14:23 +00:00
Siddharth Kapoor
3eaed9b170 Add GPU Power-on hint for LAUNCH am: 0b13fa4150
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16091140

Change-Id: I5795ff285434da113542be86ebc77e4d9e84ba16
2021-11-02 05:03:27 +00:00
Siddharth Kapoor
79b0ea41ef Add GPU Power-on hint for LAUNCH am: 0b13fa4150
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16091140

Change-Id: I367712736fb7fa56c579687516ef5cde5e374b72
2021-11-02 05:03:24 +00:00
Les Lee
f8d1b3f0cb GS101: Correct overlay configuration
The P21 series didn't support the NL80211 Reg event.
The vendor is working to support it in T. (b/183916225)
The fix corrects the overlay configuration, which introduced
from android T.

PS: The impact of the configuration is two cases.
1. Configuration should be false but it configures to true:
It will cause no CC(country code) changed event to notify listener.
It might cause any function fail which relies on CC.
(It is happening on P21 series)

2. Configuration should be true but it configures to false:
Minor impact than #1 because it just update CC before the Wifi subsystem
apply it.5. It might cause the data to be incorrect because of the
timing issue.

Bug: 183916225
Test: Manuel Test to check that configuration is correct.
Change-Id: Ica764e4a22def6dea0613882b3ae403852a03a83
2021-11-02 02:45:41 +00:00
Siddharth Kapoor
0b13fa4150 Add GPU Power-on hint for LAUNCH
Bug: 201718421
Test: trace while App launch
Change-Id: I5f994cf87a1696f843a2419d52133ccc5951d23c
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
2021-11-02 02:31:15 +00:00
Michael Eastwood
156d28682b Save .cpa files generated when camera HAL is killed by the watchdog thread.
Bug: 197979923
Test: m -j
Change-Id: I357828a2b13185cc605fe60b0d3647ad94509ffa
2021-11-01 17:41:53 -07:00
George Lee
094d41d73f bcl: disable SOFT_OCP_WARN HW divider am: 0a838b3284 am: ed66e65380
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16141872

Change-Id: I71269c74c4c46e0da3d5c2578ac8921d22621505
2021-11-01 19:50:24 +00:00
George Lee
ed66e65380 bcl: disable SOFT_OCP_WARN HW divider am: 0a838b3284
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16141872

Change-Id: I593ff4c815dfc2f1be5a5cdc315c41ac2f2d896b
2021-11-01 19:32:17 +00:00
George Lee
0a838b3284 bcl: disable SOFT_OCP_WARN HW divider
Bug: 201546866
Test: Local Test to verify readback of register
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I4c303bc18d0a6bcc3b83a4cde9aca9b49e63daa7
2021-11-01 17:54:14 +00:00
Aaron Ding
b5ae5ecd57 Enable VABC OTA am: 81b8d2cbd6 am: 6ced1a6df3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16091241

Change-Id: I08958dcaa58207a521c0540ecb2f8e1bc0044c88
2021-10-28 19:30:58 +00:00
Aaron Ding
b32081ed6f Enable VABC OTA am: 81b8d2cbd6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16091241

Change-Id: Id9532da6ac4deca860eb661753b792c680f044af
2021-10-28 19:06:00 +00:00
Aaron Ding
aad20a2f04 Enable VABC OTA
Bug: 203437381
Change-Id: If9eb8a4b1cefb75cf3d310a27a52aa889b28d0b5
Signed-off-by: Aaron Ding <aaronding@google.com>
2021-10-28 18:45:34 +00:00
Victor Liu
ae6c9a37da [automerger skipped] uwb: remove device name from gs101 am: 7015cac768 am: 7266212bbf -s ours
am skip reason: Merged-In I0359a8d2047d39d61d68b32234bfeec5f3440236 with SHA-1 f7a64ad34c is already in history

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

Change-Id: If032e8670139f45e5c7bd1cecd4f21c6c5f85187
2021-10-28 06:53:34 +00:00
Victor Liu
1765c8c039 uwb: remove device name from gs101 am: 7015cac768
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16125346

Change-Id: I5eccd692b4ad80994099ee94aefca6e4c2b1d2b9
2021-10-28 06:41:55 +00:00
Victor Liu
4e79160e93 uwb: remove device name from gs101
Bug: 203746316
Change-Id: I0359a8d2047d39d61d68b32234bfeec5f3440236
Merged-In: I0359a8d2047d39d61d68b32234bfeec5f3440236
2021-10-28 06:29:35 +00:00
Siddharth Kapoor
e88e3bdaf7 Add GPU Power-on hint for LAUNCH am: ab346bd080 am: 475c03cdd5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16120996

Change-Id: Ib98ce2e0593335241e9d4d3bf665c50172da95f9
2021-10-28 01:27:25 +00:00
Siddharth Kapoor
0ee807ae2b Add GPU Power-on hint for LAUNCH am: ab346bd080
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16120996

Change-Id: I568ded9e8738dc3b9ff05eb15240b8e77f704bd5
2021-10-28 01:08:50 +00:00
Siddharth Kapoor
57e119f053 Add GPU Power-on hint for LAUNCH
Bug: 201718421
Test: trace while App launch
Change-Id: I5f994cf87a1696f843a2419d52133ccc5951d23c
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
2021-10-28 00:45:10 +00:00
Edwin Tung
93fbe521a8 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.518574 am: 6728033aa3 am: 49d271b2e0 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib4865c638d3285b0f139d0a0ee66430159413eba
2021-10-28 00:19:49 +00:00