odpm: replace MMWAVE rail with AUR rail for SUB6 only sku

Bug: 323103160
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I9e8bacce73f1b81c1c6b8ce7fbf1bc8fef8ec40c
Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
Darren Hsu 2024-01-31 14:13:07 +08:00
parent 2ed8c88e4d
commit ac99727658
3 changed files with 18 additions and 0 deletions

View file

@ -60,6 +60,12 @@ on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_complet
on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_completed=1
write /sys/devices/virtual/goog_touch_interface/gti.0/screen_protector_mode_enabled 1
# ODPM
on early-boot && property:ro.boot.hardware.sku=GEC77
write /sys/bus/iio/devices/iio:device0/enabled_rails "CH11=BUCK12S"
on early-boot && property:ro.boot.hardware.sku=GWVK6
write /sys/bus/iio/devices/iio:device0/enabled_rails "CH11=BUCK12S"
# Start the twoshay touch service
on property:sys.boot_completed=1
chown system input /dev/touch_offload

View file

@ -64,6 +64,12 @@ on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_complet
on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_completed=1
write /sys/devices/virtual/goog_touch_interface/gti.0/screen_protector_mode_enabled 1
# ODPM
on early-boot && property:ro.boot.hardware.sku=GZC4K
write /sys/bus/iio/devices/iio:device0/enabled_rails "CH11=BUCK12S"
on early-boot && property:ro.boot.hardware.sku=GQ57S
write /sys/bus/iio/devices/iio:device0/enabled_rails "CH11=BUCK12S"
# Start the twoshay touch service
on property:sys.boot_completed=1
chown system input /dev/touch_offload

View file

@ -56,6 +56,12 @@ on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_complet
on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_completed=1
write /sys/devices/virtual/goog_touch_interface/gti.0/screen_protector_mode_enabled 1
# ODPM
on early-boot && property:ro.boot.hardware.sku=GUR25
write /sys/bus/iio/devices/iio:device0/enabled_rails "CH11=BUCK12S"
on early-boot && property:ro.boot.hardware.sku=G1B60
write /sys/bus/iio/devices/iio:device0/enabled_rails "CH11=BUCK12S"
# Start the twoshay touch service
on property:sys.boot_completed=1
chown system input /dev/touch_offload