GitHub/MotorolaMobilityLLC/kernel-slsi.git
14 years agoARM: S5P: Add EPLL rate change warning
Seungwhan Youn [Thu, 14 Oct 2010 01:39:33 +0000 (10:39 +0900)]
ARM: S5P: Add EPLL rate change warning

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>
14 years agoARM: S5PV210: Add EPLL clock operations
Seungwhan Youn [Thu, 14 Oct 2010 01:39:28 +0000 (10:39 +0900)]
ARM: S5PV210: Add EPLL clock operations

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>
14 years agoARM: S5PV210: Fix wrong EPLL rate getting on setup clocks
Seungwhan Youn [Thu, 14 Oct 2010 01:39:15 +0000 (10:39 +0900)]
ARM: S5PV210: Fix wrong EPLL rate getting on setup clocks

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>
14 years agoARM: S5P: Reduce duplicated EPLL control codes
Seungwhan Youn [Thu, 14 Oct 2010 01:39:08 +0000 (10:39 +0900)]
ARM: S5P: Reduce duplicated EPLL control codes

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>
14 years agoARM: S5PV210: Add audio clocks as sysclk
Seungwhan Youn [Thu, 14 Oct 2010 01:35:24 +0000 (10:35 +0900)]
ARM: S5PV210: Add audio clocks as sysclk

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>
14 years agoARM: S5PV210: Add SCLK_SPDIF clock
Seungwhan Youn [Thu, 14 Oct 2010 01:35:24 +0000 (10:35 +0900)]
ARM: S5PV210: Add SCLK_SPDIF clock

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>
14 years agoARM: S5PV210: Add S/PDIF platform device
Seungwhan Youn [Thu, 14 Oct 2010 01:35:24 +0000 (10:35 +0900)]
ARM: S5PV210: Add S/PDIF platform device

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>
14 years agoARM: S5PC100: Add SCLK_SPDIF clock
Seungwhan Youn [Thu, 14 Oct 2010 01:35:23 +0000 (10:35 +0900)]
ARM: S5PC100: Add SCLK_SPDIF clock

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>
14 years agoARM: S5PC100: Modify SCLK_AUDIO{0,1,2} clock as sysclks
Seungwhan Youn [Thu, 14 Oct 2010 01:35:23 +0000 (10:35 +0900)]
ARM: S5PC100: Modify SCLK_AUDIO{0,1,2} clock as sysclks

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>
14 years agoARM: S5PC100: Add S/PDIF platform device
Seungwhan Youn [Thu, 14 Oct 2010 01:35:23 +0000 (10:35 +0900)]
ARM: S5PC100: Add S/PDIF platform device

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>
14 years agoARM: S3C64XX: Ensure s3c64xx_ide_setup_gpio() is prototyped
Mark Brown [Wed, 13 Oct 2010 09:23:42 +0000 (18:23 +0900)]
ARM: S3C64XX: Ensure s3c64xx_ide_setup_gpio() is prototyped

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>
14 years agoARM: S3C64XX: Ensure samsung_keypad_cfg_gpio() is prototyped
Mark Brown [Wed, 13 Oct 2010 09:23:39 +0000 (18:23 +0900)]
ARM: S3C64XX: Ensure samsung_keypad_cfg_gpio() is prototyped

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>
14 years agoARM: S5PV210: Update Kconfig and Makefile for supporting CPUFREQ driver
Jaecheol Lee [Tue, 12 Oct 2010 00:23:19 +0000 (09:23 +0900)]
ARM: S5PV210: Update Kconfig and Makefile for supporting CPUFREQ driver

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>
14 years agoARM: S5PV210: Add support CPUFREQ
Jaecheol Lee [Tue, 12 Oct 2010 00:19:38 +0000 (09:19 +0900)]
ARM: S5PV210: Add support CPUFREQ

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>
14 years agoARM: S5PV210: Add Register definition for CMU
Jaecheol Lee [Tue, 12 Oct 2010 00:19:34 +0000 (09:19 +0900)]
ARM: S5PV210: Add Register definition for CMU

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>
14 years agoARM: S5PV210: Add MOUT_DMC0 and SCLK_DMC0 clocks
Jaecheol Lee [Tue, 12 Oct 2010 00:19:30 +0000 (09:19 +0900)]
ARM: S5PV210: Add MOUT_DMC0 and SCLK_DMC0 clocks

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>
14 years agoARM: S5PV210: Add struct clk_ops for clk_fout_apll
Jaecheol Lee [Tue, 12 Oct 2010 00:19:26 +0000 (09:19 +0900)]
ARM: S5PV210: Add struct clk_ops for clk_fout_apll

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>
14 years agoARM: S5PV310: Add I2C channel 3, 4, 5, 6, and 7 device support
Kyungmin Park [Mon, 11 Oct 2010 22:49:24 +0000 (07:49 +0900)]
ARM: S5PV310: Add I2C channel 3, 4, 5, 6, and 7 device support

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>
14 years agoARM: S5PV310: Define address & interrupt for all I2C blocks
Kyungmin Park [Mon, 11 Oct 2010 22:49:20 +0000 (07:49 +0900)]
ARM: S5PV310: Define address & interrupt for all I2C blocks

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>
14 years agoARM: S5PV210: Fix wrong interrupt I2C2 and I2C3 number
Kyungmin Park [Mon, 11 Oct 2010 22:49:18 +0000 (07:49 +0900)]
ARM: S5PV210: Fix wrong interrupt I2C2 and I2C3 number

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>
14 years agoARM: S5PC100: Change I2C2 and I2C3 IRQ names
Kukjin Kim [Mon, 11 Oct 2010 06:55:29 +0000 (15:55 +0900)]
ARM: S5PC100: Change I2C2 and I2C3 IRQ names

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>
14 years agoARM: S5P: Cleanup the S5P SoCs' VA address mapping
Kukjin Kim [Tue, 5 Oct 2010 01:49:38 +0000 (10:49 +0900)]
ARM: S5P: Cleanup the S5P SoCs' VA address mapping

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>
14 years agoARM: S5PV310: I2C0/1 devices support on Universal board
Kyungmin Park [Fri, 8 Oct 2010 13:34:56 +0000 (22:34 +0900)]
ARM: S5PV310: I2C0/1 devices support on Universal board

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>
14 years agoARM: S5PV310: Universal OneNAND support
Kyungmin Park [Fri, 8 Oct 2010 13:34:52 +0000 (22:34 +0900)]
ARM: S5PV310: Universal OneNAND support

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>
14 years agoARM: SAMSUNG: Add clock types into platform data
Jeongbae Seo [Fri, 8 Oct 2010 09:03:27 +0000 (18:03 +0900)]
ARM: SAMSUNG: Add clock types into platform data

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>
14 years agoARM: SAMSUNG: Modified to change of bus width and host caps
Hyuk Lee [Fri, 8 Oct 2010 09:03:23 +0000 (18:03 +0900)]
ARM: SAMSUNG: Modified to change of bus width and host caps

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>
14 years agoARM: S5PV310: Add support HSMMC on SMDKV310 and SMDKC210
Hyuk Lee [Wed, 6 Oct 2010 05:50:20 +0000 (14:50 +0900)]
ARM: S5PV310: Add support HSMMC on SMDKV310 and SMDKC210

This patch adds support HSMMC for S5PV310(SMDKV310) and
S5PC210(SMDKC210).

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>
14 years agoARM: S5PV310: Add HSMMC platform data
Hyuk Lee [Tue, 5 Oct 2010 10:07:41 +0000 (19:07 +0900)]
ARM: S5PV310: Add HSMMC platform data

This patch adds initialization HSMMC device information.
And HSMMC platform data like card detect, data bus width
and capability is configured.

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>
14 years agoARM: S5PV310: Add support HSMMC and SDHCI configuration
Hyuk Lee [Wed, 6 Oct 2010 02:09:42 +0000 (11:09 +0900)]
ARM: S5PV310: Add support HSMMC and SDHCI configuration

This patch adds support HSMMC for S5PV310 and S5PC210 and
setup for HSMMC host controller and also related GPIO.
At most 4 channel can be used at the same time.
A user can configure SDHCI data bus as 8bit or 4bit.

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>
14 years agoARM: S5PC100: Cleanup the GPIOlib code
Kukjin Kim [Fri, 1 Oct 2010 12:32:52 +0000 (21:32 +0900)]
ARM: S5PC100: Cleanup the GPIOlib code

This patch clean up the GPIO code and removes useless GPIO addresses.
It can be calculated with offset, the 'base' member of s3c_gpio_chip
is also initialized in the init function.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoMerge branch 'next-gpio-update' into for-next
Kukjin Kim [Mon, 25 Oct 2010 06:57:16 +0000 (15:57 +0900)]
Merge branch 'next-gpio-update' into for-next

14 years agoARM: S5P: Fix missed IRQ_EINT_BIT()
Kukjin Kim [Thu, 14 Oct 2010 06:35:07 +0000 (15:35 +0900)]
ARM: S5P: Fix missed IRQ_EINT_BIT()

When merged patches, missed IRQ_EINT_BIT() definition from commit ea31fd43
(ARM: S5PV210: Add Power Management Support). The IRQ_EINT_BIT() is used
in the Power Management operation (plat-samsung/pm.c).

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S3C64XX: Fix special function for IISv4 port
Mark Brown [Wed, 13 Oct 2010 22:53:12 +0000 (07:53 +0900)]
ARM: S3C64XX: Fix special function for IISv4 port

When converting to use s3c_gpio_cfgpin_range() the function for the
IISv4 block appears to have been typoed as 4 (the keypad) rather than
5 as it should be.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV210: 2nd Change to using s3c_gpio_cfgrange_nopull()
Kukjin Kim [Fri, 1 Oct 2010 11:12:24 +0000 (20:12 +0900)]
ARM: S5PV210: 2nd Change to using s3c_gpio_cfgrange_nopull()

This patch changes code setting special-function and no pull-up
to use the s3c_gpio_cfgrange_nopull() wrapper.
NOTE: This is for missed things from the previous patch.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PC100: 2nd Change to using s3c_gpio_cfgrange_nopull()
Kukjin Kim [Fri, 1 Oct 2010 11:10:33 +0000 (20:10 +0900)]
ARM: S5PC100: 2nd Change to using s3c_gpio_cfgrange_nopull()

This patch changes code setting special-function and no pull-up
to use the s3c_gpio_cfgrange_nopull() wrapper.
NOTE: This is for missed things from the previous patch.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S3C64XX: 2nd Change to using s3c_gpio_cfgrange_nopull()
Kukjin Kim [Fri, 1 Oct 2010 11:20:37 +0000 (20:20 +0900)]
ARM: S3C64XX: 2nd Change to using s3c_gpio_cfgrange_nopull()

This patch changes code setting special-function and no pull-up
to use the s3c_gpio_cfgrange_nopull() wrapper.
NOTE: This is for missed things from the previous patch.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV210: Change to using s3c_gpio_cfgrange_nopull()
Ben Dooks [Thu, 27 May 2010 08:25:47 +0000 (17:25 +0900)]
ARM: S5PV210: Change to using s3c_gpio_cfgrange_nopull()

Change code setting special-function and no pull-up to use
the s3c_gpio_cfgrange_nopull() wrapper.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PC100: Change to using s3c_gpio_cfgrange_nopull()
Ben Dooks [Thu, 27 May 2010 08:25:46 +0000 (17:25 +0900)]
ARM: S5PC100: Change to using s3c_gpio_cfgrange_nopull()

Change code setting special-function and no pull-up to use
the s3c_gpio_cfgrange_nopull() wrapper.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S3C64XX: Change to using s3c_gpio_cfgrange_nopull()
Ben Dooks [Thu, 27 May 2010 08:25:45 +0000 (17:25 +0900)]
ARM: S3C64XX: Change to using s3c_gpio_cfgrange_nopull()

Change code setting special-function and no pull-up to use
the s3c_gpio_cfgrange_nopull() wrapper.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: SAMSUNG: Add s3c_gpio_cfgrange_nopull() helper
Ben Dooks [Fri, 1 Oct 2010 10:07:28 +0000 (19:07 +0900)]
ARM: SAMSUNG: Add s3c_gpio_cfgrange_nopull() helper

A number of the SDHCI code configure a GPIO to a special function
and remove any pull-up, so add s3c_gpio_cfgrange_nopull() as a
wrapper to the s3c_gpio_cfgall_range() to make the code that
calls it fit on one line.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV210: 2nd Change to using s3c_gpio_cfgall_range()
Kukjin Kim [Fri, 1 Oct 2010 11:54:56 +0000 (20:54 +0900)]
ARM: S5PV210: 2nd Change to using s3c_gpio_cfgall_range()

This patch changes the code setting range of GPIO pins' configuration and
pull state to use the recently introduced s3c_gpio_cfgpin_range().
NOTE: This is for missed things from the previous patch.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PC100: 2nd Change to using s3c_gpio_cfgall_range()
Kukjin Kim [Fri, 1 Oct 2010 11:50:20 +0000 (20:50 +0900)]
ARM: S5PC100: 2nd Change to using s3c_gpio_cfgall_range()

This patch changes the code setting range of GPIO pins' configuration and
pull state to use the recently introduced s3c_gpio_cfgpin_range().
NOTE: This is for missed things from the previous patch.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5P64X0: 2nd Change to using s3c_gpio_cfgall_range()
Kukjin Kim [Fri, 1 Oct 2010 10:38:26 +0000 (19:38 +0900)]
ARM: S5P64X0: 2nd Change to using s3c_gpio_cfgall_range()

This patch changes the code setting range of GPIO pins' configuration and
pull state to use the recently introduced s3c_gpio_cfgpin_range().
NOTE: This is for missed things from the previous patch.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S3C64XX: 2nd Change to using s3c_gpio_cfgall_range()
Kukjin Kim [Fri, 1 Oct 2010 11:47:21 +0000 (20:47 +0900)]
ARM: S3C64XX: 2nd Change to using s3c_gpio_cfgall_range()

This patch changes the code setting range of GPIO pins' configuration and
pull state to use the recently introduced s3c_gpio_cfgpin_range().
NOTE: This is for missed things from the previous patch.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV310: Change to using s3c_gpio_cfgall_range()
Kukjin Kim [Fri, 1 Oct 2010 10:32:27 +0000 (19:32 +0900)]
ARM: S5PV310: Change to using s3c_gpio_cfgall_range()

Change the code setting a range of GPIO pins' configuration and
pull state to use the recently introduced s3c_gpio_cfgall_range().

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV210: Change to using s3c_gpio_cfgall_range()
Ben Dooks [Thu, 27 May 2010 08:02:32 +0000 (17:02 +0900)]
ARM: S5PV210: Change to using s3c_gpio_cfgall_range()

Change the code setting a range of GPIO pins' configuration and
pull state to use the recently introduced s3c_gpio_cfgall_range().

Mop up a few missed s3c_gpio_cfgpin_range() changes.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PC100: Change to using s3c_gpio_cfgall_range()
Ben Dooks [Fri, 1 Oct 2010 07:49:11 +0000 (16:49 +0900)]
ARM: S5PC100: Change to using s3c_gpio_cfgall_range()

Change the code setting a range of GPIO pins' configuration and
pull state to use the recently introduced s3c_gpio_cfgall_range().

Mop up a few missed s3c_gpio_cfgpin_range() changes.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5P64X0: Change to using s3c_gpio_cfgall_range()
Kukjin Kim [Fri, 1 Oct 2010 09:39:38 +0000 (18:39 +0900)]
ARM: S5P64X0: Change to using s3c_gpio_cfgall_range()

Change the code setting a range of GPIO pins' configuration and
pull state to use the recently introduced s3c_gpio_cfgall_range().

Mop up a few missed s3c_gpio_cfgpin_range() changes.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5P6442: Change to using s3c_gpio_cfgall_range()
Kukjin Kim [Fri, 1 Oct 2010 10:37:09 +0000 (19:37 +0900)]
ARM: S5P6442: Change to using s3c_gpio_cfgall_range()

Change the code setting a range of GPIO pins' configuration and
pull state to use the recently introduced s3c_gpio_cfgall_range().

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S3C64XX: Change to using s3c_gpio_cfgall_range()
Ben Dooks [Fri, 1 Oct 2010 07:39:15 +0000 (16:39 +0900)]
ARM: S3C64XX: Change to using s3c_gpio_cfgall_range()

Change the code setting a range of GPIO pins' configuration and
pull state to use the recently introduced s3c_gpio_cfgall_range().

Mop up a few missed s3c_gpio_cfgpin_range() changes.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
[kgene.kim@samsung.com: Fix small comments]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: SAMSUNG: Add s3c_gpio_cfgall_range() function
Ben Dooks [Fri, 1 Oct 2010 07:34:34 +0000 (16:34 +0900)]
ARM: SAMSUNG: Add s3c_gpio_cfgall_range() function

Add a function to configure a range of GPIOs function and
pull in one go, mainly for the SDHCI and framebuffer helpers
which tend to do this.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
[kgene.kim@samsung.com: Fix small comments]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV310: Change to using s3c_gpio_cfgpin_range()
Kukjin Kim [Fri, 1 Oct 2010 07:05:07 +0000 (16:05 +0900)]
ARM: S5PV310: Change to using s3c_gpio_cfgpin_range()

This patch changes the code setting ranges of GPIO pins in mach-s5pv310 using
s3c_gpio_cfgpin() to use the recently introduced s3c_gpio_cfgpin_range().

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV210: Change to using s3c_gpio_cfgpin_range()
Ben Dooks [Fri, 1 Oct 2010 05:27:31 +0000 (14:27 +0900)]
ARM: S5PV210: Change to using s3c_gpio_cfgpin_range()

Change the code setting ranges of GPIO pins using s3c_gpio_cfgpin() to
use the recently introduced s3c_gpio_cfgpin_range().

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
[kgene.kim@samsung.com: coding-style fixes]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PC100: Change to using s3c_gpio_cfgpin_range()
Ben Dooks [Fri, 1 Oct 2010 05:20:55 +0000 (14:20 +0900)]
ARM: S5PC100: Change to using s3c_gpio_cfgpin_range()

Change the code setting ranges of GPIO pins using s3c_gpio_cfgpin() to
use the recently introduced s3c_gpio_cfgpin_range().

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
[kgene.kim@samsung.com: Fixed wrong change]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5P64X0: 2nd Change to using s3c_gpio_cfgpin_range()
Kukjin Kim [Fri, 1 Oct 2010 06:46:36 +0000 (15:46 +0900)]
ARM: S5P64X0: 2nd Change to using s3c_gpio_cfgpin_range()

This patch changes the code setting ranges of GPIO pins in mach-s5p64x0 using
s3c_gpio_cfgpin() to use the recently introduced s3c_gpio_cfgpin_range().
NOTE: This is for missed things from the previous patch.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5P64X0: Change to using s3c_gpio_cfgpin_range()
Ben Dooks [Fri, 1 Oct 2010 04:45:54 +0000 (13:45 +0900)]
ARM: S5P64X0: Change to using s3c_gpio_cfgpin_range()

Change the code setting ranges of GPIO pins using s3c_gpio_cfgpin() to
use the recently introduced s3c_gpio_cfgpin_range().

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
[kgene.kim@samsung.com: modified to s5p64x0 from s5p6440]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5P6442: Change to using s3c_gpio_cfgpin_range()
Ben Dooks [Fri, 1 Oct 2010 04:52:25 +0000 (13:52 +0900)]
ARM: S5P6442: Change to using s3c_gpio_cfgpin_range()

Change the code setting ranges of GPIO pins using s3c_gpio_cfgpin() to
use the recently introduced s3c_gpio_cfgpin_range().

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
[kgene.kim@samsung.com: fixed wrong change]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S3C64XX: Change to using s3c_gpio_cfgpin_range()
Ben Dooks [Thu, 27 May 2010 06:54:06 +0000 (15:54 +0900)]
ARM: S3C64XX: Change to using s3c_gpio_cfgpin_range()

Change the code setting ranges of GPIO pins using s3c_gpio_cfgpin() to
use the recently introduced s3c_gpio_cfgpin_range().

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S3C64XX: Change dev-audio.c to use S3C_GPIO_SFN() for special functions
Ben Dooks [Thu, 27 May 2010 05:57:27 +0000 (14:57 +0900)]
ARM: S3C64XX: Change dev-audio.c to use S3C_GPIO_SFN() for special functions

To aide in changing the gpio code, remove the use of pin-specific configs
and move to using the S3C_GPIO_SFN() versions.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: SAMSUNG: Add GPIO configuration for a range of pins
Ben Dooks [Fri, 1 Oct 2010 04:37:13 +0000 (13:37 +0900)]
ARM: SAMSUNG: Add GPIO configuration for a range of pins

Add s3c_gpio_cfgpin_range() to configure a range of pins to the given
value. This is useful for a number of blocks where the pins are in order
and saves multiple calls to s3c_gpio_cfgpin().

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV210: GONI: Add support for QT602240 TS driver
Marek Szyprowski [Mon, 4 Oct 2010 09:38:12 +0000 (18:38 +0900)]
ARM: S5PV210: GONI: Add support for QT602240 TS driver

Add required platform definitions for QT602240 touchscreen on I2C2 bus.

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>
14 years agoARM: S5PV210: Add si470x radio device to the GONI board
Marek Szyprowski [Mon, 4 Oct 2010 07:39:22 +0000 (16:39 +0900)]
ARM: S5PV210: Add si470x radio device to the GONI board

Add required platform definitions for si470x radio device on Samsung
Goni board.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
[kgene.kim@samsung.com: minor title fixes]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV210: Add support for S6E63M0 LCD controller on GONI board
Marek Szyprowski [Mon, 4 Oct 2010 07:39:20 +0000 (16:39 +0900)]
ARM: S5PV210: Add support for S6E63M0 LCD controller on GONI board

Add required platform definitions for S6E63M0 LCD controller on Samsung
Goni board.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
[kgene.kim@samsung.com: minor title fixes]
[kgene.kim@samsung.com: fix build error]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV210: Add Power Management Support
Jongpill Lee [Sat, 2 Oct 2010 10:13:42 +0000 (19:13 +0900)]
ARM: S5PV210: Add Power Management Support

This patch adds suspend-to-ram support for S5PV210.
Note. This patch is confirmed on SMDKV210 and SMDKC110 board.

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>
14 years agoARM: S5PV210: Fix build error on pm debug
Sangbeom Kim [Fri, 8 Oct 2010 12:50:20 +0000 (21:50 +0900)]
ARM: S5PV210: Fix build error on pm debug

This patch fixes build error by S3C2410 PM Suspend debug option
due to undefined address.

Signed-off-by: Sangbeom Kim <sbkim73@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5P: Unify defines for both gpio interrupt types
Marek Szyprowski [Sat, 2 Oct 2010 02:48:09 +0000 (11:48 +0900)]
ARM: S5P: Unify defines for both gpio interrupt types

Samsung S5P SoCs have the same interrupt type defines for both
external interrupts and gpio interrupts. This patch removes all
duplicates from S5PC100 and S5PV210 specific includes as well as
gpio interrupt code and put a common defines to plat/irqs.h
NOTE: Do not use this for S5P6440 and S5P6450.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
[kgene.kim@samsung.com: add note for S5P64X0]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: SAMSUNG: Add common samsung_gpiolib_to_irq function
Joonyoung Shim [Fri, 1 Oct 2010 02:24:39 +0000 (11:24 +0900)]
ARM: SAMSUNG: Add common samsung_gpiolib_to_irq function

This patch adds a common callback for gpio_to_irq() for external and
gpio interrupts for Samsung SoCs.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Ben Dooks <ben-linux@fluff.org>
[kgene.kim@samsung.com: moved samsung_gpiolib_to_irq() for s3c24xx build]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PC100: Move External Interrupt definitions
Joonyoung Shim [Fri, 1 Oct 2010 02:23:06 +0000 (11:23 +0900)]
ARM: S5PC100: Move External Interrupt definitions

This patch moves external interrupt definitions from mach/gpio.h
to mach/regs-gpio.h for consistency with S5PV210.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
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>
14 years agoARM: S5PC100: Use generic S5P GPIO Interrupt interface
Joonyoung Shim [Fri, 1 Oct 2010 02:18:05 +0000 (11:18 +0900)]
ARM: S5PC100: Use generic S5P GPIO Interrupt interface

S5PC100 SoC can use common S5P GPIO interrupt code. This patch
removes specific S5PC100 gpio interrupts code and adds required
defines and code to make use of common S5P code.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
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>
14 years agoARM: S5PV210: Add support for GPIO Interrupt
Marek Szyprowski [Fri, 1 Oct 2010 02:16:44 +0000 (11:16 +0900)]
ARM: S5PV210: Add support for GPIO Interrupt

S5PV210/S5PC110 can use common S5P GPIO interrupt code.
This patch adds required defines and code to make use of it.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
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>
14 years agoARM: S5P: Add common S5P GPIO Interrupt support
Marek Szyprowski [Fri, 1 Oct 2010 01:40:37 +0000 (10:40 +0900)]
ARM: S5P: Add common S5P GPIO Interrupt support

This patch adds common code to enable support of GPIO interrupt on
S5P SoCs.

The total number of GPIO pins is quite large on S5P SoCs. Registering
irq support for all of them would be a resource waste. Because of that
the interrupt support for standard GPIO pins is registered dynamically
by the s5p_register_gpio_interrupt() function.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
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>
14 years agoARM: S5PV210: Enable USB HSOTG gadget build
Marek Szyprowski [Wed, 29 Sep 2010 13:10:51 +0000 (22:10 +0900)]
ARM: S5PV210: Enable USB HSOTG gadget build

Add the necessary definitions and mapping information to enable the
s3c-hsotg gadget to build.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV210: Add Support for MMC regulators on GONI board
Marek Szyprowski [Wed, 29 Sep 2010 13:05:19 +0000 (22:05 +0900)]
ARM: S5PV210: Add Support for MMC regulators on GONI board

Add required platform definitions for MMC power regulators on Samsung
Goni board. GPIO pin GONI_EXT_FLASH_EN has been transferred from machine
startup code to fixed voltage regulator.

Signed-off-by: Marek Szyprowski <m.szyprowski@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>
14 years agoARM: S5PV210: Add Support for OTG USB Gadget on GONI board
Marek Szyprowski [Thu, 30 Sep 2010 11:59:46 +0000 (20:59 +0900)]
ARM: S5PV210: Add Support for OTG USB Gadget on GONI board

Add required platform definitions for s3c-hsotg driver to enable usb
gadget support on Samsung Goni board.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV210: fb setup for GONI - remove pixel clock
Marek Szyprowski [Wed, 29 Sep 2010 12:50:04 +0000 (21:50 +0900)]
ARM: S5PV210: fb setup for GONI - remove pixel clock

Since commit 67a38950f0917aecfe1a3e46720d8bbb0020 there is no need
to set pixel clock for the s3c-fb driver's window information.
The correct pixel clock value can be automatically calculated from
the other screen parameters. This patch removes the redundant pixel clock
parameter.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV210: update framebuffer setup information for GONI
Marek Szyprowski [Wed, 29 Sep 2010 12:49:17 +0000 (21:49 +0900)]
ARM: S5PV210: update framebuffer setup information for GONI

Change the default upper_margin and vsync_len to get rid of repeated last
line on the display.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5P: Remove the unused clk_arm clock from plat-s5p
Thomas Abraham [Sat, 2 Oct 2010 03:45:25 +0000 (12:45 +0900)]
ARM: S5P: Remove the unused clk_arm clock from plat-s5p

All the S5P series SoCs use the 'struct clksrc_clk' type to represent the
armclk. So the clk_arm clock instance available in the plat-s5p clock code
is not used in any of the S5P series SoCs.
This patch removes the unused clk_arm instance from plat-s5p clock code.

Reported-by: Jaecheol Lee <jc.lee@samsung.com>
Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5P64XX: Remove redundant selection PLAT_S5P.
Kukjin Kim [Wed, 29 Sep 2010 12:20:56 +0000 (21:20 +0900)]
ARM: S5P64XX: Remove redundant selection PLAT_S5P.

This patch removes redundant selection PLAT_S5P in the CPU_S5P64XX config.
Because PLAT_S5P is selected if select ARCH_S5P64XX in the plat-s5p/Kconfig.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5P: Remove redundant selection PLAT_S5P for S5PC100, S5PV210 and S5PV310
Kyungmin Park [Wed, 29 Sep 2010 12:37:50 +0000 (21:37 +0900)]
ARM: S5P: Remove redundant selection PLAT_S5P for S5PC100, S5PV210 and S5PV310

The selection PLAT_S5P is selected with plat-s5p/Kconfig.
So remove it form each CPU_S5PXXXX config.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
[kgene.kim@samsung.com: edited title]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV310: Place the common SPARSEMEM at ARCH_S5PV310
Kyungmin Park [Wed, 29 Sep 2010 12:33:29 +0000 (21:33 +0900)]
ARM: S5PV310: Place the common SPARSEMEM at ARCH_S5PV310

In case of S5PV310/S5PC210, it uses the SPARSEMEM as default memory
configuration. So moved to ARCH_S5PV310 config.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
[kgene.kim@samsung.com: edited title]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV210: Place the common SPARSEMEM at ARCH_S5PV210
Kyungmin Park [Wed, 29 Sep 2010 12:29:27 +0000 (21:29 +0900)]
ARM: S5PV210: Place the common SPARSEMEM at ARCH_S5PV210

In case of S5PV210/S5PC110, it uses the SPARSEMEM as default memory
configuration. So moved to ARCH_S5PV210 config.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
[kgene.kim@samsung.com: edited title]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV210: Add Torbreck board support
Kyuho Choi [Wed, 29 Sep 2010 11:51:03 +0000 (20:51 +0900)]
ARM: S5PV210: Add Torbreck board support

This patch adds to support Torbreck board of aESOP community using
Samsung S5PV210 SoC.

Signed-off-by: Kyuho Choi <chlrbgh0@gmail.com>
Signed-off-by: Hyunchul Ko <ghcstop@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV310: Fix physical address of System Controller Register
Boojin Kim [Wed, 29 Sep 2010 11:42:15 +0000 (20:42 +0900)]
ARM: S5PV310: Fix physical address of System Controller Register

The physical address of SYSCON(System Controller) is wrong.
This patch fixs this wrong physical address value from 0x10020000 to 0x10010000.

Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV310: Optimize interrupt source searching code
Changhwan Youn [Wed, 29 Sep 2010 11:31:42 +0000 (20:31 +0900)]
ARM: S5PV310: Optimize interrupt source searching code

It is reported by Junseok Jung that using clz instruction is
better instead of using for-loop to find the interrupt source.
This patch modifies interrupt source searching code using __ffs().
The __ffs() is implemented using clz instruction.

Suggested-by: Junseok Jung <jundols.jung@samsung.com>
Signed-off-by: Changhwan Youn <chaos.youn@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV310: Add support Watchdog Timer
Jemings Ko [Mon, 20 Sep 2010 06:33:04 +0000 (15:33 +0900)]
ARM: S5PV310: Add support Watchdog Timer

This patch adds support Watchdog Timer for S5PV310 and S5PC210.

Signed-off-by: Jemings Ko <jemings@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV310: Add support RTC
Changhwan Youn [Mon, 20 Sep 2010 06:25:51 +0000 (15:25 +0900)]
ARM: S5PV310: Add support RTC

This patch adds support RTC for S5PV310 and S5PC210.

Signed-off-by: Changhwan Youn <chaos.youn@samsung.com>
Signed-off-by: Jemings Ko <jemings@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV210: Add DMC map_desc table for supporting DMC access
Jaecheol Lee [Wed, 15 Sep 2010 06:57:37 +0000 (15:57 +0900)]
ARM: S5PV210: Add DMC map_desc table for supporting DMC access

This patch adds DMC(DRAM Memory Controller) map_desc table.
Because some driver such as CPUFREQ need to access DMC register.

Signed-off-by: Jaecheol Lee <jc.lee@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV210: Add keypad device to the GONI board
Joonyoung Shim [Wed, 8 Sep 2010 23:17:43 +0000 (08:17 +0900)]
ARM: S5PV210: Add keypad device to the GONI board

This patch is to support keypad device to the GONI board.

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>
14 years agoARM: S5PV310: Fix clkset_moutcore_list
Jaecheol Lee [Sat, 18 Sep 2010 01:50:46 +0000 (10:50 +0900)]
ARM: S5PV310: Fix clkset_moutcore_list

This patch fixes source clocks of moutcore.
That should be clk_mout_apll instead of clk_sclk_apll.

Signed-off-by: Jaecheol Lee <jc.lee@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: SAMSUNG: Change the 3rd HSMMC interrupt name for compatibility
Kukjin Kim [Fri, 20 Aug 2010 12:09:18 +0000 (21:09 +0900)]
ARM: SAMSUNG: Change the 3rd HSMMC interrupt name for compatibility

This patch changes the 3rd HSMMC interrupt name for compatibility
from IRQ_MMC to IRQ_HSMMC3.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV310: Adds various special clocks
Jongpill Lee [Wed, 18 Aug 2010 13:54:48 +0000 (22:54 +0900)]
ARM: S5PV310: Adds various special clocks

This patch adds various special clocks for S5PV310/S5PC210.

Signed-off-by: Jongpill Lee <boyko.lee@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV310: Add video clocks
Jongpill Lee [Wed, 18 Aug 2010 13:51:23 +0000 (22:51 +0900)]
ARM: S5PV310: Add video clocks

This patch adds video clocks for S5PV310/S5PC210.

Signed-off-by: Jongpill Lee <boyko.lee@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV310: Add various clocks
Jongpill Lee [Wed, 18 Aug 2010 13:49:24 +0000 (22:49 +0900)]
ARM: S5PV310: Add various clocks

This patch adds various clocks for S5PV310/S5PC210.

Signed-off-by: Jongpill Lee <boyko.lee@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV310: Adds SDMMC clock for S5PV310
Jongpill Lee [Wed, 18 Aug 2010 13:39:26 +0000 (22:39 +0900)]
ARM: S5PV310: Adds SDMMC clock for S5PV310

This patch adds SDMMC clocks for S5PV310/S5PC210.

Signed-off-by: Jongpill Lee <boyko.lee@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV310: Adds enable and ctrlbit for clk_vpllsrc
Jongpill Lee [Wed, 18 Aug 2010 13:33:43 +0000 (22:33 +0900)]
ARM: S5PV310: Adds enable and ctrlbit for clk_vpllsrc

This patch adds enable and ctrlbit for struct clksrc_clk clk_vpllsrc

Signed-off-by: Jongpill Lee <boyko.lee@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV310: Adds printing ACLK200, ACLK100, ACLK160 and ACLK133
Jongpill Lee [Wed, 18 Aug 2010 13:24:53 +0000 (22:24 +0900)]
ARM: S5PV310: Adds printing ACLK200, ACLK100, ACLK160 and ACLK133

This patch adds log messages of aclk_200, aclk_100, aclk_160, and
aclk_133. And adds clk_p.rate from calculated aclk_100.

Signed-off-by: Jongpill Lee <boyko.lee@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV310: Adds clk_sclk_usbphy0, _usbphy1, and _hdmiphy
Jongpill Lee [Wed, 18 Aug 2010 13:16:45 +0000 (22:16 +0900)]
ARM: S5PV310: Adds clk_sclk_usbphy0, _usbphy1, and _hdmiphy

This patch adds struct clk clk_sclk_usbphy0, _usbphy1, and _hdmiphy
for adding member of clkset_group_list.

Signed-off-by: Jongpill Lee <boyko.lee@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV310: Adds clkset_aclk for removing clkset_aclk_xxx
Kukjin Kim [Wed, 18 Aug 2010 13:06:02 +0000 (22:06 +0900)]
ARM: S5PV310: Adds clkset_aclk for removing clkset_aclk_xxx

This patch adds 'clkset_aclk' to use commonly. And removed struct
clksrc_sources clkset_aclk_200, clkset_aclk_100, clkset_aclk_160,
and clkset_aclk_133.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV310: Removed unused clock
Kukjin Kim [Wed, 18 Aug 2010 13:03:19 +0000 (22:03 +0900)]
ARM: S5PV310: Removed unused clock

This pach removed unused clock on S5PV310/S5PC210.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
14 years agoARM: S5PV310: Adds clock addresses for S5PV310
Kukjin Kim [Wed, 18 Aug 2010 12:59:01 +0000 (21:59 +0900)]
ARM: S5PV310: Adds clock addresses for S5PV310

This patch adds definition of clock address.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>