[PATCH v2 0/4] S3C2416: Enable IIS and HSSPI clocks
S3C2416/2450 (probably S3C2443 too) can use the newer style kernel-drivers made for S3C64xx and above for their I2S and HS-SPI controllers. So as a first step in this direction, these patches add their respective clocks. The I2S clocks were simply moved from S3C2443 to s3c2443-clock.c as they are identical on all 3 platforms. The same is true for the HSSPI pclk which is added to s3c2443-clock.c, as it was not defined at all yet. The HSSPI sclk is different between 2443 and 2416 and is therefore added to mach-s3c2416/clock.c Changes since v1: fix missing static cleanup hsspi clk-sources remove collision between hsspi pclk and sclk on s3c2443 Heiko Stuebner (4): S3C2443: Move i2s clock definitions to common code S3C2443: Define constant for HSSPI pclk S3C2416: Add HSSPI clock sourced from EPLL S3C2443: Add hsspi-clock from pclk and rename unused S3C2443 hsspi sclk .../mach-s3c2410/include/mach/regs-s3c2443-clock.h |1 + arch/arm/mach-s3c2416/clock.c | 28 ++ arch/arm/mach-s3c2443/clock.c | 55 +-- arch/arm/plat-s3c24xx/s3c2443-clock.c | 58 4 files changed, 88 insertions(+), 54 deletions(-) -- 1.7.2.3 -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] mmc: sdhci-s3c: Fix mmc card I/O problem
Hi, On Fri, Aug 26 2011, Girish K S wrote: This patch fixes the problem in sdhci-s3c host driver for Samsung Soc's. During the card identification stage the mmc core driver enumerates for the best bus width in combination with the highest available data rate. It starts enumerating from the highest bus width (8) to lowest bus width (1). In case of few MMC cards the 4-bit bus enumeration fails and tries the 1-bit bus enumeration. When switched to 1-bit bus mode the host driver has to clear the previous bus width setting and apply the new setting. The current patch will clear the previous bus mode and apply the new mode setting. Signed-off-by: Girish K S girish.shivananja...@linaro.org Thanks, pushed to mmc-next for 3.1 with a stable@ tag. - Chris. -- Chris Ball c...@laptop.org http://printf.net/ One Laptop Per Child -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH v2 4/4] S3C2443: Add hsspi-clock from pclk and rename unused S3C2443 hsspi sclk
This clock is common to S3C2443/2416/2450. Signed-off-by: Heiko Stuebner he...@sntech.de --- Changes since v1: rename s3c2443 hsspi sclk (until now unused) arch/arm/mach-s3c2443/clock.c |2 +- arch/arm/plat-s3c24xx/s3c2443-clock.c |5 + 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-s3c2443/clock.c b/arch/arm/mach-s3c2443/clock.c index 966bde5..6b9ae46 100644 --- a/arch/arm/mach-s3c2443/clock.c +++ b/arch/arm/mach-s3c2443/clock.c @@ -169,7 +169,7 @@ static struct clksrc_clk clk_arm = { static struct clksrc_clk clk_hsspi = { .clk= { - .name = hsspi, + .name = hsspi-if, .parent = clk_esysclk.clk, .ctrlbit= S3C2443_SCLKCON_HSSPICLK, .enable = s3c2443_clkcon_enable_s, diff --git a/arch/arm/plat-s3c24xx/s3c2443-clock.c b/arch/arm/plat-s3c24xx/s3c2443-clock.c index 8132939..2e8492c 100644 --- a/arch/arm/plat-s3c24xx/s3c2443-clock.c +++ b/arch/arm/plat-s3c24xx/s3c2443-clock.c @@ -259,6 +259,11 @@ static struct clk init_clocks_off[] = { .enable = s3c2443_clkcon_enable_p, .ctrlbit= S3C2443_PCLKCON_IIS, }, { + .name = hsspi, + .parent = clk_p, + .enable = s3c2443_clkcon_enable_p, + .ctrlbit= S3C2443_PCLKCON_HSSPI, + }, { .name = adc, .parent = clk_p, .enable = s3c2443_clkcon_enable_p, -- 1.7.2.3 -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html