summaryrefslogtreecommitdiffstats
path: root/arch/arm
Commit message (Collapse)AuthorAgeFilesLines
* 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>
| * ARM: S3C64XX: Move headers into machine include directoryBen Dooks2010-02-2039-207/+191
| | | | | | | | | | | | | | | | | | | | | | Move the register and GPIO definition files from plat-s3c64xx into the machine include direcotry as they are unlikely to be reused outside mach-s3c64xx. This move includes removing the empty <mach/regs-clock.h> and replacing it with the <plat/regs-clock.h> implementation. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S3C64XX: Squash SDHCI setup into one fileBen Dooks2010-01-265-107/+37
| | | | | | | | | | | | | | Squash the SDHCI setup for both the S3C6400 and S3C6410 into one file and make the S3C6410 case use the S3C6400 code. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S3C64XX: Remove useless IO descriptor from S3C6410Ben Dooks2010-01-261-12/+0
| | | | | | | | | | | | | | The iotable in arch/arm/mach-s3c64xx/s3c6410.c is currently empty and therefore can be removed from the build. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S3C64XX: Merge mach-s3c6400 and mach-s3c6410Ben Dooks2010-01-2632-92/+67
| | | | | | | | | | | | | | | | | | | | | | | | As per discussions with Russell King on linux-arm-kernel, it appears that both mach-s3c6400 and mach-s3c6410 are so close together that they should simply be merged into mach-s3c64xx. Note, this patch does not eliminate any of the bits that are still common, it is simply a move of the two directories together, any further common code will be eliminated or moved in further patches. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | ARM: Merge next-samsung-s3c244x-mergeBen Dooks2010-02-0324-189/+117
|\ \ | | | | | | | | | Merge branch 'next-samsung-s3c244x-merge' into next-samsung
| * | ARM: S3C244X: Merge plat-s3c24xx s3c2440.h and s3c2442.h into s3c244x.hBen Dooks2010-02-0110-42/+17
| | | | | | | | | | | | | | | | | | | | | | | | Merge these two headers into one, these two SoCs are so similar. Note, correct fault in mach-smdk2443.h including the wrong header. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S3C24XX: Move S3C2440/S3C2442 plat-s3c24xx support to mach-s3c2440Ben Dooks2010-02-019-51/+53
| | | | | | | | | | | | | | | | | | | | | Remove the old common S3C2440 and S3C2442 SoC support from plat-s3c24xx into mach-s3c2440 now this directory is serving both SoCs. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S3C24XX: Remove old mach-s3c2442Ben Dooks2010-02-014-21/+1
| | | | | | | | | | | | | | | | | | | | | Remove the old mach-s3c2442 directory now all is merged into mach-s3c2440 and remove it from the arch/arm build process. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S3C244X: Move S3C2442 code into S3C2440Ben Dooks2010-02-014-11/+14
| | | | | | | | | | | | | | | | | | | | | Move the remaining S3C2442 code into mach-s3c2440 as there is only one file currently in there and these two SoCs are very similar. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S3C2440: Fix SMDK2440 SoC selectionBen Dooks2010-02-011-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the entries for SMDK2440 should have allowed for S3C2440 or S3C2440 SoC selection but this depended on ARCH_S3C2440 which has not been around for a while. Remove the dependency to allow this to be selected. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S3C2442: Merge s3c2442.c and clock.cBen Dooks2010-02-013-165/+142
| | | | | | | | | | | | | | | | | | | | | Merge s3c2442.c and clock.c as the s3c242.c does not contain much and the clock parts are always built for s3c2442 anyway. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S3C24XX: Merge s3c2442 and s3c2440 machines into mach-s3c2440Ben Dooks2010-02-016-26/+19
| | | | | | | | | | | | | | | | | | | | | Move the pair of machines in arch/arm/mach-s3c2442 into the mach-s3c2440 directory as the S3C2440 and S3C2442 are very close. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | | ARM: Merge next-samsung-devupdates2Ben Dooks2010-02-035-7/+40
|\ \ \ | |/ / |/| | | | | Merge branch 'next-samsung-devupdates2' into next-samsung
| * | ARM: SAMSUNG: Add support for 12bit ADCMaurus Cuelenaere2010-02-032-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | The S3C64XX SoC series support 12bit ADC data, enable this and mask the data accordingly. Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S3C64XX: Make audio device code built unconditionallyBen Dooks2010-02-031-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Making the code depend on CONFIG_SND_S3C24XX_SOC means that if the ASoC code is build modularily, the boards will fail to link due to the device code also being built as a module. As per Mark Brown's suggestions, just compile this always as it is expected many machines will have audio. Also move the obj-y line out of the device setup area into a new area just for devices. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S3C64XX: SPI: Make platform device compilation selectableJassi Brar2010-02-032-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SPI controller platform devices should be compiled in independent of the driver support, otherwise we might end up with dev-spi built as kernel module. Change this to make every machine select if it has some SPI device and wants to build device definitions. Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: SAMSUNG: Add DMA masks to hsotg deviceBen Dooks2010-02-031-0/+7
| | | | | | | | | | | | | | | | | | | | | Add the required DMA masks to the hs-otg device definition to allow DMA to work with it. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | | ARM: S5P: Change S5P_TIMER_IRQ based to 11 for SAMSUNG S5P series.Atul Dahiya2010-01-291-1/+1
|/ / | | | | | | | | | | | | | | | | | | Currently, S5P_TIMER_IRQ is based at the end of VICs. This patch changes the S5P_TIMER_IRQ base from end of VICs to 11 in ISA IRQ space. No of VICs varies between SOCs. This causes an exception on S5P6442. 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: S5P6440: Move common memory map definitions for S5PKukjin Kim2010-01-279-70/+65
| | | | | | | | | | | | | | | | | | | | | | | | 1. Moved common memory map definitions for S5P such as S5P_VA_XXX into plat-s5p/include/mach/map-s5p.h from mach-s5p6440/include/mach. 2. Removed unnecessary definitions in the map.h and irq.c 3. Removed the unnecessary support for unaligned UART address 4. Renamed S5P_VA_VICx definitions as VA_VICx 5. Moved the definitons of VIC_BASE to plat-s5p/include/plat/irqs.h Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | ARM: S5P6440: Move CPU specific code in plat-s5p to machine directoryKukjin Kim2010-01-277-27/+6
| | | | | | | | | | | | | | | | | | The s5p6440-clock.c and s5p6440-init.c code in the plat-s5p is specific to s5p6440 SoC based systems. So these files are being moved to the machine directory of s5p6440. And these files are renamed in the machine directory. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | ARM: Merge next-smdk6410-defconfigBen Dooks2010-01-261-96/+264
|\ \ | | | | | | | | | Merge branch 'next-smdk6410-defconfig' into next-samsung
| * | ARM: S3C64XX: Update s3c6400_defconfig for current kernelBen Dooks2010-01-211-95/+263
| | | | | | | | | | | | | | | | | | | | | Update the s3c6400_defconfig with one from the current kernel which has been build and run tested on an SMDK6410. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S3C6400: Update s3c6400_defconfig for bigger initrds for SMDK6410Ben Dooks2010-01-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Samsung initrd for SMDK6410 is now bigger than the original initrds that where used. Increase the command-line size and the size of the ramdisk that it is unpacked into. Also change the default init to /linuxrc to avoid problems with the current SMDK ramdisk image failing to run /bin/bash. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | | ARM: SAMSUNG: Add error printing to s3c24xx_register_clocksBen Dooks2010-01-261-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an error print to s3c24xx_register_clocks to provide more useful information when failing to register the clock. I belive this was originally left out due to the possibility of a problem with low-level debugging code. However, if the low-level debug code is not functional by now there will be a whole other set of problems being presented to the system. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | | ARM: SAMSUNG: Add documentation to the clock registration calls.Ben Dooks2010-01-261-0/+14
| |/ |/| | | | | | | | | | | Add some kerneldoc documentation to the s3c24xx_register_clock and the s3c24xx_register_clocks() call. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | ARM: SAMSUNG: Fix bad use of __initdata for s3c_register_clocks()Ben Dooks2010-01-261-1/+1
| | | | | | | | | | | | Functions should be marked __init, not __initdata. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | ARM: SAMSUNG: Fix null pointer dereference in ADC driverMaurus Cuelenaere2010-01-261-1/+1
| | | | | | | | | | | | | | | | | | | | ARM: SAMSUNG: Fix null pointer dereference in ADC driver Use struct adc_device instead of relying on client (which could be NULL) when checking for SoC type. Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | ARM: S5PV210: Add serial port supportThomas Abraham2010-01-261-0/+30
| | | | | | | | | | | | | | | | This patch adds UART serial port support for S5PV210. 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: S5P6440: Add HSMMC and OTG base addresses to map.hBen Dooks2010-01-211-0/+8
|/ | | | | | Add the HSOTG and HSMMC block addresses to the map.h file. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S3C64XX: Tidy up common code in s3c64xx_spi_set_info()Ben Dooks2010-01-211-6/+9
| | | | | | | | | | The s3c64xx_spi_set_info() sets one of two platform data structures depending on which controller is being specified. Change to taking a pointer to the relevant platform data structure and then having one set of code to place the data into the area being pointed to. Cc: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S3C64XX: Fix typo in s3c-hsotg platform dataMaurus Cuelenaere2010-01-211-2/+2
| | | | | | | ARM: S3C64XX: Fix typo in s3c-hsotg platform data Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SAMSUNG: Staticise gpiolib implementation functionsMark Brown2010-01-211-7/+9
| | | | | | | They are not exported, they are referenced via vtables. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S3C64XX: Staticise audio platform dataMark Brown2010-01-211-3/+3
| | | | | | | It's not exported. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S3C64XX: Fix dev-audio buildMark Brown2010-01-211-3/+3
| | | | | | | | | | | As reported when the patch was posted commit 71269364 ("ARM: S3C64XX: Add I2S resources in platform code") uses pin names for the IISv4 data output pins which are not present in mainline, causing dev-audio to fail to build. Fix this by using the defines which are actually present in the kernel source. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SMDK6410: Set up interrupt range for WM835x on 1190-EV1 PMIC boardMark Brown2010-01-212-0/+5
| | | | | | | | The WM835x driver won't actually use this yet but it will in the future when the changes converting it to genirq are merged. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SAMSUNG: Move pm-check.c to plat-samsungBen Dooks2010-01-219-58/+59
| | | | | | | | | | | | Move the pm-check.c file to plat-samsung for all Samsung SoC users, and update Kconfig names to make them SAMSUNG_ instead of S3C2410_ Sed expresions used to make the change: s/S3C2410_PM_DEBUG/SAMSUNG_PM_DEBUG/g s/S3C2410_PM_CHECK/SAMSUNG_PM_CHECK/g Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SAMSUNG: Move pmw.c to plat-samsungBen Dooks2010-01-213-4/+4
| | | | | | | Move the PWM driver support to plat-samsung, as these PWM blocks are close enough across the current range to be supported by this driver. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SAMSUNG: Move more support into plat-samsungBen Dooks2010-01-2120-0/+0
| | | | | | | | Move header files which are not likely to be touched in any further support addition out of plat-s3c's include directory into plat-samsung. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5P6440: Add IO descriptor for ChipID block.Kukjin Kim2010-01-191-0/+5
| | | | | | | This patch adds the IO descriptor for ChipID block in S5P6440. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
OpenPOWER on IntegriCloud