mbox series

[RFC,0/5] Allwinner A10 input/output peripherals

Message ID 20230905201425.118918-1-strahinja.p.jankovic@gmail.com
Headers show
Series Allwinner A10 input/output peripherals | expand

Message

Strahinja Jankovic Sept. 5, 2023, 8:14 p.m. UTC
This patch set adds minimal support for PS2 input and HDMI output for
Allwinner A10 and Cubieboard.

For the display part, minimal emulation of HDMI, MALI GPU, Display
Engine Backend and LCD controller is added.

For the PS2 both keyboard and mouse support is added and attached to the
two PS2 contollers present in Allwinner A10.

Functionality has been tested with custom Yocto image.

This is sent as RFC for now, since there might be some use cases which
have not been tested.


Strahinja Jankovic (5):
  hw/display: Allwinner A10 HDMI controller emulation
  hw/display: Allwinner basic MALI GPU emulation
  hw/display: Allwinner A10 Display Engine Backend emulation
  hw/display: Allwinner A10 LCDC emulation
  hw/input: Add Allwinner-A10 PS2 emulation

 hw/arm/allwinner-a10.c                  |  51 ++++
 hw/display/allwinner-a10-debe.c         | 229 ++++++++++++++++
 hw/display/allwinner-a10-hdmi.c         | 214 +++++++++++++++
 hw/display/allwinner-a10-lcdc.c         | 275 +++++++++++++++++++
 hw/display/allwinner-gpu.c              | 212 +++++++++++++++
 hw/display/meson.build                  |   5 +
 hw/display/trace-events                 |  17 ++
 hw/input/allwinner-a10-ps2.c            | 345 ++++++++++++++++++++++++
 hw/input/meson.build                    |   2 +
 include/hw/arm/allwinner-a10.h          |  11 +
 include/hw/display/allwinner-a10-debe.h |  71 +++++
 include/hw/display/allwinner-a10-hdmi.h |  69 +++++
 include/hw/display/allwinner-a10-lcdc.h |  77 ++++++
 include/hw/display/allwinner-gpu.h      |  64 +++++
 include/hw/input/allwinner-a10-ps2.h    |  96 +++++++
 15 files changed, 1738 insertions(+)
 create mode 100644 hw/display/allwinner-a10-debe.c
 create mode 100644 hw/display/allwinner-a10-hdmi.c
 create mode 100644 hw/display/allwinner-a10-lcdc.c
 create mode 100644 hw/display/allwinner-gpu.c
 create mode 100644 hw/input/allwinner-a10-ps2.c
 create mode 100644 include/hw/display/allwinner-a10-debe.h
 create mode 100644 include/hw/display/allwinner-a10-hdmi.h
 create mode 100644 include/hw/display/allwinner-a10-lcdc.h
 create mode 100644 include/hw/display/allwinner-gpu.h
 create mode 100644 include/hw/input/allwinner-a10-ps2.h