]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite6d70e9f168af5c36cb48e373a610109b3483094
treeb454a7965888f20715a4217bb802591625efcb15
parent6c5b3efce045d0b52dec1fc7e48413cad397bd24
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