vibrator: Enable DBC

Enable DBC feature for these devices.  This will help reduce power
when voltage boost is enabled for various waveform playback.

Bug: 266505414
Test: atest VibratorHalCs40l26TestSuite
Change-Id: I54c95d48707c017e70b691ec00a7acb6d67ec31f
Signed-off-by: Chris Paulo <chrispaulo@google.com>
This commit is contained in:
Chris Paulo 2023-09-12 17:13:29 -07:00
parent ae23645b9a
commit a23d6f4864
3 changed files with 24 additions and 3 deletions

View file

@ -251,7 +251,14 @@ PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.vibrator.hal.context.scale=60 \
persist.vendor.vibrator.hal.context.fade=true \
persist.vendor.vibrator.hal.context.cooldowntime=1600 \
persist.vendor.vibrator.hal.context.settlingtime=5000
persist.vendor.vibrator.hal.context.settlingtime=5000 \
ro.vendor.vibrator.hal.dbc.enable=true \
ro.vendor.vibrator.hal.dbc.envrelcoef=8353728 \
ro.vendor.vibrator.hal.dbc.riseheadroom=1909602 \
ro.vendor.vibrator.hal.dbc.fallheadroom=1909602 \
ro.vendor.vibrator.hal.dbc.txlvlthreshfs=2516583 \
ro.vendor.vibrator.hal.dbc.txlvlholdoffms=0 \
ro.vendor.vibrator.hal.pm.activetimeout=5
# PKVM Memory Reclaim
PRODUCT_VENDOR_PROPERTIES += \

View file

@ -251,7 +251,14 @@ PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.vibrator.hal.context.scale=60 \
persist.vendor.vibrator.hal.context.fade=true \
persist.vendor.vibrator.hal.context.cooldowntime=1600 \
persist.vendor.vibrator.hal.context.settlingtime=5000
persist.vendor.vibrator.hal.context.settlingtime=5000 \
ro.vendor.vibrator.hal.dbc.enable=true \
ro.vendor.vibrator.hal.dbc.envrelcoef=8353728 \
ro.vendor.vibrator.hal.dbc.riseheadroom=1909602 \
ro.vendor.vibrator.hal.dbc.fallheadroom=1909602 \
ro.vendor.vibrator.hal.dbc.txlvlthreshfs=2516583 \
ro.vendor.vibrator.hal.dbc.txlvlholdoffms=0 \
ro.vendor.vibrator.hal.pm.activetimeout=5
# PKVM Memory Reclaim
PRODUCT_VENDOR_PROPERTIES += \

View file

@ -242,7 +242,14 @@ PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.vibrator.hal.context.scale=60 \
persist.vendor.vibrator.hal.context.fade=true \
persist.vendor.vibrator.hal.context.cooldowntime=1600 \
persist.vendor.vibrator.hal.context.settlingtime=5000
persist.vendor.vibrator.hal.context.settlingtime=5000 \
ro.vendor.vibrator.hal.dbc.enable=true \
ro.vendor.vibrator.hal.dbc.envrelcoef=8353728 \
ro.vendor.vibrator.hal.dbc.riseheadroom=1909602 \
ro.vendor.vibrator.hal.dbc.fallheadroom=1909602 \
ro.vendor.vibrator.hal.dbc.txlvlthreshfs=2516583 \
ro.vendor.vibrator.hal.dbc.txlvlholdoffms=0 \
ro.vendor.vibrator.hal.pm.activetimeout=5
# PKVM Memory Reclaim
PRODUCT_VENDOR_PROPERTIES += \