12 Commits

Author SHA1 Message Date
firebird11
f197397453 sm8150-common: Move Powerhint to device
Change-Id: I82d8d8bf49dfeb4c6adb1b669fb2a1b8e2115e20
Signed-off-by: firebird11 <hbgassel@gmail.com>
2026-02-02 17:21:01 +01:00
Georg Veichtlbauer
fb96ddf46f sm8150-common: powerhint: Add DT2W
Change-Id: I7d0dfe249798864a39afd4f339b692584faaf3ec
2024-05-20 01:34:54 +02:00
Bruno Martins
da25e03d4d sm8150-common: Remove QTI BT stack bits
Change-Id: Ice6c2b0735aa7cb4b2e638a794c778883e706c97
2023-04-09 17:15:37 +02:00
Ryan Mitchell
4a1dca43c4 sm8150-common: Use component-override to configure Bluetooth
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.

This change uses component-override to enable the service by default.

Remove usages of profile_supported_* from overlays as they no
longer configure the enable state of Bluetooth components.

Bug: 135048762
Test: adb shell pm query-services \
      com.android.bluetooth/.avrcpcontroller.AvrcpControllerService
      adb shell pm query-services \
      com.android.bluetooth/.hid.HidDeviceService
      adb shell pm query-services \
      com.android.bluetooth/.sap.SapService

Change-Id: I284d254a921b14d1533745611a083f4b5a27d9dc
2022-10-17 18:28:36 +02:00
Sebastiano Barezzi
f912026e04 sm8150-common: powerhint: Drop display early_wakeup node
Change-Id: I32707afebc486c17f41efceb0f8b95a0eae9f2e4
2021-08-26 12:35:19 +02:00
Sebastiano Barezzi
0b389ee39f sm8150-common: powerhint: Drop EnergyAware node
Change-Id: I42adc40264df0b9c0b03c6862bb0c5703710254d
2021-08-26 02:49:20 +02:00
Sebastiano Barezzi
a300c15edf sm8150-common: powerhint: Remove schedtune related stuff
Change-Id: I65c84723943e54eaabdc52571c86a66a71a78fb8
2021-08-26 02:49:17 +02:00
Sebastiano Barezzi
17a1948406 sm8150-common: powerhint: Don't mess with UFS clkgate
* They cause UFS panics on vayu

Change-Id: Ifad2383bfb92260f97f6140cadae34b6ed60a4d4
2021-08-26 02:49:09 +02:00
Luca Stefani
9813b81a77 sm8150-common: Adjust powerhint for QOS interface
Currently all writes to the dev interface are done
by WriteStringToFd that uses char internally.

The current values seem to expect to be written as s32,
this sadly won't happen and triggers a special case in
the write handling of pm_qos_power_write:
it expects char buffers to be encoded as base16 and
decodes them.
This means the current 44 is actually 0x44 -> 68 seen by
the kernel.

Luckily it seems like both accepted values for this node
don't hit the threshold to enter C2, so it was never
noticed in real usage and didn't effect the device
C-States handling during hints.

Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com>
Change-Id: Ic544d4dcaa1edc3de913aed737baf1af88a45360
2021-08-26 00:42:53 +02:00
Sebastiano Barezzi
82ba729073 sm8150-common: Import powerhint.json
* From https://android.googlesource.com/device/google/coral/+/android-11.0.0_r40/powerhint.json

Change-Id: Ie6946252fc832c37034d733756a7680459d191e2
2021-08-26 00:42:53 +02:00
Wei Wang
6ce2e2a68f sm8150-common: Remove QTI perfd
Bug: 69270928
Test: Build and boot device and test camera
Change-Id: I87b283206f462fb5c8ec9cdd303ae2934fe9bfc4
2021-08-26 00:42:53 +02:00
Sebastiano Barezzi
364586a269 sm8150-common: Import public libraries list
* From vayu-user 11 RKQ1.200826.002 V12.0.6.0.RJUMIXM release-keys

Change-Id: I41725fac378391291e84cca00c16b1661797e22b
2021-07-01 15:11:16 +02:00