qemu-patch-raspberry4/hw/gpio
Steffen Görtz 805f61bbb3 hw/gpio/nrf51_gpio: Add nRF51 GPIO peripheral
This adds a model of the nRF51 GPIO peripheral.

Reference Manual: http://infocenter.nordicsemi.com/pdf/nRF51_RM_v3.0.pdf

The nRF51 series microcontrollers support up to 32 GPIO pins in various configurations.
The pins can be used as input pins with pull-ups or pull-down.
Furthermore, three different output driver modes per level are
available (disconnected, standard, high-current).

The GPIO-Peripheral has a mechanism for detecting level changes which is
not featured in this model.

Signed-off-by: Steffen Görtz <contrib@steffen-goertz.de>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20190103091119.9367-6-stefanha@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2019-01-07 15:23:47 +00:00
..
bcm2835_gpio.c bcm2835_gpio: add bcm2835 gpio controller 2017-02-28 17:10:00 +00:00
gpio_key.c hw: clean up hw/hw.h includes 2016-05-19 16:42:30 +02:00
imx_gpio.c i.MX: Fix GPIO ISR register write 2016-10-28 15:51:27 +01:00
Makefile.objs hw/gpio/nrf51_gpio: Add nRF51 GPIO peripheral 2019-01-07 15:23:47 +00:00
max7310.c hw/i2c: Use DeviceClass::realize instead of I2CSlaveClass::init 2018-06-01 15:14:31 +02:00
mpc8xxx.c hw/gpio: QOM'ify mpc8xxx.c 2017-01-31 10:10:13 +11:00
nrf51_gpio.c hw/gpio/nrf51_gpio: Add nRF51 GPIO peripheral 2019-01-07 15:23:47 +00:00
omap_gpio.c Replace all occurances of __FUNCTION__ with __func__ 2018-01-22 09:46:18 +01:00
pl061.c hw/gpio: QOM'ify pl061.c 2016-06-14 15:59:13 +01:00
puv3_gpio.c gpio/puv3_gpio: Convert sysbus init function to realize function 2018-12-13 13:47:58 +00:00
trace-events hw/gpio/nrf51_gpio: Add nRF51 GPIO peripheral 2019-01-07 15:23:47 +00:00
zaurus.c hw/gpio: QOM'ify zaurus.c 2016-06-14 15:59:13 +01:00