[PATCH] ARM: SAMSUNG: Remove redundant return code from s3c24xx_register_clock

2012-08-28 Thread Tushar Behera
s3c24xx_register_clock(struct clk *clk) always returns 0, so checking its return value has no meaning. There are a few other functions which also return the error code of s3c24xx_register_clock. Forcing all these functions to return void would help us save some line of code. Signed-off-by: Tusha

[PATCH 2/2] DMA: PL330: Set the capability of pdm0 and pdm1 as DMA_PRIVATE

2012-08-28 Thread Tushar Behera
DMA clients pdma0 and pdma1 are internal to the SoC and are used only by dedicated peripherals. Since they cannot be used for generic purpose, their capability should be set as DMA_PRIVATE. CC: Vinod Koul Signed-off-by: Tushar Behera --- drivers/dma/pl330.c |1 + 1 files changed, 1 insertio

[PATCH 1/2] ARM: EXYNOS: Set the capability of pdm0 and pdm1 as DMA_PRIVATE

2012-08-28 Thread Tushar Behera
DMA clients pdma0 and pdma1 are internal to the SoC and are used only by dedicated peripherals. Since they cannot be used for generic purpose, their capability should be set as DMA_PRIVATE. CC: Kukjin Kim Signed-off-by: Tushar Behera --- arch/arm/mach-exynos/dma.c |2 ++ 1 files changed, 2

[PATCH 0/2] ARM: EXYNOS: Set the capability of pdm0 and pdm1 as DMA_PRIVATE

2012-08-28 Thread Tushar Behera
DMA clients pdma0 and pdma1 are internal to the SoC and are used only by dedicated peripherals. Since they cannot be used for generic purpose, their capability should be set as DMA_PRIVATE. The patches are rebased on top of v3.6-rc3. Tushar Behera (2): ARM: EXYNOS: Set the capability of pdm0 an

RE: [PATCH v3 3/4] ARM: EXYNOS: Enable PMUs for exynos4

2012-08-28 Thread Chanho Park
> -Original Message- > From: Sachin Kamat [mailto:sachin.ka...@linaro.org] > Sent: Wednesday, August 29, 2012 12:39 PM > To: Chanho Park > Cc: kgene@samsung.com; linux-arm-ker...@lists.infradead.org; linux- > samsung-...@vger.kernel.org; li...@arm.linux.org.uk; > will.dea...@arm.com; th

Re: [PATCH v3 3/4] ARM: EXYNOS: Enable PMUs for exynos4

2012-08-28 Thread Sachin Kamat
Hi Chanho, On 29 August 2012 06:44, Chanho Park wrote: > This patch define irq numbers of ARM performance monitoring unit for exynos4. > The number of CPU cores and PMU irq numbers are vary according to soc types. > So we need to identify each soc type using soc_is_xxx function and define the > p

[PATCH v3 4/4] ARM: EXYNOS: Add arm-pmu DT binding for exynos5250

2012-08-28 Thread Chanho Park
This patch enables arm-pmu to bind device tree for exynos5250. The exynos5250 has two pmus which have combiner irq type. Signed-off-by: Chanho Park Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos5250.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/e

[PATCH v3 3/4] ARM: EXYNOS: Enable PMUs for exynos4

2012-08-28 Thread Chanho Park
This patch define irq numbers of ARM performance monitoring unit for exynos4. The number of CPU cores and PMU irq numbers are vary according to soc types. So we need to identify each soc type using soc_is_xxx function and define the pmu irqs dynamically. In case of exynos4412, there are 4 cpu cores

[PATCH v3 2/4] ARM: EXYNOS: Correct combined IRQs for exynos4412

2012-08-28 Thread Chanho Park
This patch corrects combined IRQs for exynos4412 platform. The exynos4412 has four extra combined irq group. Each irq is mapped to IRQ_SPI(xx). Unfortunately, extra combined IRQs isn't sequential. So, we need to map the irq manually. Signed-off-by: Chanho Park Signed-off-by: Kyungmin Park --- a

[PATCH v3 1/4] ARM: EXYNOS: Add set_irq_affinity function for combiner_irq

2012-08-28 Thread Chanho Park
This patch adds set_irq_affinity function for combiner_irq. We need this function to enable a arm-pmu because the pmu of exynos has combined type irqs. Signed-off-by: Chanho Park Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos/common.c | 30 +- 1 file changed

[PATCH v3 0/4] Add support to enable ARM PMU for EXYNOS

2012-08-28 Thread Chanho Park
This patchset fixes irq numbers of ARM Performance Monitoring unit and enable it for Perf(Performance Counter) on the exynos 4 and 5. The exynos4 and 5 use 2 more cpu cores which has its own pmu. The exynos uses combiner-irq type for arm-pmu. Especially, the exynos4412 has 4 extra combined irq grou

Re: [PATCH] ARM: EXYNOS: Use non-secure MDMA1

2012-08-28 Thread Kyungmin Park
On 8/29/12, Kukjin Kim wrote: > On 08/28/12 04:08, Tomasz Figa wrote: >> Using secure MDMA1 on TrustZone-enabled boards causes early boot crash, >> so use non-secure instead. >> >> Signed-off-by: Tomasz Figa >> Signed-off-by: Kyungmin Park >> --- >> arch/arm/mach-exynos/dma.c | 2 +-

Re: [PATCH 1/3] ARM: EXYNOS: Use EXYNOS4210_GPEx instead of EXYNOS4_GPEx

2012-08-28 Thread Kyungmin Park
On 8/29/12, Kukjin Kim wrote: > On 08/28/12 03:06, Tomasz Figa wrote: >> The GPEx gpios are specific to Exynos4210 and do not exist on Exynos4x12. >> Redefine them to use the exact SoC name. >> >> Based on "ARM: EXYYNOS: Use EXYNOS4210_GPEx instead of EXYNOS4_GPEx" by >> Joonyoung Shim, see: >> ht

Re: [PATCH] ARM: EXYNOS: Use non-secure MDMA1

2012-08-28 Thread Kukjin Kim
On 08/28/12 04:08, Tomasz Figa wrote: Using secure MDMA1 on TrustZone-enabled boards causes early boot crash, so use non-secure instead. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos/dma.c | 2 +- arch/arm/mach-exynos/include/mach/map.h | 3 ++-

Re: [PATCH 1/3] ARM: EXYNOS: Use EXYNOS4210_GPEx instead of EXYNOS4_GPEx

2012-08-28 Thread Kukjin Kim
On 08/28/12 03:06, Tomasz Figa wrote: The GPEx gpios are specific to Exynos4210 and do not exist on Exynos4x12. Redefine them to use the exact SoC name. Based on "ARM: EXYYNOS: Use EXYNOS4210_GPEx instead of EXYNOS4_GPEx" by Joonyoung Shim, see: http://lists.infradead.org/pipermail/linux-arm-ker

Re: [PATCH 1/2] ARM: S3C64XX: Update configuration for WM5102 module on Cragganmore

2012-08-28 Thread Kukjin Kim
On 08/23/12 08:20, Mark Brown wrote: On Thu, Aug 23, 2012 at 06:45:19PM +0900, Kukjin Kim wrote: Yeah, actually SoC defconfig in mainline doesn't cover _real_ requirements for (mass) product. But I think, it's time we need to sort out the defconfigs so that we could use them efficiently on prod

Re: [PATCH] ARM: EXYNOS: Fix incorrect help text

2012-08-28 Thread Kukjin Kim
On 08/28/12 01:07, Sachin Kamat wrote: Changed Exynos4 -> Exynos5. Signed-off-by: Sachin Kamat --- arch/arm/mach-exynos/Kconfig |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index b5b4c8c..9369ff7 10064

Re: [PATCH] ARM: Exynos4: Turn off clocks for NAND, OneNAND and TSI controllers

2012-08-28 Thread Kukjin Kim
On 08/28/12 01:15, Thomas Abraham wrote: On 24 August 2012 20:22, Chander Kashyap wrote: The clocks for NAND, OneNAND and Transport Stream Interface(TSI) controllers could be either enabled or disabled at boot. To ensure that these are turned off until used, add them to the list of clocks to be

Re: [PATCH 0/3] Removal of obsolete s3c2410_* GPIO API

2012-08-28 Thread Kukjin Kim
On 08/27/12 17:13, Linus Walleij wrote: On Sat, Aug 25, 2012 at 5:20 AM, Sylwester Nawrocki wrote: This short patch series converts remaining users of the s3c24xx SoC specific gpiolib functions to the gpiolib API and finally removes all s3c2410_* functions from drivers/gpio/gpio-samsung.c.

Re: [PATCH] ARM: S3C24XX: Add .get_rate callback for "camif-upll" clock

2012-08-28 Thread Kukjin Kim
On 08/28/12 13:58, Sylwester Nawrocki wrote: On 08/28/2012 12:58 AM, Kukjin Kim wrote: On 08/27/12 13:12, Sylwester Nawrocki wrote: Add missing get_rate callback for the "camif-upll" clock, so frequency of this clock is properly reported with clk_get_rate(). Signed-off-by: Sylwester Nawrocki -

Re: [PATCH v2] gpio: samsung: add devicetree init for s3c24xx arches

2012-08-28 Thread Kukjin Kim
On 08/28/12 14:55, Heiko Stübner wrote: Until now the Exynos-SoC was the only Samsung-SoC supporting the GPIOs via the device tree. This patch implements dt-support for the s3c24xx arches. The controllers contain only 3 cells, as the underlying gpio controller does not support controlling the dr

[PATCH v2] gpio: samsung: add devicetree init for s3c24xx arches

2012-08-28 Thread Heiko Stübner
Until now the Exynos-SoC was the only Samsung-SoC supporting the GPIOs via the device tree. This patch implements dt-support for the s3c24xx arches. The controllers contain only 3 cells, as the underlying gpio controller does not support controlling the drive strength on a gpio level. Tested with

Re: [PATCH] ARM: S3C24XX: Add .get_rate callback for "camif-upll" clock

2012-08-28 Thread Sylwester Nawrocki
On 08/28/2012 12:58 AM, Kukjin Kim wrote: > On 08/27/12 13:12, Sylwester Nawrocki wrote: >> Add missing get_rate callback for the "camif-upll" clock, so frequency >> of this clock is properly reported with clk_get_rate(). >> >> Signed-off-by: Sylwester Nawrocki >> --- >> arch/arm/mach-s3c24xx/clock

Re: [PATCH 0/3] Removal of obsolete s3c2410_* GPIO API

2012-08-28 Thread Sylwester Nawrocki
On 08/28/2012 01:33 AM, Kukjin Kim wrote: > On 08/25/12 05:20, Sylwester Nawrocki wrote: >> This short patch series converts remaining users of the s3c24xx SoC >> specific gpiolib functions to the gpiolib API and finally removes >> all s3c2410_* functions from drivers/gpio/gpio-samsung.c. >> >> Syl

Re: [PATCH] ARM: EXYNOS: Add support for secondary CPU bring-up on Exynos4412

2012-08-28 Thread Tomasz Figa
Hi, Thanks for reviewing the patch. On Tuesday 28 of August 2012 09:21:40 Stephen Boyd wrote: > On 8/28/2012 4:13 AM, Tomasz Figa wrote: > > diff --git a/arch/arm/mach-exynos/platsmp.c > > b/arch/arm/mach-exynos/platsmp.c index 36c3984..1114ced 100644 > > --- a/arch/arm/mach-exynos/platsmp.c > >

Re: [PATCH 2/3] gpio: samsung: Add support for Exynos4x12 SoCs

2012-08-28 Thread Tomasz Figa
Hi, Thanks for reviewing the patch. On Tuesday 28 of August 2012 20:25:34 Thomas Abraham wrote: > > + }, { > > + .config = &samsung_gpio_cfgs[9], > > + .irq_base = IRQ_EINT(24), > > + .chip = { > > + .base = EXYNOS4_GPX3(0)

Re: [RESUBMIT PATCH] ASoC: SAMSUNG: Change Kconfig to support all SAMSUNG ASoC

2012-08-28 Thread Mark Brown
On Tue, Aug 28, 2012 at 05:55:49PM +0900, Sangsu Park wrote: > All SAMSUNG ASoC needs SND_SOC_SAMSUNG configuration. > This patch change Kconfig to support all SAMSUNG ASoC. Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to

Re: [PATCH] ARM: EXYNOS: Add support for secondary CPU bring-up on Exynos4412

2012-08-28 Thread Stephen Boyd
On 8/28/2012 4:13 AM, Tomasz Figa wrote: > diff --git a/arch/arm/mach-exynos/platsmp.c b/arch/arm/mach-exynos/platsmp.c > index 36c3984..1114ced 100644 > --- a/arch/arm/mach-exynos/platsmp.c > +++ b/arch/arm/mach-exynos/platsmp.c > @@ -34,8 +34,19 @@ > > extern void exynos4_secondary_startup(voi

Re: [PATCH 0/3] ARM: EXYNOS: Add support for GPIO on Exynos4x12

2012-08-28 Thread Thomas Abraham
On 28 August 2012 15:31, Tomasz Figa wrote: > This patch series makes necessary preparations and adds support for GPIO on > Exynos4x12 SoCs. > > Tomasz Figa (3): > ARM: EXYNOS: Use EXYNOS4210_GPEx instead of EXYNOS4_GPEx > gpio: samsung: Add support for Exynos4x12 SoCs > ARM: EXYNOS: Add sup

Re: [PATCH 2/3] gpio: samsung: Add support for Exynos4x12 SoCs

2012-08-28 Thread Thomas Abraham
On 28 August 2012 15:36, Tomasz Figa wrote: > Based on patch "gpio/exynos: Add support for Exynos4x12 SoC" by Joonyoung > Shim. > See: > http://lists.infradead.org/pipermail/linux-arm-kernel/2012-May/100737.html > > Exynos4x12 GPIO part1 and part2 have different layout than Exynos4210, > so the

Re: [PATCH 1/3] ARM: EXYNOS: Use EXYNOS4210_GPEx instead of EXYNOS4_GPEx

2012-08-28 Thread Thomas Abraham
On 28 August 2012 15:36, Tomasz Figa wrote: > The GPEx gpios are specific to Exynos4210 and do not exist on Exynos4x12. > Redefine them to use the exact SoC name. > > Based on "ARM: EXYYNOS: Use EXYNOS4210_GPEx instead of EXYNOS4_GPEx" by > Joonyoung Shim, see: > http://lists.infradead.org/piperma

Re: [PATCH v4 9/9] mmc: dw_mmc: add support for exynos specific implementation of dw-mshc

2012-08-28 Thread Thomas Abraham
On 28 August 2012 16:13, Seungwon Jeon wrote: > On Tuesday, August 28, 2012 Thomas Abraham wrote: >> Hi Seungwon, >> >> On 28 August 2012 12:36, Seungwon Jeon wrote: [...] >> >> + /* >> >> + * Exynos4412 and Exynos5250 extends the use of CMD register with >> >> the >> >> + * use

Re: [PATCH v4 4/9] mmc: dw_mmc: lookup for optional biu and ciu clocks

2012-08-28 Thread Thomas Abraham
On 28 August 2012 16:13, Seungwon Jeon wrote: > On Sunday, August 26, 2012 Thomas Abraham wrote: >> Some platforms allow for clock gating and control of bus interface unit clock >> and card interface unit clock. Add support for clock lookup of optional biu >> and ciu clocks for clock gating and c

[PATCH] ARM: EXYNOS: Add support for secondary CPU bring-up on Exynos4412

2012-08-28 Thread Tomasz Figa
Exynos4412 uses different information register for each core. This patch adjusts the bring-up code to take that into account. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos/platsmp.c | 25 - 1 file changed, 20 insertions(+), 5 deletions(

[PATCH] ARM: EXYNOS: Use non-secure MDMA1

2012-08-28 Thread Tomasz Figa
Using secure MDMA1 on TrustZone-enabled boards causes early boot crash, so use non-secure instead. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos/dma.c | 2 +- arch/arm/mach-exynos/include/mach/map.h | 3 ++- 2 files changed, 3 insertions(+), 2 del

RE: [PATCH v4 9/9] mmc: dw_mmc: add support for exynos specific implementation of dw-mshc

2012-08-28 Thread Seungwon Jeon
On Tuesday, August 28, 2012 Thomas Abraham wrote: > Hi Seungwon, > > On 28 August 2012 12:36, Seungwon Jeon wrote: > > Hi Thomas, > > > > Thank you for your effort. > > Some reviews seems like to be omitted. Please check more. > > > > On Sunday, August 26, 2012 Thomas Abraham wrote: > >> Samsun

RE: [PATCH v4 4/9] mmc: dw_mmc: lookup for optional biu and ciu clocks

2012-08-28 Thread Seungwon Jeon
On Sunday, August 26, 2012 Thomas Abraham wrote: > Some platforms allow for clock gating and control of bus interface unit clock > and card interface unit clock. Add support for clock lookup of optional biu > and ciu clocks for clock gating and clock speed determination. > > Signed-off-by: Abhila

Re: [PATCH] ARM: EXYNOS: Add MFC device tree support

2012-08-28 Thread Arun Kumar K
Hi Karol, Thanks for your comments. Please find my response inline. On Mon, Aug 20, 2012 at 11:47 AM, Karol Lewandowski wrote: > On 08/16/2012 08:42 PM, Thomas Abraham wrote: >> On 16 August 2012 18:01, Arun Kumar K wrote: > >>> + - interrupts : MFC interupt number to the CPU. >>> + >>> + -

[PATCH 3/3] ARM: EXYNOS: Add support for FIMC cam port B GPIO setup on Exynos4x12

2012-08-28 Thread Tomasz Figa
Exynos4x12 SoCs use different GPIO pins for FIMC cam port B and this patch modifies the setup code to take it into account. Signed-off-by: Tomasz Figa --- arch/arm/mach-exynos/setup-fimc.c | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/mach-exynos/setup-fimc.c b

[PATCH 2/3] gpio: samsung: Add support for Exynos4x12 SoCs

2012-08-28 Thread Tomasz Figa
Based on patch "gpio/exynos: Add support for Exynos4x12 SoC" by Joonyoung Shim. See: http://lists.infradead.org/pipermail/linux-arm-kernel/2012-May/100737.html Exynos4x12 GPIO part1 and part2 have different layout than Exynos4210, so the initialization code has to be modified to support Exynos4x12

[PATCH 1/3] ARM: EXYNOS: Use EXYNOS4210_GPEx instead of EXYNOS4_GPEx

2012-08-28 Thread Tomasz Figa
The GPEx gpios are specific to Exynos4210 and do not exist on Exynos4x12. Redefine them to use the exact SoC name. Based on "ARM: EXYYNOS: Use EXYNOS4210_GPEx instead of EXYNOS4_GPEx" by Joonyoung Shim, see: http://lists.infradead.org/pipermail/linux-arm-kernel/2012-May/100738.html Signed-off-by:

[PATCH 0/3] ARM: EXYNOS: Add support for GPIO on Exynos4x12

2012-08-28 Thread Tomasz Figa
This patch series makes necessary preparations and adds support for GPIO on Exynos4x12 SoCs. Tomasz Figa (3): ARM: EXYNOS: Use EXYNOS4210_GPEx instead of EXYNOS4_GPEx gpio: samsung: Add support for Exynos4x12 SoCs ARM: EXYNOS: Add support for FIMC cam port B GPIO setup on Exynos4x12 arch/

RE: [alsa-devel] [RESUBMIT PATCH] ASoC: SAMSUNG: Change Kconfig to support all SAMSUNG ASoC

2012-08-28 Thread Sangbeom Kim
On Mon, Aug 28, 2012 at 05:56PM, Sangsu Park wrote: > All SAMSUNG ASoC needs SND_SOC_SAMSUNG configuration. > This patch change Kconfig to support all SAMSUNG ASoC. > > Signed-off-by: Sangsu Park Acked-by: Sangbeom Kim -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-

[RESUBMIT PATCH] ASoC: SAMSUNG: Change Kconfig to support all SAMSUNG ASoC

2012-08-28 Thread Sangsu Park
All SAMSUNG ASoC needs SND_SOC_SAMSUNG configuration. This patch change Kconfig to support all SAMSUNG ASoC. Signed-off-by: Sangsu Park --- sound/soc/samsung/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sound/soc/samsung/Kconfig b/sound/soc/samsung/Kconfig in

Re: [PATCH] ARM: Exynos4: Turn off clocks for NAND, OneNAND and TSI controllers

2012-08-28 Thread Thomas Abraham
On 24 August 2012 20:22, Chander Kashyap wrote: > The clocks for NAND, OneNAND and Transport Stream Interface(TSI) > controllers could be either enabled or disabled at boot. To ensure > that these are turned off until used, add them to the list of clocks > to be turned off during boot. > > Signed-

[PATCH] ARM: EXYNOS: Fix incorrect help text

2012-08-28 Thread Sachin Kamat
Changed Exynos4 -> Exynos5. Signed-off-by: Sachin Kamat --- arch/arm/mach-exynos/Kconfig |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index b5b4c8c..9369ff7 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/

Re: [PATCH v4 9/9] mmc: dw_mmc: add support for exynos specific implementation of dw-mshc

2012-08-28 Thread Thomas Abraham
Hi Seungwon, On 28 August 2012 12:36, Seungwon Jeon wrote: > Hi Thomas, > > Thank you for your effort. > Some reviews seems like to be omitted. Please check more. > > On Sunday, August 26, 2012 Thomas Abraham wrote: >> Samsung Exynos SoC's extend the dw-mshc controller for additional clock and

RE: [PATCH v4 9/9] mmc: dw_mmc: add support for exynos specific implementation of dw-mshc

2012-08-28 Thread Seungwon Jeon
Hi Thomas, Thank you for your effort. Some reviews seems like to be omitted. Please check more. On Sunday, August 26, 2012 Thomas Abraham wrote: > Samsung Exynos SoC's extend the dw-mshc controller for additional clock and > bus > control. Add support for these extensions and include provide de