Commit graph

32 commits

Author SHA1 Message Date
Jimmy Chen
16d4e31f10 p2p: fix p2p configuration
The correct path should be under /data,
or it is not writable.

wpa_supplicant now support p2p overlay configuration, a unified
wpa_supplicant init entry can be used.

Bug: 238601241
Test: create a group and check this group is persisted
      after reboot
Change-Id: I6f471aed60b56862ba9a8b0bb12d50ef6305faba
2022-08-24 08:49:47 +08:00
Matt Buckley
8a419466b8 Enable ADPF CPU hints for SF
Allow these devices to send CPU hints to PowerHAL from SF to reduce
drops and save power.

Bug: 195990840

Test: manual
Change-Id: Idb7dad41852c71bff9b3c63d2d75849128288080
(cherry picked from commit 2dd1a62ca4)
2022-08-23 21:48:19 +00:00
ahujapalash
3550577766 Revert "p2p: fix p2p configuration"
DroidMonitor-triggered revert due to breakage - https://android-build.googleplex.com/builds/quarterdeck?branch=git_tm-qpr-dev&target=aosp_felix-userdebug&lkgb=8982522&lkbb=8982848&fkbb=8982848
BUG: b/243544635

This reverts commit 09c7a1c144.

Change-Id: Ib4b9b99d709f9a169fd1f3f081545c9220271605
2022-08-23 14:08:52 -07:00
Jimmy Chen
09c7a1c144 p2p: fix p2p configuration
The correct path should be under /data,
or it is not writable.

wpa_supplicant now support p2p overlay configuration, a unified
wpa_supplicant init entry can be used.

Bug: 238601241
Test: create a group and check this group is persisted
      after reboot
Change-Id: I803badb16c67aba741b0804485a714bd5b179223
2022-08-23 16:49:20 +08:00
David Chao
47fb7d702c thermal: seperate thermal config for charging
- Separate thermal config for charger mode and remove the unused thermal
throttling.
- Move charger pixel-thermal-symlink from common to project folder
to prevent the GKI version dependencies from blocking init.

Bug: 240897207
Test: usbc overheating protection and charging throttling worked
properly in charger.

Change-Id: I0ba3dabcc8c0c74e7e9334bc04a6fac875ac6b6c
2022-08-22 19:54:12 +00:00
Robin Peng
26d9dab173 init: remove twoshay HAL init trigger condition 'on late-init'
Bug: 238853979
Signed-off-by: Robin Peng <robinpeng@google.com>
Change-Id: I625c75f1e1f4d8c46bbe43e92e6311ddeb80788b
2022-07-20 12:48:27 +08:00
Andrew Chant
47e484ec25 pantah: update persist file permissions.
Update persist file permissions on boot to
correct inconsistent output at factory.

Bug: 238045555
Change-Id: I5425bd7affe767c616c616c5c2f65aef9b78ef6b
2022-07-07 11:26:45 -07:00
David Chao
d4e403ffe9 thermal: add symlinks in charger
Wait for other modules to complete init, postpone thermal.symlinks init.
And also add symlinks in charger.

Bug: 200615564
Test: thermal symlinks can be created in dev folder
Change-Id: I64a46d299da6bef738f998bb65b26403b6515ed5
2022-06-23 15:36:49 +00:00
George Chang
71da37e6aa Remove SEReset everytime at boot
Using NFC FW SEReset at every power off

Bug: 229736863
Bug: 228642009
Test: manual
Change-Id: I036a79d628c5302e3dae57f2f587c09b16933fde
2022-06-10 09:28:49 +00:00
Ray Chi
bd29a01fca conf: remove the command to start usb statemachine
Bug: 233232746
Test: build pass
Change-Id: I5b82e45e656bd8f6794dbfdb94d0a9b54a674851
2022-06-08 14:31:13 +00:00
George Chang
b9c8c28644 Set sereset property every time at boot
Set it to "reset" in order to reset ST54K eSE at NFC hal init.

Bug: 232204531
Test: check eSE reset process starts at boot
Change-Id: I9f5863f963716ddceabbd540fbde32abec0a38b4
2022-05-25 12:02:16 +00:00
George Chang
bb799dac25 Reset ST54K eSE every time at boot
Bug: 232204531
Test: check eSE reset process starts at boot
Change-Id: I874a3d5dbf50167aa02e57362dd2cd8a4a79cfe2
2022-05-19 17:55:33 +00:00
Sayanna Chandula
1f98950323 thermal: enable thermal engine for evt1.0 devices
New version of thermal engine (Powerlink v2) uses ODPM data for
thermal mitigation. But proto devices does not support ODPM.
Currently we have disabled thermal mitigation for all A0 based
devices through a separate config, thermal_info_config_A0.json.
This change restricts using separate thermal config  only for the
proto devices and uses thermal_info_config.json for the rest.
Fix a format issue with qi-quiet sensor definition.

Bug: 196478280
Test: Build and boot on device. Check thermal config
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I0922e935cafe118f3437335e2a72b87aae6f6009
2022-04-25 18:20:58 +00:00
Ted Wang
2b5f26d053 Change Timesync node owner to Bluetooth am: 26b24cdfd4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17518863

Change-Id: I94482cab0595982d5b2e1a31f1985c412d4750c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 08:52:17 +00:00
Ted Wang
26b24cdfd4 Change Timesync node owner to Bluetooth
This patch change owner of Bluetooth Timesync node to be Bluetooth to
allow Bluetooth HAL to read controller timestamp data via this node.

Bug: 226659256
Test: make
Change-Id: I70010daf45186235a48633355b5641b38597b2d6
2022-04-13 12:33:26 +08:00
Grace Chen
175bd53191 Enable read/write access to st33spi_state for euiccpixel_app
Bug: 228508704
Test: Confirm can read/write st33spi_state

Change-Id: Ia7a41d2785a84fdf2d99c09fb040e35733e0eda1
2022-04-11 21:00:50 +00:00
Cyan_Hsieh
970a2bc9d2 Set audio.camerasound.force for JP devices
Test: set to JP sku and check No camera sound option

Bug: 227405874
Change-Id: I9f647175ac83d12ddfa1d54e5deb419dbea63877
2022-04-08 03:23:07 +00:00
Mason Wang
006af1e810 P10: Change touch procfs node ownership
Change touch procfs node ownership as system/system for dumpstate.

Bug: 199105131
Test: adb bugreport

Change-Id: Ibae5adfc22e661917618ac75b49bf50804892285
2022-04-06 10:03:14 +00:00
Sayanna Chandula
d8f5b8c917 thermal: update dynamic control/switchon trips in powerhint
- Create separate powerhint json files for a0 soc
- Add control/switchon powerhints for all IPs
- Change thermal severity level to LIGHT
- Update trip temps as per policy

Bug: 194509203
Test: Build and boot on device. Check change of trip temperatures
after the thermal severity of LIGHT
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: Ibd19ea16d0fee25dec801b287e1eab05699a8d7f
2022-03-29 01:51:28 +00:00
Mark Chang
376d1de226 C10/P10: Delay twoshay service start stage.
Bug: 225351394
Test: Verified twoshay not running in charger mode using cereal (P31701277).
Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: Iad139a8340f5a8e6ee53ba434edc3b98379f68e2
2022-03-22 23:09:09 +00:00
Mark Chang
81d4d05b9c P10: Start twoshay service during boot.
Bug: 199105154
Test: adb logcat | grep twoshay
Test: twoshay launched successfully.
Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: If657e038e13fa02596518ab1bfcc109a9c29c2d3
2022-03-08 05:08:41 +00:00
davidycchen
f834376e52 C10: start twoshay service during boot
Bug: 199104528
Test: twoshay starts during boot.

Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I862df8aa612fb9c409cf37538c2ab2e5cb794117
2022-03-07 13:22:03 +00:00
Roger Wang
95df666190 wifi: Update rc file to use Supplicant AIDL interface.
Bug: 196235436
Test: wifi works fine on C10 device.
Change-Id: I0f4376e1777fb19057d16690c12eb552f4f295ff
2022-01-04 18:08:33 +00:00
davidycchen
d60f0addce C10: support touch sensitivity mode switching
Write the sysfs node to set touch sensitivity mode when the property
changes.

Bug: 199104397
Test: toggle the touch sensitivity button in Settings and check log.

Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I1bd9258dcfa6897ee6febc5387c9504bcca1bb24
2022-01-04 01:59:12 +00:00
Mason Wang
4de8ea7408 P10: support touch sensitivity mode switching
Route a debug system property to a persist system property to control
the touch driver attribute file glove_mode.

0: default sensitivity mode (default)
1: high sensitivity mode

Bug: 199105017
Test: manual test

Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: I30f91ebaf4ea2bb2d2db6090f035e0ba7ea37056
2021-12-28 14:38:42 +08:00
Cyan_Hsieh
186d6a9157 Add init.pantah.rc for Cheetah/Panther
Bug: 211568122
Change-Id: I0819b3a7fdda22acfbd2df3cbf752713a8b6fd23
2021-12-27 12:35:04 +08:00
Midas Chien
a1c42e96fd C10: enable idle timer with kernel support
Bug: 208375625
Test: perfetto, check pane_idle
Change-Id: I3b23d831fd071cb52f80775fd6468e3006ca166d
2021-12-24 11:12:27 +00:00
George Chang
cfd752f778 Update C10 EVT NFC CFG base on CDT
Loads old cfg for proto and some of the evt.
The others loads default cfg.

Bug: 210755812
Test: manual
Change-Id: Ie892fed0d3e50ed2e1efb7f8ebc9d65bc5c5a63d
2021-12-21 08:04:39 +00:00
Robert Lee
a68394d356 Correct speaker.cal permission for C10/P10
Bug: 211360517
Test: builds
Change-Id: I751ac47a52a5b34afa1c64a758fcf6d900947f19
Signed-off-by: Robert Lee <lerobert@google.com>
2021-12-20 06:24:17 +00:00
chloedai
b82f47926c Update CFG file for C10 EVT
Update init.cheetah.rc to make device able to check ro.boot.hardware.revision

Bug: 210755812
Test: Test with C10 proto, pass
Change-Id: Ibdbd43d2c8718d3fe6161f2bf190255daff350ae
2021-12-16 03:23:18 +00:00
chloedai
4ec6f57257 Update CFG file for P10 EVT
Update init.panther.rc to make device able to check ro.boot.hardware.revision
Add libnfc-hal-st-proto1.conf to load st54j_conf_PROTO1.bin for proto1

BYPASS_INCLUSIVE_LANGUAGE_REASON=Keep the legacy name

Bug: 209525702
Test: Manually update .rc file, .conf file and st54j_conf_PROTO1.bin
to P10 proto1, then check the CFG version which is loaded

Change-Id: I33dd4d0dacb01bb544997913800a2c2ecc92b34e
2021-12-09 16:26:56 +08:00
Cyan_Hsieh
ff4c7ca3b5 Initialize device folder
from: 715ff58363e1fd4edc7c1bd428a77af6ddcb7684
with updated device path

Bug: 198128551
Change-Id: I2d9eace5077290b74ef00efb7304128f344514c1
2021-11-25 19:59:21 +08:00