Adding Support for SPEAr Platform under ARM architecture
Subsystems (3)
v2 cover Adding Support for SPEAr Platform under ARM architecture
Following set of patches are for adding ST Microelctronics SPEAr Platform under ARM architecture in Linux.
Hierarchy in SPEAr is as follows:
SPEAr (Platform)
- SPEAr3XX (3XX SOC series, based on ARM9)
- SPEAr300 (SOC)
- SPEAr300_EVB (Evaluation Board)
- SPEAr310 (SOC)
- SPEAr310_EVB (Evaluation Board)
- SPEAr320 (SOC)
- SPEAr320_EVB (Evaluation Board)
- SPEAr6XX (6XX SOC series, based on ARM9)
- SPEAr600 (SOC)
- SPEAr600_EVB (Evaluation Board)
- SPEAr13XX (13XX SOC series, based on ARM CORTEXA9)
- SPEAr1300 (SOC)
Current patch will add support for SPEAr3XX and SPEAr6XX family. SPEAr13XX is under development phase.
Changes from V1:
1. Changes done according to review comments
2. Added support for GPIO PL061
3. Removed unnecessary inclusions from defconfigs
4. Removed GPT driver. GPT code merged with time.c
5. Added support for pad multiplexing for spear
Viresh Kumar (12):
ST SPEAr: Added ARM PrimeXsys System Controller SP810 header file ST SPEAr: Added basic header files for SPEAr3xx machine family ST SPEAr: Added basic header files for SPEAr6xx machine family ST SPEAr: Added basic header files for SPEAr platform
ST SPEAr: Added clock framework for SPEAr platform and machines ST SPEAr: Added source files for SPEAr platform
ST SPEAr: Added source files for SPEAr3xx machine family ST SPEAr: Added source files for SPEAr6xx machine family ST SPEAr: Added support for SPEAr platform and machines in arch/arm/ ST SPEAr: Added default configuration files for SPEAr machines ST SPEAr: Updated Maintainers and added Documentation/arm/SPEAr ST SPEAr: Adding gpio pad multiplexing support
Documentation/arm/00-INDEX | 2 + Documentation/arm/SPEAr/overview.txt | 60 ++ MAINTAINERS | 27 + arch/arm/Kconfig | 13 + arch/arm/Makefile | 5 + arch/arm/boot/compressed/vmlinux | Bin 0 -> 1606776 bytes arch/arm/configs/spear300_defconfig | 773 ++++++++++++++++++++ arch/arm/configs/spear310_defconfig | 775 +++++++++++++++++++++ arch/arm/configs/spear320_defconfig | 775 +++++++++++++++++++++ arch/arm/configs/spear600_defconfig | 760 ++++++++++++++++++++ arch/arm/include/asm/hardware/sp810.h | 59 ++ arch/arm/mach-spear3xx/Kconfig | 33 + arch/arm/mach-spear3xx/Kconfig300 | 17 + arch/arm/mach-spear3xx/Kconfig310 | 17 + arch/arm/mach-spear3xx/Kconfig320 | 17 + arch/arm/mach-spear3xx/Makefile | 26 + arch/arm/mach-spear3xx/Makefile.boot | 3 + arch/arm/mach-spear3xx/clock.c | 389 +++++++++++ arch/arm/mach-spear3xx/include/mach/clkdev.h | 19 + arch/arm/mach-spear3xx/include/mach/debug-macro.S | 14 + arch/arm/mach-spear3xx/include/mach/entry-macro.S | 46 ++ arch/arm/mach-spear3xx/include/mach/generic.h | 205 ++++++ arch/arm/mach-spear3xx/include/mach/gpio.h | 19 + arch/arm/mach-spear3xx/include/mach/hardware.h | 20 + arch/arm/mach-spear3xx/include/mach/io.h | 19 + arch/arm/mach-spear3xx/include/mach/irqs.h | 65 ++ arch/arm/mach-spear3xx/include/mach/memory.h | 19 + arch/arm/mach-spear3xx/include/mach/misc_regs.h | 163 +++++ arch/arm/mach-spear3xx/include/mach/spear.h | 144 ++++ arch/arm/mach-spear3xx/include/mach/spear300.h | 67 ++ arch/arm/mach-spear3xx/include/mach/spear310.h | 46 ++ arch/arm/mach-spear3xx/include/mach/spear320.h | 70 ++ arch/arm/mach-spear3xx/include/mach/system.h | 19 + arch/arm/mach-spear3xx/include/mach/timex.h | 19 + arch/arm/mach-spear3xx/include/mach/uncompress.h | 19 + arch/arm/mach-spear3xx/include/mach/vmalloc.h | 19 + arch/arm/mach-spear3xx/spear300.c | 403 +++++++++++ arch/arm/mach-spear3xx/spear300_evb.c | 77 ++ arch/arm/mach-spear3xx/spear310.c | 154 ++++ arch/arm/mach-spear3xx/spear310_evb.c | 84 +++ arch/arm/mach-spear3xx/spear320.c | 399 +++++++++++ arch/arm/mach-spear3xx/spear320_evb.c | 81 +++ arch/arm/mach-spear3xx/spear3xx.c | 548 +++++++++++++++ arch/arm/mach-spear6xx/Kconfig | 20 + arch/arm/mach-spear6xx/Kconfig600 | 17 + arch/arm/mach-spear6xx/Makefile | 12 + arch/arm/mach-spear6xx/Makefile.boot | 3 + arch/arm/mach-spear6xx/clock.c | 483 +++++++++++++ arch/arm/mach-spear6xx/include/mach/clkdev.h | 19 + arch/arm/mach-spear6xx/include/mach/debug-macro.S | 14 + arch/arm/mach-spear6xx/include/mach/entry-macro.S | 55 ++ arch/arm/mach-spear6xx/include/mach/generic.h | 45 ++ arch/arm/mach-spear6xx/include/mach/gpio.h | 19 + arch/arm/mach-spear6xx/include/mach/hardware.h | 21 + arch/arm/mach-spear6xx/include/mach/io.h | 20 + arch/arm/mach-spear6xx/include/mach/irqs.h | 96 +++ arch/arm/mach-spear6xx/include/mach/memory.h | 19 + arch/arm/mach-spear6xx/include/mach/misc_regs.h | 173 +++++ arch/arm/mach-spear6xx/include/mach/spear.h | 173 +++++ arch/arm/mach-spear6xx/include/mach/spear600.h | 21 + arch/arm/mach-spear6xx/include/mach/system.h | 19 + arch/arm/mach-spear6xx/include/mach/timex.h | 19 + arch/arm/mach-spear6xx/include/mach/uncompress.h | 19 + arch/arm/mach-spear6xx/include/mach/vmalloc.h | 19 + arch/arm/mach-spear6xx/spear600.c | 25 + arch/arm/mach-spear6xx/spear600_evb.c | 51 ++ arch/arm/mach-spear6xx/spear6xx.c | 158 +++++ arch/arm/plat-spear/Kconfig | 31 + arch/arm/plat-spear/Makefile | 6 + arch/arm/plat-spear/clock.c | 435 ++++++++++++ arch/arm/plat-spear/include/plat/clkdev.h | 20 + arch/arm/plat-spear/include/plat/clock.h | 126 ++++ arch/arm/plat-spear/include/plat/debug-macro.S | 38 + arch/arm/plat-spear/include/plat/gpio.h | 24 + arch/arm/plat-spear/include/plat/io.h | 22 + arch/arm/plat-spear/include/plat/memory.h | 20 + arch/arm/plat-spear/include/plat/padmux.h | 92 +++ arch/arm/plat-spear/include/plat/system.h | 41 ++ arch/arm/plat-spear/include/plat/timex.h | 19 + arch/arm/plat-spear/include/plat/uncompress.h | 43 ++ arch/arm/plat-spear/include/plat/vmalloc.h | 19 + arch/arm/plat-spear/padmux.c | 164 +++++ arch/arm/plat-spear/time.c | 292 ++++++++ 83 files changed, 9401 insertions(+), 0 deletions(-) create mode 100644 Documentation/arm/SPEAr/overview.txt create mode 100755 arch/arm/boot/compressed/vmlinux create mode 100644 arch/arm/configs/spear300_defconfig create mode 100644 arch/arm/configs/spear310_defconfig create mode 100644 arch/arm/configs/spear320_defconfig create mode 100644 arch/arm/configs/spear600_defconfig create mode 100644 arch/arm/include/asm/hardware/sp810.h create mode 100644 arch/arm/mach-spear3xx/Kconfig create mode 100644 arch/arm/mach-spear3xx/Kconfig300 create mode 100644 arch/arm/mach-spear3xx/Kconfig310 create mode 100644 arch/arm/mach-spear3xx/Kconfig320 create mode 100644 arch/arm/mach-spear3xx/Makefile create mode 100644 arch/arm/mach-spear3xx/Makefile.boot create mode 100755 arch/arm/mach-spear3xx/clock.c create mode 100644 arch/arm/mach-spear3xx/include/mach/clkdev.h create mode 100644 arch/arm/mach-spear3xx/include/mach/debug-macro.S create mode 100644 arch/arm/mach-spear3xx/include/mach/entry-macro.S create mode 100644 arch/arm/mach-spear3xx/include/mach/generic.h create mode 100644 arch/arm/mach-spear3xx/include/mach/gpio.h create mode 100644 arch/arm/mach-spear3xx/include/mach/hardware.h create mode 100644 arch/arm/mach-spear3xx/include/mach/io.h create mode 100644 arch/arm/mach-spear3xx/include/mach/irqs.h create mode 100644 arch/arm/mach-spear3xx/include/mach/memory.h create mode 100755 arch/arm/mach-spear3xx/include/mach/misc_regs.h create mode 100644 arch/arm/mach-spear3xx/include/mach/spear.h create mode 100644 arch/arm/mach-spear3xx/include/mach/spear300.h create mode 100644 arch/arm/mach-spear3xx/include/mach/spear310.h create mode 100644 arch/arm/mach-spear3xx/include/mach/spear320.h create mode 100644 arch/arm/mach-spear3xx/include/mach/system.h create mode 100644 arch/arm/mach-spear3xx/include/mach/timex.h create mode 100644 arch/arm/mach-spear3xx/include/mach/uncompress.h create mode 100644 arch/arm/mach-spear3xx/include/mach/vmalloc.h create mode 100644 arch/arm/mach-spear3xx/spear300.c create mode 100644 arch/arm/mach-spear3xx/spear300_evb.c create mode 100644 arch/arm/mach-spear3xx/spear310.c create mode 100644 arch/arm/mach-spear3xx/spear310_evb.c create mode 100644 arch/arm/mach-spear3xx/spear320.c create mode 100644 arch/arm/mach-spear3xx/spear320_evb.c create mode 100644 arch/arm/mach-spear3xx/spear3xx.c create mode 100644 arch/arm/mach-spear6xx/Kconfig create mode 100644 arch/arm/mach-spear6xx/Kconfig600 create mode 100644 arch/arm/mach-spear6xx/Makefile create mode 100644 arch/arm/mach-spear6xx/Makefile.boot create mode 100755 arch/arm/mach-spear6xx/clock.c create mode 100644 arch/arm/mach-spear6xx/include/mach/clkdev.h create mode 100644 arch/arm/mach-spear6xx/include/mach/debug-macro.S create mode 100644 arch/arm/mach-spear6xx/include/mach/entry-macro.S create mode 100644 arch/arm/mach-spear6xx/include/mach/generic.h create mode 100644 arch/arm/mach-spear6xx/include/mach/gpio.h create mode 100644 arch/arm/mach-spear6xx/include/mach/hardware.h create mode 100644 arch/arm/mach-spear6xx/include/mach/io.h create mode 100755 arch/arm/mach-spear6xx/include/mach/irqs.h create mode 100644 arch/arm/mach-spear6xx/include/mach/memory.h create mode 100755 arch/arm/mach-spear6xx/include/mach/misc_regs.h create mode 100644 arch/arm/mach-spear6xx/include/mach/spear.h create mode 100644 arch/arm/mach-spear6xx/include/mach/spear600.h create mode 100644 arch/arm/mach-spear6xx/include/mach/system.h create mode 100644 arch/arm/mach-spear6xx/include/mach/timex.h create mode 100644 arch/arm/mach-spear6xx/include/mach/uncompress.h create mode 100644 arch/arm/mach-spear6xx/include/mach/vmalloc.h create mode 100644 arch/arm/mach-spear6xx/spear600.c create mode 100644 arch/arm/mach-spear6xx/spear600_evb.c create mode 100644 arch/arm/mach-spear6xx/spear6xx.c create mode 100644 arch/arm/plat-spear/Kconfig create mode 100644 arch/arm/plat-spear/Makefile create mode 100755 arch/arm/plat-spear/clock.c create mode 100644 arch/arm/plat-spear/include/plat/clkdev.h create mode 100755 arch/arm/plat-spear/include/plat/clock.h create mode 100644 arch/arm/plat-spear/include/plat/debug-macro.S create mode 100644 arch/arm/plat-spear/include/plat/gpio.h create mode 100644 arch/arm/plat-spear/include/plat/io.h create mode 100644 arch/arm/plat-spear/include/plat/memory.h create mode 100644 arch/arm/plat-spear/include/plat/padmux.h create mode 100644 arch/arm/plat-spear/include/plat/system.h create mode 100644 arch/arm/plat-spear/include/plat/timex.h create mode 100644 arch/arm/plat-spear/include/plat/uncompress.h create mode 100644 arch/arm/plat-spear/include/plat/vmalloc.h create mode 100644 arch/arm/plat-spear/padmux.c create mode 100644 arch/arm/plat-spear/time.c
PATCH v2 1/12 ST SPEAr: Added ARM PrimeXsys System Controller SP810 header file
--- arch/arm/include/asm/hardware/sp810.h | 59 +++++++++++++++++++++++++++++++++ 1 files changed, 59 insertions(+), 0 deletions(-) create mode 100644 arch/arm/include/asm/hardware/sp810.h
arch/arm/include/asm/hardware/sp810.h new file +59 -0
@@ -0,0 +1,59 @@ +/* +* arch/arm/include/asm/hardware/sp810.h +* +* ARM PrimeXsys System Controller SP810 header file +* +* Copyright (C) 2009 ST Microelectronics +* Viresh Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __ASM_ARM_SP810_H +#define __ASM_ARM_SP810_H + +#include <linux/io.h> + +/* sysctl registers offset */ +#define SCCTRL 0x000 +#define SCSYSSTAT 0x004 +#define SCIMCTRL 0x008 +#define SCIMSTAT 0x00C +#define SCXTALCTRL 0x010 +#define SCPLLCTRL 0x014 +#define SCPLLFCTRL 0x018 +#define SCPERCTRL0 0x01C +#define SCPERCTRL1 0x020 +#define SCPEREN 0x024 +#define SCPERDIS 0x028 +#define SCPERCLKEN 0x02C +#define SCPERSTAT 0x030 +#define SCSYSID0 0xEE0 +#define SCSYSID1 0xEE4 +#define SCSYSID2 0xEE8 +#define SCSYSID3 0xEEC +#define SCITCR 0xF00 +#define SCITIR0 0xF04 +#define SCITIR1 0xF08 +#define SCITOR 0xF0C +#define SCCNTCTRL 0xF10 +#define SCCNTDATA 0xF14 +#define SCCNTSTEP 0xF18 +#define SCPERIPHID0 0xFE0 +#define SCPERIPHID1 0xFE4 +#define SCPERIPHID2 0xFE8 +#define SCPERIPHID3 0xFEC +#define SCPCELLID0 0xFF0 +#define SCPCELLID1 0xFF4 +#define SCPCELLID2 0xFF8 +#define SCPCELLID3 0xFFC + +static inline void sysctl_soft_reset (void __iomem *base) +{ +/* writing any value to SCSYSSTAT reg will reset system */ +writel (0 , base +SCSYSSTAT ); +} + +#endif /* __ASM_ARM_SP810_H */
Signature · 1 line
1.6.0.2
PATCH v2 2/12 ST SPEAr: Added basic header files for SPEAr3xx machine family
--- arch/arm/mach-spear3xx/include/mach/debug-macro.S | 14 ++ arch/arm/mach-spear3xx/include/mach/entry-macro.S | 46 ++++++ arch/arm/mach-spear3xx/include/mach/generic.h | 58 ++++++++ arch/arm/mach-spear3xx/include/mach/gpio.h | 19 +++ arch/arm/mach-spear3xx/include/mach/hardware.h | 20 +++ arch/arm/mach-spear3xx/include/mach/io.h | 19 +++ arch/arm/mach-spear3xx/include/mach/irqs.h | 65 ++++++++ arch/arm/mach-spear3xx/include/mach/memory.h | 19 +++ arch/arm/mach-spear3xx/include/mach/misc_regs.h | 163 +++++++++++++++++++++ arch/arm/mach-spear3xx/include/mach/spear.h | 144 ++++++++++++++++++ arch/arm/mach-spear3xx/include/mach/spear300.h | 67 +++++++++ arch/arm/mach-spear3xx/include/mach/spear310.h | 46 ++++++ arch/arm/mach-spear3xx/include/mach/spear320.h | 70 +++++++++ arch/arm/mach-spear3xx/include/mach/system.h | 19 +++ arch/arm/mach-spear3xx/include/mach/timex.h | 19 +++ arch/arm/mach-spear3xx/include/mach/uncompress.h | 19 +++ arch/arm/mach-spear3xx/include/mach/vmalloc.h | 19 +++ 17 files changed, 826 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-spear3xx/include/mach/debug-macro.S create mode 100644 arch/arm/mach-spear3xx/include/mach/entry-macro.S create mode 100644 arch/arm/mach-spear3xx/include/mach/generic.h create mode 100644 arch/arm/mach-spear3xx/include/mach/gpio.h create mode 100644 arch/arm/mach-spear3xx/include/mach/hardware.h create mode 100644 arch/arm/mach-spear3xx/include/mach/io.h create mode 100644 arch/arm/mach-spear3xx/include/mach/irqs.h create mode 100644 arch/arm/mach-spear3xx/include/mach/memory.h create mode 100755 arch/arm/mach-spear3xx/include/mach/misc_regs.h create mode 100644 arch/arm/mach-spear3xx/include/mach/spear.h create mode 100644 arch/arm/mach-spear3xx/include/mach/spear300.h create mode 100644 arch/arm/mach-spear3xx/include/mach/spear310.h create mode 100644 arch/arm/mach-spear3xx/include/mach/spear320.h create mode 100644 arch/arm/mach-spear3xx/include/mach/system.h create mode 100644 arch/arm/mach-spear3xx/include/mach/timex.h create mode 100644 arch/arm/mach-spear3xx/include/mach/uncompress.h create mode 100644 arch/arm/mach-spear3xx/include/mach/vmalloc.h
arch/arm/mach-spear3xx/include/mach/debug-macro.S new file +14 -0
@@ -0,0 +1,14 @@ +/* + * arch/arm/mach-spear3xx/include/mach/debug-macro.S + * + * Debugging macro include header spear3xx machine family + * + * Copyright (C) 2009 ST Microelectronics + * Viresh Kumar<[email protected]> + * + * This file is licensed under the terms of the GNU General Public + * License version 2. This program is licensed "as is" without any + * warranty of any kind, whether express or implied. + */ + +#include <plat/debug-macro.S>
arch/arm/mach-spear3xx/include/mach/entry-macro.S new file +46 -0
46 lines not on this page · raw message
arch/arm/mach-spear3xx/include/mach/generic.h new file +58 -0
58 lines not on this page · raw message
arch/arm/mach-spear3xx/include/mach/gpio.h new file +19 -0
@@ -0,0 +1,19 @@ +/* +* arch/arm/mach-spear3xx/include/mach/gpio.h +* +* GPIO macros for SPEAr3xx machine family +* +* Copyright (C) 2009 ST Microelectronics +* Viresh Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __MACH_GPIO_H +#define __MACH_GPIO_H + +#include <plat/gpio.h> + +#endif /* __MACH_GPIO_H */
arch/arm/mach-spear3xx/include/mach/hardware.h new file +20 -0
@@ -0,0 +1,20 @@ +/* +* arch/arm/mach-spear3xx/include/mach/hardware.h +* +* Hardware definitions for SPEAr3xx machine family +* +* Copyright (C) 2009 ST Microelectronics +* Viresh Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __MACH_HARDWARE_H +#define __MACH_HARDWARE_H + +/* Vitual to physical translation of statically mapped space */ +#define IO_ADDRESS (x) (x | 0xF0000000) + +#endif /* __MACH_HARDWARE_H */
arch/arm/mach-spear3xx/include/mach/io.h new file +19 -0
@@ -0,0 +1,19 @@ +/* +* arch/arm/mach-spear3xx/include/mach/io.h +* +* IO definitions for SPEAr3xx machine family +* +* Copyright (C) 2009 ST Microelectronics +* Viresh Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __MACH_IO_H +#define __MACH_IO_H + +#include <plat/io.h> + +#endif /* __MACH_IO_H */
arch/arm/mach-spear3xx/include/mach/irqs.h new file +65 -0
65 lines not on this page · raw message
arch/arm/mach-spear3xx/include/mach/memory.h new file +19 -0
@@ -0,0 +1,19 @@ +/* +* arch/arm/mach-spear3xx/include/mach/memory.h +* +* Memory map for SPEAr3xx machine family +* +* Copyright (C) 2009 ST Microelectronics +* Viresh Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __MACH_MEMORY_H +#define __MACH_MEMORY_H + +#include <plat/memory.h> + +#endif /* __MACH_MEMORY_H */
arch/arm/mach-spear3xx/include/mach/misc_regs.h new file +163 -0
163 lines not on this page · raw message
arch/arm/mach-spear3xx/include/mach/spear.h new file +144 -0
144 lines not on this page · raw message
arch/arm/mach-spear3xx/include/mach/spear300.h new file +67 -0
67 lines not on this page · raw message
arch/arm/mach-spear3xx/include/mach/spear310.h new file +46 -0
46 lines not on this page · raw message
arch/arm/mach-spear3xx/include/mach/spear320.h new file +70 -0
70 lines not on this page · raw message
arch/arm/mach-spear3xx/include/mach/system.h new file +19 -0
@@ -0,0 +1,19 @@ +/* +* arch/arm/mach-spear3xx/include/mach/system.h +* +* SPEAr3xx Machine family specific architecture functions +* +* Copyright (C) 2009 ST Microelectronics +* Viresh Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __MACH_SYSTEM_H +#define __MACH_SYSTEM_H + +#include <plat/system.h> + +#endif /* __MACH_SYSTEM_H */
arch/arm/mach-spear3xx/include/mach/timex.h new file +19 -0
@@ -0,0 +1,19 @@ +/* +* arch/arm/mach-spear3xx/include/mach/timex.h +* +* SPEAr3XX machine family specific timex definitions +* +* Copyright (C) 2009 ST Microelectronics +* Viresh Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __MACH_TIMEX_H +#define __MACH_TIMEX_H + +#include <plat/timex.h> + +#endif /* __MACH_TIMEX_H */
arch/arm/mach-spear3xx/include/mach/uncompress.h new file +19 -0
@@ -0,0 +1,19 @@ +/* +* arch/arm/mach-spear3xx/include/mach/uncompress.h +* +* Serial port stubs for kernel decompress status messages +* +* Copyright (C) 2009 ST Microelectronics +* Viresh Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __MACH_UNCOMPRESS_H +#define __MACH_UNCOMPRESS_H + +#include <plat/uncompress.h> + +#endif /* __MACH_UNCOMPRESS_H */
arch/arm/mach-spear3xx/include/mach/vmalloc.h new file +19 -0
@@ -0,0 +1,19 @@ +/* +* arch/arm/mach-spear3xx/include/mach/vmalloc.h +* +* Defining Vmalloc area for SPEAr3xx machine family +* +* Copyright (C) 2009 ST Microelectronics +* Viresh Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __MACH_VMALLOC_H +#define __MACH_VMALLOC_H + +#include <plat/vmalloc.h> + +#endif /* __MACH_VMALLOC_H */
Signature · 1 line
1.6.0.2
PATCH v2 3/12 ST SPEAr: Added basic header files for SPEAr6xx machine family
--- arch/arm/mach-spear6xx/include/mach/debug-macro.S | 14 ++ arch/arm/mach-spear6xx/include/mach/entry-macro.S | 55 +++++++ arch/arm/mach-spear6xx/include/mach/generic.h | 45 ++++++ arch/arm/mach-spear6xx/include/mach/gpio.h | 19 +++ arch/arm/mach-spear6xx/include/mach/hardware.h | 21 +++ arch/arm/mach-spear6xx/include/mach/io.h | 20 +++ arch/arm/mach-spear6xx/include/mach/irqs.h | 96 ++++++++++++ arch/arm/mach-spear6xx/include/mach/memory.h | 19 +++ arch/arm/mach-spear6xx/include/mach/misc_regs.h | 173 +++++++++++++++++++++ arch/arm/mach-spear6xx/include/mach/spear.h | 173 +++++++++++++++++++++ arch/arm/mach-spear6xx/include/mach/spear600.h | 21 +++ arch/arm/mach-spear6xx/include/mach/system.h | 19 +++ arch/arm/mach-spear6xx/include/mach/timex.h | 19 +++ arch/arm/mach-spear6xx/include/mach/uncompress.h | 19 +++ arch/arm/mach-spear6xx/include/mach/vmalloc.h | 19 +++ 15 files changed, 732 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-spear6xx/include/mach/debug-macro.S create mode 100644 arch/arm/mach-spear6xx/include/mach/entry-macro.S create mode 100644 arch/arm/mach-spear6xx/include/mach/generic.h create mode 100644 arch/arm/mach-spear6xx/include/mach/gpio.h create mode 100644 arch/arm/mach-spear6xx/include/mach/hardware.h create mode 100644 arch/arm/mach-spear6xx/include/mach/io.h create mode 100755 arch/arm/mach-spear6xx/include/mach/irqs.h create mode 100644 arch/arm/mach-spear6xx/include/mach/memory.h create mode 100755 arch/arm/mach-spear6xx/include/mach/misc_regs.h create mode 100644 arch/arm/mach-spear6xx/include/mach/spear.h create mode 100644 arch/arm/mach-spear6xx/include/mach/spear600.h create mode 100644 arch/arm/mach-spear6xx/include/mach/system.h create mode 100644 arch/arm/mach-spear6xx/include/mach/timex.h create mode 100644 arch/arm/mach-spear6xx/include/mach/uncompress.h create mode 100644 arch/arm/mach-spear6xx/include/mach/vmalloc.h
arch/arm/mach-spear6xx/include/mach/debug-macro.S new file +14 -0
@@ -0,0 +1,14 @@ +/* + * arch/arm/mach-spear6xx/include/mach/debug-macro.S + * + * Debugging macro include header for SPEAr6xx machine family + * + * Copyright (C) 2009 ST Microelectronics + * Rajeev Kumar<[email protected]> + * + * This file is licensed under the terms of the GNU General Public + * License version 2. This program is licensed "as is" without any + * warranty of any kind, whether express or implied. + */ + +#include <plat/debug-macro.S>
arch/arm/mach-spear6xx/include/mach/entry-macro.S new file +55 -0
55 lines not on this page · raw message
arch/arm/mach-spear6xx/include/mach/generic.h new file +45 -0
45 lines not on this page · raw message
arch/arm/mach-spear6xx/include/mach/gpio.h new file +19 -0
@@ -0,0 +1,19 @@ +/* +* arch/arm/mach-spear6xx/include/mach/gpio.h +* +* GPIO macros for SPEAr6xx machine family +* +* Copyright (C) 2009 ST Microelectronics +* Viresh Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __MACH_GPIO_H +#define __MACH_GPIO_H + +#include <plat/gpio.h> + +#endif /* __MACH_GPIO_H */
arch/arm/mach-spear6xx/include/mach/hardware.h new file +21 -0
@@ -0,0 +1,21 @@ +/* +* arch/arm/mach-spear6xx/include/mach/hardware.h +* +* Hardware definitions for SPEAr6xx machine family +* +* Copyright (C) 2009 ST Microelectronics +* Rajeev Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __MACH_HARDWARE_H +#define __MACH_HARDWARE_H + +/* Vitual to physical translation of statically mapped space */ +#define IO_ADDRESS (x) (x | 0xF0000000) + +#endif /* __MACH_HARDWARE_H */ +
arch/arm/mach-spear6xx/include/mach/io.h new file +20 -0
@@ -0,0 +1,20 @@ +/* +* arch/arm/mach-spear6xx/include/mach/io.h +* +* IO definitions for SPEAr6xx machine family +* +* Copyright (C) 2009 ST Microelectronics +* Rajeev Kumar Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __MACH_IO_H +#define __MACH_IO_H + +#include <plat/io.h> + +#endif /* __MACH_IO_H */ +
arch/arm/mach-spear6xx/include/mach/irqs.h new file +96 -0
96 lines not on this page · raw message
arch/arm/mach-spear6xx/include/mach/memory.h new file +19 -0
@@ -0,0 +1,19 @@ +/* +* arch/arm/mach-spear6xx/include/mach/memory.h +* +* Memory map for SPEAr6xx machine family +* +* Copyright (C) 2009 ST Microelectronics +* Rajeev Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __MACH_MEMORY_H +#define __MACH_MEMORY_H + +#include <plat/memory.h> + +#endif /* __MACH_MEMORY_H */
arch/arm/mach-spear6xx/include/mach/misc_regs.h new file +173 -0
173 lines not on this page · raw message
arch/arm/mach-spear6xx/include/mach/spear.h new file +173 -0
173 lines not on this page · raw message
arch/arm/mach-spear6xx/include/mach/spear600.h new file +21 -0
@@ -0,0 +1,21 @@ +/* +* arch/arm/mach-spear66xx/include/mach/spear600.h +* +* SPEAr600 Machine specific definition +* +* Copyright (C) 2009 ST Microelectronics +* Viresh Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifdef CONFIG_MACH_SPEAR600 + +#ifndef __MACH_SPEAR600_H +#define __MACH_SPEAR600_H + +#endif /* __MACH_SPEAR600_H */ + +#endif /* CONFIG_MACH_SPEAR600 */
arch/arm/mach-spear6xx/include/mach/system.h new file +19 -0
@@ -0,0 +1,19 @@ +/* +* arch/arm/mach-spear6xx/include/mach/system.h +* +* SPEAr6xx Machine family specific architecture functions +* +* Copyright (C) 2009 ST Microelectronics +* Rajeev Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __MACH_SYSTEM_H +#define __MACH_SYSTEM_H + +#include <plat/system.h> + +#endif /* __MACH_SYSTEM_H */
arch/arm/mach-spear6xx/include/mach/timex.h new file +19 -0
@@ -0,0 +1,19 @@ +/* +* arch/arm/mach-spear6xx/include/mach/timex.h +* +* SPEAr6XX machine family specific timex definitions +* +* Copyright (C) 2009 ST Microelectronics +* Rajeev Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __MACH_TIMEX_H +#define __MACH_TIMEX_H + +#include <plat/timex.h> + +#endif /* __MACH_TIMEX_H */
arch/arm/mach-spear6xx/include/mach/uncompress.h new file +19 -0
@@ -0,0 +1,19 @@ +/* +* arch/arm/mach-spear6xx/include/mach/uncompress.h +* +* Serial port stubs for kernel decompress status messages +* +* Copyright (C) 2009 ST Microelectronics +* Rajeev Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __MACH_UNCOMPRESS_H +#define __MACH_UNCOMPRESS_H + +#include <plat/uncompress.h> + +#endif /* __MACH_UNCOMPRESS_H */
arch/arm/mach-spear6xx/include/mach/vmalloc.h new file +19 -0
@@ -0,0 +1,19 @@ +/* +* arch/arm/mach-spear6xx/include/mach/vmalloc.h +* +* Defining Vmalloc area for SPEAr6xx machine family +* +* Copyright (C) 2009 ST Microelectronics +* Rajeev Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __MACH_VMALLOC_H +#define __MACH_VMALLOC_H + +#include <plat/vmalloc.h> + +#endif /* __MACH_VMALLOC_H */
Signature · 1 line
1.6.0.2
PATCH v2 4/12 ST SPEAr: Added basic header files for SPEAr platform
--- arch/arm/plat-spear/include/plat/debug-macro.S | 38 +++++++++++++++++++++ arch/arm/plat-spear/include/plat/gpio.h | 24 +++++++++++++ arch/arm/plat-spear/include/plat/io.h | 22 ++++++++++++ arch/arm/plat-spear/include/plat/memory.h | 20 +++++++++++ arch/arm/plat-spear/include/plat/system.h | 41 ++++++++++++++++++++++ arch/arm/plat-spear/include/plat/timex.h | 19 ++++++++++ arch/arm/plat-spear/include/plat/uncompress.h | 43 ++++++++++++++++++++++++ arch/arm/plat-spear/include/plat/vmalloc.h | 19 ++++++++++ 8 files changed, 226 insertions(+), 0 deletions(-) create mode 100644 arch/arm/plat-spear/include/plat/debug-macro.S create mode 100644 arch/arm/plat-spear/include/plat/gpio.h create mode 100644 arch/arm/plat-spear/include/plat/io.h create mode 100644 arch/arm/plat-spear/include/plat/memory.h create mode 100644 arch/arm/plat-spear/include/plat/system.h create mode 100644 arch/arm/plat-spear/include/plat/timex.h create mode 100644 arch/arm/plat-spear/include/plat/uncompress.h create mode 100644 arch/arm/plat-spear/include/plat/vmalloc.h
arch/arm/plat-spear/include/plat/debug-macro.S new file +38 -0
@@ -0,0 +1,38 @@ +/* + * arch/arm/plat-spear/include/plat/debug-macro.S + * + * Debugging macro include header for spear platform + * + * Copyright (C) 2009 ST Microelectronics + * Viresh Kumar<[email protected]> + * + * This file is licensed under the terms of the GNU General Public + * License version 2. This program is licensed "as is" without any + * warranty of any kind, whether express or implied. + */ + +#include <linux/amba/serial.h> +#include <mach/spear.h> + + .macro addruart, rx + mrc p15, 0, \rx, c1, c0 + tst \rx, #1 @ MMU enabled? + moveq \rx, =SPEAR_DBG_UART_BASE @ Physical base + movne \rx, =VA_SPEAR_DBG_UART_BASE @ Virtual base + .endm + + .macro senduart, rd, rx + strb \rd, [\rx, #UART01x_DR] @ ASC_TX_BUFFER + .endm + + .macro waituart, rd, rx +1001: ldr \rd, [\rx, #UART01x_FR] @ FLAG REGISTER + tst \rd, #UART01x_FR_TXFF @ TX_FULL + bne 1001b + .endm + + .macro busyuart, rd, rx +1002: ldr \rd, [\rx, #UART01x_FR] @ FLAG REGISTER + tst \rd, #UART011_FR_TXFE @ TX_EMPTY + beq 1002b + .endm
arch/arm/plat-spear/include/plat/gpio.h new file +24 -0
@@ -0,0 +1,24 @@ +/* +* arch/arm/plat-spear/include/plat/gpio.h +* +* GPIO macros for SPEAr platform +* +* Copyright (C) 2009 ST Microelectronics +* Viresh Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __PLAT_GPIO_H +#define __PLAT_GPIO_H + +#include <asm-generic/gpio.h> + +#define gpio_get_value __gpio_get_value +#define gpio_set_value __gpio_set_value +#define gpio_cansleep __gpio_cansleep +#define gpio_to_irq __gpio_to_irq + +#endif /* __PLAT_GPIO_H */
arch/arm/plat-spear/include/plat/io.h new file +22 -0
@@ -0,0 +1,22 @@ +/* +* arch/arm/plat-spear/include/plat/io.h +* +* IO definitions for SPEAr platform +* +* Copyright (C) 2009 ST Microelectronics +* Viresh Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __PLAT_IO_H +#define __PLAT_IO_H + +#define IO_SPACE_LIMIT 0xFFFFFFFF + +#define __io (a) __typesafe_io(a) +#define __mem_pci (a) (a) + +#endif /* __PLAT_IO_H */
arch/arm/plat-spear/include/plat/memory.h new file +20 -0
@@ -0,0 +1,20 @@ +/* +* arch/arm/plat-spear/include/plat/memory.h +* +* Memory map for SPEAr platform +* +* Copyright (C) 2009 ST Microelectronics +* Viresh Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __PLAT_MEMORY_H +#define __PLAT_MEMORY_H + +/* Physical DRAM offset */ +#define PHYS_OFFSET UL(0x00000000) + +#endif /* __PLAT_MEMORY_H */
arch/arm/plat-spear/include/plat/system.h new file +41 -0
41 lines not on this page · raw message
arch/arm/plat-spear/include/plat/timex.h new file +19 -0
@@ -0,0 +1,19 @@ +/* +* arch/arm/plat-spear/include/plat/timex.h +* +* SPEAr platform specific timex definitions +* +* Copyright (C) 2009 ST Microelectronics +* Viresh Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __PLAT_TIMEX_H +#define __PLAT_TIMEX_H + +#define CLOCK_TICK_RATE 48000000 + +#endif /* __PLAT_TIMEX_H */
arch/arm/plat-spear/include/plat/uncompress.h new file +43 -0
43 lines not on this page · raw message
arch/arm/plat-spear/include/plat/vmalloc.h new file +19 -0
@@ -0,0 +1,19 @@ +/* +* arch/arm/plat-spear/include/plat/vmalloc.h +* +* Defining Vmalloc area for SPEAr platform +* +* Copyright (C) 2009 ST Microelectronics +* Viresh Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __PLAT_VMALLOC_H +#define __PLAT_VMALLOC_H + +#define VMALLOC_END 0xF0000000 + +#endif /* __PLAT_VMALLOC_H */
Signature · 1 line
1.6.0.2
PATCH v2 5/12 ST SPEAr: Added clock framework for SPEAr platform and machines
Clock framework for SPEAr is based upon clkdev framework for ARM
--- arch/arm/mach-spear3xx/clock.c | 389 +++++++++++++++++++++ arch/arm/mach-spear3xx/include/mach/clkdev.h | 19 + arch/arm/mach-spear6xx/clock.c | 483 ++++++++++++++++++++++++++ arch/arm/mach-spear6xx/include/mach/clkdev.h | 19 + arch/arm/plat-spear/clock.c | 435 +++++++++++++++++++++++ arch/arm/plat-spear/include/plat/clkdev.h | 20 + arch/arm/plat-spear/include/plat/clock.h | 126 +++++++ 7 files changed, 1491 insertions(+), 0 deletions(-) create mode 100755 arch/arm/mach-spear3xx/clock.c create mode 100644 arch/arm/mach-spear3xx/include/mach/clkdev.h create mode 100755 arch/arm/mach-spear6xx/clock.c create mode 100644 arch/arm/mach-spear6xx/include/mach/clkdev.h create mode 100755 arch/arm/plat-spear/clock.c create mode 100644 arch/arm/plat-spear/include/plat/clkdev.h create mode 100755 arch/arm/plat-spear/include/plat/clock.h
arch/arm/mach-spear3xx/clock.c new file +389 -0
@@ -0,0 +1,389 @@ +/* +* arch/arm/mach-spear3xx/clock.c +* +* SPEAr3xx machines clock framework source file +* +* Copyright (C) 2009 ST Microelectronics +* Viresh Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#include <linux/init.h> +#include <linux/kernel.h> +#include <mach/misc_regs.h> +#include <plat/clock.h> + +/* root clks */ +/* 32 KHz oscillator clock */ +static struct clk osc_32k_clk = { + .flags =ALWAYS_ENABLED , + .rate =32000 , +}; + +/* 24 MHz oscillator clock */ +static struct clk osc_24m_clk = { + .flags =ALWAYS_ENABLED , + .rate =24000000 , +}; + +/* clock derived from 32 KHz osc clk */ +/* rtc clock */ +static struct clk rtc_clk = { + .pclk = &osc_32k_clk, + .en_reg =PERIP1_CLK_ENB , + .en_reg_bit =RTC_CLK_ENB , + .recalc = &follow_parent, +}; + +/* clock derived from 24 MHz osc clk */ +/* pll1 configuration structure */ +static struct pll_clk_config pll1_config = { + .mode_reg =PLL1_CTR , + .cfg_reg =PLL1_FRQ , +}; + +/* PLL1 clock */ +static struct clk pll1_clk = { + .pclk = &osc_24m_clk, + .en_reg =PLL1_CTR , + .en_reg_bit =PLL_ENABLE , + .recalc = &pll1_clk_recalc, + .private_data = &pll1_config, +}; + +/* PLL3 48 MHz clock */ +static struct clk pll3_48m_clk = { + .flags =ALWAYS_ENABLED , + .pclk = &osc_24m_clk, + .rate =48000000 , +}; + +/* watch dog timer clock */ +static struct clk wdt_clk = { + .flags =ALWAYS_ENABLED , + .pclk = &osc_24m_clk, + .recalc = &follow_parent, +}; + +/* clock derived from pll1 clk */ +/* cpu clock */ +static struct clk cpu_clk = { + .flags =ALWAYS_ENABLED , + .pclk = &pll1_clk, + .recalc = &follow_parent, +}; + +/* ahb configuration structure */ +static struct bus_clk_config ahb_config = { + .reg =CORE_CLK_CFG , + .mask =PLL_HCLK_RATIO_MASK , + .shift =PLL_HCLK_RATIO_SHIFT , +}; + +/* ahb clock */ +static struct clk ahb_clk = { + .flags =ALWAYS_ENABLED , + .pclk = &pll1_clk, + .recalc = &bus_clk_recalc, + .private_data = &ahb_config, +}; + +/* uart configurations */ +static struct aux_clk_config uart_config = { + .synth_reg =UART_CLK_SYNT , +}; + +/* uart parents */ +static struct pclk_info uart_pclk_info[] = { + { + .pclk = &pll1_clk, + .pclk_mask =AUX_CLK_PLL1_MASK , + .scalable =1 , + }, { + .pclk = &pll3_48m_clk, + .pclk_mask =AUX_CLK_PLL3_MASK , + .scalable =0 , + }, +}; + +/* uart parent select structure */ +static struct pclk_sel uart_pclk_sel = { + .pclk_info = uart_pclk_info, + .pclk_count =ARRAY_SIZE (uart_pclk_info), + .pclk_sel_reg =PERIP_CLK_CFG , + .pclk_sel_mask =UART_CLK_MASK , +}; + +/* uart clock */ +static struct clk uart_clk = { + .en_reg =PERIP1_CLK_ENB , + .en_reg_bit =UART_CLK_ENB , + .pclk_sel = &uart_pclk_sel, + .pclk_sel_shift =UART_CLK_SHIFT , + .recalc = &aux_clk_recalc, + .private_data = &uart_config, +}; + +/* firda configurations */ +static struct aux_clk_config firda_config = { + .synth_reg =FIRDA_CLK_SYNT , +}; + +/* firda parents */ +static struct pclk_info firda_pclk_info[] = { + { + .pclk = &pll1_clk, + .pclk_mask =AUX_CLK_PLL1_MASK , + .scalable =1 , + }, { + .pclk = &pll3_48m_clk, + .pclk_mask =AUX_CLK_PLL3_MASK , + .scalable =0 , + }, +}; + +/* firda parent select structure */ +static struct pclk_sel firda_pclk_sel = { + .pclk_info = firda_pclk_info, + .pclk_count =ARRAY_SIZE (firda_pclk_info), + .pclk_sel_reg =PERIP_CLK_CFG , + .pclk_sel_mask =FIRDA_CLK_MASK , +}; + +/* firda clock */ +static struct clk firda_clk = { + .en_reg =PERIP1_CLK_ENB , + .en_reg_bit =FIRDA_CLK_ENB , + .pclk_sel = &firda_pclk_sel, + .pclk_sel_shift =FIRDA_CLK_SHIFT , + .recalc = &aux_clk_recalc, + .private_data = &firda_config, +}; + +/* gpt parents */ +static struct pclk_info gpt_pclk_info[] = { + { + .pclk = &pll1_clk, + .pclk_mask =AUX_CLK_PLL1_MASK , + .scalable =1 , + }, { + .pclk = &pll3_48m_clk, + .pclk_mask =AUX_CLK_PLL3_MASK , + .scalable =0 , + }, +}; + +/* gpt parent select structure */ +static struct pclk_sel gpt_pclk_sel = { + .pclk_info = gpt_pclk_info, + .pclk_count =ARRAY_SIZE (gpt_pclk_info), + .pclk_sel_reg =PERIP_CLK_CFG , + .pclk_sel_mask =GPT_CLK_MASK , +}; + +/* gpt0 configurations */ +static struct aux_clk_config gpt0_config = { + .synth_reg =PRSC1_CLK_CFG , +}; + +/* gpt0 timer clock */ +static struct clk gpt0_clk = { + .flags =ALWAYS_ENABLED , + .pclk_sel = &gpt_pclk_sel, + .pclk_sel_shift =GPT0_CLK_SHIFT , + .recalc = &gpt_clk_recalc, + .private_data = &gpt0_config, +}; + +/* gpt1 configurations */ +static struct aux_clk_config gpt1_config = { + .synth_reg =PRSC2_CLK_CFG , +}; + +/* gpt1 timer clock */ +static struct clk gpt1_clk = { + .en_reg =PERIP1_CLK_ENB , + .en_reg_bit =GPT1_CLK_ENB , + .pclk_sel = &gpt_pclk_sel, + .pclk_sel_shift =GPT1_CLK_SHIFT , + .recalc = &gpt_clk_recalc, + .private_data = &gpt1_config, +}; + +/* gpt2 configurations */ +static struct aux_clk_config gpt2_config = { + .synth_reg =PRSC3_CLK_CFG , +}; + +/* gpt2 timer clock */ +static struct clk gpt2_clk = { + .en_reg =PERIP1_CLK_ENB , + .en_reg_bit =GPT2_CLK_ENB , + .pclk_sel = &gpt_pclk_sel, + .pclk_sel_shift =GPT2_CLK_SHIFT , + .recalc = &gpt_clk_recalc, + .private_data = &gpt2_config, +}; + +/* clock derived from pll3 clk */ +/* usbh clock */ +static struct clk usbh_clk = { + .pclk = &pll3_48m_clk, + .en_reg =PERIP1_CLK_ENB , + .en_reg_bit =USBH_CLK_ENB , + .recalc = &follow_parent, +}; + +/* usbd clock */ +static struct clk usbd_clk = { + .pclk = &pll3_48m_clk, + .en_reg =PERIP1_CLK_ENB , + .en_reg_bit =USBD_CLK_ENB , + .recalc = &follow_parent, +}; + +/* clcd clock */ +static struct clk clcd_clk = { + .flags =ALWAYS_ENABLED , + .pclk = &pll3_48m_clk, + .recalc = &follow_parent, +}; + +/* clock derived from ahb clk */ +/* apb configuration structure */ +static struct bus_clk_config apb_config = { + .reg =CORE_CLK_CFG , + .mask =HCLK_PCLK_RATIO_MASK , + .shift =HCLK_PCLK_RATIO_SHIFT , +}; + +/* apb clock */ +static struct clk apb_clk = { + .flags =ALWAYS_ENABLED , + .pclk = &ahb_clk, + .recalc = &bus_clk_recalc, + .private_data = &apb_config, +}; + +/* i2c clock */ +static struct clk i2c_clk = { + .pclk = &ahb_clk, + .en_reg =PERIP1_CLK_ENB , + .en_reg_bit =I2C_CLK_ENB , + .recalc = &follow_parent, +}; + +/* dma clock */ +static struct clk dma_clk = { + .pclk = &ahb_clk, + .en_reg =PERIP1_CLK_ENB , + .en_reg_bit =DMA_CLK_ENB , + .recalc = &follow_parent, +}; + +/* jpeg clock */ +static struct clk jpeg_clk = { + .pclk = &ahb_clk, + .en_reg =PERIP1_CLK_ENB , + .en_reg_bit =JPEG_CLK_ENB , + .recalc = &follow_parent, +}; + +/* gmac clock */ +static struct clk gmac_clk = { + .pclk = &ahb_clk, + .en_reg =PERIP1_CLK_ENB , + .en_reg_bit =GMAC_CLK_ENB , + .recalc = &follow_parent, +}; + +/* smi clock */ +static struct clk smi_clk = { + .pclk = &ahb_clk, + .en_reg =PERIP1_CLK_ENB , + .en_reg_bit =SMI_CLK_ENB , + .recalc = &follow_parent, +}; + +/* c3 clock */ +static struct clk c3_clk = { + .pclk = &ahb_clk, + .en_reg =PERIP1_CLK_ENB , + .en_reg_bit =C3_CLK_ENB , + .recalc = &follow_parent, +}; + +/* clock derived from apb clk */ +/* adc clock */ +static struct clk adc_clk = { + .pclk = &apb_clk, + .en_reg =PERIP1_CLK_ENB , + .en_reg_bit =ADC_CLK_ENB , + .recalc = &follow_parent, +}; + +/* ssp clock */ +static struct clk ssp_clk = { + .pclk = &apb_clk, + .en_reg =PERIP1_CLK_ENB , + .en_reg_bit =SSP_CLK_ENB , + .recalc = &follow_parent, +}; + +/* gpio clock */ +static struct clk gpio_clk = { + .pclk = &apb_clk, + .en_reg =PERIP1_CLK_ENB , + .en_reg_bit =GPIO_CLK_ENB , + .recalc = &follow_parent, +}; + +/* array of all spear 3xx clock lookups */ +static struct clk_lookup spear_clk_lookups[] = { +/* root clks */ + { .con_id ="osc_32k_clk" , .clk = &osc_32k_clk}, + { .con_id ="osc_24m_clk" , .clk = &osc_24m_clk}, +/* clock derived from 32 KHz osc clk */ + { .dev_id ="rtc" , .clk = &rtc_clk}, +/* clock derived from 24 MHz osc clk */ + { .con_id ="pll1_clk" , .clk = &pll1_clk}, + { .con_id ="pll3_48m_clk" , .clk = &pll3_48m_clk}, + { .dev_id ="wdt" , .clk = &wdt_clk}, +/* clock derived from pll1 clk */ + { .con_id ="cpu_clk" , .clk = &cpu_clk}, + { .con_id ="ahb_clk" , .clk = &ahb_clk}, + { .dev_id ="uart" , .clk = &uart_clk}, + { .dev_id ="firda" , .clk = &firda_clk}, + { .dev_id ="gpt0" , .clk = &gpt0_clk}, + { .dev_id ="gpt1" , .clk = &gpt1_clk}, + { .dev_id ="gpt2" , .clk = &gpt2_clk}, +/* clock derived from pll3 clk */ + { .dev_id ="usbh" , .clk = &usbh_clk}, + { .dev_id ="usbd" , .clk = &usbd_clk}, + { .dev_id ="clcd" , .clk = &clcd_clk}, +/* clock derived from ahb clk */ + { .con_id ="apb_clk" , .clk = &apb_clk}, + { .dev_id ="i2c" , .clk = &i2c_clk}, + { .dev_id ="dma" , .clk = &dma_clk}, + { .dev_id ="jpeg" , .clk = &jpeg_clk}, + { .dev_id ="gmac" , .clk = &gmac_clk}, + { .dev_id ="smi" , .clk = &smi_clk}, + { .dev_id ="c3" , .clk = &c3_clk}, +/* clock derived from apb clk */ + { .dev_id ="adc" , .clk = &adc_clk}, + { .dev_id ="ssp" , .clk = &ssp_clk}, + { .dev_id ="gpio" , .clk = &gpio_clk}, +}; + +void __init clk_init (void ) +{ +int i; + +for (i =0 ; i <ARRAY_SIZE (spear_clk_lookups); i++) +clk_register (&spear_clk_lookups[i]); + +recalc_root_clocks (); +}
arch/arm/mach-spear3xx/include/mach/clkdev.h new file +19 -0
@@ -0,0 +1,19 @@ +/* +* arch/arm/mach-spear3xx/include/mach/clkdev.h +* +* Clock Dev framework definitions for SPEAr3xx machine family +* +* Copyright (C) 2009 ST Microelectronics +* Viresh Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __MACH_CLKDEV_H +#define __MACH_CLKDEV_H + +#include <plat/clkdev.h> + +#endif /* __MACH_CLKDEV_H */
arch/arm/mach-spear6xx/clock.c new file +483 -0
483 lines not on this page · raw message
arch/arm/mach-spear6xx/include/mach/clkdev.h new file +19 -0
@@ -0,0 +1,19 @@ +/* +* arch/arm/mach-spear6xx/include/mach/clkdev.h +* +* Clock Dev framework definitions for SPEAr6xx machine family +* +* Copyright (C) 2009 ST Microelectronics +* Viresh Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __MACH_CLKDEV_H +#define __MACH_CLKDEV_H + +#include <plat/clkdev.h> + +#endif /* __MACH_CLKDEV_H */
arch/arm/plat-spear/clock.c new file +435 -0
435 lines not on this page · raw message
arch/arm/plat-spear/include/plat/clkdev.h new file +20 -0
@@ -0,0 +1,20 @@ +/* +* arch/arm/plat-spear/include/plat/clkdev.h +* +* Clock Dev framework definitions for SPEAr platform +* +* Copyright (C) 2009 ST Microelectronics +* Viresh Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#ifndef __PLAT_CLKDEV_H +#define __PLAT_CLKDEV_H + +#define __clk_get (clk) ({ 1; }) +#define __clk_put (clk) do { } while (0) + +#endif /* __PLAT_CLKDEV_H */
arch/arm/plat-spear/include/plat/clock.h new file +126 -0
126 lines not on this page · raw message
Signature · 1 line
1.6.0.2
PATCH v2 6/12 ST SPEAr: Added source files for SPEAr platform
--- arch/arm/plat-spear/Kconfig | 31 +++++ arch/arm/plat-spear/Makefile | 6 + arch/arm/plat-spear/time.c | 292 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 329 insertions(+), 0 deletions(-) create mode 100644 arch/arm/plat-spear/Kconfig create mode 100644 arch/arm/plat-spear/Makefile create mode 100644 arch/arm/plat-spear/time.c
arch/arm/plat-spear/Kconfig new file +31 -0
@@ -0,0 +1,31 @@ +# +# SPEAr Platform configuration file +# + +if PLAT_SPEAR + +choice + prompt "ST SPEAr Family" + default ARCH_SPEAR3XX + +config ARCH_SPEAR3XX + bool "SPEAr3XX" + select ARM_VIC + select CPU_ARM926T + help + Supports for ARM's SPEAR3XX family + +config ARCH_SPEAR6XX + bool "SPEAr6XX" + select ARM_VIC + select CPU_ARM926T + help + Supports for ARM's SPEAR6XX family + +endchoice + +# Adding SPEAr machine specific configuration files +source "arch/arm/mach-spear3xx/Kconfig" +source "arch/arm/mach-spear6xx/Kconfig" + +endif
arch/arm/plat-spear/Makefile new file +6 -0
@@ -0,0 +1,6 @@ +# +# SPEAr Platform specific Makefile +# + +# Common support +obj-y := clock.o time.o
arch/arm/plat-spear/time.c new file +292 -0
292 lines not on this page · raw message
Signature · 1 line
1.6.0.2
PATCH v2 7/12 ST SPEAr: Added source files for SPEAr3xx machine family
--- arch/arm/mach-spear3xx/Kconfig | 33 +++++++++++ arch/arm/mach-spear3xx/Kconfig300 | 17 ++++++ arch/arm/mach-spear3xx/Kconfig310 | 17 ++++++ arch/arm/mach-spear3xx/Kconfig320 | 17 ++++++ arch/arm/mach-spear3xx/Makefile | 26 +++++++++ arch/arm/mach-spear3xx/Makefile.boot | 3 + arch/arm/mach-spear3xx/spear300.c | 45 +++++++++++++++ arch/arm/mach-spear3xx/spear300_evb.c | 55 ++++++++++++++++++ arch/arm/mach-spear3xx/spear310.c | 25 ++++++++ arch/arm/mach-spear3xx/spear310_evb.c | 54 +++++++++++++++++ arch/arm/mach-spear3xx/spear320.c | 25 ++++++++ arch/arm/mach-spear3xx/spear320_evb.c | 54 +++++++++++++++++ arch/arm/mach-spear3xx/spear3xx.c | 101 +++++++++++++++++++++++++++++++++ 13 files changed, 472 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-spear3xx/Kconfig create mode 100644 arch/arm/mach-spear3xx/Kconfig300 create mode 100644 arch/arm/mach-spear3xx/Kconfig310 create mode 100644 arch/arm/mach-spear3xx/Kconfig320 create mode 100644 arch/arm/mach-spear3xx/Makefile create mode 100644 arch/arm/mach-spear3xx/Makefile.boot create mode 100644 arch/arm/mach-spear3xx/spear300.c create mode 100644 arch/arm/mach-spear3xx/spear300_evb.c create mode 100644 arch/arm/mach-spear3xx/spear310.c create mode 100644 arch/arm/mach-spear3xx/spear310_evb.c create mode 100644 arch/arm/mach-spear3xx/spear320.c create mode 100644 arch/arm/mach-spear3xx/spear320_evb.c create mode 100644 arch/arm/mach-spear3xx/spear3xx.c
arch/arm/mach-spear3xx/Kconfig new file +33 -0
@@ -0,0 +1,33 @@ +# +# SPEAr3XX Machine configuration file +# + +if ARCH_SPEAR3XX + +choice + prompt "SPEAr3XX Family" + default MACH_SPEAR300 + +config MACH_SPEAR300 + bool "SPEAr300" + help + Supports ST SPEAr300 Machine + +config MACH_SPEAR310 + bool "SPEAr310" + help + Supports ST SPEAr310 Machine + +config MACH_SPEAR320 + bool "SPEAr320" + help + Supports ST SPEAr320 Machine + +endchoice + +# Adding SPEAr3XX machine specific configuration files +source "arch/arm/mach-spear3xx/Kconfig300" +source "arch/arm/mach-spear3xx/Kconfig310" +source "arch/arm/mach-spear3xx/Kconfig320" + +endif #ARCH_SPEAR3XX
arch/arm/mach-spear3xx/Kconfig300 new file +17 -0
@@ -0,0 +1,17 @@ +# +# SPEAr300 machine configuration file +# + +if MACH_SPEAR300 + +choice + prompt "SPEAr300 Boards" + default BOARD_SPEAR300_EVB + +config BOARD_SPEAR300_EVB + bool "SPEAr300 Evaluation Board" + help + Supports ST SPEAr300 Evaluation Board +endchoice + +endif #MACH_SPEAR300
arch/arm/mach-spear3xx/Kconfig310 new file +17 -0
@@ -0,0 +1,17 @@ +# +# SPEAr310 machine configuration file +# + +if MACH_SPEAR310 + +choice + prompt "SPEAr310 Boards" + default BOARD_SPEAR310_EVB + +config BOARD_SPEAR310_EVB + bool "SPEAr310 Evaluation Board" + help + Supports ST SPEAr310 Evaluation Board +endchoice + +endif #MACH_SPEAR310
arch/arm/mach-spear3xx/Kconfig320 new file +17 -0
@@ -0,0 +1,17 @@ +# +# SPEAr320 machine configuration file +# + +if MACH_SPEAR320 + +choice + prompt "SPEAr320 Boards" + default BOARD_SPEAR320_EVB + +config BOARD_SPEAR320_EVB + bool "SPEAr320 Evaluation Board" + help + Supports ST SPEAr320 Evaluation Board +endchoice + +endif #MACH_SPEAR320
arch/arm/mach-spear3xx/Makefile new file +26 -0
@@ -0,0 +1,26 @@ +# +# Makefile for SPEAr3XX machine series +# + +# common files +obj-y += spear3xx.o clock.o + +# spear300 specific files +obj-$(CONFIG_MACH_SPEAR300) += spear300.o + +# spear300 boards files +obj-$(CONFIG_BOARD_SPEAR300_EVB) += spear300_evb.o + + +# spear310 specific files +obj-$(CONFIG_MACH_SPEAR310) += spear310.o + +# spear310 boards files +obj-$(CONFIG_BOARD_SPEAR310_EVB) += spear310_evb.o + + +# spear320 specific files +obj-$(CONFIG_MACH_SPEAR320) += spear320.o + +# spear320 boards files +obj-$(CONFIG_BOARD_SPEAR320_EVB) += spear320_evb.o
arch/arm/mach-spear3xx/Makefile.boot new file +3 -0
@@ -0,0 +1,3 @@ +zreladdr-y := 0x00008000 +params_phys-y := 0x00000100 +initrd_phys-y := 0x00800000
arch/arm/mach-spear3xx/spear300.c new file +45 -0
45 lines not on this page · raw message
arch/arm/mach-spear3xx/spear300_evb.c new file +55 -0
55 lines not on this page · raw message
arch/arm/mach-spear3xx/spear310.c new file +25 -0
@@ -0,0 +1,25 @@ +/* +* arch/arm/mach-spear3xx/spear310.c +* +* SPEAr310 machine source file +* +* Copyright (C) 2009 ST Microelectronics +* Viresh Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#include <linux/ptrace.h> +#include <asm/irq.h> +#include <mach/generic.h> +#include <mach/spear.h> + +/* Add spear310 specific devices here */ + +void __init spear310_init (void ) +{ +/* call spear3xx family common init function */ +spear3xx_init (); +}
arch/arm/mach-spear3xx/spear310_evb.c new file +54 -0
54 lines not on this page · raw message
arch/arm/mach-spear3xx/spear320.c new file +25 -0
@@ -0,0 +1,25 @@ +/* +* arch/arm/mach-spear3xx/spear320.c +* +* SPEAr320 machine source file +* +* Copyright (C) 2009 ST Microelectronics +* Viresh Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#include <linux/ptrace.h> +#include <asm/irq.h> +#include <mach/generic.h> +#include <mach/spear.h> + +/* Add spear320 specific devices here */ + +void __init spear320_init (void ) +{ +/* call spear3xx family common init function */ +spear3xx_init (); +}
arch/arm/mach-spear3xx/spear320_evb.c new file +54 -0
54 lines not on this page · raw message
arch/arm/mach-spear3xx/spear3xx.c new file +101 -0
101 lines not on this page · raw message
Signature · 1 line
1.6.0.2
PATCH v2 8/12 ST SPEAr: Added source files for SPEAr6xx machine family
--- arch/arm/mach-spear6xx/Kconfig | 20 ++++ arch/arm/mach-spear6xx/Kconfig600 | 17 ++++ arch/arm/mach-spear6xx/Makefile | 12 +++ arch/arm/mach-spear6xx/Makefile.boot | 3 + arch/arm/mach-spear6xx/spear600.c | 25 +++++ arch/arm/mach-spear6xx/spear600_evb.c | 51 +++++++++++ arch/arm/mach-spear6xx/spear6xx.c | 158 +++++++++++++++++++++++++++++++++ 7 files changed, 286 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-spear6xx/Kconfig create mode 100644 arch/arm/mach-spear6xx/Kconfig600 create mode 100644 arch/arm/mach-spear6xx/Makefile create mode 100644 arch/arm/mach-spear6xx/Makefile.boot create mode 100644 arch/arm/mach-spear6xx/spear600.c create mode 100644 arch/arm/mach-spear6xx/spear600_evb.c create mode 100644 arch/arm/mach-spear6xx/spear6xx.c
arch/arm/mach-spear6xx/Kconfig new file +20 -0
@@ -0,0 +1,20 @@ +# +# SPEAr6XX Machine configuration file +# + +if ARCH_SPEAR6XX + +choice + prompt "SPEAr6XX Family" + default MACH_SPEAR600 + +config MACH_SPEAR600 + bool "SPEAr600" + help + Supports ST SPEAr600 Machine +endchoice + +# Adding SPEAr6XX machine specific configuration files +source "arch/arm/mach-spear6xx/Kconfig600" + +endif #ARCH_SPEAR6XX
arch/arm/mach-spear6xx/Kconfig600 new file +17 -0
@@ -0,0 +1,17 @@ +# +# SPEAr600 machine configuration file +# + +if MACH_SPEAR600 + +choice + prompt "SPEAr600 Boards" + default BOARD_SPEAR600_EVB + +config BOARD_SPEAR600_EVB + bool "SPEAr600 Evaluation Board" + help + Supports ST SPEAr600 Evaluation Board +endchoice + +endif #MACH_SPEAR600
arch/arm/mach-spear6xx/Makefile new file +12 -0
@@ -0,0 +1,12 @@ +# +# Makefile for SPEAr6XX machine series +# + +# common files +obj-y += clock.o spear6xx.o + +# spear600 specific files +obj-$(CONFIG_MACH_SPEAR600) += spear600.o + +# spear600 boards files +obj-$(CONFIG_BOARD_SPEAR600_EVB) += spear600_evb.o
arch/arm/mach-spear6xx/Makefile.boot new file +3 -0
@@ -0,0 +1,3 @@ +zreladdr-y := 0x00008000 +params_phys-y := 0x00000100 +initrd_phys-y := 0x00800000
arch/arm/mach-spear6xx/spear600.c new file +25 -0
@@ -0,0 +1,25 @@ +/* +* arch/arm/mach-spear6xx/spear600.c +* +* SPEAr600 machine source file +* +* Copyright (C) 2009 ST Microelectronics +* Rajeev Kumar<[email protected]> +* +* This file is licensed under the terms of the GNU General Public +* License version 2. This program is licensed "as is" without any +* warranty of any kind, whether express or implied. +*/ + +#include <linux/ptrace.h> +#include <asm/irq.h> +#include <mach/generic.h> +#include <mach/spear.h> + +/* Add spear600 specific devices here */ + +void __init spear600_init (void ) +{ +/* call spear6xx family common init function */ +spear6xx_init (); +}
arch/arm/mach-spear6xx/spear600_evb.c new file +51 -0
51 lines not on this page · raw message
arch/arm/mach-spear6xx/spear6xx.c new file +158 -0
158 lines not on this page · raw message
Signature · 1 line
1.6.0.2
PATCH v2 9/12 ST SPEAr: Added support for SPEAr platform and machines in arch/arm/
--- arch/arm/Kconfig | 13 +++++++++++++ arch/arm/Makefile | 5 +++++ arch/arm/boot/compressed/vmlinux | Bin 0 -> 1606776 bytes 3 files changed, 18 insertions(+), 0 deletions(-) create mode 100755 arch/arm/boot/compressed/vmlinux
arch/arm/Kconfig +13 -0
@@ -801,6 +801,18 @@ config ARCH_OMAP help Support for TI's OMAP platform (OMAP1 and OMAP2). +config PLAT_SPEAR + bool "ST SPEAr" + select ARM_AMBA + select ARCH_REQUIRE_GPIOLIB + select COMMON_CLKDEV + select GENERIC_CLOCKEVENTS + select GENERIC_GPIO + select GENERIC_TIME + select HAVE_CLK + help + Support for ST's SPEAr platform (SPEAr3xx, SPEAr6xx and SPEAr13xx). + endchoice #
@@ -886,6 +898,7 @@ source "arch/arm/plat-samsung/Kconfig" source "arch/arm/plat-s3c24xx/Kconfig" source "arch/arm/plat-s5p/Kconfig" source "arch/arm/plat-s5pc1xx/Kconfig" +source "arch/arm/plat-spear/Kconfig" if ARCH_S3C2410 source "arch/arm/mach-s3c2400/Kconfig"
arch/arm/Makefile +5 -0
@@ -178,6 +178,10 @@ machine-$(CONFIG_ARCH_VERSATILE) := versatile machine-$(CONFIG_ARCH_W90X900) := w90x900 machine-$(CONFIG_ARCH_NUC93X) := nuc93x machine-$(CONFIG_FOOTBRIDGE) := footbridge +machine-$(CONFIG_MACH_SPEAR300) := spear3xx +machine-$(CONFIG_MACH_SPEAR310) := spear3xx +machine-$(CONFIG_MACH_SPEAR320) := spear3xx +machine-$(CONFIG_MACH_SPEAR600) := spear6xx # Platform directory name. This list is sorted alphanumerically # by CONFIG_* macro name.
@@ -192,6 +196,7 @@ plat-$(CONFIG_PLAT_PXA) := pxa plat-$(CONFIG_PLAT_S3C24XX) := s3c24xx samsung plat-$(CONFIG_PLAT_S5PC1XX) := s5pc1xx samsung plat-$(CONFIG_PLAT_S5P) := s5p samsung +plat-$(CONFIG_PLAT_SPEAR) := spear ifeq ($(CONFIG_ARCH_EBSA110),y) # This is what happens if you forget the IOCS16 line.
arch/arm/boot/compressed/vmlinux new file binary +0 -0
29,536 lines not shown · raw message
Part of this message is not shown here. View the raw message.
PATCH v2 10/12 ST SPEAr: Added default configuration files for SPEAr machines
--- arch/arm/configs/spear300_defconfig | 773 ++++++++++++++++++++++++++++++++++ arch/arm/configs/spear310_defconfig | 775 +++++++++++++++++++++++++++++++++++ arch/arm/configs/spear320_defconfig | 775 +++++++++++++++++++++++++++++++++++ arch/arm/configs/spear600_defconfig | 760 ++++++++++++++++++++++++++++++++++ 4 files changed, 3083 insertions(+), 0 deletions(-) create mode 100644 arch/arm/configs/spear300_defconfig create mode 100644 arch/arm/configs/spear310_defconfig create mode 100644 arch/arm/configs/spear320_defconfig create mode 100644 arch/arm/configs/spear600_defconfig
arch/arm/configs/spear300_defconfig new file +773 -0
@@ -0,0 +1,773 @@ +# +# Automatically generated make config: don't edit +# Linux kernel version: 2.6.32 +# Tue Mar 23 14:36:23 2010 +# +CONFIG_ARM=y +CONFIG_SYS_SUPPORTS_APM_EMULATION=y +CONFIG_GENERIC_GPIO=y +CONFIG_GENERIC_TIME=y +CONFIG_GENERIC_CLOCKEVENTS=y +CONFIG_GENERIC_HARDIRQS=y +CONFIG_STACKTRACE_SUPPORT=y +CONFIG_HAVE_LATENCYTOP_SUPPORT=y +CONFIG_LOCKDEP_SUPPORT=y +CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_HARDIRQS_SW_RESEND=y +CONFIG_GENERIC_IRQ_PROBE=y +CONFIG_RWSEM_GENERIC_SPINLOCK=y +CONFIG_GENERIC_HWEIGHT=y +CONFIG_GENERIC_CALIBRATE_DELAY=y +CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y +CONFIG_VECTORS_BASE=0xffff0000 +CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" +CONFIG_CONSTRUCTORS=y + +# +# General setup +# +CONFIG_EXPERIMENTAL=y +CONFIG_BROKEN_ON_SMP=y +CONFIG_INIT_ENV_ARG_LIMIT=32 +CONFIG_LOCALVERSION="" +CONFIG_LOCALVERSION_AUTO=y +CONFIG_SWAP=y +CONFIG_SYSVIPC=y +CONFIG_SYSVIPC_SYSCTL=y +CONFIG_BSD_PROCESS_ACCT=y +# CONFIG_BSD_PROCESS_ACCT_V3 is not set + +# +# RCU Subsystem +# +CONFIG_TREE_RCU=y +# CONFIG_TREE_PREEMPT_RCU is not set +# CONFIG_RCU_TRACE is not set +CONFIG_RCU_FANOUT=32 +# CONFIG_RCU_FANOUT_EXACT is not set +# CONFIG_TREE_RCU_TRACE is not set +# CONFIG_IKCONFIG is not set +CONFIG_LOG_BUF_SHIFT=17 +# CONFIG_GROUP_SCHED is not set +# CONFIG_CGROUPS is not set +# CONFIG_SYSFS_DEPRECATED_V2 is not set +# CONFIG_RELAY is not set +CONFIG_NAMESPACES=y +# CONFIG_UTS_NS is not set +# CONFIG_IPC_NS is not set +# CONFIG_USER_NS is not set +# CONFIG_PID_NS is not set +CONFIG_BLK_DEV_INITRD=y +CONFIG_INITRAMFS_SOURCE="" +CONFIG_RD_GZIP=y +CONFIG_RD_BZIP2=y +CONFIG_RD_LZMA=y +CONFIG_CC_OPTIMIZE_FOR_SIZE=y +CONFIG_SYSCTL=y +CONFIG_ANON_INODES=y +# CONFIG_EMBEDDED is not set +CONFIG_UID16=y +CONFIG_SYSCTL_SYSCALL=y +CONFIG_KALLSYMS=y +# CONFIG_KALLSYMS_ALL is not set +CONFIG_KALLSYMS_EXTRA_PASS=y +CONFIG_HOTPLUG=y +CONFIG_PRINTK=y +CONFIG_BUG=y +CONFIG_ELF_CORE=y +CONFIG_BASE_FULL=y +CONFIG_FUTEX=y +CONFIG_EPOLL=y +CONFIG_SIGNALFD=y +CONFIG_TIMERFD=y +CONFIG_EVENTFD=y +CONFIG_SHMEM=y +CONFIG_AIO=y + +# +# Kernel Performance Events And Counters +# +CONFIG_VM_EVENT_COUNTERS=y +CONFIG_SLUB_DEBUG=y +CONFIG_COMPAT_BRK=y +# CONFIG_SLAB is not set +CONFIG_SLUB=y +# CONFIG_SLOB is not set +# CONFIG_PROFILING is not set +CONFIG_HAVE_OPROFILE=y +# CONFIG_KPROBES is not set +CONFIG_HAVE_KPROBES=y +CONFIG_HAVE_KRETPROBES=y +CONFIG_HAVE_CLK=y + +# +# GCOV-based kernel profiling +# +# CONFIG_GCOV_KERNEL is not set +# CONFIG_SLOW_WORK is not set +CONFIG_HAVE_GENERIC_DMA_COHERENT=y +CONFIG_SLABINFO=y +CONFIG_RT_MUTEXES=y +CONFIG_BASE_SMALL=0 +CONFIG_MODULES=y +# CONFIG_MODULE_FORCE_LOAD is not set +CONFIG_MODULE_UNLOAD=y +# CONFIG_MODULE_FORCE_UNLOAD is not set +CONFIG_MODVERSIONS=y +# CONFIG_MODULE_SRCVERSION_ALL is not set +CONFIG_BLOCK=y +CONFIG_LBDAF=y +CONFIG_BLK_DEV_BSG=y +# CONFIG_BLK_DEV_INTEGRITY is not set + +# +# IO Schedulers +# +CONFIG_IOSCHED_NOOP=y +CONFIG_IOSCHED_AS=y +CONFIG_IOSCHED_DEADLINE=y +CONFIG_IOSCHED_CFQ=y +# CONFIG_DEFAULT_AS is not set +# CONFIG_DEFAULT_DEADLINE is not set +CONFIG_DEFAULT_CFQ=y +# CONFIG_DEFAULT_NOOP is not set +CONFIG_DEFAULT_IOSCHED="cfq" +# CONFIG_FREEZER is not set + +# +# System Type +# +CONFIG_MMU=y +# CONFIG_ARCH_AAEC2000 is not set +# CONFIG_ARCH_INTEGRATOR is not set +# CONFIG_ARCH_REALVIEW is not set +# CONFIG_ARCH_VERSATILE is not set +# CONFIG_ARCH_AT91 is not set +# CONFIG_ARCH_CLPS711X is not set +# CONFIG_ARCH_GEMINI is not set +# CONFIG_ARCH_EBSA110 is not set +# CONFIG_ARCH_EP93XX is not set +# CONFIG_ARCH_FOOTBRIDGE is not set +# CONFIG_ARCH_MXC is not set +# CONFIG_ARCH_STMP3XXX is not set +# CONFIG_ARCH_NETX is not set +# CONFIG_ARCH_H720X is not set +# CONFIG_ARCH_NOMADIK is not set +# CONFIG_ARCH_IOP13XX is not set +# CONFIG_ARCH_IOP32X is not set +# CONFIG_ARCH_IOP33X is not set +# CONFIG_ARCH_IXP23XX is not set +# CONFIG_ARCH_IXP2000 is not set +# CONFIG_ARCH_IXP4XX is not set +# CONFIG_ARCH_L7200 is not set +# CONFIG_ARCH_KIRKWOOD is not set +# CONFIG_ARCH_LOKI is not set +# CONFIG_ARCH_MV78XX0 is not set +# CONFIG_ARCH_ORION5X is not set +# CONFIG_ARCH_MMP is not set +# CONFIG_ARCH_KS8695 is not set +# CONFIG_ARCH_NS9XXX is not set +# CONFIG_ARCH_W90X900 is not set +# CONFIG_ARCH_PNX4008 is not set +# CONFIG_ARCH_PXA is not set +# CONFIG_ARCH_MSM is not set +# CONFIG_ARCH_RPC is not set +# CONFIG_ARCH_SA1100 is not set +# CONFIG_ARCH_S3C2410 is not set +# CONFIG_ARCH_S3C64XX is not set +# CONFIG_ARCH_S5PC1XX is not set +# CONFIG_ARCH_SHARK is not set +# CONFIG_ARCH_LH7A40X is not set +# CONFIG_ARCH_U300 is not set +# CONFIG_ARCH_DAVINCI is not set +# CONFIG_ARCH_OMAP is not set +# CONFIG_ARCH_BCMRING is not set +CONFIG_PLAT_SPEAR=y +CONFIG_ARCH_SPEAR3XX=y +# CONFIG_ARCH_SPEAR6XX is not set +CONFIG_MACH_SPEAR300=y +# CONFIG_MACH_SPEAR310 is not set +# CONFIG_MACH_SPEAR320 is not set +CONFIG_BOARD_SPEAR300_EVB=y + +# +# Processor Type +# +CONFIG_CPU_32=y +CONFIG_CPU_ARM926T=y +CONFIG_CPU_32v5=y +CONFIG_CPU_ABRT_EV5TJ=y +CONFIG_CPU_PABRT_LEGACY=y +CONFIG_CPU_CACHE_VIVT=y +CONFIG_CPU_COPY_V4WB=y +CONFIG_CPU_TLB_V4WBI=y +CONFIG_CPU_CP15=y +CONFIG_CPU_CP15_MMU=y + +# +# Processor Features +# +CONFIG_ARM_THUMB=y +# CONFIG_CPU_ICACHE_DISABLE is not set +# CONFIG_CPU_DCACHE_DISABLE is not set +# CONFIG_CPU_DCACHE_WRITETHROUGH is not set +# CONFIG_CPU_CACHE_ROUND_ROBIN is not set +CONFIG_ARM_L1_CACHE_SHIFT=5 +CONFIG_ARM_VIC=y +CONFIG_ARM_VIC_NR=2 +CONFIG_COMMON_CLKDEV=y + +# +# Bus support +# +CONFIG_ARM_AMBA=y +# CONFIG_PCI_SYSCALL is not set +# CONFIG_ARCH_SUPPORTS_MSI is not set +# CONFIG_PCCARD is not set + +# +# Kernel Features +# +# CONFIG_NO_HZ is not set +# CONFIG_HIGH_RES_TIMERS is not set +CONFIG_GENERIC_CLOCKEVENTS_BUILD=y +CONFIG_VMSPLIT_3G=y +# CONFIG_VMSPLIT_2G is not set +# CONFIG_VMSPLIT_1G is not set +CONFIG_PAGE_OFFSET=0xC0000000 +CONFIG_PREEMPT_NONE=y +# CONFIG_PREEMPT_VOLUNTARY is not set +# CONFIG_PREEMPT is not set +CONFIG_HZ=100 +# CONFIG_AEABI is not set +# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set +# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set +# CONFIG_HIGHMEM is not set +CONFIG_SELECT_MEMORY_MODEL=y +CONFIG_FLATMEM_MANUAL=y +# CONFIG_DISCONTIGMEM_MANUAL is not set +# CONFIG_SPARSEMEM_MANUAL is not set +CONFIG_FLATMEM=y +CONFIG_FLAT_NODE_MEM_MAP=y +CONFIG_PAGEFLAGS_EXTENDED=y +CONFIG_SPLIT_PTLOCK_CPUS=4096 +# CONFIG_PHYS_ADDR_T_64BIT is not set +CONFIG_ZONE_DMA_FLAG=0 +CONFIG_VIRT_TO_BUS=y +CONFIG_HAVE_MLOCK=y +CONFIG_HAVE_MLOCKED_PAGE_BIT=y +# CONFIG_KSM is not set +CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 +CONFIG_ALIGNMENT_TRAP=y +# CONFIG_UACCESS_WITH_MEMCPY is not set + +# +# Boot options +# +CONFIG_ZBOOT_ROM_TEXT=0 +CONFIG_ZBOOT_ROM_BSS=0 +CONFIG_CMDLINE="" +# CONFIG_XIP_KERNEL is not set +# CONFIG_KEXEC is not set + +# +# CPU Power Management +# +# CONFIG_CPU_IDLE is not set + +# +# Floating point emulation +# + +# +# At least one emulation must be selected +# +# CONFIG_FPE_NWFPE is not set +# CONFIG_FPE_FASTFPE is not set +# CONFIG_VFP is not set + +# +# Userspace binary formats +# +CONFIG_BINFMT_ELF=y +# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set +CONFIG_HAVE_AOUT=y +# CONFIG_BINFMT_AOUT is not set +CONFIG_BINFMT_MISC=y + +# +# Power management options +# +# CONFIG_PM is not set +CONFIG_ARCH_SUSPEND_POSSIBLE=y +# CONFIG_NET is not set + +# +# Device Drivers +# + +# +# Generic Driver Options +# +CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" +# CONFIG_DEVTMPFS is not set +CONFIG_STANDALONE=y +CONFIG_PREVENT_FIRMWARE_BUILD=y +CONFIG_FW_LOADER=y +CONFIG_FIRMWARE_IN_KERNEL=y +CONFIG_EXTRA_FIRMWARE="" +# CONFIG_DEBUG_DRIVER is not set +# CONFIG_DEBUG_DEVRES is not set +# CONFIG_SYS_HYPERVISOR is not set +# CONFIG_MTD is not set +# CONFIG_PARPORT is not set +CONFIG_BLK_DEV=y +# CONFIG_BLK_DEV_COW_COMMON is not set +# CONFIG_BLK_DEV_LOOP is not set +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_RAM_COUNT=16 +CONFIG_BLK_DEV_RAM_SIZE=16384 +# CONFIG_BLK_DEV_XIP is not set +# CONFIG_CDROM_PKTCDVD is not set +CONFIG_MISC_DEVICES=y +# CONFIG_ENCLOSURE_SERVICES is not set +# CONFIG_C2PORT is not set + +# +# EEPROM support +# +# CONFIG_EEPROM_93CX6 is not set +CONFIG_HAVE_IDE=y +# CONFIG_IDE is not set + +# +# SCSI device support +# +# CONFIG_RAID_ATTRS is not set +# CONFIG_SCSI is not set +# CONFIG_SCSI_DMA is not set +# CONFIG_SCSI_NETLINK is not set +# CONFIG_ATA is not set +# CONFIG_MD is not set +# CONFIG_PHONE is not set + +# +# Input device support +# +CONFIG_INPUT=y +CONFIG_INPUT_FF_MEMLESS=y +# CONFIG_INPUT_POLLDEV is not set + +# +# Userland interfaces +# +CONFIG_INPUT_MOUSEDEV=y +# CONFIG_INPUT_MOUSEDEV_PSAUX is not set +CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 +CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 +# CONFIG_INPUT_JOYDEV is not set +# CONFIG_INPUT_EVDEV is not set +# CONFIG_INPUT_EVBUG is not set + +# +# Input Device Drivers +# +# CONFIG_INPUT_KEYBOARD is not set +# CONFIG_INPUT_MOUSE is not set +# CONFIG_INPUT_JOYSTICK is not set +# CONFIG_INPUT_TABLET is not set +# CONFIG_INPUT_TOUCHSCREEN is not set +# CONFIG_INPUT_MISC is not set + +# +# Hardware I/O ports +# +CONFIG_SERIO=y +CONFIG_SERIO_SERPORT=y +# CONFIG_SERIO_AMBAKMI is not set +# CONFIG_SERIO_RAW is not set +# CONFIG_GAMEPORT is not set + +# +# Character devices +# +CONFIG_VT=y +CONFIG_CONSOLE_TRANSLATIONS=y +CONFIG_VT_CONSOLE=y +CONFIG_HW_CONSOLE=y +# CONFIG_VT_HW_CONSOLE_BINDING is not set +CONFIG_DEVKMEM=y +# CONFIG_SERIAL_NONSTANDARD is not set + +# +# Serial drivers +# +# CONFIG_SERIAL_8250 is not set + +# +# Non-8250 serial port support +# +# CONFIG_SERIAL_AMBA_PL010 is not set +CONFIG_SERIAL_AMBA_PL011=y +CONFIG_SERIAL_AMBA_PL011_CONSOLE=y +CONFIG_SERIAL_CORE=y +CONFIG_SERIAL_CORE_CONSOLE=y +CONFIG_UNIX98_PTYS=y +# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set +# CONFIG_LEGACY_PTYS is not set +# CONFIG_IPMI_HANDLER is not set +# CONFIG_HW_RANDOM is not set +# CONFIG_R3964 is not set +CONFIG_RAW_DRIVER=y +CONFIG_MAX_RAW_DEVS=8192 +# CONFIG_TCG_TPM is not set +# CONFIG_I2C is not set +# CONFIG_SPI is not set + +# +# PPS support +# +# CONFIG_PPS is not set +CONFIG_ARCH_REQUIRE_GPIOLIB=y +CONFIG_GPIOLIB=y +# CONFIG_DEBUG_GPIO is not set +CONFIG_GPIO_SYSFS=y + +# +# Memory mapped GPIO expanders: +# +CONFIG_GPIO_PL061=y + +# +# I2C GPIO expanders: +# + +# +# PCI GPIO expanders: +# + +# +# SPI GPIO expanders: +# + +# +# AC97 GPIO expanders: +# +# CONFIG_W1 is not set +# CONFIG_POWER_SUPPLY is not set +# CONFIG_HWMON is not set +# CONFIG_THERMAL is not set +# CONFIG_WATCHDOG is not set +CONFIG_SSB_POSSIBLE=y + +# +# Sonics Silicon Backplane +# +# CONFIG_SSB is not set + +# +# Multifunction device drivers +# +# CONFIG_MFD_CORE is not set +# CONFIG_MFD_SM501 is not set +# CONFIG_MFD_ASIC3 is not set +# CONFIG_HTC_EGPIO is not set +# CONFIG_HTC_PASIC3 is not set +# CONFIG_MFD_TMIO is not set +# CONFIG_MFD_T7L66XB is not set +# CONFIG_MFD_TC6387XB is not set +# CONFIG_MFD_TC6393XB is not set +# CONFIG_REGULATOR is not set +# CONFIG_MEDIA_SUPPORT is not set + +# +# Graphics support +# +# CONFIG_VGASTATE is not set +# CONFIG_VIDEO_OUTPUT_CONTROL is not set +# CONFIG_FB is not set +# CONFIG_BACKLIGHT_LCD_SUPPORT is not set + +# +# Display device support +# +# CONFIG_DISPLAY_SUPPORT is not set + +# +# Console display driver support +# +# CONFIG_VGA_CONSOLE is not set +CONFIG_DUMMY_CONSOLE=y +# CONFIG_SOUND is not set +# CONFIG_HID_SUPPORT is not set +# CONFIG_USB_SUPPORT is not set +# CONFIG_MMC is not set +# CONFIG_MEMSTICK is not set +# CONFIG_NEW_LEDS is not set +# CONFIG_ACCESSIBILITY is not set +CONFIG_RTC_LIB=y +# CONFIG_RTC_CLASS is not set +# CONFIG_DMADEVICES is not set +# CONFIG_AUXDISPLAY is not set +# CONFIG_UIO is not set + +# +# TI VLYNQ +# +# CONFIG_STAGING is not set + +# +# File systems +# +CONFIG_EXT2_FS=y +CONFIG_EXT2_FS_XATTR=y +# CONFIG_EXT2_FS_POSIX_ACL is not set +CONFIG_EXT2_FS_SECURITY=y +# CONFIG_EXT2_FS_XIP is not set +CONFIG_EXT3_FS=y +# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set +CONFIG_EXT3_FS_XATTR=y +# CONFIG_EXT3_FS_POSIX_ACL is not set +CONFIG_EXT3_FS_SECURITY=y +# CONFIG_EXT4_FS is not set +CONFIG_JBD=y +# CONFIG_JBD_DEBUG is not set +CONFIG_FS_MBCACHE=y +# CONFIG_REISERFS_FS is not set +# CONFIG_JFS_FS is not set +# CONFIG_FS_POSIX_ACL is not set +# CONFIG_XFS_FS is not set +# CONFIG_GFS2_FS is not set +# CONFIG_BTRFS_FS is not set +# CONFIG_NILFS2_FS is not set +CONFIG_FILE_LOCKING=y +CONFIG_FSNOTIFY=y +CONFIG_DNOTIFY=y +# CONFIG_INOTIFY is not set +CONFIG_INOTIFY_USER=y +# CONFIG_QUOTA is not set +# CONFIG_AUTOFS_FS is not set +CONFIG_AUTOFS4_FS=m +# CONFIG_FUSE_FS is not set + +# +# Caches +# +# CONFIG_FSCACHE is not set + +# +# CD-ROM/DVD Filesystems +# +# CONFIG_ISO9660_FS is not set +# CONFIG_UDF_FS is not set + +# +# DOS/FAT/NT Filesystems +# +CONFIG_FAT_FS=m +CONFIG_MSDOS_FS=m +CONFIG_VFAT_FS=m +CONFIG_FAT_DEFAULT_CODEPAGE=437 +CONFIG_FAT_DEFAULT_IOCHARSET="ascii" +# CONFIG_NTFS_FS is not set + +# +# Pseudo filesystems +# +CONFIG_PROC_FS=y +CONFIG_PROC_SYSCTL=y +CONFIG_PROC_PAGE_MONITOR=y +CONFIG_SYSFS=y +CONFIG_TMPFS=y +# CONFIG_TMPFS_POSIX_ACL is not set +# CONFIG_HUGETLB_PAGE is not set +# CONFIG_CONFIGFS_FS is not set +CONFIG_MISC_FILESYSTEMS=y +# CONFIG_ADFS_FS is not set +# CONFIG_AFFS_FS is not set +# CONFIG_HFS_FS is not set +# CONFIG_HFSPLUS_FS is not set +# CONFIG_BEFS_FS is not set +# CONFIG_BFS_FS is not set +# CONFIG_EFS_FS is not set +# CONFIG_SQUASHFS is not set +# CONFIG_VXFS_FS is not set +# CONFIG_MINIX_FS is not set +# CONFIG_OMFS_FS is not set +# CONFIG_HPFS_FS is not set +# CONFIG_QNX4FS_FS is not set +# CONFIG_ROMFS_FS is not set +# CONFIG_SYSV_FS is not set +# CONFIG_UFS_FS is not set + +# +# Partition Types +# +CONFIG_PARTITION_ADVANCED=y +# CONFIG_ACORN_PARTITION is not set +# CONFIG_OSF_PARTITION is not set +# CONFIG_AMIGA_PARTITION is not set +# CONFIG_ATARI_PARTITION is not set +# CONFIG_MAC_PARTITION is not set +CONFIG_MSDOS_PARTITION=y +# CONFIG_BSD_DISKLABEL is not set +# CONFIG_MINIX_SUBPARTITION is not set +# CONFIG_SOLARIS_X86_PARTITION is not set +# CONFIG_UNIXWARE_DISKLABEL is not set +# CONFIG_LDM_PARTITION is not set +# CONFIG_SGI_PARTITION is not set +# CONFIG_ULTRIX_PARTITION is not set +# CONFIG_SUN_PARTITION is not set +# CONFIG_KARMA_PARTITION is not set +# CONFIG_EFI_PARTITION is not set +# CONFIG_SYSV68_PARTITION is not set +CONFIG_NLS=y +CONFIG_NLS_DEFAULT="utf8" +CONFIG_NLS_CODEPAGE_437=y +# CONFIG_NLS_CODEPAGE_737 is not set +# CONFIG_NLS_CODEPAGE_775 is not set +# CONFIG_NLS_CODEPAGE_850 is not set +# CONFIG_NLS_CODEPAGE_852 is not set +# CONFIG_NLS_CODEPAGE_855 is not set +# CONFIG_NLS_CODEPAGE_857 is not set +# CONFIG_NLS_CODEPAGE_860 is not set +# CONFIG_NLS_CODEPAGE_861 is not set +# CONFIG_NLS_CODEPAGE_862 is not set +# CONFIG_NLS_CODEPAGE_863 is not set +# CONFIG_NLS_CODEPAGE_864 is not set +# CONFIG_NLS_CODEPAGE_865 is not set +# CONFIG_NLS_CODEPAGE_866 is not set +# CONFIG_NLS_CODEPAGE_869 is not set +# CONFIG_NLS_CODEPAGE_936 is not set +# CONFIG_NLS_CODEPAGE_950 is not set +# CONFIG_NLS_CODEPAGE_932 is not set +# CONFIG_NLS_CODEPAGE_949 is not set +# CONFIG_NLS_CODEPAGE_874 is not set +# CONFIG_NLS_ISO8859_8 is not set +# CONFIG_NLS_CODEPAGE_1250 is not set +# CONFIG_NLS_CODEPAGE_1251 is not set +CONFIG_NLS_ASCII=m +# CONFIG_NLS_ISO8859_1 is not set +# CONFIG_NLS_ISO8859_2 is not set +# CONFIG_NLS_ISO8859_3 is not set +# CONFIG_NLS_ISO8859_4 is not set +# CONFIG_NLS_ISO8859_5 is not set +# CONFIG_NLS_ISO8859_6 is not set +# CONFIG_NLS_ISO8859_7 is not set +# CONFIG_NLS_ISO8859_9 is not set +# CONFIG_NLS_ISO8859_13 is not set +# CONFIG_NLS_ISO8859_14 is not set +# CONFIG_NLS_ISO8859_15 is not set +# CONFIG_NLS_KOI8_R is not set +# CONFIG_NLS_KOI8_U is not set +# CONFIG_NLS_UTF8 is not set + +# +# Kernel hacking +# +# CONFIG_PRINTK_TIME is not set +CONFIG_ENABLE_WARN_DEPRECATED=y +CONFIG_ENABLE_MUST_CHECK=y +CONFIG_FRAME_WARN=1024 +CONFIG_MAGIC_SYSRQ=y +# CONFIG_STRIP_ASM_SYMS is not set +# CONFIG_UNUSED_SYMBOLS is not set +CONFIG_DEBUG_FS=y +# CONFIG_HEADERS_CHECK is not set +CONFIG_DEBUG_KERNEL=y +# CONFIG_DEBUG_SHIRQ is not set +CONFIG_DETECT_SOFTLOCKUP=y +# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set +CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 +CONFIG_DETECT_HUNG_TASK=y +# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set +CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 +CONFIG_SCHED_DEBUG=y +# CONFIG_SCHEDSTATS is not set +# CONFIG_TIMER_STATS is not set +# CONFIG_DEBUG_OBJECTS is not set +# CONFIG_SLUB_DEBUG_ON is not set +# CONFIG_SLUB_STATS is not set +# CONFIG_DEBUG_KMEMLEAK is not set +# CONFIG_DEBUG_RT_MUTEXES is not set +# CONFIG_RT_MUTEX_TESTER is not set +CONFIG_DEBUG_SPINLOCK=y +# CONFIG_DEBUG_MUTEXES is not set +# CONFIG_DEBUG_LOCK_ALLOC is not set +# CONFIG_PROVE_LOCKING is not set +# CONFIG_LOCK_STAT is not set +CONFIG_DEBUG_SPINLOCK_SLEEP=y +# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set +# CONFIG_DEBUG_KOBJECT is not set +CONFIG_DEBUG_BUGVERBOSE=y +CONFIG_DEBUG_INFO=y +# CONFIG_DEBUG_VM is not set +# CONFIG_DEBUG_WRITECOUNT is not set +CONFIG_DEBUG_MEMORY_INIT=y +# CONFIG_DEBUG_LIST is not set +# CONFIG_DEBUG_SG is not set +# CONFIG_DEBUG_NOTIFIERS is not set +# CONFIG_DEBUG_CREDENTIALS is not set +CONFIG_FRAME_POINTER=y +# CONFIG_BOOT_PRINTK_DELAY is not set +# CONFIG_RCU_TORTURE_TEST is not set +CONFIG_RCU_CPU_STALL_DETECTOR=y +# CONFIG_BACKTRACE_SELF_TEST is not set +# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set +# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set +# CONFIG_FAULT_INJECTION is not set +# CONFIG_LATENCYTOP is not set +# CONFIG_SYSCTL_SYSCALL_CHECK is not set +# CONFIG_PAGE_POISONING is not set +CONFIG_HAVE_FUNCTION_TRACER=y +CONFIG_TRACING_SUPPORT=y +CONFIG_FTRACE=y +# CONFIG_FUNCTION_TRACER is not set +# CONFIG_IRQSOFF_TRACER is not set +# CONFIG_SCHED_TRACER is not set +# CONFIG_ENABLE_DEFAULT_TRACERS is not set +# CONFIG_BOOT_TRACER is not set +CONFIG_BRANCH_PROFILE_NONE=y +# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set +# CONFIG_PROFILE_ALL_BRANCHES is not set +# CONFIG_STACK_TRACER is not set +# CONFIG_KMEMTRACE is not set +# CONFIG_WORKQUEUE_TRACER is not set +# CONFIG_BLK_DEV_IO_TRACE is not set +# CONFIG_DYNAMIC_DEBUG is not set +# CONFIG_SAMPLES is not set +CONFIG_HAVE_ARCH_KGDB=y +# CONFIG_KGDB is not set +# CONFIG_DEBUG_USER is not set +# CONFIG_DEBUG_ERRORS is not set +# CONFIG_DEBUG_STACK_USAGE is not set +# CONFIG_DEBUG_LL is not set + +# +# Security options +# +# CONFIG_KEYS is not set +# CONFIG_SECURITY is not set +# CONFIG_SECURITYFS is not set +# CONFIG_SECURITY_FILE_CAPABILITIES is not set +# CONFIG_CRYPTO is not set +# CONFIG_BINARY_PRINTF is not set + +# +# Library routines +# +CONFIG_GENERIC_FIND_LAST_BIT=y +# CONFIG_CRC_CCITT is not set +# CONFIG_CRC16 is not set +# CONFIG_CRC_T10DIF is not set +# CONFIG_CRC_ITU_T is not set +# CONFIG_CRC32 is not set +# CONFIG_CRC7 is not set +# CONFIG_LIBCRC32C is not set +CONFIG_ZLIB_INFLATE=y +CONFIG_DECOMPRESS_GZIP=y +CONFIG_DECOMPRESS_BZIP2=y +CONFIG_DECOMPRESS_LZMA=y +CONFIG_HAS_IOMEM=y +CONFIG_HAS_IOPORT=y +CONFIG_HAS_DMA=y
arch/arm/configs/spear310_defconfig new file +775 -0
775 lines not on this page · raw message
arch/arm/configs/spear320_defconfig new file +775 -0
775 lines not on this page · raw message
arch/arm/configs/spear600_defconfig new file +760 -0
677 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.6.0.2
Part of the diff is not shown here. View the raw message.
PATCH v2 11/12 ST SPEAr: Updated Maintainers and added Documentation/arm/SPEAr
--- Documentation/arm/00-INDEX | 2 + Documentation/arm/SPEAr/overview.txt | 60 ++++++++++++++++++++++++++++++++++ MAINTAINERS | 27 +++++++++++++++ 3 files changed, 89 insertions(+), 0 deletions(-) create mode 100644 Documentation/arm/SPEAr/overview.txt
Documentation/arm/00-INDEX +2 -0
@@ -20,6 +20,8 @@ Samsung-S3C24XX - S3C24XX ARM Linux Overview Sharp-LH - Linux on Sharp LH79524 and LH7A40X System On a Chip (SOC) +SPEAr + - ST SPEAr platform Linux Overview VFP/ - Release notes for Linux Kernel Vector Floating Point support code empeg/
Documentation/arm/SPEAr/overview.txt new file +60 -0
60 lines not on this page · raw message
MAINTAINERS +27 -0
@@ -5238,6 +5238,33 @@ F: drivers/serial/sunsu.c F: drivers/serial/sunzilog.c F: drivers/serial/sunzilog.h +SPEAR PLATFORM SUPPORT +M: Viresh Kumar <[email protected]> +W: http://www.st.com/spear +S: Maintained +F: arch/arm/plat-spear/ + +SPEAR3XX MACHINE SUPPORT +M: Viresh Kumar <[email protected]> +W: http://www.st.com/spear +S: Maintained +F: arch/arm/mach-spear3xx/ + +SPEAR6XX MACHINE SUPPORT +M: Rajeev Kumar <[email protected]> +W: http://www.st.com/spear +S: Maintained +F: arch/arm/mach-spear6xx/ + +SPEAR CLOCK FRAMEWORK SUPPORT +M: Viresh Kumar <[email protected]> +W: http://www.st.com/spear +S: Maintained +F: arch/arm/mach-spear*/clock.c +F: arch/arm/mach-spear*/include/mach/clkdev.h +F: arch/arm/plat-spear/clock.c +F: arch/arm/plat-spear/include/plat/clock.h and clkdev.h + SPECIALIX IO8+ MULTIPORT SERIAL CARD DRIVER M: Roger Wolff <[email protected]> S: Supported
Signature · 1 line
1.6.0.2
PATCH v2 12/12 ST SPEAr: Adding gpio pad multiplexing support
GPIO Pads in spear platform are are multiplexed in various machines. This patch adds support for this pad multiplexing.
--- arch/arm/mach-spear3xx/include/mach/generic.h | 161 +++++++++- arch/arm/mach-spear3xx/spear300.c | 358 ++++++++++++++++++++ arch/arm/mach-spear3xx/spear300_evb.c | 22 ++ arch/arm/mach-spear3xx/spear310.c | 129 +++++++ arch/arm/mach-spear3xx/spear310_evb.c | 30 ++ arch/arm/mach-spear3xx/spear320.c | 374 +++++++++++++++++++++ arch/arm/mach-spear3xx/spear320_evb.c | 27 ++ arch/arm/mach-spear3xx/spear3xx.c | 447 +++++++++++++++++++++++++ arch/arm/plat-spear/Makefile | 2 +- arch/arm/plat-spear/include/plat/padmux.h | 92 +++++ arch/arm/plat-spear/padmux.c | 164 +++++++++ 11 files changed, 1798 insertions(+), 8 deletions(-) create mode 100644 arch/arm/plat-spear/include/plat/padmux.h create mode 100644 arch/arm/plat-spear/padmux.c
arch/arm/mach-spear3xx/include/mach/generic.h +154 -7
@@ -19,7 +19,9 @@#include <linux/init.h> #include <linux/platform_device.h> #include <linux/amba/bus.h> +#include <plat/padmux.h> +/* spear3xx declarations */ /* * Each GPT has 2 timer channels * Following GPT channels will be used as clock source and clockevent
@@ -34,25 +36,170 @@ extern struct amba_device uart_device;extern struct sys_timer spear_sys_timer;/* Add spear3xx family function declarations here */ +void __init clk_init (void );void __init spear3xx_map_io (void );void __init spear3xx_init_irq (void );void __init spear3xx_init (void ); -void __init spear300_init (void ); -void __init spear310_init (void ); -void __init spear320_init (void ); -void __init clk_init (void ); +void spear_pmx_init (struct pmx_driver *pmx_driver,uint base,uint size); -/* Add spear300 machine device structure declarations here */ +/* pad mux declarations */ +#define PMX_FIRDA_MASK (1 << 14) +#define PMX_I2C_MASK (1 << 13) +#define PMX_SSP_CS_MASK (1 << 12) +#define PMX_SSP_MASK (1 << 11) +#define PMX_MII_MASK (1 << 10) +#define PMX_GPIO_PIN0_MASK (1 << 9) +#define PMX_GPIO_PIN1_MASK (1 << 8) +#define PMX_GPIO_PIN2_MASK (1 << 7) +#define PMX_GPIO_PIN3_MASK (1 << 6) +#define PMX_GPIO_PIN4_MASK (1 << 5) +#define PMX_GPIO_PIN5_MASK (1 << 4) +#define PMX_UART0_MODEM_MASK (1 << 3) +#define PMX_UART0_MASK (1 << 2) +#define PMX_TIMER_3_4_MASK (1 << 1) +#define PMX_TIMER_1_2_MASK (1 << 0) + +/* pad mux devices */ +extern struct pmx_dev pmx_firda; +extern struct pmx_dev pmx_i2c; +extern struct pmx_dev pmx_ssp_cs; +extern struct pmx_dev pmx_ssp; +extern struct pmx_dev pmx_mii; +extern struct pmx_dev pmx_gpio_pin0; +extern struct pmx_dev pmx_gpio_pin1; +extern struct pmx_dev pmx_gpio_pin2; +extern struct pmx_dev pmx_gpio_pin3; +extern struct pmx_dev pmx_gpio_pin4; +extern struct pmx_dev pmx_gpio_pin5; +extern struct pmx_dev pmx_uart0_modem; +extern struct pmx_dev pmx_uart0; +extern struct pmx_dev pmx_timer_3_4; +extern struct pmx_dev pmx_timer_1_2; + +#if defined(CONFIG_MACH_SPEAR310 ) || defined(CONFIG_MACH_SPEAR320 ) +/* padmux plgpio devices */ +extern struct pmx_dev pmx_plgpio_0_1; +extern struct pmx_dev pmx_plgpio_2_3; +extern struct pmx_dev pmx_plgpio_4_5; +extern struct pmx_dev pmx_plgpio_6_9; +extern struct pmx_dev pmx_plgpio_10_27; +extern struct pmx_dev pmx_plgpio_28; +extern struct pmx_dev pmx_plgpio_29; +extern struct pmx_dev pmx_plgpio_30; +extern struct pmx_dev pmx_plgpio_31; +extern struct pmx_dev pmx_plgpio_32; +extern struct pmx_dev pmx_plgpio_33; +extern struct pmx_dev pmx_plgpio_34_36; +extern struct pmx_dev pmx_plgpio_37_42; +extern struct pmx_dev pmx_plgpio_43_44_47_48; +extern struct pmx_dev pmx_plgpio_45_46_49_50; +#endif + +extern struct pmx_driver pmx_driver; + +/* spear300 declarations */ #ifdef CONFIG_MACH_SPEAR300 +/* Add spear300 machine device structure declarations here */ extern struct amba_device gpio1_device; + +/* pad mux modes */ +extern struct pmx_mode nand_mode; +extern struct pmx_mode nor_mode; +extern struct pmx_mode photo_frame_mode; +extern struct pmx_mode lend_ip_phone_mode; +extern struct pmx_mode hend_ip_phone_mode; +extern struct pmx_mode lend_wifi_phone_mode; +extern struct pmx_mode hend_wifi_phone_mode; +extern struct pmx_mode ata_pabx_wi2s_mode; +extern struct pmx_mode ata_pabx_i2s_mode; +extern struct pmx_mode caml_lcdw_mode; +extern struct pmx_mode camu_lcd_mode; +extern struct pmx_mode camu_wlcd_mode; +extern struct pmx_mode caml_lcd_mode; + +/* pad mux devices */ +extern struct pmx_dev pmx_fsmc_2_chips; +extern struct pmx_dev pmx_fsmc_4_chips; +extern struct pmx_dev pmx_keyboard; +extern struct pmx_dev pmx_clcd; +extern struct pmx_dev pmx_telecom_gpio; +extern struct pmx_dev pmx_telecom_tdm; +extern struct pmx_dev pmx_telecom_spi_cs_i2c_clk; +extern struct pmx_dev pmx_telecom_camera; +extern struct pmx_dev pmx_telecom_dac; +extern struct pmx_dev pmx_telecom_i2s; +extern struct pmx_dev pmx_telecom_boot_pins; +extern struct pmx_dev pmx_telecom_sdio_4bit; +extern struct pmx_dev pmx_telecom_sdio_8bit; +extern struct pmx_dev pmx_gpio1; + +void spear300_pmx_init (void ); + +/* Add spear300 machine function declarations here */ +void __init spear300_init (void ); +#endif /* CONFIG_MACH_SPEAR300 */ -/* Add spear310 machine device structure declarations here */ +/* spear310 declarations */ #ifdef CONFIG_MACH_SPEAR310 +/* Add spear310 machine device structure declarations here */ + +/* pad mux devices */ +extern struct pmx_dev pmx_emi_cs_0_1_4_5; +extern struct pmx_dev pmx_emi_cs_2_3; +extern struct pmx_dev pmx_uart1; +extern struct pmx_dev pmx_uart2; +extern struct pmx_dev pmx_uart3_4_5; +extern struct pmx_dev pmx_fsmc; +extern struct pmx_dev pmx_rs485_0_1; +extern struct pmx_dev pmx_tdm0; + +void spear310_pmx_init (void ); + +/* Add spear310 machine function declarations here */ +void __init spear310_init (void ); +#endif /* CONFIG_MACH_SPEAR310 */ -/* Add spear320 machine device structure declarations here */ +/* spear320 declarations */ #ifdef CONFIG_MACH_SPEAR320 +/* Add spear320 machine device structure declarations here */ + +/* pad mux modes */ +extern struct pmx_mode auto_net_smii_mode; +extern struct pmx_mode auto_net_mii_mode; +extern struct pmx_mode auto_exp_mode; +extern struct pmx_mode small_printers_mode; + +/* pad mux devices */ +extern struct pmx_dev pmx_clcd; +extern struct pmx_dev pmx_emi; +extern struct pmx_dev pmx_fsmc; +extern struct pmx_dev pmx_spp; +extern struct pmx_dev pmx_sdio; +extern struct pmx_dev pmx_i2s; +extern struct pmx_dev pmx_uart1; +extern struct pmx_dev pmx_uart1_modem; +extern struct pmx_dev pmx_uart2; +extern struct pmx_dev pmx_touchscreen; +extern struct pmx_dev pmx_can; +extern struct pmx_dev pmx_sdio_led; +extern struct pmx_dev pmx_pwm0; +extern struct pmx_dev pmx_pwm1; +extern struct pmx_dev pmx_pwm2; +extern struct pmx_dev pmx_pwm3; +extern struct pmx_dev pmx_ssp1; +extern struct pmx_dev pmx_ssp2; +extern struct pmx_dev pmx_mii1; +extern struct pmx_dev pmx_smii0; +extern struct pmx_dev pmx_smii1; +extern struct pmx_dev pmx_i2c1; + +void spear320_pmx_init (void ); + +/* Add spear320 machine function declarations here */ +void __init spear320_init (void ); +#endif /* CONFIG_MACH_SPEAR320 */ #endif /* __MACH_GENERIC_H */
arch/arm/mach-spear3xx/spear300.c +358 -0
372 lines not on this page · raw message
arch/arm/mach-spear3xx/spear300_evb.c +22 -0
@@ -16,6 +16,22 @@#include <mach/generic.h> #include <mach/spear.h> +/* padmux devices to enable */ +static struct pmx_dev *pmx_devs[] = { +/* spear3xx specific devices */ + &pmx_i2c, + &pmx_ssp_cs, + &pmx_ssp, + &pmx_mii, + &pmx_uart0, + +/* spear300 specific devices */ + &pmx_fsmc_2_chips, + &pmx_clcd, + &pmx_telecom_sdio_4bit, + &pmx_gpio1, +}; +static struct amba_device *amba_devs[]__initdata = {/* spear3xx specific devices */ &gpio_device,
@@ -38,6 +54,12 @@ static void __init spear300_evb_init(void)/* call spear300 machine init function */ spear300_init (); +/* padmux initialization */ + pmx_driver.mode = &photo_frame_mode; + pmx_driver.devs = pmx_devs; + pmx_driver.devs_count =ARRAY_SIZE (pmx_devs); +spear300_pmx_init (); +/* Add Platform Devices */ platform_add_devices (plat_devs,ARRAY_SIZE (plat_devs));
arch/arm/mach-spear3xx/spear310.c +129 -0
139 lines not on this page · raw message
arch/arm/mach-spear3xx/spear310_evb.c +30 -0
@@ -16,6 +16,30 @@#include <mach/generic.h> #include <mach/spear.h> +/* padmux devices to enable */ +static struct pmx_dev *pmx_devs[] = { +/* spear3xx specific devices */ + &pmx_i2c, + &pmx_ssp, + &pmx_gpio_pin0, + &pmx_gpio_pin1, + &pmx_gpio_pin2, + &pmx_gpio_pin3, + &pmx_gpio_pin4, + &pmx_gpio_pin5, + &pmx_uart0, + +/* spear310 specific devices */ + &pmx_emi_cs_0_1_4_5, + &pmx_emi_cs_2_3, + &pmx_uart1, + &pmx_uart2, + &pmx_uart3_4_5, + &pmx_fsmc, + &pmx_rs485_0_1, + &pmx_tdm0, +}; +static struct amba_device *amba_devs[]__initdata = {/* spear3xx specific devices */ &gpio_device,
@@ -37,6 +61,12 @@ static void __init spear310_evb_init(void)/* call spear310 machine init function */ spear310_init (); +/* padmux initialization */ + pmx_driver.mode =NULL ; + pmx_driver.devs = pmx_devs; + pmx_driver.devs_count =ARRAY_SIZE (pmx_devs); +spear310_pmx_init (); +/* Add Platform Devices */ platform_add_devices (plat_devs,ARRAY_SIZE (plat_devs));
arch/arm/mach-spear3xx/spear320.c +374 -0
384 lines not on this page · raw message
arch/arm/mach-spear3xx/spear320_evb.c +27 -0
@@ -16,6 +16,27 @@#include <mach/generic.h> #include <mach/spear.h> +/* padmux devices to enable */ +static struct pmx_dev *pmx_devs[] = { +/* spear3xx specific devices */ + &pmx_i2c, + &pmx_ssp, + &pmx_mii, + &pmx_uart0, + +/* spear320 specific devices */ + &pmx_fsmc, + &pmx_sdio, + &pmx_i2s, + &pmx_uart1, + &pmx_uart2, + &pmx_can, + &pmx_pwm0, + &pmx_pwm1, + &pmx_pwm2, + &pmx_mii1, +}; +static struct amba_device *amba_devs[]__initdata = {/* spear3xx specific devices */ &gpio_device,
@@ -37,6 +58,12 @@ static void __init spear320_evb_init(void)/* call spear320 machine init function */ spear320_init (); +/* padmux initialization */ + pmx_driver.mode = &auto_net_mii_mode; + pmx_driver.devs = pmx_devs; + pmx_driver.devs_count =ARRAY_SIZE (pmx_devs); +spear320_pmx_init (); +/* Add Platform Devices */ platform_add_devices (plat_devs,ARRAY_SIZE (plat_devs));
arch/arm/mach-spear3xx/spear3xx.c +447 -0
450 lines not on this page · raw message
arch/arm/plat-spear/Makefile +1 -1
@@ -3,4 +3,4 @@ # # Common support -obj-y := clock.o time.o +obj-y := clock.o padmux.o time.o
arch/arm/plat-spear/include/plat/padmux.h new file +92 -0
92 lines not on this page · raw message
arch/arm/plat-spear/padmux.c new file +164 -0
164 lines not on this page · raw message
Signature · 1 line
1.6.0.2
v2 cover Adding Support for SPEAr Platform under ARM architecture
In reply to Viresh KUMARQuoted 21 lines · Viresh KUMAR
Following set of patches are for adding ST Microelctronics SPEAr Platform under ARM architecture in Linux.
Hierarchy in SPEAr is as follows:
SPEAr (Platform)
- SPEAr3XX (3XX SOC series, based on ARM9)
- SPEAr300 (SOC)
-SPEAr300_EVB(Evaluation Board)
- SPEAr310 (SOC)
-SPEAr310_EVB(Evaluation Board)
- SPEAr320 (SOC)
-SPEAr320_EVB(Evaluation Board)
- SPEAr6XX (6XX SOC series, based on ARM9)
- SPEAr600 (SOC)
-SPEAr600_EVB(Evaluation Board)
- SPEAr13XX (13XX SOC series, based on ARM CORTEXA9)
- SPEAr1300 (SOC)Current patch will add support for SPEAr3XX and SPEAr6XX family. SPEAr13XX is under development phase.
Quoted 8 lines
Changes from V1:
1. Changes done according to review comments
2. Added support for GPIO PL061
3. Removed unnecessary inclusions from defconfigs
4. Removed GPT driver. GPT code merged withtime.c
5. Added support for pad multiplexing for spear
Sorry. Please don't review this patch set. Something wrong happened in PATCH V2 09/12. I will send patch set again after correction.
regards,
viresh kumar.
v2 cover Adding Support for SPEAr Platform under ARM architecture
In reply to Viresh KUMAR2010/3/25 Viresh KUMAR <[email protected]>:
Quoted 2 lines
Following set of patches are for adding ST Microelctronics SPEAr Platform under ARM architecture in Linux.
This new plat/machine is looking good to me now!
Yours,
Linus Walleij
v2 cover Adding Support for SPEAr Platform under ARM architecture
Quoted 11 lines · Linus Walleij
2010/3/25 Viresh KUMAR <[email protected]>:
Quoted 3 lines
Following set of patches are for adding ST Microelctronics SPEAr Platform under ARM architecture in Linux.
This new plat/machine is looking good to me now!
Reviewed-by Linus Walleij <[email protected]>
Thx Linus.
Russell, do you have any comments on this patch for adding SPEAr plat and mach support
into ARM Linux?
Is it fine like this or do you recommend any further change to it?
Thx,
Armando