RE: [PATCH 2/2] ARM: EXYNOS: Add apb_pclk clkdev entry for mdma1

2011-12-07 Thread Kukjin Kim
Tushar Behera wrote: > > Amba core assumes the pclk to be named as apb_pclk. During device probe, > it tries to get that clock and enable that. When PM_RUNTIME is enabled, > dma clock is not explicitly enabled in pl330_probe, which causes device > probe to fail. Adding a clkdev entry for apb_pclk

RE: [PATCH 1/2] DMA: PL330: Remove pm_runtime_xxx calls from pl330 probe/remove

2011-12-07 Thread Kukjin Kim
Vinod Koul wrote: > > On Tue, 2011-12-06 at 16:15 +0530, Tushar Behera wrote: > > amba_probe() now calls pm_runtime_get_noresume() and pm_runtime_enable() > > for the devices before the device probe is called. Hence we don't need > > to call pm_runtime_get_xxx and pm_runtime_enable() in device pro

Re: [PATCH 1/2] DMA: PL330: Remove pm_runtime_xxx calls from pl330 probe/remove

2011-12-07 Thread Vinod Koul
On Tue, 2011-12-06 at 16:15 +0530, Tushar Behera wrote: > amba_probe() now calls pm_runtime_get_noresume() and pm_runtime_enable() > for the devices before the device probe is called. Hence we don't need > to call pm_runtime_get_xxx and pm_runtime_enable() in device probe again. > In the same way,

[PATCH v2] ARM: S3C64XX: Implement basic power domain support

2011-12-07 Thread Mark Brown
The S3C64xx SoCs contain a set of gateable power domains which can be enabled and disabled at runtime in order to save power. Use the generic power domain code to implement support for these in software, enabling runtime control of most domains: - ETM (not supported in mainline). - Domain G: 3D

Re: [PATCH 3/3] ARM: S3C64XX: Implement basic power domain support

2011-12-07 Thread Mark Brown
On Wed, Dec 07, 2011 at 10:44:02PM +0100, Rafael J. Wysocki wrote: > On Friday, December 02, 2011, Mark Brown wrote: > > May as well, yes - I didn't actually measure how long it tends to take > > to do the spin but it's not going to hurt. > Are you going to post an updated patch? I've resent it

Re: [PATCH V2 0/1] dmaengine/amba-pl08x: Add support for s3c64xx DMAC

2011-12-07 Thread Alim Akhtar
Hello Linus, sorry for the delay in submitting V3 of the pl080 patches for s3c64xx. I am very busy with my current assignment. I will come back to my patch series incorporating yours and Viresh suggestions in v3. Thanks!! Regards, Alim On Thu, Dec 8, 2011 at 8:43 AM, Linus Walleij wrote: > On W

Re: [PATCH 1/3] PM: Provide an always on power domain governor

2011-12-07 Thread Mark Brown
On Wed, Dec 07, 2011 at 10:28:02PM +0100, Rafael J. Wysocki wrote: > On Wednesday, December 07, 2011, Mark Brown wrote: > > Well, I guess you could put patch 1 and 3 in then add 2 if an ack is > > forthcoming for that - there's no direct dependency. > It's been acked already, I'm going to pul all

Re: [PATCH V2 0/1] dmaengine/amba-pl08x: Add support for s3c64xx DMAC

2011-12-07 Thread Linus Walleij
On Wed, Sep 28, 2011 at 7:50 AM, Alim Akhtar wrote: > This patch modifies the amba-pl08x driver for s3c64xx. > The DMA controller of S3C64XX is a variant of PrimeCell pl080 DMAC. > S3C64xx contents extra register to hold the TransferSize. Alim what is happening with this patch series? I was rea

Re: [PATCH 3/3] ARM: S3C64XX: Implement basic power domain support

2011-12-07 Thread Rafael J. Wysocki
On Friday, December 02, 2011, Mark Brown wrote: > On Fri, Dec 02, 2011 at 09:10:27PM +0100, Sylwester Nawrocki wrote: > > > > + /* Not all domains provide power status readback */ > > > + if (pd->pwr_stat) { > > > + while (retry--) > > > + if (__raw_readl(S3C64XX_BLK_PWR_ST

Re: [PATCH 1/3] PM: Provide an always on power domain governor

2011-12-07 Thread Rafael J. Wysocki
On Wednesday, December 07, 2011, Mark Brown wrote: > On Tue, Dec 06, 2011 at 10:39:56PM +0100, Rafael J. Wysocki wrote: > > On Tuesday, December 06, 2011, Kukjin Kim wrote: > > > > Rafael, please let me know the branch when you create it so that I can > > > merge > > > it into Samsung tree to avo

Re: [PATCH v2] ARM: pl330: Fix a race condition

2011-12-07 Thread Javi Merino
On 07/12/11 10:01, Javi Merino wrote: > On 07/12/11 07:52, Kukjin Kim wrote: >> Jassi Brar wrote: >>> >>> On 29 November 2011 15:23, Javi Merino wrote: > On Samsung's Exynos4 platform, while testing audio playback with >> i2s > interface, the above change causes the playback to

Re: [PATCH 4/4] arm: exynos4: add device tree support for external wakeup interrupt controller

2011-12-07 Thread Rob Herring
On 12/07/2011 07:59 AM, Thomas Abraham wrote: > Add device tree support for external wakeup source interrupt controller > on Exynos4. > > Cc: Rob Herring > Cc: Grant Likely > Signed-off-by: Thomas Abraham > --- > .../bindings/arm/samsung/wakeup-eint.txt | 14 ++ > arch/

Re: [PATCH 2/4] arm: exynos4: add irq_domain support for wakeup interrupts

2011-12-07 Thread Thomas Abraham
Hi Rob, On 7 December 2011 21:54, Rob Herring wrote: > Thomas, > > On 12/07/2011 07:59 AM, Thomas Abraham wrote: >> Add irq_domain support for the 32 wakeup interrupt sources. >> >> Cc: Grant Likely >> Signed-off-by: Thomas Abraham >> --- >>  arch/arm/mach-exynos/include/mach/regs-gpio.h |    4

Re: [PATCH 4/4] arm: exynos4: add device tree support for external wakeup interrupt controller

2011-12-07 Thread Thomas Abraham
Hi Rob, On 7 December 2011 21:46, Rob Herring wrote: > On 12/07/2011 07:59 AM, Thomas Abraham wrote: >> Add device tree support for external wakeup source interrupt controller >> on Exynos4. >> >> Cc: Rob Herring >> Cc: Grant Likely >> Signed-off-by: Thomas Abraham >> --- [...] >> diff --git

Re: [PATCH 2/4] arm: exynos4: add irq_domain support for wakeup interrupts

2011-12-07 Thread Rob Herring
Thomas, On 12/07/2011 07:59 AM, Thomas Abraham wrote: > Add irq_domain support for the 32 wakeup interrupt sources. > > Cc: Grant Likely > Signed-off-by: Thomas Abraham > --- > arch/arm/mach-exynos/include/mach/regs-gpio.h |4 +- > arch/arm/mach-exynos/irq-eint.c | 69 > ++

[PATCH 4/4] arm: exynos4: add device tree support for external wakeup interrupt controller

2011-12-07 Thread Thomas Abraham
Add device tree support for external wakeup source interrupt controller on Exynos4. Cc: Rob Herring Cc: Grant Likely Signed-off-by: Thomas Abraham --- .../bindings/arm/samsung/wakeup-eint.txt | 14 ++ arch/arm/mach-exynos/cpu.c |5 - arch

[PATCH 2/4] arm: exynos4: add irq_domain support for wakeup interrupts

2011-12-07 Thread Thomas Abraham
Add irq_domain support for the 32 wakeup interrupt sources. Cc: Grant Likely Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/include/mach/regs-gpio.h |4 +- arch/arm/mach-exynos/irq-eint.c | 69 - 2 files changed, 46 insertions(+), 27 deletions

[PATCH 3/4] arm: exynos4: remove arch_initcall for wakeup interrupt source initialization

2011-12-07 Thread Thomas Abraham
The of_irq_init function would be setup to invoke the exynos4_init_irq_eint function when booting using device tree. The arch_initcall for exynos4_init_irq_eint would duplicate its invocation in that case. Hence, arch_initcall for exynos4_init_irq_eint is removed and this function is invoked from t

[PATCH 1/4] arm: exynos4: simplify EINT number to linux irq number translation

2011-12-07 Thread Thomas Abraham
The exynos4_get_irq_nr function that converts a given wakeup interrupt source number to a linux irq number is simplified and replaced with the new macro exynos4_irq_eint_to_gic_irq. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/irq-eint.c | 25 +++-- 1 files change

[PATCH 0/4] arm: exynos4: add irq domain and device tree support for wakeup interrupts

2011-12-07 Thread Thomas Abraham
Samsung Exynos4 includes 32 external wakeup interrupt sources. This patchset adds irq domain and device tree support for these interrupts. This patchset is based on the following tree. http://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git for-next This patchset depends on the fo

Re: [PATCH 1/3] PM: Provide an always on power domain governor

2011-12-07 Thread Mark Brown
On Tue, Dec 06, 2011 at 10:39:56PM +0100, Rafael J. Wysocki wrote: > On Tuesday, December 06, 2011, Kukjin Kim wrote: > > Rafael, please let me know the branch when you create it so that I can merge > > it into Samsung tree to avoid other conflicts. > I need an ack from Magnus or Paul on the shmo

How to get High resolution time in s3c6410

2011-12-07 Thread Sathishkumar Duraisamy
Hi all, Here I have to measure time elapsed between two events in microseconds. Currently in my working kernel 2.6.36.2, there is no support for high resolution timer and resolution of time is 10ms (jiffies) . Can you please help me to get high resolution timer? Or Do I have to use timer hardware

RE: [PATCH] ARM: exynos4: Fix for stall in case of cpu hotplug or sleep

2011-12-07 Thread Kukjin Kim
amit kachhap wrote: > > On Thu, Dec 1, 2011 at 4:05 PM, Kukjin Kim wrote: > > Amit Daniel Kachhap wrote: > >> > >> This patch adds remove_irq in place of disable_irq which is > >> correct equivalent function for setup_irq used in > >> exynos4_mct_tick_init. > >> > >> Signed-off-by: Amit Daniel Ka

Re: [GIT PULL] Samsung fixes-2 for v3.2

2011-12-07 Thread Arnd Bergmann
On Wednesday 07 December 2011, Kukjin Kim wrote: > The following changes since commit 5611cc4572e889b62a7b4c72a413536bf6a9c416: > > Linux 3.2-rc4 (2011-12-01 14:56:01 -0800) > > are available in the git repository at: > git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git >

Re: [PATCH v2] ARM: pl330: Fix a race condition

2011-12-07 Thread Javi Merino
On 07/12/11 07:52, Kukjin Kim wrote: > Jassi Brar wrote: >> >> On 29 November 2011 15:23, Javi Merino wrote: On Samsung's Exynos4 platform, while testing audio playback with > i2s interface, the above change causes the playback to freeze. The _thrd_active(thrd) call

RE: [PATCH 0/2] Add PM_RUNTIME related fixes for PL330

2011-12-07 Thread Boojin Kim
Tushar Behera [mailto:tushar.beh...@linaro.org] wrote: > Sent: Tuesday, December 06, 2011 7:46 PM > To: linux-samsung-soc@vger.kernel.org; linux-ker...@vger.kernel.org > Cc: kgene@samsung.com; vinod.k...@intel.com; > linaro-...@lists.linaro.org; patc...@linaro.org > Subject: [PATCH 0/2] Add PM

[GIT PULL] Samsung fixes-2 for v3.2

2011-12-07 Thread Kukjin Kim
Hi Arnd, Please pull samsung-fixes-2 for v3.2. It includes small fixes for S3C64XX and update the Samsung field of MAINTAINERS. If any problems, please let me know. Thanks. Best regards, Kgene. -- Kukjin Kim , Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd. The fol

RE: [GIT PULL] Samsung fixes for v3.2

2011-12-07 Thread Kukjin Kim
Kyungmin Park wrote: > > Hi, > > Don't you fix the mct compiler error if LOCAL_TIMERS are not defined? > > arch/arm/mach-exynos/mct.c: In function 'exynos4_timer_resources': > arch/arm/mach-exynos/mct.c:451: error: 'exynos4_mct_tick_isr' > undeclared (first use in this function) > arch/arm/mach-

[PATCH] ARM: EXYNOS: Fix build error without CONFIG_LOCAL_TIMERS

2011-12-07 Thread Kukjin Kim
arch/arm/mach-exynos/mct.c: In function 'exynos4_timer_resources': arch/arm/mach-exynos/mct.c:450: error: 'exynos4_mct_tick_isr' undeclared (first use in this function) arch/arm/mach-exynos/mct.c:450: error: (Each undeclared identifier is reported only once arch/arm/mach-exynos/mct.c:450: error:

Re: [PATCH v7 2/2] iommu/exynos: Add iommu driver for Exynos Platforms

2011-12-07 Thread KyongHo Cho
2011/12/6 Marek Szyprowski : > Hello, > > On Tuesday, December 06, 2011 1:21 PM KyongHo Cho wrote: > >> On Tue, Dec 6, 2011 at 8:48 PM, Marek Szyprowski >> wrote: >> > Hello, >> > >> > I'm trying to integrate your SYSMMU driver with my DMA-mapping & IOMMU >> > API integration patches. I've noticed