Re: [Qemu-devel] [PATCH v9 16/24] The FTSSP010 is a multi-function synchronous serial port interface controller which supports SSP, SPI, I2S, AC97 and SPDIF.

2013-03-31 Thread Kuo-Jung Su
:09 PM, Kuo-Jung Su dant...@gmail.com wrote: From: Kuo-Jung Su dant...@faraday-tech.com Only I2S and SPI protocol have been implemented in this patch. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs|3 +- hw/arm/ftplat_a369.c| 31 +++ hw/arm

Re: [Qemu-devel] [PATCH v9 24/24] hw/arm: add FTSPI020 SPI flash controller support

2013-03-29 Thread Kuo-Jung Su
2013/3/29 Peter Crosthwaite peter.crosthwa...@xilinx.com: Hi Kuo-Jung, On Mon, Mar 25, 2013 at 10:10 PM, Kuo-Jung Su dant...@gmail.com wrote: From: Kuo-Jung Su dant...@faraday-tech.com The FTSPI020 is an integrated SPI Flash controller which supports up to 4 flash chips. Signed-off

Re: [Qemu-devel] [PATCH v9 10/24] hw/arm: add FTDMAC020 AHB DMA support

2013-03-29 Thread Kuo-Jung Su
2013/3/29 Peter Crosthwaite peter.crosthwa...@xilinx.com: Hi Kuo-Jung, On Mon, Mar 25, 2013 at 10:09 PM, Kuo-Jung Su dant...@gmail.com wrote: From: Kuo-Jung Su dant...@faraday-tech.com The Faraday FTDMAC020 provides eight configurable channels for the memory-to-memory, memory-to-peripheral

Re: [Qemu-devel] [PATCH v9 05/24] hw/arm: add FTDDRII030 DDRII controller support

2013-03-27 Thread Kuo-Jung Su
2013/3/28 Peter Crosthwaite peter.crosthwa...@xilinx.com: Hi Kuo-Jung, On Mon, Mar 25, 2013 at 10:09 PM, Kuo-Jung Su dant...@gmail.com wrote: From: Kuo-Jung Su dant...@faraday-tech.com The FTDDRII030 is a DDRII SDRAM controller which is responsible for SDRAM initialization. Signed-off

Re: [Qemu-devel] [PATCH v9 05/24] hw/arm: add FTDDRII030 DDRII controller support

2013-03-27 Thread Kuo-Jung Su
2013/3/28 Peter Crosthwaite peter.crosthwa...@xilinx.com: Hi Kuo Jung, On Thu, Mar 28, 2013 at 1:24 PM, Kuo-Jung Su dant...@gmail.com wrote: 2013/3/28 Peter Crosthwaite peter.crosthwa...@xilinx.com: Hi Kuo-Jung, On Mon, Mar 25, 2013 at 10:09 PM, Kuo-Jung Su dant...@gmail.com wrote: From

[Qemu-devel] [PATCH v9 01/24] target-arm: add Faraday ARMv5TE processors support

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com This patch includes the single core support to FA606TE, FA626TE, FA616TE and FA726TE with CP15 Faraday extensions (AUX and I/D-Scratchpad). Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- target-arm/cpu.c | 52

[Qemu-devel] [PATCH v9 03/24] hw/arm: add FTINTC020 interrupt controller support

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTINTC020 interrupt controller supports both FIQ and IRQ signals to the microprocessor. It can handle up to 64 configurable IRQ sources and 64 FIQ sources. The output signals to the microprocessor can be configured as level-high/low active or edge

[Qemu-devel] [PATCH v9 00/24] hw/arm: add Faraday A369 SoC platform support

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com These patches introduce Faraday A369 SoC platform support. Here are some public documents for your reference. http://www.faraday-tech.com/html/documentation/index.html The partial version of faraday cpu datasheet with only the CP15 and MPU description

[Qemu-devel] [PATCH v9 20/24] hw/arm: add FTTSC010 touchscreen controller support

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTTSC010 provides two operation modes to sample the analog input voltage. 1. The manual operation mode needs to program and control the panel drivers by software step-by-step for the x-y position measurement. 2. The auto-scan mode

[Qemu-devel] [PATCH v9 07/24] hw/arm: add FTWDT010 watchdog timer support

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTWDT010 is used to prevent system from infinite loop while software gets trapped in the deadlock. Under the normal operation, users should restart FTWDT010 at the regular intervals before counter counts down to 0. If the counter does reach 0

[Qemu-devel] [PATCH v9 06/24] hw/arm: add FTPWMTMR010 timer support

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTPWMTMR010 is an APB device which provides up to 8 independent timers. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs|2 +- hw/arm/ftplat_a369soc.c | 10 ++ hw/ftpwmtmr010.c| 261

[Qemu-devel] [PATCH v9 04/24] hw/arm: add FTAHBC020 AHB controller support

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com It's used to manage AHB slave devices and also the AHB remap function for slave4 slave6. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs|2 +- hw/arm/ftplat_a369soc.c |9 ++ hw/ftahbc020.c | 216

[Qemu-devel] [PATCH v9 19/24] hw/arm: add FTLCDC200 LCD controller support

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTLCDC200 Color LCD controller performs translation of pixel-coded data into the required formats and timings to drive a variety of single/dual mono and color LCDs. Depending on the LCD type and mode, the unpacked data can represent: 1. an actual

[Qemu-devel] [PATCH v9 18/24] hw/arm: add FTGMAC100 1Gbps ethernet support

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTGMAC100 Ethernet controller has a DMA engine which handles all data transfers between the system memory and on-chip memories. Its DMA engine supports both 16-bits and 32-bits alignment, and thus make it possible to support zero-copy transfer

[Qemu-devel] [PATCH v9 05/24] hw/arm: add FTDDRII030 DDRII controller support

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTDDRII030 is a DDRII SDRAM controller which is responsible for SDRAM initialization. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs|2 +- hw/arm/ftplat_a369soc.c |8 ++ hw/ftddrii030.c | 192

[Qemu-devel] [PATCH v9 23/24] hw/arm: add FTTMR010 timer support

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTTMR010 provides three independent sets of sub-timers. Two match registers are provided for each sub-timer, whenever the value of the match registers equals any one value of the sub-timers, the timer interrupt will be immediately triggered

[Qemu-devel] [PATCH v9 24/24] hw/arm: add FTSPI020 SPI flash controller support

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTSPI020 is an integrated SPI Flash controller which supports up to 4 flash chips. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs |2 +- hw/arm/ftplat_a369.c | 16 +++ hw/ftspi020.c| 341

[Qemu-devel] [PATCH v9 21/24] hw/arm: add FTSDC010 MMC/SD controller support

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTSDC010 is a simple MMC/SD host controller and many of its registers are similar to Arm PrimeCell PL181. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs|2 +- hw/arm/ftplat_a369soc.c |7 + hw/ftsdc010.c

[Qemu-devel] [PATCH v9 02/24] hw/arm: add Faraday a369 SoC platform support

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The Faraday A369 EVB is a Faraday SoC platform evalution board used for Faraday IP functional verification based on the well-known ARM AMBA 2.0 architecture. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs|2 + hw

[Qemu-devel] [PATCH v9 22/24] hw/arm: add FTMAC110 10/100Mbps ethernet support

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTMAC110 is an Ethernet controller that provides AHB master capability and is in full compliance with the IEEE 802.3 10/100 Mbps specifications. Its DMA controller handles all data transfers between system memory and on-chip memories. It supports

[Qemu-devel] [PATCH v9 17/24] qemu/bitops.h: add the bit ordering reversal functions

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- include/qemu/bitops.h | 59 - 1 file changed, 58 insertions(+), 1 deletion(-) diff --git a/include/qemu/bitops.h b/include/qemu/bitops.h index

[Qemu-devel] [PATCH v9 10/24] hw/arm: add FTDMAC020 AHB DMA support

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The Faraday FTDMAC020 provides eight configurable channels for the memory-to-memory, memory-to-peripheral, peripheral-to-peripheral, and peripheral-to-memory transfers. Each DMA channel supports chain transfer and can be programmed to one of the 16

[Qemu-devel] [PATCH v9 08/24] hw/arm: add FTRTC011 RTC timer support

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com It provides separate second, minute, hour, and day counters. The second counter is toggled each second, the minute counter is toggled each minute, the hour counter is toggled each hour, and the day counter is toggled each day. The FTRTC011 provides

[Qemu-devel] [PATCH v9 11/24] hw/arm: add FTAPBBRG020 APB DMA support

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTAPBBRG020 supports the DMA functions for the AHB-to-AHB, AHB-to-APB, APB-to-AHB, and APB-to-APB transactions. The DMA engine can support up to 4 DMA channels (A, B, C, and D) and 15 handshaking channels. A DMA channel granted by the arbiter block

[Qemu-devel] [PATCH v9 14/24] hw: Add AudioCodecClass for wm87xx audio class abstration.

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/Makefile.objs |1 + hw/arm/spitz.c |9 +++-- hw/arm/z2.c|9 +++-- hw/audio.c | 81 +++ hw

[Qemu-devel] [PATCH v9 12/24] hw/arm: add FTNANDC021 nand flash controller support

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTNANDC021 is an integrated NAND flash controller which re-pack the NAND flash command set with a shorter built-in opcode. It also provides a register base interface for user to easily access the underlying NAND flash chips, and also supports HW ECC

[Qemu-devel] [PATCH v9 09/24] tests: add QTest for FTRTC011

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTRTC011 QEMU model is implemented without calender functions. It acts in counter mode only, all the time timezone conversion relies on the c runtime library. (i.e. mktime(), localtime() ...etc) Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com

[Qemu-devel] [PATCH v9 15/24] hw: add WM8731 audio codec support

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Wolfson WM8731 is a simple audio codec for embedded systems. It has 2 input and 1 output ports: ** Input ** 1. Linue-In 2. Microphone ** Output ** 1. Headphone out BTW it's based on hw/wm8750.c with 16-bit I2S support by default. Signed

[Qemu-devel] [PATCH v9 16/24] The FTSSP010 is a multi-function synchronous serial port interface controller which supports SSP, SPI, I2S, AC97 and SPDIF.

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Only I2S and SPI protocol have been implemented in this patch. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs|3 +- hw/arm/ftplat_a369.c| 31 +++ hw/arm/ftplat_a369soc.c | 17 ++ hw/faraday.h

[Qemu-devel] [PATCH v9 13/24] hw/arm: add FTI2C010 I2C controller support

2013-03-25 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTI2C010 is a simple I2C master controller. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs|2 +- hw/arm/ftplat_a369soc.c |6 ++ hw/fti2c010.c | 224

Re: [Qemu-devel] [PATCH v8 05/24] hw/arm: add FTDDRII030 DDRII controller support

2013-03-18 Thread Kuo-Jung Su
2013/3/18 Peter Crosthwaite peter.crosthwa...@xilinx.com: On Mon, Mar 18, 2013 at 11:12 AM, Kuo-Jung Su dant...@gmail.com wrote: 2013/3/16 Peter Crosthwaite peter.crosthwa...@xilinx.com: Hi Kuo-Jung, On Fri, Mar 15, 2013 at 11:13 PM, Kuo-Jung Su dant...@gmail.com wrote: From: Kuo-Jung Su

Re: [Qemu-devel] [PATCH v8 05/24] hw/arm: add FTDDRII030 DDRII controller support

2013-03-18 Thread Kuo-Jung Su
2013/3/18 Peter Maydell peter.mayd...@linaro.org: On 18 March 2013 09:56, Kuo-Jung Su dant...@gmail.com wrote: The FTDDRII030 is responsible for SDRAM initialization. Which means the DDRII SDRAM would not be stabilized until the SDRAM is correctly initialized. = In QEMU

Re: [Qemu-devel] [PATCH v8 00/24] hw/arm: add Faraday A369 SoC platform support

2013-03-17 Thread Kuo-Jung Su
2013/3/15 Peter Maydell peter.mayd...@linaro.org: On 15 March 2013 13:15, Kuo-Jung Su dant...@gmail.com wrote: default-configs/arm-softmmu.mak |1 + hw/Makefile.objs|2 + hw/arm/Makefile.objs| 21 ++ hw/arm/faraday.h| 61 hw/arm

Re: [Qemu-devel] [PATCH v8 05/24] hw/arm: add FTDDRII030 DDRII controller support

2013-03-17 Thread Kuo-Jung Su
2013/3/16 Peter Crosthwaite peter.crosthwa...@xilinx.com: Hi Kuo-Jung, On Fri, Mar 15, 2013 at 11:13 PM, Kuo-Jung Su dant...@gmail.com wrote: From: Kuo-Jung Su dant...@faraday-tech.com The FTDDRII030 is a DDRII SDRAM controller which is responsible for SDRAM initialization. In QEMU we

Re: [Qemu-devel] [PATCH v8 13/24] hw/arm: add FTI2C010 I2C controller support

2013-03-17 Thread Kuo-Jung Su
2013/3/16 Peter Crosthwaite peter.crosthwa...@xilinx.com: On Fri, Mar 15, 2013 at 11:15 PM, Kuo-Jung Su dant...@gmail.com wrote: From: Kuo-Jung Su dant...@faraday-tech.com The FTI2C010 is a simple I2C master controller. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm

[Qemu-devel] [PATCH v8 00/24] hw/arm: add Faraday A369 SoC platform support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com These patches introduce Faraday A369 SoC platform support. Here are some public documents for your reference. http://www.faraday-tech.com/html/documentation/index.html The partial version of faraday cpu datasheet with only the CP15 and MPU description

[Qemu-devel] [PATCH v8 03/24] hw/arm: add FTINTC020 interrupt controller support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTINTC020 interrupt controller supports both FIQ and IRQ signals to the microprocessor. It can handle up to 64 configurable IRQ sources and 64 FIQ sources. The output signals to the microprocessor can be configured as level-high/low active or edge

[Qemu-devel] [PATCH v8 08/24] hw/arm: add FTRTC011 RTC timer support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com It provides separate second, minute, hour, and day counters. The second counter is toggled each second, the minute counter is toggled each minute, the hour counter is toggled each hour, and the day counter is toggled each day. The FTRTC011 provides

[Qemu-devel] [PATCH v8 04/24] hw/arm: add FTAHBC020 AHB controller support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com It's used to perform AHB remap and QEMU RAM initialization when the SDRAM is initialized before AHB remap process activated. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs |1 + hw/arm/faraday_a369_soc.c | 10

[Qemu-devel] [PATCH v8 01/24] target-arm: add Faraday ARMv5TE processors support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com This patch includes the single core support to FA606TE, FA626TE, FA616TE and FA726TE with CP15 Faraday extensions (AUX and I/D-Scratchpad). Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- target-arm/cpu.c | 52

[Qemu-devel] [PATCH v8 06/24] hw/arm: add FTPWMTMR010 timer support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTPWMTMR010 is an APB device which provides up to 8 independent timers. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs |1 + hw/arm/faraday_a369_soc.c | 10 ++ hw/arm/ftpwmtmr010.c | 258

[Qemu-devel] [PATCH v8 07/24] hw/arm: add FTWDT010 watchdog timer support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTWDT010 is used to prevent system from infinite loop while software gets trapped in the deadlock. Under the normal operation, users should restart FTWDT010 at the regular intervals before counter counts down to 0. If the counter does reach 0

[Qemu-devel] [PATCH v8 02/24] hw/arm: add Faraday a369 SoC platform support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The Faraday A369 EVB is a Faraday SoC platform evalution board used for Faraday IP functional verification based on the well-known ARM AMBA 2.0 architecture. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs |3 + hw

[Qemu-devel] [PATCH v8 00/24] hw/arm: add Faraday A369 SoC platform support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com These patches introduce Faraday A369 SoC platform support. Here are some public documents for your reference. http://www.faraday-tech.com/html/documentation/index.html The partial version of faraday cpu datasheet with only the CP15 and MPU description

[Qemu-devel] [PATCH v8 05/24] hw/arm: add FTDDRII030 DDRII controller support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTDDRII030 is a DDRII SDRAM controller which is responsible for SDRAM initialization. In QEMU we emulate only the SDRAM enable function. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs |1 + hw/arm

[Qemu-devel] [PATCH v8 07/24] hw/arm: add FTWDT010 watchdog timer support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTWDT010 is used to prevent system from infinite loop while software gets trapped in the deadlock. Under the normal operation, users should restart FTWDT010 at the regular intervals before counter counts down to 0. If the counter does reach 0

[Qemu-devel] [PATCH v8 03/24] hw/arm: add FTINTC020 interrupt controller support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTINTC020 interrupt controller supports both FIQ and IRQ signals to the microprocessor. It can handle up to 64 configurable IRQ sources and 64 FIQ sources. The output signals to the microprocessor can be configured as level-high/low active or edge

[Qemu-devel] [PATCH v8 08/24] hw/arm: add FTRTC011 RTC timer support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com It provides separate second, minute, hour, and day counters. The second counter is toggled each second, the minute counter is toggled each minute, the hour counter is toggled each hour, and the day counter is toggled each day. The FTRTC011 provides

[Qemu-devel] [PATCH v8 15/24] hw: add WM8731 audio codec support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Wolfson WM8731 is a simple audio codec for embedded systems. It has 2 input and 1 output ports: ** Input ** 1. Linue-In 2. Microphone ** Output ** 1. Headphone out BTW it's based on hw/wm8750.c with 16-bit I2S support by default. Signed

[Qemu-devel] [PATCH v8 06/24] hw/arm: add FTPWMTMR010 timer support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTPWMTMR010 is an APB device which provides up to 8 independent timers. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs |1 + hw/arm/faraday_a369_soc.c | 10 ++ hw/arm/ftpwmtmr010.c | 258

[Qemu-devel] [PATCH v8 22/24] hw/arm: add FTMAC110 10/100Mbps ethernet support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTMAC110 is an Ethernet controller that provides AHB master capability and is in full compliance with the IEEE 802.3 10/100 Mbps specifications. Its DMA controller handles all data transfers between system memory and on-chip memories. It supports

[Qemu-devel] [PATCH v8 09/24] tests: add QTest for FTRTC011

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTRTC011 QEMU model is implemented without calender functions. It acts in counter mode only, all the time timezone conversion relies on the c runtime library. (i.e. mktime(), localtime() ...etc) Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com

[Qemu-devel] [PATCH v8 23/24] hw/arm: add FTTMR010 timer support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTTMR010 provides three independent sets of sub-timers. Two match registers are provided for each sub-timer, whenever the value of the match registers equals any one value of the sub-timers, the timer interrupt will be immediately triggered

[Qemu-devel] [PATCH v8 10/24] hw/arm: add FTDMAC020 AHB DMA support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The Faraday FTDMAC020 provides eight configurable channels for the memory-to-memory, memory-to-peripheral, peripheral-to-peripheral, and peripheral-to-memory transfers. Each DMA channel supports chain transfer and can be programmed to one of the 16

[Qemu-devel] [PATCH v8 11/24] hw/arm: add FTAPBBRG020 APB DMA support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTAPBBRG020 supports the DMA functions for the AHB-to-AHB, AHB-to-APB, APB-to-AHB, and APB-to-APB transactions. The DMA engine can support up to 4 DMA channels (A, B, C, and D) and 15 handshaking channels. A DMA channel granted by the arbiter block

[Qemu-devel] [PATCH v8 14/24] hw: Add AudioCodecClass for wm87xx audio class abstration.

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/Makefile.objs |1 + hw/arm/spitz.c |9 +++-- hw/arm/z2.c|9 +++-- hw/audio_codec.c | 81 +++ hw

[Qemu-devel] [PATCH v8 13/24] hw/arm: add FTI2C010 I2C controller support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTI2C010 is a simple I2C master controller. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs |1 + hw/arm/faraday_a369_soc.c |6 ++ hw/arm/fti2c010.c | 212

[Qemu-devel] [PATCH v8 12/24] hw/arm: add FTNANDC021 nand flash controller support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTNANDC021 is an integrated NAND flash controller which re-pack the NAND flash command set with a shorter built-in opcode. It also provides a register base interface for user to easily access the underlying NAND flash chips, and also supports HW ECC

[Qemu-devel] [PATCH v8 16/24] hw/arm: add FTSSP010 multi-function controller support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTSSP010 is a multi-function synchronous serial port interface controller which supports SSP, SPI, I2S, AC97 and SPDIF. Only I2S and SPI protocol have been implemented in this patch. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm

[Qemu-devel] [PATCH v8 17/24] qemu/bitops.h: add the bit ordering reversal functions

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- include/qemu/bitops.h | 59 - 1 file changed, 58 insertions(+), 1 deletion(-) diff --git a/include/qemu/bitops.h b/include/qemu/bitops.h index

[Qemu-devel] [PATCH v8 19/24] hw/arm: add FTLCDC200 LCD controller support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTLCDC200 Color LCD controller performs translation of pixel-coded data into the required formats and timings to drive a variety of single/dual mono and color LCDs. Depending on the LCD type and mode, the unpacked data can represent: 1. an actual

[Qemu-devel] [PATCH v8 20/24] hw/arm: add FTTSC010 touchscreen controller support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTTSC010 provides two operation modes to sample the analog input voltage. 1. The manual operation mode needs to program and control the panel drivers by software step-by-step for the x-y position measurement. 2. The auto-scan mode

[Qemu-devel] [PATCH v8 21/24] hw/arm: add FTSDC010 MMC/SD controller support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTSDC010 is a simple MMC/SD host controller and many of its registers are similar to Arm PrimeCell PL181. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs |1 + hw/arm/faraday_a369_soc.c |7 + hw/arm

[Qemu-devel] [PATCH v8 18/24] hw/arm: add FTGMAC100 1Gbps ethernet support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTGMAC100 Ethernet controller has a DMA engine which handles all data transfers between the system memory and on-chip memories. Its DMA engine supports both 16-bits and 32-bits alignment, and thus make it possible to support zero-copy transfer

[Qemu-devel] [PATCH v8 02/24] hw/arm: add Faraday a369 SoC platform support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The Faraday A369 EVB is a Faraday SoC platform evalution board used for Faraday IP functional verification based on the well-known ARM AMBA 2.0 architecture. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs |3 + hw

[Qemu-devel] [PATCH v8 24/24] hw/arm: add FTSPI020 SPI flash controller support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTSPI020 is an integrated SPI Flash controller which supports up to 4 flash chips. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs |1 + hw/arm/faraday_a369.c | 16 +++ hw/arm/ftspi020.c | 337

[Qemu-devel] [PATCH v8 01/24] target-arm: add Faraday ARMv5TE processors support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com This patch includes the single core support to FA606TE, FA626TE, FA616TE and FA726TE with CP15 Faraday extensions (AUX and I/D-Scratchpad). Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- target-arm/cpu.c | 52

[Qemu-devel] [PATCH v8 05/24] hw/arm: add FTDDRII030 DDRII controller support

2013-03-15 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTDDRII030 is a DDRII SDRAM controller which is responsible for SDRAM initialization. In QEMU we emulate only the SDRAM enable function. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs |1 + hw/arm

[Qemu-devel] [PATCH v7 00/24] hw/arm: add Faraday A369 SoC platform support

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com These patches introduce Faraday A369 SoC platform support. Here are some public documents for your reference. http://www.faraday-tech.com/html/documentation/index.html The partial version of faraday cpu datasheet with only the CP15 and MPU description

[Qemu-devel] [PATCH v7 03/24] hw/arm: add FTINTC020 interrupt controller support

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTINTC020 interrupt controller supports both FIQ and IRQ signals to the microprocessor. It can handle up to 64 configurable IRQ sources and 64 FIQ sources. The output signals to the microprocessor can be configured as level-high/low active or edge

[Qemu-devel] [PATCH v7 02/24] hw/arm: add Faraday a369 SoC platform support

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The Faraday A369 EVB is a Faraday SoC platform evalution board used for Faraday IP functional verification based on the well-known ARM AMBA 2.0 architecture. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs |3 + hw

[Qemu-devel] [PATCH v7 11/24] hw/arm: add FTAPBBRG020 APB DMA support

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTAPBBRG020 supports the DMA functions for the AHB-to-AHB, AHB-to-APB, APB-to-AHB, and APB-to-APB transactions. The DMA engine can support up to 4 DMA channels (A, B, C, and D) and 15 handshaking channels. A DMA channel granted by the arbiter block

[Qemu-devel] [PATCH v7 01/24] target-arm: add Faraday ARMv5TE processors support

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com This patch includes the single core support to FA606TE, FA626TE, FA616TE and FA726TE with CP15 Faraday extensions (AUX and I/D-Scratchpad). Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- target-arm/cpu.c | 52

[Qemu-devel] [PATCH v7 05/24] hw/arm: add FTDDRII030 DDRII controller support

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTDDRII030 is a DDRII SDRAM controller which is responsible for SDRAM initialization. In QEMU we emulate only the SDRAM enable function. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs |1 + hw/arm

[Qemu-devel] [PATCH v7 09/24] tests: add QTest for FTRTC011

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTRTC011 QEMU model is implemented without calender functions. It acts in counter mode only, all the time timezone conversion relies on the c runtime library. (i.e. mktime(), localtime() ...etc) Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com

[Qemu-devel] [PATCH v7 13/24] hw/arm: add FTI2C010 I2C controller support

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTI2C010 is a simple I2C master controller. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs |1 + hw/arm/faraday_a369_soc.c |6 ++ hw/arm/fti2c010.c | 216

[Qemu-devel] [PATCH v7 04/24] hw/arm: add FTAHBC020 AHB controller support

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com It's used to perform AHB remap and QEMU RAM initialization when the SDRAM is initialized before AHB remap process activated. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs |1 + hw/arm/faraday_a369_soc.c | 10

[Qemu-devel] [PATCH v7 10/24] hw/arm: add FTDMAC020 AHB DMA support

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The Faraday FTDMAC020 provides eight configurable channels for the memory-to-memory, memory-to-peripheral, peripheral-to-peripheral, and peripheral-to-memory transfers. Each DMA channel supports chain transfer and can be programmed to one of the 16

[Qemu-devel] [PATCH v7 06/24] hw/arm: add FTPWMTMR010 timer support

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTPWMTMR010 is an APB device which provides up to 8 independent timers. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs |1 + hw/arm/faraday_a369_soc.c | 10 ++ hw/arm/ftpwmtmr010.c | 264

[Qemu-devel] [PATCH v7 15/24] hw: add WM8731 audio codec support

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Wolfson WM8731 is a simple audio codec for embedded systems. It has 2 input and 1 output ports: ** Input ** 1. Linue-In 2. Microphone ** Output ** 1. Headphone out BTW it's based on hw/wm8750.c with 16-bit I2S support by default. Signed

[Qemu-devel] [PATCH v7 07/24] hw/arm: add FTWDT010 watchdog timer support

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTWDT010 is used to prevent system from infinite loop while software gets trapped in the deadlock. Under the normal operation, users should restart FTWDT010 at the regular intervals before counter counts down to 0. If the counter does reach 0

[Qemu-devel] [PATCH v7 22/24] hw/arm: add FTMAC110 10/100Mbps ethernet support

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTMAC110 is an Ethernet controller that provides AHB master capability and is in full compliance with the IEEE 802.3 10/100 Mbps specifications. Its DMA controller handles all data transfers between system memory and on-chip memories. It supports

[Qemu-devel] [PATCH v7 14/24] hw: add AudioCodecClass for wm87xx audio class abstration.

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/Makefile.objs |1 + hw/arm/spitz.c |9 +++-- hw/arm/z2.c|9 +++-- hw/audio_codec.c | 81 +++ hw

[Qemu-devel] [PATCH v7 08/24] hw/arm: add FTRTC011 RTC timer support

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com It provides separate second, minute, hour, and day counters. The second counter is toggled each second, the minute counter is toggled each minute, the hour counter is toggled each hour, and the day counter is toggled each day. The FTRTC011 provides

[Qemu-devel] [PATCH v7 17/24] qemu/bitops.h: add the bit ordering reversal functions

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- include/qemu/bitops.h | 59 - 1 file changed, 58 insertions(+), 1 deletion(-) diff --git a/include/qemu/bitops.h b/include/qemu/bitops.h index

[Qemu-devel] [PATCH v7 24/24] hw/arm: add FTSPI020 SPI flash controller support

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTSPI020 is an integrated SPI Flash controller which supports up to 4 flash chips. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs |1 + hw/arm/faraday_a369.c | 16 +++ hw/arm/ftspi020.c | 340

[Qemu-devel] [PATCH v7 16/24] hw/arm: add FTSSP010 multi-function controller support

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTSSP010 is a multi-function synchronous serial port interface controller which supports SSP, SPI, I2S, AC97 and SPDIF. Only I2S and SPI protocol have been implemented in this patch. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm

[Qemu-devel] [PATCH v7 18/24] hw/arm: add FTGMAC100 1Gbps ethernet support

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTGMAC100 Ethernet controller has a DMA engine which handles all data transfers between the system memory and on-chip memories. Its DMA engine supports both 16-bits and 32-bits alignment, and thus make it possible to support zero-copy transfer

[Qemu-devel] [PATCH v7 21/24] hw/arm: add FTSDC010 MMC/SD controller support

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTSDC010 is a simple MMC/SD host controller and many of its registers are similar to Arm PrimeCell PL181. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com --- hw/arm/Makefile.objs |1 + hw/arm/faraday_a369_soc.c |7 + hw/arm

[Qemu-devel] [PATCH v7 19/24] hw/arm: add FTLCDC200 LCD controller support

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTLCDC200 Color LCD controller performs translation of pixel-coded data into the required formats and timings to drive a variety of single/dual mono and color LCDs. Depending on the LCD type and mode, the unpacked data can represent: 1. an actual

[Qemu-devel] [PATCH v7 23/24] hw/arm: add FTTMR010 timer support

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTTMR010 provides three independent sets of sub-timers. Two match registers are provided for each sub-timer, whenever the value of the match registers equals any one value of the sub-timers, the timer interrupt will be immediately triggered

[Qemu-devel] [PATCH v7 20/24] hw/arm: add FTTSC010 touchscreen controller support

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTTSC010 provides two operation modes to sample the analog input voltage. 1. The manual operation mode needs to program and control the panel drivers by software step-by-step for the x-y position measurement. 2. The auto-scan mode

[Qemu-devel] [PATCH v7 12/24] hw/arm: add FTNANDC021 nand flash controller support

2013-03-12 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The FTNANDC021 is an integrated NAND flash controller which re-pack the NAND flash command set with a shorter built-in opcode. It also provides a register base interface for user to easily access the underlying NAND flash chips, and also supports HW ECC

Re: [Qemu-devel] [PATCH v6 08/24] hw/arm: add Faraday FTRTC011 RTC timer support

2013-03-07 Thread Kuo-Jung Su
2013/3/7 Paolo Bonzini pbonz...@redhat.com: From Makefile.target, qtest is built when you build softmmu target. I guess there is no need to add --enable-qtest option. However, I don't know how to run qtest... make check-qtest-arm Paolo Got it, thanks. -- Best wishes, Kuo-Jung Su

[Qemu-devel] [PATCH v6 24/24] hw/arm: add Faraday FTSPI020 SPI flash controller support

2013-03-06 Thread Kuo-Jung Su
The FTSPI020 is an integrated SPI Flash controller which supports up to 4 flash chips. Signed-off-by: Kuo-Jung Su dant...@gmail.com --- hw/arm/Makefile.objs |1 + hw/arm/faraday_a369.c | 16 +++ hw/arm/ftspi020.c | 340 + hw/arm

[Qemu-devel] [PATCH v6 15/24] hw: add WM8731 codec support

2013-03-06 Thread Kuo-Jung Su
Wolfson WM8731 is a simple audio codec for embedded systems. It has 2 input and 1 output ports: ** Input ** 1. Linue-In 2. Microphone ** Output ** 1. Headphone out BTW it's based on hw/wm8750.c with 16-bit I2S support by default. Signed-off-by: Kuo-Jung Su dant...@gmail.com

[Qemu-devel] [PATCH v6 23/24] hw/arm: add Faraday FTTMR010 timer support

2013-03-06 Thread Kuo-Jung Su
an overflow occurs. Signed-off-by: Kuo-Jung Su dant...@gmail.com --- hw/arm/Makefile.objs |1 + hw/arm/faraday_a369.c |8 + hw/arm/fttmr010.c | 451 + hw/arm/fttmr010.h | 41 + 4 files changed, 501 insertions(+) create mode 100644 hw

Re: [Qemu-devel] [PATCH v6 07/24] hw/arm: add Faraday FTWDT010 watchdog timer support

2013-03-06 Thread Kuo-Jung Su
2013/3/6 Paolo Bonzini pbonz...@redhat.com: Il 06/03/2013 08:27, Kuo-Jung Su ha scritto: The FTWDT010 is used to prevent system from infinite loop while software gets trapped in the deadlock. Under the normal operation, users should restart FTWDT010 at the regular intervals before counter

Re: [Qemu-devel] [PATCH v6 07/24] hw/arm: add Faraday FTWDT010 watchdog timer support

2013-03-06 Thread Kuo-Jung Su
/linux) ROM: 0x2000 RAM: 0x So I have to register my own reset handler to 1. Undo the ROM/RAM remap (i.e. device_reset(s-ahbc)) 2. Reset CPU - Messaggio originale - Da: Kuo-Jung Su dant...@gmail.com A: Paolo Bonzini pbonz...@redhat.com Inviato: Mercoledì, 6

Re: [Qemu-devel] [PATCH v6 17/24] qemu/bitops.h: add the bit ordering reversal functions stolen from linux

2013-03-06 Thread Kuo-Jung Su
2013/3/6 Paolo Bonzini pbonz...@redhat.com: Il 06/03/2013 08:27, Kuo-Jung Su ha scritto: Signed-off-by: Kuo-Jung Su dant...@gmail.com --- include/qemu/bitops.h | 63 - 1 file changed, 62 insertions(+), 1 deletion(-) diff --git a/include

  1   2   3   >