Skip to content

RFC Upstream merge of core of Goldfish AVD support

Alan Cox lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest9 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9goldfish: definitions for Goldfish on x86 platformsarch/x86/Kconfig arch/x86/include/asm/goldfish.h+48 -01 reply
2/9goldfish: add the goldfish virtual busdrivers/platform/Makefile drivers/platform/goldfish/Makefile drivers/platform/goldfish/pdev_bus.c+272 -00 replies
3/9goldfish: tty driverdrivers/tty/Kconfig drivers/tty/Makefile drivers/tty/goldfish.c+349 -00 replies
4/9goldfish: virtual input event driverdrivers/input/keyboard/Kconfig drivers/input/keyboard/Makefile drivers/input/keyboard/goldfish_events.c+213 -00 replies
5/9goldfish: framebufferdrivers/video/Kconfig drivers/video/Makefile drivers/video/goldfishfb.c+337 -00 replies
6/9goldfish: emulated MMC devicedrivers/mmc/host/Kconfig drivers/mmc/host/Makefile drivers/mmc/host/goldfish.c+587 -00 replies
7/9goldfish: power devicedrivers/power/Kconfig drivers/power/Makefile drivers/power/goldfish_battery.c+271 -10 replies
8/9goldfish: real time clockarch/x86/include/asm/goldfish.h drivers/rtc/Kconfig drivers/rtc/Makefile +1 more+163 -00 replies
9/9goldfish: NAND flash driverdrivers/mtd/devices/Kconfig drivers/mtd/devices/Makefile drivers/mtd/devices/goldfish_nand.c +1 more+556 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/9] Upstream merge of core of Goldfish AVD support

This is a port and clean up of the core platform and driver code for the Goldfish AVD (Android Virtual Device).

With these patches applied you can boot Debian on Goldfish for minimal testing purposes. It won't boot Android as there are other drivers needed, some of which still need out of tree Android code.

Goldfish is both an ARM and an x86 platform. These patches add the x86 code but they also add all the cleanups done to make most of the code portable. All the drivers therefore are put into drivers/platform/goldfish or into the relevant driver directories so they can be shared by other processors as needed in future.

Once these drivers are in an upstream acceptable shape I'll look at feeding the other bits in.

Alan
---

Arve Hjønnevåg (4):
goldfish: tty driver
goldfish: framebuffer
goldfish: real time clock
goldfish: NAND flash driver

Brian Swetland (1):
goldfish: virtual input event driver

Jun Nakajima (2):
goldfish: definitions for Goldfish on x86 platforms
goldfish: add the goldfish virtual bus

Mike Lockwood (2):
goldfish: emulated MMC device
goldfish: power device

 arch/x86/Kconfig                         |   12 +
 arch/x86/include/asm/goldfish.h          |   43 ++
 drivers/input/keyboard/Kconfig           |   11 +
 drivers/input/keyboard/Makefile          |    1 
 drivers/input/keyboard/goldfish_events.c |  201 ++++++++++
 drivers/mmc/host/Kconfig                 |    7 
 drivers/mmc/host/Makefile                |    1 
 drivers/mmc/host/goldfish.c              |  579 ++++++++++++++++++++++++++++++
 drivers/mtd/devices/Kconfig              |    7 
 drivers/mtd/devices/Makefile             |    3 
 drivers/mtd/devices/goldfish_nand.c      |  475 +++++++++++++++++++++++++
 drivers/mtd/devices/goldfish_nand_reg.h  |   72 ++++
 drivers/platform/Makefile                |    1 
 drivers/platform/goldfish/Makefile       |    4 
 drivers/platform/goldfish/pdev_bus.c     |  267 ++++++++++++++
 drivers/power/Kconfig                    |    8 
 drivers/power/Makefile                   |    1 
 drivers/power/goldfish_battery.c         |  263 ++++++++++++++
 drivers/rtc/Kconfig                      |    9 
 drivers/rtc/Makefile                     |    1 
 drivers/rtc/rtc-goldfish.c               |  146 ++++++++
 drivers/tty/Kconfig                      |    6 
 drivers/tty/Makefile                     |    1 
 drivers/tty/goldfish.c                   |  342 ++++++++++++++++++
 drivers/video/Kconfig                    |    9 
 drivers/video/Makefile                   |    1 
 drivers/video/goldfishfb.c               |  327 +++++++++++++++++
 27 files changed, 2796 insertions(+), 2 deletions(-)
 create mode 100644 arch/x86/include/asm/goldfish.h
 create mode 100644 drivers/input/keyboard/goldfish_events.c
 create mode 100644 drivers/mmc/host/goldfish.c
 create mode 100644 drivers/mtd/devices/goldfish_nand.c
 create mode 100644 drivers/mtd/devices/goldfish_nand_reg.h
 create mode 100644 drivers/platform/goldfish/Makefile
 create mode 100644 drivers/platform/goldfish/pdev_bus.c
 create mode 100644 drivers/power/goldfish_battery.c
 create mode 100644 drivers/rtc/rtc-goldfish.c
 create mode 100644 drivers/tty/goldfish.c
 create mode 100644 drivers/video/goldfishfb.c
Signature · 1 line
Moo!