Commit graph

241 commits

Author SHA1 Message Date
Jason(HeWei) Sung
51c93ad105 zumapro: Remove zumapro_bringup wakelock
Bug: 300307024
Bug: 295590204
Change-Id: I510b9f252e0d70c3568b57613e90b98b5b09ca5d
Signed-off-by: Jason(HeWei) Sung <jasonsung@google.com>
2023-10-11 04:33:21 +00:00
Treehugger Robot
d7ca6ccc81 Merge "Allow to override MTE mode from device config on zumapro" into main 2023-10-06 23:26:36 +00:00
Jason Chiu
79c1c0758f zumapro: limit wakelock on zumapro
Bug: 295590204
Change-Id: Idbef8c0afb59f19030f7ba8247297dd889695b24
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-10-05 11:02:18 +08:00
Florian Mayer
a4e817020a Allow to override MTE mode from device config on zumapro
Bug: 302218596
Change-Id: I77a1231dd8d4bb01b6a796838b5c1c8f8d3b2461
2023-10-04 19:42:51 +00:00
Wei Wang
675b21989f Merge "thermal: allow system to overwrite the trip point of btmspkr_therm" into main 2023-10-03 06:47:25 +00:00
Joner Lin
b9d8223a46 Merge "bt: make bluetooth own the data vendor bluetooth folder permission" into main 2023-10-03 02:59:58 +00:00
Jikai Ma
67a1fe1e10 thermal: allow system to overwrite the trip point of btmspkr_therm
this should work with ag/24900428: equations of caimoto virtual skin
sensors

Bug: 296476775
Test: adb shell ls -al dev/thermal/tz-by-name/btmspkr_therm/trip_point_*
Change-Id: I943cb4b5323984bb1e6a4541978926f427d4ee12
2023-10-03 00:18:01 +00:00
TeYuan Wang
556a4ce890 thermal: allow systen to overwrite the trip point of usb_conn_therm
Bug: 302055505
Test: adb shell ls -al dev/thermal/tz-by-name/usb_conn_therm/trip_point_*
Change-Id: I7fa55fdcf6892a6a1820269f6c9377a463b88571
2023-09-26 14:18:25 -07:00
jonerlin
32d272e6b1 bt: make bluetooth own the data vendor bluetooth folder permission
Bug: 240636731
Test: enable vendor btsnoop property and check the vendor snoop log
Change-Id: I852b9d348a254c1fccb1adf9635c713dd1a54c4a
2023-09-26 23:21:22 +08:00
RD Babiera
7fbcdf0237 usb: enable/disable displayport alt mode through enableUsbData
Adds functionality for enabling and disabling DisplayPort Alt Mode
on the port through enableUsbData in the USB HAL to comply with USB
restrictions for heightened security mode.

Test: manual test on device - use enableUsbData dumpsys command to
      turn off DisplayPort and then turn it back on while connected to a
      partner sink.
Bug: 297208252
Change-Id: I9f071bce802b728f2229abc08efb2204e4c2505a
Signed-off-by: RD Babiera <rdbabiera@google.com>
2023-09-20 19:51:03 +00:00
Chris Paulo
31a9149a27 Merge "vibrator: Enable I2C paths for DBC" into main 2023-09-20 18:16:24 +00:00
Chris Paulo
b0e1d9ca3b vibrator: Enable I2C paths for DBC
Enable the I2C paths for DBC parameters to be accessible by the Vibrator HAL.

Bug: 299115985
Test: Compilation.
Change-Id: Id63c79ed4d37c5aae089e73430233ee7024ea951
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2023-09-19 15:37:27 -07:00
Treehugger Robot
51096b8699 Merge "tz: Enable userdata partition and nsp chown fix" into main 2023-09-16 08:23:41 +00:00
RD Babiera
fa0f973777 Merge changes from topic "zumapro-dp-userspace" into main
* changes:
  usb: dp: add exynos_drm:dp_enabled toggling
  usb: populate USB aidl hal AltModeData
  Usb: shutdown old displayport poll thread when multiple start up
  Usb: Check for displayport when booting
  Usb: Signal irq_hpd to drm stack
  usb: Fix HAL build warnings related to DisplayPort
  usb: provide usb reference to DisplayPort shutdown thread
  usb: Expose persistent vendor property for USB-C Dp Alt Mode
  Port dp changes to drm sysfs
2023-09-15 21:20:51 +00:00
Donnie Pollitz
c696083030 tz: Enable userdata partition and nsp chown fix
Background:
* ZumaPro+ will be using a dedicated userdata partition

Bug: 300382887
Test: Trusty storage port tests pass
Change-Id: I943a05735858e41ae30f6207fdde7a21eca45351
Signed-off-by: Donnie Pollitz <donpollitz@google.com>
2023-09-14 15:38:09 +02:00
RD Babiera
1926e974c3 usb: dp: add exynos_drm:dp_enabled toggling
Test: manual verification on device
Bug: 297286558
Change-Id: If4a6e71bc3ce342af8a0201b4727bdc4666cf8f0
(cherry picked from commit c8abdf6bb7577dd3a6a6e408eb7968c1cf2dd0de)
Signed-off-by: RD Babiera <rdbabiera@google.com>
2023-09-11 21:22:13 +00:00
RD Babiera
652ddfaf39 usb: Expose persistent vendor property for USB-C Dp Alt Mode
The change exposes persist.vendor.usb.displayport.enabled
to enable/disable USB-C Dp Alt Mode i.e. DisplayPort over USB-C.

By default persist.vendor.usb.displayport.enabled is to 0 in
user builds and 1 in all other build variants.

Test: manual verification on device
Bug: 297286558
Change-Id: I596d3af52f2a813f5f78c4f9b77b6ae3dd8a161b
(cherry picked from commit 2173dc37da793599239a974d8f7bc40b2bf1ee80)
Signed-off-by: RD Babiera <rdbabiera@google.com>
2023-09-11 21:21:13 +00:00
Florian Mayer
99f3812f3d Do not default to SYNC mode on zumapro
Change-Id: Ib3838e3470dd38a81a4de2b358cf3a80754fdee6
2023-09-08 01:24:11 +00:00
Tai Kuo
993192a58d conf: Add the haptics init rc for the same platform
Bug: 285343932
Test: No permission error logs on the HAL init.
Change-Id: I41cf0e9bb105e05bc269e404af3878379dd649f0
2023-09-05 19:22:48 +08:00
Jack Wu
464f64dabc init: disable dock-defend in charger mode
Need to meet energy certification test requirement which needs to
be able to charge FULL.

Bug: 298923686
Test: can charge to full on dock in charger mode
Change-Id: Ie7a2acb18e8ebb4e4bed36c759164217d127ae1c
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-05 09:21:15 +08:00
Jack Wu
d817230f30 Set current date as activation date after device being provisioned
Bug: 298628003
Test: set the date of first usage successfully
Change-Id: I249ba518d77a9b5981c761130a60dd269d7b9f42
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-01 20:21:14 +08:00
Frank Varela
49f4f3a485 Merge "zumapro: hold wakelock on boot" into main 2023-08-31 21:25:27 +00:00
Jason Chiu
70a4eb1613 zumapro: hold wakelock on boot
Bug: 295590204
Change-Id: Ic95dba9f4a2dfb8d5cd46abf373a438fd04a13fa
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-08-30 08:25:35 +00:00
Luis Delgado de Mendoza
070f41139d Add chre wakeup/non-wakeup channels to zumapro
Manual add since they didn't transfer from previous platforms.

Bug: 296209514
Fix: 296209514
Test: presubmit + on-device validation.
Change-Id: I228d4995b334870b6ee3c80fd720ba9e97717b1e
2023-08-29 16:10:23 -07:00
Martin Liu
ef5d1ca075 Add uevent rule for gcma_camera dmaheap nodes
Add uevent rule for newly adding dmaheap node to
set correct owners and permissions.

Bug: 275481134
Test: Launch camera and taking shots
Change-Id: I030e82381ff718523184d8a5601bd2d9a5a0278c
Signed-off-by: Martin Liu <liumartin@google.com>
2023-08-21 08:44:59 +00:00
Vincent Palomares
f87d53ba66 zumapro: init: Workaround for libperfmgr spam
Disable libperfmgr until power hints are updated for zumapro.

Bug: 295898145
Test: none
Change-Id: Iad4e76b2b5b1f918db219dfb5c3b739b3365e898
Signed-off-by: Vincent Palomares <paillon@google.com>
2023-08-14 18:59:14 -07:00
Daniel Okazaki
cddb5f1445 zumapro: adding eeprom print in dump_power
Moving BMS privileges and settings to own file

Bug: 294080767
Test: adb bugreport
Change-Id: I97cdbd252a4fd6996b566276992bfa5e9a5bc0c4
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2023-08-03 22:28:34 +00:00
Daniel Okazaki
07a72bf20c Merge "zumapro: fix eeprom print in dump_power" into udc-qpr-dev 2023-07-27 17:01:03 +00:00
Daniel Okazaki
9302b07567 zumapro: fix eeprom print in dump_power
Bug: 290542674
Test: adb bugreport
Change-Id: I38a484295be50cb76e29f2170bff7d95301d62b5
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2023-07-25 21:09:42 +00:00
Robin Peng
d378710f3c do not mount the debugfs on userdebug builds
Bug: 278988913
Change-Id: I5c703310a4f82acf52fad87854682ca6e668d99b
Signed-off-by: Robin Peng <robinpeng@google.com>
2023-07-25 04:07:02 +00:00
Treehugger Robot
3f6321db40 Merge "Use tof sensor codename" into udc-qpr-dev 2023-07-14 04:42:03 +00:00
Boon Jun Soh
7c1c4031b1 Use tof sensor codename
Bug: 290596094
Test: Run FATP tool
Change-Id: I1d7d8c6efa02762cb9f6885178a8d6b97c81614b
2023-07-11 07:46:31 +00:00
Jenny Ho
fa7bf4acfa Merge "dumpstate: add dump max77779 FG data path" into udc-qpr-dev 2023-07-11 03:53:57 +00:00
Randall Huang
a6aaf08293 Enable hw-encrypt
Bug: 284231454
Test: tested on ripcurrent24
Change-Id: I7b2a2c7866dd76f71d0cce1e1d47b822e31d7e44
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-07-10 14:42:17 +08:00
Jenny Ho
b36442e900 dumpstate: add dump max77779 FG data path
Bug: 290315763
Change-Id: I946fd90fdca90b268fae0dbfdce18172d5bce92f
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-07-07 16:23:52 +08:00
Randall Huang
603c11b1dc fstab: add the noatime for read-only ext4 partitions
This is to avoid unnecessary ext4 behavior

Bug: 289631992
Test: boot to home
Change-Id: I06e2a4042f483075acf030f7c3a257c27d0f8b29
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-07-06 14:56:06 +00:00
Randall Huang
7dc918c740 Restore sw-based disk encryption
Without disk encryption, adb remount flow does not work.
Fix adb remount by enabling sw-based disk encryption

Bug: 286338055
Test: adb remount on local build
Change-Id: I4317be694bed083c56ef362f2c41ce6f99a1d4ca
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-06-29 13:38:16 +08:00
sashwinbalaji
f9f8c56276 thermal: Update path reading for temperature residency metrics
Add temperature residency reset path
chown to system to reset from pixelstats

Bug: 193833982
Test: Local build and verify statsD logs
adb shell cmd stats print-logs && adb logcat -b all | grep -i 105045
Change-Id: Iec5956f803cab3893aaf9c1e9d818fc02c582f31
2023-05-25 12:11:03 +00:00
Robin Peng
63d759fd29 add fstab for zuma platform
Bug: 274823764
Change-Id: I121a1434a5e4eb764f07003a40a58926d6525932
2023-04-27 11:37:44 +00:00
Andrew Chant
d091e65638 Disable GSC/Trusty/UFS encryption for bringup
Get 6.1 to home again
Bug: 279647242

Change-Id: I89ecb49eb62df10e4bdae4911cb2bf9051d98f4b
2023-04-25 14:31:31 -07:00
Robin Peng
dec234f475 init zumapro from zuma sha 4daedb8feb4d4
Bug: 272725898
Change-Id: I1e1ab5d15e7f4b2b59e28f2e52e07cd7e12f25b3
2023-03-31 15:10:16 +00:00