aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ARM: S5P6442: Add DMA operation clockSeungwhan Youn2010-10-252-0/+29
| | | | | | | | This patch adds DMA operation clock which is disabled as default. Signed-off-by: Seungwhan Youn <sw.youn@samsung.com> Acked-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* Merge branch 'next-s3c64xx' into for-nextKukjin Kim2010-10-254-5/+572
|\
| * ARM: S3C64XX: add touchscreen support for mach-mini6410Darius Augulis2010-10-212-0/+14
| | | | | | | | | | | | | | Add touchscreen device support for mach-mini6410 Signed-off-by: Darius Augulis <augulis.darius@gmail.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
| * ARM: S3C64XX: add backlight control for mach-mini6410Darius Augulis2010-10-211-0/+21
| | | | | | | | | | | | | | Add support for platform-lcd device for mach-mini6410 Signed-off-by: Darius Augulis <augulis.darius@gmail.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
| * ARM: S3C64XX: add frame buffer support for mach-mini6410Darius Augulis2010-10-212-0/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | Add support for frame buffer device for mach-mini6410. Patch also adds support for feature string parsing for mini6410. The feature string is kernel command line passed and currently lets select only LCD configuration. At the moment there is support for two LCD configurations - 4.3" and 7.0". Feature parser is mach-mini2440 based. Signed-off-by: Darius Augulis <augulis.darius@gmail.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
| * ARM: S3C64XX: add nand support for mach-mini6410Darius Augulis2010-10-212-0/+42
| | | | | | | | | | | | | | | | Add nand device support and mtd partition table for mini6410 Signed-off-by: Darius Augulis <augulis.darius@gmail.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
| * ARM: S3C64XX: add support for mach-mini6410Darius Augulis2010-10-213-0/+165
| | | | | | | | | | | | | | Add support for mini6410 board from FriendlyARM Signed-off-by: Darius Augulis <augulis.darius@gmail.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
| * ARM: S3C64XX: add USB host support for mach-real6410Darius Augulis2010-10-192-0/+2
| | | | | | | | | | | | | | Add USB host device support for mach-real6410 Signed-off-by: Darius Augulis <augulis.darius@gmail.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
| * ARM: S3C64XX: add touchscreen support for mach-real6410Darius Augulis2010-10-192-0/+13
| | | | | | | | | | | | | | Add touchscreen device support for mach-real6410 Signed-off-by: Darius Augulis <augulis.darius@gmail.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
| * ARM: S3C64XX: add nand support for mach-real6410Darius Augulis2010-10-192-0/+41
| | | | | | | | | | | | | | | | Add nand device support and mtd partition table for mach-real6410 Signed-off-by: Darius Augulis <augulis.darius@gmail.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
| * ARM: S3C64XX: add frame buffer support for mach-real6410Darius Augulis2010-10-192-5/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | Add support for frame buffer device for mach-real6410. Patch also adds support for feature string parsing for real6410. The feature string is kernel command line passed and currently lets select only LCD configuration. At the moment there is support for two LCD configurations - 4.3" and 7.0". Feature parser is mach-mini2440 based. Signed-off-by: Darius Augulis <augulis.darius@gmail.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | Merge branch 'next-s3c24xx' into for-nextKukjin Kim2010-10-2512-9/+139
|\ \
| * | ARM: S3C2416: Add Power Management support for SMDK2416Abhilash Kesavan2010-10-205-1/+95
| | | | | | | | | | | | | | | | | | | | | | | | Adds suspend-to-ram support for SMDK2416 based on existing 2412 PM code Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com> Signed-off-by: Sangbeom Kim <sbkim73@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
| * | ARM: S3C24XX: Fix gpiolib support for ports K..MYauhen Kharuzhy2010-10-201-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | S3C2443 and S3C2416 has 12 GPIO banks (from A to M), increase ARCH_NR_GPIOS for this architectures. Also typo from previous commit has been fixed: CONFIG_CPU_S3C24XX instead CONFIG_CPU_244X. Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com> Tested-by: Vasily Khoruzhick <anarsoul@gmail.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
| * | ARM: S3C2416: Change S3C2416 NAND platform device nameAtul Dahiya2010-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch changes the platform device name from 's3c2416-nand' to 's3c2412-nand' so that S3C2416 can reuse the nand functionality available on S3C2412. 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>
| * | ARM: SAMSUNG: Add setname core function for S3C24XX NANDAtul Dahiya2010-10-185-4/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch replaces the device name assignment method from string assignment to set_name method for all s3c24xx machines and adds device core file. 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>
| * | ARM: S3C24XX: Fix nand partition table for s3c24XXAtul Dahiya2010-10-181-1/+1
| |/ | | | | | | | | | | | | | | | | | | This patch fixes the partition table as existing partition table have last partition size fixed and can't utilize available memory proprly if size is more than 64M. 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>
* | ARM: S5PC100: Fix Audio, Keypad and ADC clock sourcesJassi Brar2010-10-251-9/+9
| | | | | | | | | | | | | | | | Audio, Keypad and ADC inherit PCLKD1 clock source. Signed-off-by: Jassi Brar <jassi.brar@samsung.com> [kgene.kim@samsung.com: minor title fix] Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PV210: Add voltage consumer of WM8994 to the regulator frameworkChanwoo Choi2010-10-252-0/+235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch add cose related to regulator. To control powre consumeption have registered the voltage consumer of WM8994 to the regulator framework. Additionally, I explain the constraints of the regulator of WM8994 codec. All these consumer supply of WM8994 codec connected the regulator(VCC_1.8V) on a circuit diagram. "VCC_1.8V" regulator is always enabled, because it is used to many devices on Goni/Aquila board. This is required especially when there are many devices physically attached to "VCC_1.8V" and some of they did not "register" as consumers to "VCC_1.8V". "VCC_1.8V" might be turned off by those who are registered while "unregistered" are still active Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PV210: Add init code of audio to Goni and Auqila boardChanwoo Choi2010-10-252-0/+35
| | | | | | | | | | | | | | | | | | | | | | This patch add initialization code of audio and I2S platform drivers to Goni and Aquila board. Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PV210: Add i2c information to Goni and Aquila boardChanwoo Choi2010-10-252-0/+54
| | | | | | | | | | | | | | | | | | | | This patch the I2C board information for the WM8994 used in the Goni/Aquila as audio codec and adds the I2C platform drivers. Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PV310: Add support GPIOlibJongpill Lee2010-10-253-5/+314
| | | | | | | | | | | | | | | | | | This patch adds GPIOlib support for S5PV310 and S5PC210. Signed-off-by: Jongpill Lee <boyko.lee@samsung.com> Signed-off-by: Sangbeom Kim <sbkim73@samsung.com> [kgene.kim@samsung.com: Fix NR_IRQS] Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5P: Add initial map for GPIO2 and GPIO3Jongpill Lee2010-10-252-1/+14
| | | | | | | | | | | | | | | | | | This patch adds initial map for GPIO2 and GPIO3. S5PV310/S5PC210 has separated GPIO1, GPIO2 and GPIO3. Signed-off-by: Jongpill Lee <boyko.lee@samsung.com> Signed-off-by: Sangbeom Kim <sbkim73@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PV310: Update MAX_COMBINER_NRJongpill Lee2010-10-251-1/+1
| | | | | | | | | | | | | | | | | | This patch updates MAX_COMBINER_NR from 39 to 40 because S5PV310 need 39th combiner for including EINT16_31. Signed-off-by: Jongpill Lee <boyko.lee@samsung.com> Signed-off-by: Sangbeom Kim <sbkim73@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5P: Add EPLL rate change warningSeungwhan Youn2010-10-254-0/+12
| | | | | | | | | | | | | | | | | | | | This patch adds warning about changing EPLL rate to notice that other driver that controls H/W, which is using EPLL, will has unknown effects by this EPLL rate change. Signed-off-by: Seungwhan Youn <sw.youn@samsung.com> Acked-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PV210: Add EPLL clock operationsSeungwhan Youn2010-10-251-0/+77
| | | | | | | | | | | | | | | | | | This patch adds EPLL specific clock get_rate/set_rate operations on S5PV210. Signed-off-by: Seungwhan Youn <sw.youn@samsung.com> Acked-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PV210: Fix wrong EPLL rate getting on setup clocksSeungwhan Youn2010-10-252-1/+3
| | | | | | | | | | | | | | | | This patch fix wrong EPLL getting on setup clocks on S5PV210. Signed-off-by: Seungwhan Youn <sw.youn@samsung.com> Acked-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5P: Reduce duplicated EPLL control codesSeungwhan Youn2010-10-258-42/+36
| | | | | | | | | | | | | | | | | | | | | | | | S5P Samsung SoCs has a EPLL to support various PLL clock sources for other H/W blocks. Until now, to control EPLL, each of SoCs make their own functions in 'mach-s5pxxx/clock.c'. But some of functions, 'xxx_epll_get_rate()' and 'xxx_epll_enable()', are exactly same in all S5P SoCs, so this patch move these duplicated codes to common EPLL functions that use platform wide. Signed-off-by: Seungwhan Youn <sw.youn@samsung.com> Acked-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PV210: Add audio clocks as sysclkSeungwhan Youn2010-10-251-0/+4
| | | | | | | | | | | | | | | | | | | | This patch adds audio clocks(SCLK_AUDIO{0,1,2} and SCLK_AUDIO) to be initial as a sysclk on boot-time. Signed-off-by: Seungwhan Youn <sw.youn@samsung.com> Acked-by: Jassi Brar <jassi.brar@samsung.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PV210: Add SCLK_SPDIF clockSeungwhan Youn2010-10-251-9/+53
| | | | | | | | | | | | | | | | | | | | This patch add SCLK_SPDIF clock to support source clock of S/PDIF on S5PV210. Signed-off-by: Seungwhan Youn <sw.youn@samsung.com> Acked-by: Jassi Brar <jassi.brar@samsung.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PV210: Add S/PDIF platform deviceSeungwhan Youn2010-10-255-0/+46
| | | | | | | | | | | | | | | | | | | | This patch add S/PDIF platform device to support S/PDIF PCM audio on S5PV210. Signed-off-by: Seungwhan Youn <sw.youn@samsung.com> Acked-by: Jassi Brar <jassi.brar@samsung.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PC100: Add SCLK_SPDIF clockSeungwhan Youn2010-10-251-0/+59
| | | | | | | | | | | | | | | | | | | | This patch add SCLK_SPDIF clock to support source clock of S/PDIF on S5PC100. Signed-off-by: Seungwhan Youn <sw.youn@samsung.com> Acked-by: Jassi Brar <jassi.brar@samsung.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PC100: Modify SCLK_AUDIO{0,1,2} clock as sysclksSeungwhan Youn2010-10-251-33/+39
| | | | | | | | | | | | | | | | | | | | This patch modify SCLK_AUDIO{0,1,2} to be initial as sysclks on boot-time. Signed-off-by: Seungwhan Youn <sw.youn@samsung.com> Acked-by: Jassi Brar <jassi.brar@samsung.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PC100: Add S/PDIF platform deviceSeungwhan Youn2010-10-255-0/+70
| | | | | | | | | | | | | | | | | | | | This patch add S/PDIF platform device to support S/PDIF PCM audio on S5PC100. Signed-off-by: Seungwhan Youn <sw.youn@samsung.com> Acked-by: Jassi Brar <jassi.brar@samsung.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S3C64XX: Ensure s3c64xx_ide_setup_gpio() is prototypedMark Brown2010-10-251-0/+1
| | | | | | | | | | | | | | | | Since it's exported we should make sure we're using the prototype others see. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S3C64XX: Ensure samsung_keypad_cfg_gpio() is prototypedMark Brown2010-10-251-0/+1
| | | | | | | | | | | | | | | | Since it's exported we should make sure we're using the prototype others see. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PV210: Update Kconfig and Makefile for supporting CPUFREQ driverJaecheol Lee2010-10-252-0/+2
| | | | | | | | | | | | | | | | | | This patch adds ARCH_HAS_CPUFREQ in arch/arm/Kconfig for S5PV210, and updates mach-s5pv210/Makefile for supporting build CPUFREQ driver. Signed-off-by: Jaecheol Lee <jc.lee@samsung.com> Signed-off-by: Sangbeom Kim <sbkim73@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PV210: Add support CPUFREQJaecheol Lee2010-10-251-0/+484
| | | | | | | | | | | | | | | | This patch adds CPUFREQ driver for supporting DFS(Dynamic Frequency Scaling). Signed-off-by: Jaecheol Lee <jc.lee@samsung.com> Signed-off-by: Sangbeom Kim <sbkim73@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PV210: Add Register definition for CMUJaecheol Lee2010-10-251-1/+30
| | | | | | | | | | | | | | | | | | This patch adds some CMU(Clock Management Unit) registers for supporting CPUFREQ and some drivers. Signed-off-by: Jaecheol Lee <jc.lee@samsung.com> Signed-off-by: Sangbeom Kim <sbkim73@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PV210: Add MOUT_DMC0 and SCLK_DMC0 clocksJaecheol Lee2010-10-251-0/+32
| | | | | | | | | | | | | | | | | | This patch adds MOUT_DMC0 and SCLK_DMC0 for checking the dmc0 clock in CPUFREQ driver. Signed-off-by: Jaecheol Lee <jc.lee@samsung.com> Signed-off-by: Sangbeom Kim <sbkim73@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PV210: Add struct clk_ops for clk_fout_apllJaecheol Lee2010-10-251-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | Current fout_apll has fixed rate value. So CPUFREQ driver gets incorrect value when finding current CPU frequency. Because some operation level need to change APLL. Added get_rate function for fout_apll can give correct frequency value when calling get_rate function. Signed-off-by: Jaecheol Lee <jc.lee@samsung.com> Signed-off-by: Sangbeom Kim <sbkim73@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PV310: Add I2C channel 3, 4, 5, 6, and 7 device supportKyungmin Park2010-10-2517-0/+531
| | | | | | | | | | | | | | | | | | S5PV310 and S5PC210 support more I2C devices than previous SoCs. Add the device support code for them. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PV310: Define address & interrupt for all I2C blocksKyungmin Park2010-10-252-2/+16
| | | | | | | | | | | | | | | | S5PV310 and S5PC210 support total 8 (+ 1 dedicated for HDMI) I2C devices. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PV210: Fix wrong interrupt I2C2 and I2C3 numberKyungmin Park2010-10-252-4/+4
| | | | | | | | | | | | | | | | | | The name of the I2C2 and I2C3 interrupt should be IIC2 and IIC3 instead of CAN0 and CAN1. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PC100: Change I2C2 and I2C3 IRQ namesKukjin Kim2010-10-251-2/+2
| | | | | | | | | | | | | | This patch changes I2C2 and I2C3 interrupt name from IRQ_CANX to IRQ_IICX according other SoCs' I2C interrupt naming rule. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5P: Cleanup the S5P SoCs' VA address mappingKukjin Kim2010-10-251-19/+21
| | | | | | | | | | | | | | | | | | Basically S5P SoCs use the Samsung common VA address mapping where plat-samsung and use plat-s5p's mapping also. The later is a little mess. So this patch cleans it up. Cc: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PV310: I2C0/1 devices support on Universal boardKyungmin Park2010-10-252-0/+16
| | | | | | | | | | | | | | | | Camera devices use the I2C0 and Gyro uese the I2C1 on universal board. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> [kgene.kim@samsung.com: minor title fixes] Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: S5PV310: Universal OneNAND supportKyungmin Park2010-10-252-0/+3
| | | | | | | | | | | | | | | | OneNAND device support for Universal board. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> [kgene.kim@samsung.com: minor title fixes] Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: SAMSUNG: Add clock types into platform dataJeongbae Seo2010-10-257-0/+27
| | | | | | | | | | | | | | | | | | This patch adds clock types into platform data to support external clock divider instead of internal clock divider. It is defined that what kinds of clock type is used in machine. Signed-off-by: Jeongbae Seo <jeongbae.seo@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* | ARM: SAMSUNG: Modified to change of bus width and host capsHyuk Lee2010-10-254-7/+13
| | | | | | | | | | | | | | | | | | | | This patch adds to change bus width and host capability of HSMMC, when HSMMC is only configured with another value of bus width and host capability from default one. Signed-off-by: Hyuk Lee <hyuk1.lee@samsung.com> Signed-off-by: Jeongbae Seo <jeongbae.seo@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>