summaryrefslogtreecommitdiff
path: root/drivers/serial/serial_goldfish.c
AgeCommit message (Collapse)Author
2026-06-23serial: goldfish: return error when device address is invalidNaveen Kumar Chaudhary
goldfish_serial_of_to_plat() returns success even when dev_read_addr() fails to find a valid address. This leaves plat->reg unset and defers the failure to probe(). Return -EINVAL immediately when the address is FDT_ADDR_T_NONE so the failure is reported at the of_to_plat stage where it belongs. Signed-off-by: Naveen Kumar Chaudhary <[email protected]> Acked-by: Kuan-Wei Chiu <[email protected]>
2026-04-14serial: goldfish: Add debug uart supportDaniel Palmer
Add debug support for the goldfish tty so it can be used for early debugging. This will be really useful when adding support for relocation to the m68k qemu virt machine. Signed-off-by: Daniel Palmer <[email protected]> Reviewed-by: Kuan-Wei Chiu <[email protected]> Tested-by: Kuan-Wei Chiu <[email protected]>
2026-02-02serial: Add Goldfish TTY driverKuan-Wei Chiu
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 <[email protected]> Reviewed-by: Yao Zi <[email protected]> Tested-by: Daniel Palmer <[email protected]> Acked-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Simon Glass <[email protected]> Acked-by: Angelo Dureghello <[email protected]>