[PATCH v2] ARM: EXYNOS4: Configure MAX8997 PMIC for Origen

2011-08-22 Thread Inderpal Singh
From: Inderpal Singh inderpa...@samsung.com Configure MAX8997 PMIC and provide platform specific data for origen. Signed-off-by: Inderpal Singh inderpal.si...@linaro.org --- Changes from v1: - Removed soc-audio - Used macro for GPIO pin - irq assigned statically

Re: [PATCH v3] ARM: Samsung: fix watchdog reset issue with clk_get()

2011-08-22 Thread Tushar Behera
Hi Kyungmin, On Friday 19 August 2011 04:14 PM, Kyungmin Park wrote: Interesting. there's no s5p_reset_hook at exynos4. Anyway, after implement the s5p_reset_hook, it's working without hacking of v7-fin. Thanks for the pointer. After adding s5p_reset_hook, tested soft-reboot successfully on

Re: [PATCH v6 04/15] DMA: PL330: Add DMA_CYCLIC capability

2011-08-22 Thread Jassi Brar
On Fri, Aug 19, 2011 at 2:24 PM, Boojin Kim boojin@samsung.com wrote: @@ -324,6 +362,9 @@ static void pl330_free_chan_resources(struct dma_chan *chan)        pl330_release_channel(pch-pl330_chid);        pch-pl330_chid = NULL; +       if (pch-cyclic) +              

Re: [PATCH v6 02/15] DMA: PL330: Update PL330 DMA API driver

2011-08-22 Thread Jassi Brar
On Fri, Aug 19, 2011 at 2:24 PM, Boojin Kim boojin@samsung.com wrote: This patch updates following 3 items. 1. Removes unneccessary code. 2. Add AMBA, PL330 configuration 3. Change the meaning of 'peri_id' variable   from PL330 event number to specific dma id by user. Signed-off-by:

Re: [PATCH v6 03/15] DMA: PL330: Support DMA_SLAVE_CONFIG command

2011-08-22 Thread Jassi Brar
On Fri, Aug 19, 2011 at 2:24 PM, Boojin Kim boojin@samsung.com wrote: Signed-off-by: Boojin Kim boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Cc: Dan Williams dan.j.willi...@intel.com Signed-off-by: Kukjin Kim

Re: [PATCH v6 14/15] ASoC: Samsung: Update DMA interface

2011-08-22 Thread Jassi Brar
On Fri, Aug 19, 2011 at 2:24 PM, Boojin Kim boojin@samsung.com wrote: This patch adds to support the DMA PL330 driver that uses DMA generic API. Samsung sound driver uses DMA generic API if architecture supports it. Otherwise, use samsung specific S3C-PL330 API driver to transfer PCM data.

Re: [PATCH] DMA: PL330: Merge PL330 drivers

2011-08-22 Thread Jassi Brar
On Mon, Aug 22, 2011 at 10:22 AM, Boojin Kim boojin@samsung.com wrote: This patch merges 'arch/arm/common/pl330.c' with 'driver/dma/pl330.c' NOTE: this patch is made on following patches. - [PATCH v6] To use DMA generic APIs for Samsung DMA - [PATCH v4] amba: consolidate PrimeCell magic

RE: [PATCH v6 03/15] DMA: PL330: Support DMA_SLAVE_CONFIG command

2011-08-22 Thread Boojin Kim
Jassi Brar wrote: Sent: Monday, August 22, 2011 7:14 PM To: Boojin Kim Cc: linux-arm-ker...@lists.infradead.org; linux-samsung- s...@vger.kernel.org; Vinod Koul; Kukjin Kim; Dan Williams; Mark Brown; Grant Likely; Russell King Subject: Re: [PATCH v6 03/15] DMA: PL330: Support

RE: [PATCH v6 04/15] DMA: PL330: Add DMA_CYCLIC capability

2011-08-22 Thread Boojin Kim
Jassi Brar wrote: @@ -324,6 +362,9 @@ static void pl330_free_chan_resources(struct dma_chan *chan) pl330_release_channel(pch-pl330_chid); pch-pl330_chid = NULL; + if (pch-cyclic) + list_splice_tail_init(pch-work_list, pch-dmac- desc_pool);

[PATCH] ARM: EXYNOS4: Add FIMC device on SMDKV310 board

2011-08-22 Thread Sachin Kamat
This patch adds definitions to enable support for s5p-fimc driver on SMDKV310 board. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- arch/arm/mach-exynos4/Kconfig |4 arch/arm/mach-exynos4/mach-smdkv310.c |4 2 files changed, 8 insertions(+), 0 deletions(-)

Re: [RFC PATCH 3/4] ARM: EXYNOS4: Add support AFTR mode cpuidle state on EXYNOS4210

2011-08-22 Thread Amit Kachhap
On 21 August 2011 22:48, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Fri, Aug 19, 2011 at 06:39:59PM +0530, Amit Daniel Kachhap wrote: +ENTRY(exynos4_enter_lp) +     stmfd   sp!, { r3 - r12, lr } + +     adr     r0, sleep_save_misc + +     mrc     p15, 0, r2, c15, c0, 0  @

Re: [RFC PATCH 2/4] ARM: EXYNOS4: Fix to work with origen boards.

2011-08-22 Thread Amit Kachhap
On 19 August 2011 19:29, Kyungmin Park kmp...@infradead.org wrote: On Fri, Aug 19, 2011 at 10:09 PM, Amit Daniel Kachhap amit.kach...@linaro.org wrote: This adds a function to get the revision id. Signed-off-by: Jaecheol Lee jc@samsung.com Signed-off-by: Changhwan Youn

[PATCH 0/3] dma: pl330: Simplify platform data for pl330 driver

2011-08-22 Thread Thomas Abraham
The rqtype parameter specified in platform data as part of the 'struct dma_pl330_peri' can be inferred from the direction of the transfer specified with transfer requests. So the rqtype parameter can be removed and 'struct dma_pl330_peri' is then left with only one field 'peri_id' which itself can

[PATCH 3/3] ARM: EXYNOS4: Modify platform data for pl330 driver

2011-08-22 Thread Thomas Abraham
With the 'struct dma_pl330_peri' removed, the platfrom data for dma driver can be simplified to a simple list of peripheral request ids. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos4/dma.c | 220 --- 1 files changed, 59

[PATCH 2/3] ARM: SAMSUNG: Modify pl330 channel filter function

2011-08-22 Thread Thomas Abraham
With the change in dma channels private data information, the pl330 channel filter function is modified to look for a simple u8 value instead of the now unused 'struct dma_pl330_peri' value. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/plat-samsung/dma-ops.c |4 ++--

[PATCH 1/3] DMA: PL330: Infer transfer direction from transfer request instead of platform data

2011-08-22 Thread Thomas Abraham
The transfer direction for a channel can be inferred from the transfer request and the need for specifying transfer direction in platfrom data can be eliminated. So the structure definition 'struct dma_pl330_peri' is no longer required. With the 'struct dma_pl330_peri' removed, the dma controller

[RESEND][PATCH 0/3] dma: pl330: Simplify platform data for pl330 driver

2011-08-22 Thread Thomas Abraham
The rqtype parameter specified in platform data as part of the 'struct dma_pl330_peri' can be infered from the direction of the transfer specified with transfer requests. So the rqtype parameter can be removed and 'struct dma_pl330_peri' is then left with only one field 'peri_id' which itself can

[PATCH 3/3] ARM: EXYNOS4: Modify platform data for pl330 driver

2011-08-22 Thread Thomas Abraham
With the 'struct dma_pl330_peri' removed, the platfrom data for dma driver can be simplified to a simple list of peripheral request ids. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos4/dma.c | 220 --- 1 files changed, 59

Re: [PATCH 2/3] ARM: SAMSUNG: Modify pl330 channel filter function

2011-08-22 Thread Russell King - ARM Linux
On Tue, Aug 23, 2011 at 03:29:44AM +0530, Thomas Abraham wrote: With the change in dma channels private data information, the pl330 channel filter function is modified to look for a simple u8 value instead of the now unused 'struct dma_pl330_peri' value. Signed-off-by: Thomas Abraham

[PATCH V2 1/4] ARM: SAMSUNG: Add support for detecting CPU at runtime

2011-08-22 Thread Kukjin Kim
The soc_is_[name]() can be used to distinguish cpu at runtime. This patch was originally from Changhwan Youn chaos.y...@samsung.com Acked-by: Changhwan Youn chaos.y...@samsung.com Cc: Ben Dooks ben-li...@fluff.org Signed-off-by: Kukjin Kim kgene@samsung.com --- Changes since v1: -

[PATCH V2 2/4] ARM: S5P64X0: Use soc_is_s5p64x0() to distinguish cpu at runtime

2011-08-22 Thread Kukjin Kim
Signed-off-by: Kukjin Kim kgene@samsung.com --- Changes since v1: - soc_is_s5p64x0() is used instead of cpu_is_s5p64x0() arch/arm/mach-s5p64x0/dev-spi.c |8 +++- arch/arm/mach-s5p64x0/dma.c |7 ++- arch/arm/mach-s5p64x0/gpiolib.c |7 ++-

RE: [PATCH 1/4] S3C2443: Move i2s clock definitions to common code

2011-08-22 Thread Kukjin Kim
Heiko Stübner wrote: Am Sonntag 21 August 2011, 19:13:32 schrieb Russell King - ARM Linux: On Sat, Aug 20, 2011 at 06:01:29PM +0200, Heiko Stübner wrote: +/* i2s-ref + * + * i2s bus reference clock, selectable from external, esysclk or epllref + * + * Note, this used to be two

Re: [PATCH v6 04/15] DMA: PL330: Add DMA_CYCLIC capability

2011-08-22 Thread Jassi Brar
On Mon, Aug 22, 2011 at 5:33 PM, Boojin Kim boojin@samsung.com wrote: +static struct dma_async_tx_descriptor *pl330_prep_dma_cyclic( +               struct dma_chan *chan, dma_addr_t dma_addr, size_t len, +               size_t period_len, enum dma_data_direction direction) +{ +    

[PATCH 1/1] ARM: EXYNOS4: Add PWM backlight support on Origen

2011-08-22 Thread Sachin Kamat
From: Giridhar Maruthy giridhar.maru...@linaro.org This patch adds support for LCD backlight using PWM timer on Origen board. Signed-off-by: Giridhar Maruthy giridhar.maru...@linaro.org Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- arch/arm/mach-exynos4/Kconfig |2 ++