vf610: fix GPIO output and console input
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | gpio: vybrid: read and write the GPIO block, not the PORT blockdrivers/ | +7 | 0 replies | |
| 2/2 | serial: lpuart: test the receive flag, not the FIFO counterdrivers/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] vf610: fix GPIO output and console input
From: Mehmet Fide <[email protected]>
Two independent vf610 fixes found while moving a Colibri VF50 product from the Toradex 2015.04 fork to mainline U-Boot.
Both are long standing and both fail silently, which is why they are easy to miss: the gpio command reports success on a pin whose level never changes, and the console keeps printing while it accepts no input at all. On a current mainline the module therefore drives no GPIO and cannot have its autoboot interrupted.
Tested on a Colibri VF50 (vf610, VF500 SoC) booting from NAND, with the display reset, data/command and backlight lines on GPIOs and the console on UART0.
Mehmet Fide (2):
gpio: vybrid: read and write the GPIO block, not the PORT block
serial: lpuart: test the receive flag, not the FIFO counter
drivers/gpio/vybrid_gpio.c | 8 +++++++- drivers/serial/serial_lpuart.c | 9 +++++---- 2 files changed, 12 insertions(+), 5 deletions(-)
Signature · 1 line
2.54.0