mfd: bd718x7: Remove hardcoded config for button press duration
authorLeonard Crestez <leonard.crestez@nxp.com>
Tue, 21 May 2019 20:41:12 +0000 (20:41 +0000)
committerLee Jones <lee.jones@linaro.org>
Tue, 2 Jul 2019 11:11:31 +0000 (12:11 +0100)
commit2a87f09020c0d35193c803c20dfdae6522b36d5e
treeb454a7965888f20715a4217bb802591625efcb15
parent1bb407f17c5316888c3c446e26cb2bb78943f236
mfd: bd718x7: Remove hardcoded config for button press duration

The reset button on imx8mm-evk is tied to PWRON_B pin of bd71847 and the
long press duration is set to zero from OTP. The linux driver overrides
those values and breaks reset from button.

Overwriting OTP or bootloader configuration with some hardcoded defaults
is not desirable, keep already programmed values instead.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Acked-By: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/rohm-bd718x7.c