Mark Brown | 2 Jan 2011 15:01
Favicon
Gravatar

Re: [PATCH 2/4] ARM: SAMSUNG: Add SMDK audio configuration

On Fri, Dec 24, 2010 at 03:42:18PM +0900, Seungwhan Youn wrote:
> This patch adds SMDK audio select configurations based on platform dependacny.
> This helps more easyly and clearly to make sure about configuration on audio
> drivers support on platform side.
> 
> Signed-off-by: Seungwhan Youn <sw.youn <at> samsung.com>

This doesn't apply against current ASoC; I suspect it needs to be merged
via the ARM tree.
Mark Brown | 2 Jan 2011 15:05
Favicon
Gravatar

Re: [PATCH 1/4] ARM: Kconfig: Add audio support dependency

On Fri, Dec 24, 2010 at 03:36:09PM +0900, Seungwhan Youn wrote:

> This patch adds Samsung ASoC audio support dependency for Samsung SoCs.

> Signed-off-by: Seungwhan Youn <sw.youn <at> samsung.com>

> +	select ASOC_SAMSUNG if SND_SOC

Hrm, if we're going to do this we probably ought to be doing it for all
architectures.  It's a good idea, we don't tend to have multiple
possible architectures supported for a given architecture.  Since the
second patch didn't apply I'll leave this one too, and patches 3 and 4,
though they all look good.
Heiko Stübner | 2 Jan 2011 18:42
Picon
Favicon

s3c-sdhci s3c-sdhci.1: failed to get io clock on a s3c2416

[please keep the Cc, thanks]

Hi,

we are trying to start a current kernel on a device of the Qisda ebook-reader
family. It uses both hsmmc-channels. The first one is connected to a nand-chip
from Hynix and the second is connected to a micro-sd-slot.

The system is based on a s3c2416 soc and is the basis for nearly every ebook
reader with a sipix-display at the moment. (more than 20 different models
worldwide).

We used kernel 2.6.37rc8 with the sdhci-patch from the next-s3c24xx branch.
The first channel is initialized correctly but the second channel throws the 
error mentioned. The relevant bootlog looks like this:

s3c-sdhci s3c-sdhci.0: clock source 0: hsmmc (133333333 Hz)
s3c-sdhci s3c-sdhci.0: clock source 1: hsmmc (133333333 Hz)
s3c-sdhci s3c-sdhci.0: clock source 2: hsmmc-if (96000000 Hz)
mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.0] using ADMA
s3c-sdhci s3c-sdhci.1: failed to get io clock
mmc0: mmc_rescan: trying to init card at 400000 Hz
s3c-sdhci: probe of s3c-sdhci.1 failed with error -2
mmc0: new high speed MMC card at address 0001
mmcblk0: mmc0:0001 HYNIX  1.88 GiB
 mmcblk0: p1 p2 p3

The complete log can be found on: http://avalon.gnuzifer.de/~fd0/oyo/bootlog

Originally Qisda used something called s3c-linux which is a fork of 2.6.21.5
(Continue reading)

Sylwester Nawrocki | 2 Jan 2011 21:32
Picon

Re: [PATCH] [media] s5p-fimc: modify name of function for uniformity

On 12/30/2010 06:35 AM, Sungchun Kang wrote:
> This patch modified function name about add or pop queue.
>
> Reviewed-by Jonghun Han<jonghun.han <at> samsung.com>
> Signed-off-by: Sungchun Kang<sungchun.kang <at> samsung.com>
> ---
> This patch is depended on:
> http://git.infradead.org/users/kmpark/linux-2.6-samsung/shortlog/refs/heads/vb2-mfc-fimc
>
> drivers/media/video/s5p-fimc/fimc-capture.c |    2 +-
>   drivers/media/video/s5p-fimc/fimc-core.h    |    2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/media/video/s5p-fimc/fimc-capture.c b/drivers/media/video/s5p-fimc/fimc-capture.c
> index 4e4441f..fdef450 100644
> --- a/drivers/media/video/s5p-fimc/fimc-capture.c
> +++ b/drivers/media/video/s5p-fimc/fimc-capture.c
>  <at>  <at>  -155,7 +155,7  <at>  <at>  int fimc_vid_cap_buf_queue(struct fimc_dev *fimc,
>   		return ret;
>
>   	if (test_bit(ST_CAPT_STREAM,&fimc->state)) {
> -		fimc_pending_queue_add(cap, fimc_vb);
> +		pending_queue_add(cap, fimc_vb);
>   	} else {
>   		/* Setup the buffer directly for processing. */
>   		int buf_id = (cap->reqbufs_count == 1) ? -1 : cap->buf_index;
> diff --git a/drivers/media/video/s5p-fimc/fimc-core.h b/drivers/media/video/s5p-fimc/fimc-core.h
> index 1f1beaa..5bd9d93 100644
> --- a/drivers/media/video/s5p-fimc/fimc-core.h
> +++ b/drivers/media/video/s5p-fimc/fimc-core.h
(Continue reading)

Heiko Stübner | 2 Jan 2011 21:25
Picon
Gravatar

Re: s3c-sdhci s3c-sdhci.1: failed to get io clock on a s3c2416

[please keep the Cc, thanks]

Am Sonntag 02 Januar 2011, 18:42:55 schrieb Heiko Stübner:
> mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.0] using ADMA
> s3c-sdhci s3c-sdhci.1: failed to get io clock
> mmc0: mmc_rescan: trying to init card at 400000 Hz
> s3c-sdhci: probe of s3c-sdhci.1 failed with error -2
some findings by Alexander:

the smdk2416 uses arch/arm/plat-s3c24xx/s3c2443-clock.c . The clock definitions 
there don't include one for hsmmc and the needed id=1. So the second hsmmc 
channel doesn't have a clock.

Current (unsucessful)  attempts following in patch form.

Heiko
Heiko Stübner | 2 Jan 2011 21:35
Picon
Favicon

Re: s3c-sdhci s3c-sdhci.1: failed to get io clock on a s3c2416

From c3db3b64502ba991af7c51aa0571583772069db4 Mon Sep 17 00:00:00 2001
From: Alexander Neumann <alexander <at> bumpern.de>
Date: Sun, 2 Jan 2011 21:02:01 +0100
Subject: [PATCH] fix initialize on HSMMC channel 1

---
 .../mach-s3c2410/include/mach/regs-s3c2443-clock.h |    6 ++++--
 arch/arm/mach-s3c2443/clock.c                      |   13 ++++++++-----
 arch/arm/plat-s3c24xx/s3c2443-clock.c              |    8 +++++++-
 3 files changed, 19 insertions(+), 8 deletions(-)

diff --git a/arch/arm/mach-s3c2410/include/mach/regs-s3c2443-clock.h b/arch/arm/mach-s3c2410/include/mach/regs-s3c2443-clock.h
index 101aeea..bcb3090 100644
--- a/arch/arm/mach-s3c2410/include/mach/regs-s3c2443-clock.h
+++ b/arch/arm/mach-s3c2410/include/mach/regs-s3c2443-clock.h
 <at>  <at>  -86,7 +86,8  <at>  <at> 
 #define S3C2443_HCLKCON_LCDC		(1<<9)
 #define S3C2443_HCLKCON_USBH		(1<<11)
 #define S3C2443_HCLKCON_USBD		(1<<12)
-#define S3C2443_HCLKCON_HSMMC		(1<<16)
+#define S3C2443_HCLKCON_HSMMC1		(1<<16)
+#define S3C2443_HCLKCON_HSMMC0		(1<<15)
 #define S3C2443_HCLKCON_CFC		(1<<17)
 #define S3C2443_HCLKCON_SSMC		(1<<18)
 #define S3C2443_HCLKCON_DRAMC		(1<<19)
 <at>  <at>  -111,11 +112,12  <at>  <at> 
 #define S3C2443_SCLKCON_SSMCCLK		(1<<15)
 #define S3C2443_SCLKCON_HSSPICLK	(1<<14)
 #define S3C2443_SCLKCON_HSMMCCLK_EXT	(1<<13)
-#define S3C2443_SCLKCON_HSMMCCLK_EPLL	(1<<12)
(Continue reading)

Seungwhan Youn | 3 Jan 2011 02:37
Picon

Re: [alsa-devel] [PATCH 1/4] ARM: Kconfig: Add audio support dependency

On Sun, Jan 2, 2011 at 11:05 PM, Mark Brown
<broonie <at> opensource.wolfsonmicro.com> wrote:
> On Fri, Dec 24, 2010 at 03:36:09PM +0900, Seungwhan Youn wrote:
>
>> This patch adds Samsung ASoC audio support dependency for Samsung SoCs.
>
>> Signed-off-by: Seungwhan Youn <sw.youn <at> samsung.com>
>
>> +     select ASOC_SAMSUNG if SND_SOC
>
> Hrm, if we're going to do this we probably ought to be doing it for all
> architectures.  It's a good idea, we don't tend to have multiple
> possible architectures supported for a given architecture.  Since the
> second patch didn't apply I'll leave this one too, and patches 3 and 4,
> though they all look good.

Yes, I think so, but I didn't think that far when I made these
patches. If you don't mind, can I re-make this patch-set for all
architectures with your 'Requested-by'?
Kukjin Kim | 3 Jan 2011 03:28

RE: [PATCH 1/4] ARM: Kconfig: Add audio support dependency

Seungwhan Youn wrote:
> 
> This patch adds Samsung ASoC audio support dependency for Samsung SoCs.
> 
> Signed-off-by: Seungwhan Youn <sw.youn <at> samsung.com>
> ---
>  arch/arm/Kconfig |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index d56d21c..ef32a61 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
>  <at>  <at>  -647,6 +647,7  <at>  <at>  config ARCH_S3C2410
>  	select HAVE_CLK
>  	select ARCH_USES_GETTIMEOFFSET
>  	select HAVE_S3C2410_I2C if I2C
> +	select ASOC_SAMSUNG if SND_SOC
>  	help
>  	  Samsung S3C2410X CPU based systems, such as the Simtec Electronics
>  	  BAST (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940
> or
>  <at>  <at>  -678,6 +679,7  <at>  <at>  config ARCH_S3C64XX
>  	select SAMSUNG_GPIOLIB_4BIT
>  	select HAVE_S3C2410_I2C if I2C
>  	select HAVE_S3C2410_WATCHDOG if WATCHDOG
> +	select ASOC_SAMSUNG if SND_SOC
>  	help
>  	  Samsung S3C64XX series based systems
> 
(Continue reading)

Sangbeom Kim | 3 Jan 2011 11:48

[PATCH 2/2] ARM: S5PV310: Add support system mmu

From: Donguk Ryu <du.ryu <at> samsung.com>

This patch adds support system mmu for S5PV310 and S5PC210

Signed-off-by: Donguk Ryu <du.ryu at samsung.com>
Signed-off-by: Sangbeom Kim <sbkim73 <at> samsung.com>
---
 arch/arm/mach-s5pv310/Kconfig             |    6 +
 arch/arm/mach-s5pv310/Makefile            |    1 +
 arch/arm/mach-s5pv310/dev-sysmmu.c        |  187 +++++++++++++++++++++++++++++
 arch/arm/mach-s5pv310/mach-smdkc210.c     |    1 +
 arch/arm/mach-s5pv310/mach-smdkv310.c     |    1 +
 arch/arm/plat-samsung/include/plat/devs.h |    2 +
 6 files changed, 198 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-s5pv310/dev-sysmmu.c

diff --git a/arch/arm/mach-s5pv310/Kconfig b/arch/arm/mach-s5pv310/Kconfig
index b7aa3cd..3363327 100644
--- a/arch/arm/mach-s5pv310/Kconfig
+++ b/arch/arm/mach-s5pv310/Kconfig
 <at>  <at>  -66,6 +66,11  <at>  <at>  config S5PV310_SETUP_SDHCI_GPIO
 	help
 	  Common setup code for SDHCI gpio.

+config S5PV310_SETUP_SYSMMU
+	bool
+	help
+	  Common setup code for SYSTEM MMU in S5PV310
+
 # machine support
(Continue reading)

Sangbeom Kim | 3 Jan 2011 11:48

[PATCH 1/2] ARM: S5P: Add support for system mmu

From: Donguk Ryu <du.ryu <at> samsung.com>

This patch implements system mmu driver.
system mmu support address transition from virtual address to physical address.
IP connected system mmu can use directly vitrual address
when IP access physical memory not using physical address

Signed-off-by: Donguk Ryu <du.ryu <at> samsung.com>
Signed-off-by: Sangbeom Kim <sbkim73 <at> samsung.com>
---
 arch/arm/mach-s5pv310/include/mach/irqs.h        |   18 ++
 arch/arm/mach-s5pv310/include/mach/map.h         |   19 ++
 arch/arm/mach-s5pv310/include/mach/regs-sysmmu.h |   33 +++
 arch/arm/mach-s5pv310/include/mach/sysmmu.h      |  119 ++++++++
 arch/arm/plat-s5p/Kconfig                        |   16 +
 arch/arm/plat-s5p/Makefile                       |    1 +
 arch/arm/plat-s5p/include/plat/sysmmu.h          |   23 ++
 arch/arm/plat-s5p/sysmmu.c                       |  331 ++++++++++++++++++++++
 8 files changed, 560 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-s5pv310/include/mach/regs-sysmmu.h
 create mode 100644 arch/arm/mach-s5pv310/include/mach/sysmmu.h
 create mode 100644 arch/arm/plat-s5p/include/plat/sysmmu.h
 create mode 100644 arch/arm/plat-s5p/sysmmu.c

diff --git a/arch/arm/mach-s5pv310/include/mach/irqs.h b/arch/arm/mach-s5pv310/include/mach/irqs.h
index 1dd130a..536b0b5 100644
--- a/arch/arm/mach-s5pv310/include/mach/irqs.h
+++ b/arch/arm/mach-s5pv310/include/mach/irqs.h
 <at>  <at>  -55,6 +55,24  <at>  <at> 
 #define COMBINER_GROUP(x)	((x) * MAX_IRQ_IN_COMBINER + IRQ_SPI(64))
(Continue reading)


Gmane