Message ID | cover.1558471150.git.leonard.crestez@nxp.com |
---|---|
Headers | show |
Series | mfd: bd718x7: Set button press duration via dt only | expand |
On Tue, 21 May 2019, Leonard Crestez wrote: > 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> > --- > drivers/mfd/rohm-bd718x7.c | 23 ----------------------- > 1 file changed, 23 deletions(-) Applied, thanks.
On Tue, 21 May 2019, Leonard Crestez wrote: > 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> > --- > drivers/mfd/rohm-bd718x7.c | 42 ++++++++++++++++++++++++++++++++++++++ > 1 file changed, 42 insertions(+) Applied, thanks.