sm8350-common: Configure common Powershare HIDL

Change-Id: I1287d066eca7d1a274b491f80166ed68c5b11459
This commit is contained in:
FlowerSea0208 2023-06-12 17:49:38 +08:00 committed by Flower sea
parent 6f2ec9d60e
commit afa2607ddd
2 changed files with 8 additions and 0 deletions

View File

@ -100,6 +100,11 @@ BOARD_KERNEL_CMDLINE += pcie_ports=compat
BOARD_KERNEL_CMDLINE += iptable_raw.raw_before_defrag=1
BOARD_KERNEL_CMDLINE += ip6table_raw.raw_before_defrag=1
# PowerShare
SOONG_CONFIG_NAMESPACES += XIAOMI_POWERSHARE
SOONG_CONFIG_XIAOMI_POWERSHARE := WIRELESS_TX_ENABLE_PATH
SOONG_CONFIG_XIAOMI_POWERSHARE_WIRELESS_TX_ENABLE_PATH := /sys/class/qcom-battery/reverse_chg_mode
# Partitions
BOARD_FLASH_BLOCK_SIZE := 131072
BOARD_BOOTIMAGE_PARTITION_SIZE := 201326592

View File

@ -137,3 +137,6 @@ firmware_directories /vendor/firmware_mnt/image/
# Fingerprint
/dev/goodix_fp 0660 system system
# Battery
/sys/class/qcom-battery reverse_chg_mode 0644 system system