diff options
author | Leonard Crestez <leonard.crestez@nxp.com> | 2019-05-21 23:41:14 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2019-07-02 14:11:31 +0300 |
commit | e25547f899a531ecea1fcca975752872682ec564 (patch) | |
tree | 115e02c15074a3738b5cb14b6c5ce7854140fa6d /drivers/mfd/intel-lpss-pci.c | |
parent | 907bf9d65f2da9b7ea1b5aa0c1b8d5950f29356d (diff) | |
download | linux-e25547f899a531ecea1fcca975752872682ec564.tar.xz |
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: Leonard Crestez <leonard.crestez@nxp.com>
Reviewed-By: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
[Lee: Fixed-up merge/API conflict]
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/intel-lpss-pci.c')
0 files changed, 0 insertions, 0 deletions