Patrick Delaunay 2a7034c77d stm32mp1: add pull-up for gpio button PA13 and PA14
When a push-button is released and PA13/PA14 are defined as input (high-Z)
the LED should not be active as the circuit is open but a small current
leak through PCB or push-button close the circuit and allows a small LED
bias giving erroneous level voltage.

So it is recommended to activate an internal pull-up in order to clearly
fix the voltage at PA13/PA14 when button is released and to wait
a short delay before to read the GPIO value only when the pull-up is
correctly configured.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-07-27 09:47:40 +02:00
..
2021-04-10 07:57:29 -04:00
2021-07-06 14:07:36 -04:00
2021-07-07 22:22:42 -04:00
2020-09-01 13:38:39 +08:00
2021-04-10 08:04:55 -04:00
2021-05-02 12:46:54 +02:00
2021-07-07 10:17:54 -04:00
2021-07-07 19:52:24 -04:00
2021-04-12 17:17:11 -04:00
2021-06-17 09:40:58 +08:00
2021-07-10 01:22:09 +01:00
2021-07-07 19:52:24 -04:00