[PATCH v3 1/6] serial: Add Goldfish TTY driver

Yao Zi me at ziyao.cc
Wed Dec 31 04:01:30 CET 2025


On Tue, Dec 30, 2025 at 04:01:07PM +0000, Kuan-Wei Chiu wrote:
> Add support for the Google Goldfish TTY serial device. This virtual
> device is commonly used in QEMU virtual machines (such as the m68k
> virt machine) and Android emulators.
> 
> The driver implements basic console output and input polling using the
> Goldfish MMIO interface.
> 
> Signed-off-by: Kuan-Wei Chiu <visitorckw at gmail.com>
> ---
> Changes in v3:
> - Remove unnecessary type casts for MMIO register access.
> 
>  MAINTAINERS                      |   6 ++
>  drivers/serial/Kconfig           |   8 +++
>  drivers/serial/Makefile          |   1 +
>  drivers/serial/serial_goldfish.c | 102 +++++++++++++++++++++++++++++++
>  include/goldfish_tty.h           |  18 ++++++
>  5 files changed, 135 insertions(+)
>  create mode 100644 drivers/serial/serial_goldfish.c
>  create mode 100644 include/goldfish_tty.h

This version looks good to me,

Reviewed-by: Yao Zi <me at ziyao.cc>


More information about the U-Boot mailing list