All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/3] add sdhost and gpio controllers to the bcm2835 platform
@ 2017-02-22 11:23 Clement Deschamps
  2017-02-22 11:23 ` [Qemu-devel] [PATCH v2 1/3] bcm2835_sdhost: add bcm2835 sdhost controller Clement Deschamps
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Clement Deschamps @ 2017-02-22 11:23 UTC (permalink / raw)
  To: qemu-devel; +Cc: Clement Deschamps, qemu-arm, peter.maydell, andrew.baumann

This patches add the Arasan SDHost controller and the GPIO controller to the BCM2835/36 platforms.

This patches have been tested with raspbian 2015-09-24 (which uses the SDHCI controller),
and raspbian 2017-01-11 (which dynamically switches to the SDHost controller).

Note: In order to properly boot the kernel, you will first need to apply the
BCM2835 hardware RNG patch submitted recently.

v2:
- implements the GPIO controller for supporting SD controller selection via alternate functions of GPIOs 48-53

Clement Deschamps (3):
  bcm2835_sdhost: add bcm2835 sdhost controller
  bcm2835_gpio: add bcm2835 gpio controller
  bcm2835: add sdhost and gpio controllers

 hw/arm/bcm2835_peripherals.c         |  44 ++++
 hw/gpio/Makefile.objs                |   1 +
 hw/gpio/bcm2835_gpio.c               | 361 +++++++++++++++++++++++++++++
 hw/sd/Makefile.objs                  |   1 +
 hw/sd/bcm2835_sdhost.c               | 429 +++++++++++++++++++++++++++++++++++
 include/hw/arm/bcm2835_peripherals.h |   4 +
 include/hw/gpio/bcm2835_gpio.h       |  38 ++++
 include/hw/sd/bcm2835_sdhost.h       |  48 ++++
 8 files changed, 926 insertions(+)
 create mode 100644 hw/gpio/bcm2835_gpio.c
 create mode 100644 hw/sd/bcm2835_sdhost.c
 create mode 100644 include/hw/gpio/bcm2835_gpio.h
 create mode 100644 include/hw/sd/bcm2835_sdhost.h

-- 
2.11.1

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-02-24  9:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-22 11:23 [Qemu-devel] [PATCH v2 0/3] add sdhost and gpio controllers to the bcm2835 platform Clement Deschamps
2017-02-22 11:23 ` [Qemu-devel] [PATCH v2 1/3] bcm2835_sdhost: add bcm2835 sdhost controller Clement Deschamps
2017-02-23 18:48   ` Peter Maydell
2017-02-24  9:47     ` Clement Deschamps
2017-02-22 11:23 ` [Qemu-devel] [PATCH v2 2/3] bcm2835_gpio: add bcm2835 gpio controller Clement Deschamps
2017-02-23 19:08   ` Peter Maydell
2017-02-24  9:47     ` Clement Deschamps
2017-02-22 11:23 ` [Qemu-devel] [PATCH v2 3/3] bcm2835: add sdhost and gpio controllers Clement Deschamps
2017-02-22 18:27   ` Andrew Baumann
2017-02-22 22:59     ` Clement Deschamps
2017-02-22 11:31 ` [Qemu-devel] [PATCH v2 0/3] add sdhost and gpio controllers to the bcm2835 platform no-reply
2017-02-23 18:44 ` Peter Maydell
2017-02-24  9:46   ` Clement Deschamps

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.