Skip to content
Commit e25547f8 authored by Leonard Crestez's avatar Leonard Crestez Committed by Lee Jones
Browse files

mfd: bd718x7: Make power button press duration configurable



Allow overwriting the values in BD718XX_REG_PWRONCONFIG0 and
BD718XX_REG_PWRONCONFIG1 via devicetree. Read values in milliseconds and
attempt to round them to something supported by the hardware.

Keep existing values (from bootloader or OTP) if property is not
present.

Signed-off-by: default avatarLeonard Crestez <leonard.crestez@nxp.com>
Reviewed-By: default avatarMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
[Lee: Fixed-up merge/API conflict]
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 907bf9d6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment