Leonard Crestez e25547f899 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>
2019-07-02 12:11:31 +01:00
..
2016-11-29 08:21:33 +00:00
2017-07-18 08:27:18 +01:00
2019-05-14 08:13:28 +01:00
2016-08-10 09:25:18 +01:00
2016-08-10 09:25:18 +01:00
2019-01-16 13:59:34 +00:00
2019-05-14 08:13:28 +01:00
2019-05-14 08:13:28 +01:00
2019-05-14 08:13:28 +01:00
2019-03-19 13:12:18 +00:00
2015-08-11 15:09:01 +01:00
2019-03-19 13:12:18 +00:00
2015-09-04 11:46:02 -07:00