summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ARM: Merge for-2635-4/s5pc1xx-removalBen Dooks2010-05-2038-3249/+376
|\ | | | | | | Merge branch 'for-2635-4/s5pc1xx-removal' into for-2635-4/partial1
| * ARM: remove obsolete plat-s5pc1xx directoryMarek Szyprowski2010-05-2014-2955/+0
| | | | | | | | | | | | | | | | | | | | This patch removes all obsolete files from plat-s5pc1xx. This directory is no longer needed. S5PC100 SoC is now completely supported in plat-s5p framework. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S5PC100: use common plat-s5p external interrupt codeMarek Szyprowski2010-05-205-20/+30
| | | | | | | | | | Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S5PC100: Add support for gpio interruptMarek Szyprowski2010-05-203-45/+44
| | | | | | | | | | | | | | | | | | This patch moves support for gpio interrupts from plat-s5pc1xx to mach-s5pc100 directory. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: SAMSUNG: move S5PC100 support from plat-s5pc1xx to plat-s5p frameworkMarek Szyprowski2010-05-2021-203/+267
| | | | | | | | | | | | | | | | | | | | This patch moves S5PC100 SoC support to plat-s5p framework. Most periperal support code has been already moved from plat-s5pc1xx to mach-s5pc100. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S5PC100: Move sdhci helpers from plat-s5pc1xx to mach-s5pc100Marek Szyprowski2010-05-205-15/+15
| | | | | | | | | | | | | | | | Move sdhci helpers from plat-s5pc1xx to mach-s5pc100. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: SMDKC100: remove magic values from uart setup structuresMarek Szyprowski2010-05-201-15/+25
| | | | | | | | | | | | | | | | This patch introduces nice defines for the initial values for UART devices on SMDKC100. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: SMDKC100: fix frame buffer definitionsMarek Szyprowski2010-05-201-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | The definition of the framebuffer parameters was created when s3c-fb.c driver was patched to support setting the refresh rate directly (commit 600ce1a0faafeed1ce6bcfd421bc040b941cbbc1). That patch was completely wrong and was reverted in commit eb29a5cc0b601c458bae9df2f what breaked the framebuffer on s5pc100. This patch updates framebuffer definitions to correct values. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | ARM: S5PV210: Add IRQ_EINT interrupt support.Jongpill Lee2010-05-206-20/+276
|/ | | | | | | | | | Add support for external interrupts on S5PV210. Signed-off-by: Jongpill Lee <boyko.lee@samsung.com> Signed-off-by: Pannaga Bhushan <p.bhushan@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> [ben-linux@fluff.org: Ext => IRQ_EINT in title] Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* Input: s3c24xx_ts - depend on SAMSUNG_DEV_TS and update menu entryBen Dooks2010-05-191-2/+2
| | | | | | | | | | | Make the driver depend on either ARCH_S3C2410 (as legacy) or the new device selection of SAMSUNG_DEV_TS. Change the menuconfig name to reflect this driver is now handling more devices that just the s3c2410. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Acked-by: Dmitry Torokhov <dtor@mail.ru>
* Input: s3c24xx_ts - Add FEAT for Samsung touchscreen supportNaveen Krishna2010-05-191-3/+12
| | | | | | | | | | | This patch adds a feature bit field in the touchscreen driver for Samsung SoCs. Which can be used to distinguish the TSADC module features. Signed-off-by: Naveen Krishna Ch <ch.naveen@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> [ben-linux@fluff.org: minor fix to title] Signed-off-by: Ben Dooks <ben-linux@fluff.org> Acked-by: Dmitry Torokhov <dtor@mail.ru>
* Input: s3c24xx_ts - Implement generic GPIO configuration callbackNaveen Krishna2010-05-191-20/+3
| | | | | | | | | | | | This patch implements generic GPIO configuration function in Samsung touchscreen driver. And makes the touchscreen driver s3c24xx-ts.c generic to all the Samsung SoCs. Signed-off-by: Naveen Krishna Ch <ch.naveen@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> [ben-linux@fluff.org: fixed title ] Signed-off-by: Ben Dooks <ben-linux@fluff.org> Acked-by: Dmitry Torokhov <dtor@mail.ru>
* ARM: SAMSUNG: Move s3c64xx dev-ts.c to plat-samsung and rename configurationBen Dooks2010-05-193-5/+5
| | | | | | | Move the arch/arm/mach-s3c64xx/dev-ts.c file to arch/arm/plat-samsung and rename the Kconfig entry appropriately. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SAMSUNG: Implements cfg_gpio function for Samsung touchscreenNaveen Krishna2010-05-196-0/+46
| | | | | | | | | This patch implements cfg_gpio function for Samsung touchscreen. And also modifies the H1940 machine respectively. Signed-off-by: Naveen Krishna Ch <ch.naveen@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S3C64XX: Add touchscreen platform device definitionMaurus Cuelenaere2010-05-193-0/+68
| | | | | | | This patch adds the touchscreen platform device definition for S3C64XX boards. Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SAMSUNG: Move mach/ts.h to plat/ts.hMaurus Cuelenaere2010-05-194-5/+4
| | | | | | | | This moves mach-s3c2410/include/mach/ts.h to plat-samsung/include/plat/ts.h in order to prepare for s3c64xx support in the touchscreen driver. Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5PC100: Move i2c helpers from plat-s5pc1xx to mach-s5pc100Marek Szyprowski2010-05-196-22/+12
| | | | | | | | Move i2c helpers from plat-s5pc1xx to mach-s5pc100. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5PC100: Move frame buffer helpers from plat-s5pc1xx to mach-s5pc100Marek Szyprowski2010-05-195-9/+9
| | | | | | | | Move frame buffer helpers from plat-s5pc1xx to mach-s5pc100. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5PC100: gpio.h cleanupMarek Szyprowski2010-05-192-57/+46
| | | | | | | | | | This patch renames gpio related registers from s5pc1xx to s5pc100 to better match the plat-s5p framework style. GPIO_MP* defines now used anywhere thus has been removed. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5PC100: Move gpio support from plat-s5pc1xx to mach-s5pc100Marek Szyprowski2010-05-195-8/+9
| | | | | | | | | | Move gpio-lib support from plat-s5pc1xx to mach-s5pc100. Only basic gpio functionality is now supported. Gpio interrupts are disabled temporarly and will be added later. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5PC100: Use common functions for gpiolib implementationMarek Szyprowski2010-05-192-87/+10
| | | | | | | | | | GPIOlib helpers from plat-samsung already have functions for accessing 4bit gpio banks. This patch removes the duplicated functions from plat-s5pc1xx/gpiolib.c. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* drivers: serial: S5PC100 serial driver cleanupMarek Szyprowski2010-05-192-13/+4
| | | | | | | | | Remove unnecessary Kconfig entry. S5PC100 has exactly the same driver as S3C6400/S3C6410/S5P6440. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5PC100: Pre-requisite clock patch for plat-s5pc1xx to plat-s5p moveThomas Abraham2010-05-195-1/+1454
| | | | | | | | | | | This is a pre-requisite clock patch for the plat-s5pc1xx to plat-s5p movement. The patches that perform the movement of the code from plat-s5pc1xx to plat-s5p (and mach-s5pc100) should also enable the build for the mach-s5pc100/clock.c code. 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: SAMSUNG: Copy common I2C0 device helpers to machine directoriesMarek Szyprowski2010-05-197-2/+54
| | | | | | Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: SAMSUNG: move driver strength gpio configuration helper to common dirMarek Szyprowski2010-05-199-103/+86
| | | | | | | | | | Driver strength parameter can be changed not only on S5PC100 but also on S5PV210/S5PC110 platforms, so move the helper functions to the common plat-samsung directory. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: Merge for-2635/samsung-rtcBen Dooks2010-05-195-15/+23
|\ | | | | | | | | | | | | | | | | Merge branch 'for-2635/samsung-rtc' into for-linus/samsung2 Conflicts: arch/arm/mach-s3c64xx/include/mach/map.h arch/arm/plat-samsung/Kconfig arch/arm/plat-samsung/Makefile
| * ARM: SAMSUNG: Move RTC device definitions in plat-samsungAtul Dahiya2010-05-185-15/+21
| | | | | | | | | | | | | | | | | | | | | | This patch moves RTC device definitions from mach-s3c64xx to plat-samsung, to enable the other SoCs to use same device definition. Signed-off-by: Atul Dahiya <atul.dahiya@samsung.com> Signed-off-by: Sangbeom Kim <sbkim73@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | ARM: Merge for-2635/samsung-tsBen Dooks2010-05-197-5/+14
|\ \ | | | | | | | | | Merge branch 'for-2635/samsung-ts' into for-linus/samsung2
| * | ARM: SAMSUNG: Moving ADC device definition to plat-samsung.Naveen Krishna2010-05-187-5/+14
| |/ | | | | | | | | | | | | | | | | This patch moves ADC device definition to plat-samsung. Because that is generic to the S3C64XX and S5P Series SoCs. Signed-off-by: Naveen Krishna Ch <ch.naveen@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | ARM: Merge for-2635/s5p-audioBen Dooks2010-05-1914-0/+710
|\ \ | | | | | | | | | Merge branch 'for-2635/s5p-audio' into for-linus/samsung2
| * | ARM: SMDK6440: Add audio devices on boardJassi Brar2010-05-181-0/+1
| | | | | | | | | | | | | | | | | | | | | Add audio platform devices on the smdk by default. Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S5P6440: Add audio platform devicesJassi Brar2010-05-184-0/+139
| | | | | | | | | | | | | | | | | | | | | Define platform devices for all audio devices found on S5P6440 Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: SMDK6442: Add audio devices on boardJassi Brar2010-05-181-0/+1
| | | | | | | | | | | | | | | | | | | | | Add audio platform devices on the smdk by default. Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S5P6442: Add audio platform devicesJassi Brar2010-05-184-0/+213
| | | | | | | | | | | | | | | | | | | | | Define platform devices for all audio devices found on S5P6442 Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: SMDKC110: Add audio devices on boardJassi Brar2010-05-181-0/+2
| | | | | | | | | | | | | | | | | | | | | Add audio platform devices on the smdk by default. Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: SMDKV210: Add audio devices on boardJassi Brar2010-05-181-0/+2
| | | | | | | | | | | | | | | | | | | | | Add audio platform devices on the smdk by default. Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S5PV210: Add audio platform devicesJassi Brar2010-05-184-0/+352
| |/ | | | | | | | | | | | | Define platform devices for all audio devices found on S5PV210 Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | ARM: Merge for-2635/s5p-dmaBen Dooks2010-05-1920-3/+1813
|\ \ | | | | | | | | | | | | | | | | | | Merge branch 'for-2635/s5p-dma' into for-linus/samsung2 Conflicts: arch/arm/mach-s5pv210/Makefile
| * | S5PV210: DMA: Add platform devices for PL330 DMACsJassi Brar2010-05-185-1/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Samsung's Soc S5PV210 has three PL330 DMACs. First is dedicated for Memory->Memory data transfer while the other two meant for data transfer with peripherals. Define and add latter two PL330 DMACs as platform devices on the S5PV210 platform. Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | S5P6442: DMA: Add platform devices for PL330 DMACsJassi Brar2010-05-185-1/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Samsung's Soc S5P6442 has two PL330 DMACs. First is dedicated for Memory->Memory data transfer while the second is meant for data transfer with peripherals. Define and add the peripheral PL330 DMAC as platform device on the S5P6442 platform. Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | S5P6440: DMA: Add platform devices for PL330 DMACsJassi Brar2010-05-185-1/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | Samsung's Soc S5P6440 has one PL330 DMAC. Define and add the PL330 DMAC as platform device on the S5P6440 platform. Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | S3C: DMA: Add api driver for PL330Jassi Brar2010-05-185-0/+1342
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Latest Samsung SoCs have one or more PL330 as their DMACs. This patch implements the S3C DMA API for PL330 core driver. The design has been kept as generic as possible while keeping effort to add support for new SoCs to the minimum possible level. Some of the salient features of this driver are:- o Automatic scheduling of client requests onto DMAC if more than one DMAC can reach the peripheral. Factors, such as current load and number of exclusive but inactive peripherals that are supported by the DMAC, are used to decide suitability of a DMAC for a particular client. o CIRCULAR buffer option is supported. o The driver scales transparently with the number of DMACs and total peripherals in the platform, since all peripherals are added to the peripheral pool and DMACs to the controller pool. For most conservative use of memory, smallest driver size and best performance, we don't employ legacy data structures of the S3C DMA API. That should not have any affect since those data structures are completely invisible to the DMA clients. Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | ARM: Merge for-2635/fb-updates1Ben Dooks2010-05-1938-527/+1631
|\ \ | | | | | | | | | Merge branch 'for-2635/fb-updates1' into for-linus/samsung2
| * | ARM: SMDK2416: Add support for framebuffer device and ensure correct setupBen Dooks2010-05-183-3/+62
| | | | | | | | | | | | | | | | | | | | | Add support for the LCD display on the SMDJK2416, and correctly name the framebuffer device. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: SAMSUNG: Set S3C_FB_MAX_WIN in <plat/fb.h>Ben Dooks2010-05-182-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the S3C_FB_MAX_WIN to the platform data to avoid having to include the registers with the platform data. Set S3C_FB_MAX_WIN to 5, which is the maximum that any of the current hardware can do and the cost of having it set to this for all is minimal (at least for the platform data case), then always leave this as the maximum for the systems supported. Also remove the inclusion of <mach/regs-fb.h> from the device definition in arch/arm/plat-samsung Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S3C2443: Fix definition of LCD clock bitBen Dooks2010-05-181-2/+1
| | | | | | | | | | | | | | | | | | | | | Fix the definition of the LCD clock bit, it is the TFT display controller on bit 9, not the older STN on bit 10. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S3C2443: Add initial defines for framebuffer supportBen Dooks2010-05-182-0/+6
| | | | | | | | | | | | | | | | | | | | | Add the necessary defines to get the s3c-fb device to compile for s3c2443. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: SAMSUNG: Update S3C2416 entry with S3C2450Ben Dooks2010-05-103-2/+9
| | | | | | | | | | | | | | | | | | | | | These devices are so similar that they share the same SoC ID code, so note this. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S3C2413: Update GPIO pull-up supportBen Dooks2010-05-102-0/+8
| | | | | | | | | | | | | | | | | | | | | Ensure the right get/set pull code is selected and assigned to the GPIO core. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S3C2416: Use s3c2440 style i2c controllerBen Dooks2010-05-101-0/+6
| | | | | | | | | | | | | | | | | | | | | The s3c2416 i2c controllers are compatible with the s3c2440 style i2c block, so change the device name appropriately. Signed-off-by: Ben Dooks <ben-linux@fluff.org>y