[Qemu-devel] [PATCH 10/13] mxs/imx23: Add the timers

2013-12-11 Thread Michel Pollet
Support for the timer IO block of the mxs/imx23. Does not support any of the fancy function, just the 32khz based timers used by linux. Signed-off-by: Michel Pollet --- hw/timer/Makefile.objs | 2 +- hw/timer/mxs_timrot.c | 271 + 2 files

[Qemu-devel] [PATCH 11/13] mxs/imx23: Add the USB driver

2013-12-11 Thread Michel Pollet
Add the USB IO block, and the USB PHY IO block. This just wraps an ehci instance, and support some of the 'extra' mxs registers Signed-off-by: Michel Pollet --- hw/usb/Makefile.objs | 1 + hw/usb/mxs_usb.c | 254 +++ 2 files ch

[Qemu-devel] [PATCH 12/13] mxs/imx23: Main core instantiation and minor IO blocks

2013-12-11 Thread Michel Pollet
27; signed Freescale binary blobs. Signed-off-by: Michel Pollet --- hw/arm/Makefile.objs | 2 +- hw/arm/mxs.c | 388 +++ 2 files changed, 389 insertions(+), 1 deletion(-) create mode 100644 hw/arm/mxs.c diff --git a/hw/arm/Ma

[Qemu-devel] [PATCH 13/13] mxs/imx23: Adds support for an Olinuxino board

2013-12-11 Thread Michel Pollet
rdware used for my real life boiler controller system; but it's a nice starting point for any other imx233 board prototyping. https://plus.google.com/111387094029238541867/posts/Smwc7yFK3Vk Signed-off-by: Michel Pollet --- hw/arm/Makefile.objs | 1 + hw/arm/imx2

[Qemu-devel] [PATCH 02/13] mxs: Add CONFIG_MXS to the arm-softmmu config

2013-12-11 Thread Michel Pollet
Allows selective compilation of the MXS bits Signed-off-by: Michel Pollet --- default-configs/arm-softmmu.mak | 1 + 1 file changed, 1 insertion(+) diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak index e48f102..0d4cf95 100644 --- a/default-configs/arm-softmmu.mak

[Qemu-devel] [PATCH 06/13] mxs/imx23: Add digctl driver

2013-12-11 Thread Michel Pollet
This implements just enough of the digctl IO block to allow linux to believe it's running on (currently only) an imx23. Signed-off-by: Michel Pollet --- hw/arm/Makefile.objs | 1 + hw/arm/imx23_digctl.c | 110 ++ 2 files changed, 111 inser

[Qemu-devel] [PATCH 08/13] mxs/imx23: Add SSP/SPI driver

2013-12-11 Thread Michel Pollet
This implements the SSP port(s) of the mxs. Currently hardcoded for the SD card interface, but as TODO it could rather easily be made to be generic and support 'generic' SPI too. It is geared toward working with DMA, as the linux drivers uses it that way. Signed-off-by: Michel Pollet -

[Qemu-devel] [PATCH 09/13] mxs/imx23: Add the RTC block

2013-12-11 Thread Michel Pollet
Support for the RTC IO block on the imx23, enough to return a valid date and make guest linux happy. Signed-off-by: Michel Pollet --- hw/timer/Makefile.objs | 1 + hw/timer/mxs_rtc.c | 147 + 2 files changed, 148 insertions(+) create mode

[Qemu-devel] [PATCH 00/13] Freescale mxs/imx23 + Olimex Olinuxino support

2013-12-11 Thread Michel Pollet
reposted it will help answer this question. This patch series is also available on this github branch, in case its' more convenient to use the inline comment function there. https://github.com/buserror-uk/qemu-buserror/commits/dev-imx233 Michel Pollet (13): mxs/imx23: Add main header file

[Qemu-devel] [PATCH 05/13] mxs/imx23: Add the interrupt collector

2013-12-11 Thread Michel Pollet
Implements the interrupt collector IO block Signed-off-by: Michel Pollet --- hw/intc/Makefile.objs | 1 + hw/intc/mxs_icoll.c | 200 ++ 2 files changed, 201 insertions(+) create mode 100644 hw/intc/mxs_icoll.c diff --git a/hw/intc

[Qemu-devel] [PATCH 07/13] mxs/imx23: Implements the pin mux, GPIOs

2013-12-11 Thread Michel Pollet
Implements the pinctrl and GPIO block for the imx23 It handles GPIO output, and GPIO input from qemu translated into pin values and interrupts, if appropriate. Signed-off-by: Michel Pollet --- hw/arm/Makefile.objs | 2 +- hw/arm/imx23_pinctrl.c | 293

[Qemu-devel] [PATCH 03/13] mxs/imx23: Add uart driver

2013-12-11 Thread Michel Pollet
Prototype driver for the mxs/imx23 uart IO block. This has no real 'uart' functional code, apart from letting itself be initialized by linux without generating a timeout error. Signed-off-by: Michel Pollet --- hw/char/Makefile.objs | 1 + hw/char/mxs_uart.

[Qemu-devel] [PATCH 01/13] mxs/imx23: Add main header file

2013-12-11 Thread Michel Pollet
Header file containing most of the base addresses and IO registers needed for the Freescale mxs/imx23 SoC emumation. Also contains a generic helper to implement the SET/AND/OR/XOR trick shared by pretty much all of the IO blocks on this SoC Signed-off-by: Michel Pollet --- hw/arm/mxs.h | 208

[Qemu-devel] [PATCH 04/13] mxs/imx23: Add DMA driver

2013-12-11 Thread Michel Pollet
This driver works sufficiently well that linux can use it to access the SD card using the SD->DMA->SSI->SD. It hasn't been tested for much else. Signed-off-by: Michel Pollet --- hw/dma/Makefile.objs | 1 + hw/dma/mxs_dma.c | 347 ++