aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ASoC: Fix S3C64xx IIS driver for Samsung header reorgMark Brown2010-03-041-2/+2
| | | | | | | | | The reorgs of the Samsung headers have moved the GPIO bank definitions from plat/ to mach/ - the IIS driver needs to be updated to take care of this. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S3C2440: Fix plat-s3c24xx move of s3c2440/s3c2442 supportBen Dooks2010-03-042-2/+2
| | | | | | | | | | | Commit 58bac7b8ded70c39bcd5f7037091051c277618aa failed to move the two PLL files s3c2440-pll-12000000.c and s3c2440-pll-16934400.c, so place these in arch/arm/mach-s3c2440 to fix this commit up. As a note, these are not built by the default configuration and thus the failure to move wasn't spotted until much later. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S3C64XX: Add initial support for board specific IRQsMark Brown2010-02-241-1/+5
| | | | | | | | Follow the scheme used for IRQs. By default 16 GPIOs are allocated for board use. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5PV210: Add S5PC110 configuration fileKukjin Kim2010-02-241-0/+894
| | | | | | | This patch adds S5PC110 default configuration file. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5PV210: Add S5PV210 configuration fileKukjin Kim2010-02-241-0/+894
| | | | | | | This patch adds S5PV210 default configuration file. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5PV210: Add SMDKC110 board support fileKukjin Kim2010-02-242-0/+99
| | | | | | | This patch adds SMDKC110 board support file. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5PV210: Add SMDKV210 board support fileKukjin Kim2010-02-242-0/+99
| | | | | | | This patch adds SMDKV210 board support file. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5PV210: Update Kconfig and MakefilesKukjin Kim2010-02-243-2/+14
| | | | | | | | | Updates arch/arm Kconfig and Makefile for building the S5PV210 support. Also modifies the plat-s5p Kconfig file to include the support for plat-s5p for S5PV210. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5PV210: Add IRQ supportKukjin Kim2010-02-243-0/+167
| | | | | | | | | This patch adds IRQ support for S5PV210. This patch adds interrupt register definitions, IRQ definitions for various interrupt sources and new VIC base for VIC2 and VIC3 in plat-s5p common irq code. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5PV210: Add clock support for S5PV210Kukjin Kim2010-02-247-1/+734
| | | | | | | | | | | This patch adds clock support for S5PV210. This patch adds the clock register definitions and the various system clocks in S5PV210. Clocks that are common to other S5P SoC'c are added in the common S5P clock support. Signed-off-by: Thomas Abraham <thomas.ab@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5PV210: Add Samsung S5PV210 CPU supportKukjin Kim2010-02-2419-0/+732
| | | | | | | | | This patch adds support for Samsung S5PV210 CPU. This patch also adds an entry for S5PV210 cpu in plat-s5p cpu table. Signed-off-by: Thomas Abraham <thomas.ab@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S3C64XX: Declare IISv4 PCLK for S3C6410Jassi Brar2010-02-241-0/+8
| | | | | | | | | | | [Updated the device ID to -1 since there's only one IISv4 device but the S3C clock API tries to match based on the ID of the requesting device (and not the name) -- broonie.] Signed-Off-by: Jassi Brar <jassi.brar@samsung.com> [ben-linux@fluff.org: Fixed Jassi's lastname] Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S3C64XX: Add AC97 platform resourcesJassi Brar2010-02-243-0/+89
| | | | | | | | | This patch defines the platform device and the resources: IRQ, DMA and MEM, needed by the AC97 controller driver. Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SMDK6410: Register IISv4 deviceMark Brown2010-02-241-0/+1
| | | | | | | The IISv4 controller is connected to the WM8580 on the board. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SMDK6410: Add support for PMIC LED on WM1192-EV1 PMIC moduleMark Brown2010-02-241-0/+30
| | | | | | | | The PMIC LED on the SMDK6410 CPU board is driven by GPIO4 of the WM8312 PMIC. Provide software control of this LED. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SMDK6410: Add initial support for WM1192-EV1 PMIC boardMark Brown2010-02-243-55/+218
| | | | | | | | | | | | | | The Wolfson Microelectronics 1192-EV1 is a plug in module for the SMDK6410 providing power using a WM8312 PMIC. This patch provides initial hookup sufficient to initialise the board, though not all features are fully described yet. As part of this supplies for the system that are provided as a single supply by one of the currently merged PMIC boards are factored out so they can be reused between different regulators. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S3C2443: GPIO: Correct AC97 pin definesJassi Brar2010-02-241-5/+5
| | | | | | | | | GPIO_E-[5,9] pin functionality was defined incorrectly. The patch corrects and adds missing pins. Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SMDK2443: Enable AC97 deviceJassi Brar2010-02-241-0/+8
| | | | | | | | Add AC97 controller to platform devices and initialize the AC97 gpios. Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SAMSUNG: Fix UART number for S5P6442Ben Dooks2010-02-241-1/+1
| | | | | | | The recent changes in the UART code mean that we need to ensure that the 4 UART case is only selected if S5PV210 is being compiled. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5P6442: Add serial port supportKukjin Kim2010-02-242-1/+3
| | | | | | | This patch adds UART serial port support for S5P6442. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5P6442: Add S5P6442 configuration fileKukjin Kim2010-02-241-0/+883
| | | | | | | This patch adds S5P6442 default configuration file. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5P6442: Add SMDK6442 board support fileKukjin Kim2010-02-242-0/+92
| | | | | | | This patch adds SMDK6442 board support file. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5P6442: Update Kconfig and MakefilesKukjin Kim2010-02-243-2/+13
| | | | | | | | | Updates arch/arm Kconfig and Makefile for building the S5P6442 support. Also modifies the plat-s5p Kconfig file to include the support for plat-s5p for S5P6442. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5P6442: Add <mach/*.h> files missing from original commitBen Dooks2010-02-243-0/+58
| | | | | | | The removal of plat-s3c has left these missing from the initial commit, so add copies from elsewhere. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5P6442: Add IRQ supportKukjin Kim2010-02-244-0/+110
| | | | | | | | | | | This patch adds IRQ support for S5P6442. This patch adds interrupt register definitions, IRQ definitions for various interrupt sources and new VIC base for VIC2 in plat-s5p common irq code. Signed-off-by: Adityapratap Sharma <aditya.ps@samsung.com> Signed-off-by: Atul Dahiya <atul.dahiya@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5P6442: Add clock support for S5P6442Kukjin Kim2010-02-245-1/+595
| | | | | | | | | | This patch adds clock support for S5P6442. This patch adds the clock register definitions and the various system clocks in S5P6442. Signed-off-by: Adityapratap Sharma <aditya.ps@samsung.com> Signed-off-by: Atul Dahiya <atul.dahiya@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5P6442: Add Samsung S5P6442 CPU supportKukjin Kim2010-02-2417-0/+617
| | | | | | | | | | This patch adds support for Samsung S5P6442 CPU. This patch also adds an entry for S5P6442 cpu in plat-s5p cpu table. Signed-off-by: Adityapratap Sharma <aditya.ps@samsung.com> Signed-off-by: Atul Dahiya <atul.dahiya@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SAMSUNG: adc: disable/enable IRQ on suspend/resumeVasily Khoruzhick2010-02-241-0/+2
| | | | | | | IRQ should be disabled on suspend and re-enabled on resume. Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SAMSUNG: Add resources description for s3c24xx ts driverVasily Khoruzhick2010-02-241-0/+18
| | | | | | | Without resources description driver fails during initialization. Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SAMSUNG: Eliminate plat-s3cBen Dooks2010-02-247-93/+4
| | | | | | | The plat-s3c directory is now clear, so remove the files in it and expunge it from the build process. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SAMSUNG: Move include/mach files out of plat-s3cBen Dooks2010-02-249-0/+183
| | | | | | | | Move the include/mach files out of plat-s3c and into the relevant machine files. This does mean copying the files, but there is nowhere else to put them. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SAMSUNG: Select NO_IOPORT for plat-samsungBen Dooks2010-02-241-0/+1
| | | | | | All these platforms select NO_IOPORT, so move it to plat-samsung Kconfig Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S3C24XX: Move audio-simtec.h to plat-s3c24xxBen Dooks2010-02-241-1/+1
| | | | | | | Continue the clearout of plat-s3c by moving audio-simtec.h to plat-s3c24xx as there are no current implementations outside of this platform. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SAMSUNG: Move plat-s3c Kconfig entries to plat-samsung and plat-s3c24xxBen Dooks2010-02-249-88/+142
| | | | | | | | | | | Move the Kconfig entries from plat-s3c to plat-samsung and plat-s3c24xx as necessary. The S3C_BOOT entries and the DMA configuration can go to plat-samsung. The low-level UART configurations are currently S3C2XX specific and can go to plat-s3c24xx. Eliminating plat-s3c from the build process will be submitted seperately. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SAMSUNG: Move the last build from plat-s3c to plat-samsungBen Dooks2010-02-235-5/+5
| | | | | | | Move the init.c and time.c files to plat-samsung from plat-s3c, thus clearing the last files that are being built in here. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SAMSUNG: Move DMA support to plat-samsungBen Dooks2010-02-234-5/+5
| | | | | | Move the core of the DMA support to plat-samsung for everyone to use. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SAMSUNG: Move pm.c to plat-samsungBen Dooks2010-02-233-4/+1
| | | | | | Move pm.c to plat-samsung, it should be usable by all Samsung systems Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SAMSUNG: Move map-base to plat-samsungBen Dooks2010-02-231-0/+0
| | | | | | | | Move the map-base file to plat-samsung. To make the move easier, we do not change the S3C_ prefix on many of the items as this would involve going through altering all the dependencies. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SAMSUNG: Move common headers from plat-s3c to plat-samsungBen Dooks2010-02-2312-12/+12
| | | | | | | | Move common headers from plat-s3c's include/plat directory into plat-samsung. No need to fix any files, these are still included via <plat/> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: Merge next-samsung-s3c64xx-platdeletionBen Dooks2010-02-2293-857/+587
|\ | | | | | | | | | | | | | | Merge branch 'next-samsung-s3c64xx-platdeletion' into next-samsung Conflicts: arch/arm/mach-s3c64xx/Makefile (fixed)
| * ARM: S3C64XX: Eliminate plat-s3c64xxBen Dooks2010-02-224-25/+10
| | | | | | | | | | | | | | | | | | | | | | Now we've move the support out of plat-s3c64xx for everything, eliminate the platform directory arch/arm/plat-s3c64xx and remove it from the ARM build configuration. Note, PLAT_S3C64XX is kept around for the moment until the drivers that depend on it can be updated, so it is moved to the mach-s3c64xx Kconfig. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: SAMSUNG: Remove dma-plat.h to allow plat-s3c64xx to be removedBen Dooks2010-02-2110-80/+64
| | | | | | | | | | | | | | | | | | | | | | | | dma-plat.h is the last file left in plat-s3c64xx, but to remove it we must also change the use of dma-plat.h by the core code and the s3c24xx implementation. Rename the s3c24xx dma-plat.h in the common plat-samsung directory as it may be used for other ports. Move the specific dma bits into the mach-s3c64xx directory and update the build as needed. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: SAMSUNG: Move pm-core.h to machine directoryBen Dooks2010-02-203-3/+3
| | | | | | | | | | | | | | Move the pm-core.h to the machine include directory in the process of eliminating the plat-s3c64xx. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S3C64XX: Remove plat-s3c64xx Kconfig and PLAT_S3C64XXBen Dooks2010-02-203-17/+16
| | | | | | | | | | | | | | | | | | | | | | Remove the Kconfig and PLAT_S3C64XX defines for the previous S3C64XX directory structure now that the code is moved into mach-s3c64xx. Note, we cannot currently remove plat-s3c64xx directory as we have a pair of include files used within plat-s3c and plat-samsung that need to find a new home. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S3C64XX: Combine the clock init codeBen Dooks2010-02-205-40/+23
| | | | | | | | | | | | | | | | | | | | | | Turn the init sequence of s3c24xx_register_baseclocks(xtal); s3c64xx_register_clocks(); s3c6400_register_clocks(S3C6410_CLKDIV0_ARM_MASK); into a single call as this is now contained within one file. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S3C64XX: Merge s3c6400-clock.c and clock.c into mach-s3c64xxBen Dooks2010-02-205-553/+507
| | | | | | | | | | | | | | | | | | | | Merge plat-s3c64xx/s3c6400-clock.c mach-s3c64xx/clock.c placing all the clock code into one place. Note, no effort is made in this patch to squash the init functions together. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S3C64XX: Merge s3c6400-init.c into cpu.cBen Dooks2010-02-205-38/+6
| | | | | | | | | | | | | | | | Since this file is small, and is compiled for both systems in this architecture merge it into the cpu support file and remove the original instead of moving it. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S3C64XX: Move core support to mach-s3c64xxBen Dooks2010-02-2022-35/+35
| | | | | | | | | | | | | | | | | | Move the core S3C64XX support to mach-s3c64xx as it is unlikely to be used outside of this directory. Also move the SoC header files in with it. This includes the clock, cpu, cpufreq, dma, gpiolib and pll support. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S3C64XX: Move device and device setup into mach-s3c64xxBen Dooks2010-02-2014-44/+40
| | | | | | | | | | | | | | Move the S3C64XX specific device and setup files into mach-s3c64xx as they are unlikely to be used outside of this code. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S3C64XX: Move IRQ support into mach-s3c64xxBen Dooks2010-02-208-224/+212
| | | | | | | | | | | | | | Move IRQ support to mach-s3c64xx as it is unlikely to be re-used outside this machine. Signed-off-by: Ben Dooks <ben-linux@fluff.org>