Commit graph

18 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
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
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
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
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
Cyan_Hsieh
186d6a9157 Add init.pantah.rc for Cheetah/Panther
Bug: 211568122
Change-Id: I0819b3a7fdda22acfbd2df3cbf752713a8b6fd23
2021-12-27 12:35:04 +08:00