Merge "odpm: support 2 random mappings to iio device" into 24D1-dev am: f6b17d90d1

Original change: https://googleplex-android-review.googlesource.com/c/device/google/tegu/+/27189657

Change-Id: If98eac4694f228bcec78d0933bbb7323d1148824
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2024-05-03 03:09:09 +00:00 committed by Automerger Merge Worker
commit f72de42c1c

View file

@ -38,8 +38,10 @@ on post-fs-data
# ODPM # ODPM
on early-boot && property:ro.boot.hardware.sku=GXQ96 on early-boot && property:ro.boot.hardware.sku=GXQ96
write /sys/bus/iio/devices/iio:device0/enabled_rails "CH11=BUCK12S"
write /sys/bus/iio/devices/iio:device1/enabled_rails "CH11=BUCK12S" write /sys/bus/iio/devices/iio:device1/enabled_rails "CH11=BUCK12S"
on early-boot && property:ro.boot.hardware.sku=G3Y12 on early-boot && property:ro.boot.hardware.sku=G3Y12
write /sys/bus/iio/devices/iio:device0/enabled_rails "CH11=BUCK12S"
write /sys/bus/iio/devices/iio:device1/enabled_rails "CH11=BUCK12S" write /sys/bus/iio/devices/iio:device1/enabled_rails "CH11=BUCK12S"
# Start the twoshay touch service # Start the twoshay touch service