Skip to content

vf610: fix GPIO output and console input

Mehmet Fide u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2gpio: vybrid: read and write the GPIO block, not the PORT blockdrivers/gpio/vybrid_gpio.c+7 -10 replies
2/2serial: lpuart: test the receive flag, not the FIFO counterdrivers/serial/serial_lpuart.c+5 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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