Hi, This patch series adds support for TNETV107X - a Texas Instruments SOC that shares a number of common features with the Davinci architecture.
Some of the patches included in this series were posted earlier, but have also been included here. The key differences between traditional Davincis and this new SOC are: 1. The SOCs clock architecture includes a new spread-spectrum PLL. Some elements of the clock architecture are reused from Davinci (e.g. LPSC), but the PLL related code is overridden using existing interfaces in "struct clk". 2. The MMR layout on this SOC is substantially different from Davinci. Consequently, the fixed I/O map is a whole lot more convoluted (more so than DA8xx). The net impact here is that IO_ADDRESS() will not work on this SoC, and therefore all mappings have to be through ioremap(). 3. The Davinci reset mechanism (via Timer64 watchdog) will not work on this SoC. This difference has not been addressed here (dummy davinci_wdt_device), but a more "extensible" reset mechanism will need to be established eventually. Despite all efforts, I could not retain a unified build across davinci and tnetv107x devices. The code included in this patch series does not impose such a limitation in itself, but the underlying ARM code fails to build when both 926 and 1176 Kconfig options are set. Changes in this patch series (against v1): 1. Split out GPIO code into gpio-tnetv107x.c 2. Split arch and machine code into separate patches 3. Modified davinci's inlined gpio functions to range check against davinci_soc_info.gpio_num instead of DAVINCI_N_GPIO 4. Implemented Sergei's comments - Cyril. Cyril Chemparathy (16): Davinci: allow SOCs based on other ARM CPUs Davinci: enable timer clock before use Davinci: cpintc host map configuration Davinci: support LPSC SwRstDisable state Davinci: promote da8xx_pinmux_setup() Davinci: tnetv107x pin list Davinci: tnetv107x LPSC modules Davinci: tnetv107x IRQ definitions Davinci: tnetv107x SOC specific header Davinci: tnetv107x cpu types Davinci: tnetv107x edma definitions Davinci: tnetv107x decompresser uart definitions Davinci: simplified debug macros Davinci: tnetv107x gpio implementation Davinci: initial tnetv107x support Davinci: initial tnetv107x evm board support arch/arm/Kconfig | 1 - arch/arm/mach-davinci/Kconfig | 14 + arch/arm/mach-davinci/Makefile | 3 + arch/arm/mach-davinci/board-da830-evm.c | 16 +- arch/arm/mach-davinci/board-da850-evm.c | 20 +- arch/arm/mach-davinci/board-tnetv107x-evm.c | 270 +++++ arch/arm/mach-davinci/clock.c | 12 +- arch/arm/mach-davinci/clock.h | 7 +- arch/arm/mach-davinci/cp_intc.c | 6 +- arch/arm/mach-davinci/devices-tnetv107x.c | 127 +++ arch/arm/mach-davinci/gpio-tnetv107x.c | 155 +++ arch/arm/mach-davinci/include/mach/cp_intc.h | 2 +- arch/arm/mach-davinci/include/mach/cputype.h | 8 + arch/arm/mach-davinci/include/mach/da8xx.h | 6 - arch/arm/mach-davinci/include/mach/debug-macro.S | 37 +- arch/arm/mach-davinci/include/mach/edma.h | 53 + arch/arm/mach-davinci/include/mach/gpio.h | 6 +- arch/arm/mach-davinci/include/mach/hardware.h | 4 +- arch/arm/mach-davinci/include/mach/irqs.h | 97 ++ arch/arm/mach-davinci/include/mach/mux.h | 274 +++++ arch/arm/mach-davinci/include/mach/psc.h | 55 +- arch/arm/mach-davinci/include/mach/serial.h | 6 + arch/arm/mach-davinci/include/mach/tnetv107x.h | 126 +++ arch/arm/mach-davinci/include/mach/uncompress.h | 12 +- arch/arm/mach-davinci/mux.c | 3 +- arch/arm/mach-davinci/psc.c | 3 +- arch/arm/mach-davinci/time.c | 6 +- arch/arm/mach-davinci/tnetv107x.c | 1222 ++++++++++++++++++++++ 28 files changed, 2492 insertions(+), 59 deletions(-) create mode 100644 arch/arm/mach-davinci/board-tnetv107x-evm.c create mode 100644 arch/arm/mach-davinci/devices-tnetv107x.c create mode 100644 arch/arm/mach-davinci/gpio-tnetv107x.c create mode 100644 arch/arm/mach-davinci/include/mach/tnetv107x.h create mode 100644 arch/arm/mach-davinci/tnetv107x.c _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
