Re: [PATCH v2 3/4] DMA: PL330: Balance module remove function with probe

2012-10-29 Thread Inderpal Singh
Hi Vinod, On 29 October 2012 10:15, Vinod Koul vk...@infradead.org wrote: On Sat, 2012-10-27 at 15:50 +0530, Inderpal Singh wrote: Hi Vinod, On 26 October 2012 10:15, Vinod Koul vk...@infradead.org wrote: On Thu, 2012-10-25 at 16:53 +0530, Inderpal Singh wrote: This code will get

[PATCH 0/4] DMA: PL330 fixes

2012-10-29 Thread Bartlomiej Zolnierkiewicz
Hi, The first patch fixes lockup caused by pl330 driver. It doesn't add any dependencies to later patches and can be applied independently. The second patch fixes PL330 regression on ARM Exynos 4210 revision 0 SOC (used by Universal C210 board). The third patch adds PL330 MDMA1 controller node

[PATCH 1/4] DMA: PL330: fix locking in pl330_free_chan_resources()

2012-10-29 Thread Bartlomiej Zolnierkiewicz
tasklet_kill() may sleep so call it before taking pch-lock. Fixes following lockup: [ 345.47] BUG: scheduling while atomic: cat/2383/0x0002 [ 345.47] Modules linked in: [ 345.47] [c0015858] (unwind_backtrace+0x0/0xfc) from [c004d980] (__schedule_bug+0x4c/0x58) [ 345.47]

[PATCH 3/4] ARM: dts: exynos4: add node for PL330 MDMA1 controller

2012-10-29 Thread Bartlomiej Zolnierkiewicz
Add missing PL330 MDMA1 controller node to the device tree (DT). [ Currently there is no problem with using 'non-secure' mdma1 address instead of 'secure' one on revision 0 of Exynos4210 SOC (as used by Universal C210 board) as this SOC revision is unsupported by DT. ] Cc: Tomasz Figa

[PATCH 4/4] DMA: PL330: add device tree property for DMA_MEMCPY capability

2012-10-29 Thread Bartlomiej Zolnierkiewicz
* Add device tree (DT) property (pl330,dma-memcpy) for DMA_MEMCPY capability and instead of setting this capability unconditionally in pl330_probe() do it only when property is present. * Set the new pl330,dma-memcpy device tree property for all current pl330 driver users except pdma

[PATCH 2/4] ARM: EXYNOS: PL330 MDMA1 fix for revision 0 of Exynos4210 SOC

2012-10-29 Thread Bartlomiej Zolnierkiewicz
Commit 8214513 (ARM: EXYNOS: fix address for EXYNOS4 MDMA1) changed EXYNOS specific setup of PL330 DMA engine to use 'non-secure' mdma1 address instead of 'secure' one (from 0x1284 to 0x1285) to fix issue with some Exynos4212 SOCs. Unfortunately it brakes PL330 setup for revision 0 of

Re: [PATCH 0/4] DMA: PL330 fixes

2012-10-29 Thread Tomasz Figa
Hi Bartlomiej, On Monday 29 of October 2012 10:59:52 Bartlomiej Zolnierkiewicz wrote: Hi, The first patch fixes lockup caused by pl330 driver. It doesn't add any dependencies to later patches and can be applied independently. The second patch fixes PL330 regression on ARM Exynos 4210

Re: [PATCH v2 1/5] clk: samsung: add common clock framework support for Samsung platforms

2012-10-29 Thread Thomas Abraham
Hi Sylwester, Thanks for your comments. As usual, your comments are very helpful. On 22 October 2012 21:25, Sylwester Nawrocki s.nawro...@samsung.com wrote: Hi Thomas, On 10/07/2012 07:10 PM, Thomas Abraham wrote: All Samsung platforms include several types of clocks including fixed-rate,

Re: [PATCH 3/4] pinctrl: samsung: Add support for Exynos4x12

2012-10-29 Thread Tomasz Figa
Hi Linus, Kyungmin, On Monday 29 of October 2012 09:30:26 Kyungmin Park wrote: On 10/29/12, Linus Walleij linus.wall...@linaro.org wrote: On Wed, Oct 24, 2012 at 4:37 PM, Tomasz Figa t.f...@samsung.com wrote: This patch extends the driver with any necessary SoC-specific definitions to

[PATCH] ARM: Exynos5: Remove unused static uart resource information

2012-10-29 Thread Thomas Abraham
All supported Exynos5 platforms are device tree enabled and hence the unused static uart resource information is removed. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos/common.c|6 +- arch/arm/mach-exynos/dev-uart.c | 24

[PATCH] ARM: Exynos5: Remove static io-remapping for gic and combiner

2012-10-29 Thread Thomas Abraham
The physical base address of GIC and Interrupt Combiner is obtained from device tree and then remapped during initialization. So remove the static io-remapping for GIC and combiner. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos/common.c | 15 ---

[PATCH v3 0/4] Adding usb2.0 host-phy support for exynos5250

2012-10-29 Thread Vivek Gautam
This patchset is based on the work by Praveen Paneri for samsung-usbphy driver: http://comments.gmane.org/gmane.linux.kernel.samsung-soc/12653 Changes from v2: - Using EXYNOS5_PHY_ as common prefix along with exact names for PHY SFRs for register definitions - Using register names with bit

[PATCH v3 1/4] usb: phy: samsung: Add host phy support to samsung-phy driver

2012-10-29 Thread Vivek Gautam
This patch adds host phy support to samsung-usbphy.c and further adds support for samsung's exynos5250 usb-phy. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- arch/arm/mach-exynos/setup-usb-phy.c |2 +- arch/arm/mach-s3c64xx/setup-usb-phy.c|2 +-

[PATCH v3 2/4] ARM: Exynos5250: Enabling samsung-usbphy driver

2012-10-29 Thread Vivek Gautam
Adding usbphy node for Exynos5250 along with the platform data. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- .../devicetree/bindings/usb/samsung-usbphy.txt | 12 +- arch/arm/boot/dts/exynos5250.dtsi |5 ++ arch/arm/mach-exynos/Kconfig

[PATCH v3 3/4] USB: ehci-s5p: Add phy driver support

2012-10-29 Thread Vivek Gautam
Adding the transceiver to ehci driver. Keeping the platform data for continuing the smooth operation for boards which still uses it Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Acked-by: Jingoo Han jg1@samsung.com --- No change since v2. drivers/usb/host/ehci-s5p.c | 65

[PATCH v3 4/4] USB: ohci-exynos: Add phy driver support

2012-10-29 Thread Vivek Gautam
Adding the transceiver to ohci driver. Keeping the platform data for continuing the smooth operation for boards which still uses it Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Acked-by: Jingoo Han jg1@samsung.com --- No change since v2. drivers/usb/host/ohci-exynos.c | 65

Re: [PATCH] ARM: Exynos5: Remove static io-remapping for gic and combiner

2012-10-29 Thread Kukjin Kim
On 10/29/12 22:16, Thomas Abraham wrote: The physical base address of GIC and Interrupt Combiner is obtained from device tree and then remapped during initialization. So remove the static io-remapping for GIC and combiner. Signed-off-by: Thomas Abrahamthomas.abra...@linaro.org ---

Re: [PATCH] ARM: Exynos5: Remove unused static uart resource information

2012-10-29 Thread Kukjin Kim
On 10/29/12 22:14, Thomas Abraham wrote: All supported Exynos5 platforms are device tree enabled and hence the unused static uart resource information is removed. Signed-off-by: Thomas Abrahamthomas.abra...@linaro.org --- arch/arm/mach-exynos/common.c|6 +-

Re: [PATCH 3/4] pinctrl: samsung: Add support for Exynos4x12

2012-10-29 Thread Kukjin Kim
On 10/29/12 19:28, Tomasz Figa wrote: Hi Linus, Kyungmin, On Monday 29 of October 2012 09:30:26 Kyungmin Park wrote: On 10/29/12, Linus Walleijlinus.wall...@linaro.org wrote: On Wed, Oct 24, 2012 at 4:37 PM, Tomasz Figat.f...@samsung.com wrote: This patch extends the driver with any

Re: [PATCH v2 0/2] ARM: exynos: Enable TMU support in exynos platforms

2012-10-29 Thread Kukjin Kim
On 10/26/12 18:29, Amit Daniel Kachhap wrote: From: Amit Daniel Kachhapamit.dan...@samsung.com These TMU enablement patches are needed for exynos4 and exynos5 TMU driver already merged(drivers/thermal/exynos_thermal.c). This patchset is based on Samsung Maintainer's tree,

Re: [PATCH v2 1/2] ARM: exynos4: Add devicetree node for TMU driver

2012-10-29 Thread Kukjin Kim
On 10/26/12 18:29, Amit Daniel Kachhap wrote: From: Amit Daniel Kachhapamit.dan...@samsung.com This patch adds necessary source definations needed for TMU driver and adds devicetree node for exynos4210. Signed-off-by: Amit Daniel Kachhapamit.dan...@samsung.com --- [...] +

Re: [PATCH 2/4] ARM: EXYNOS: PL330 MDMA1 fix for revision 0 of Exynos4210 SOC

2012-10-29 Thread Kukjin Kim
On 10/29/12 10:59, Bartlomiej Zolnierkiewicz wrote: Commit 8214513 (ARM: EXYNOS: fix address for EXYNOS4 MDMA1) changed EXYNOS specific setup of PL330 DMA engine to use 'non-secure' mdma1 address instead of 'secure' one (from 0x1284 to 0x1285) to fix issue with some Exynos4212 SOCs.

Re: [PATCH 4/4] DMA: PL330: add device tree property for DMA_MEMCPY capability

2012-10-29 Thread Jassi Brar
On Mon, Oct 29, 2012 at 10:59 AM, Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com wrote: * Add device tree (DT) property (pl330,dma-memcpy) for DMA_MEMCPY capability and instead of setting this capability unconditionally in pl330_probe() do it only when property is present. Perhaps we

Re: [PATCH 1/4] DMA: PL330: fix locking in pl330_free_chan_resources()

2012-10-29 Thread Jassi Brar
On Mon, Oct 29, 2012 at 10:59 AM, Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com wrote: tasklet_kill() may sleep so call it before taking pch-lock. Fixes following lockup: [ 345.47] BUG: scheduling while atomic: cat/2383/0x0002 [ 345.47] Modules linked in: [ 345.47]

Re: [PATCH 0/4] pinctrl: samsung: Add support for Exynos4x12 SoCs

2012-10-29 Thread Thomas Abraham
On 24 October 2012 20:07, Tomasz Figa t.f...@samsung.com wrote: This patch series adds pinctrl support for SoCs from Exynos4x12 family. First two patches make necessary preperations to skip legacy GPIO and GPIO interrupt registration in case of Exynos4x12 SoCs which are not supported by

[PATCH v7 0/5] usb: phy: samsung: Introducing usb phy driver for samsung SoCs

2012-10-29 Thread Praveen Paneri
Changes from v6: Modified register definitions according to the existing ones. Changed default PHY clk selection for SoCs. Improved binding text and rebased to the latest usb-next. Changes from v5: Moved clk_get() to driver's probe function. Now reference clock frequency selection value is stored

[PATCH v7 1/5] usb: phy: samsung: Introducing usb phy driver for hsotg

2012-10-29 Thread Praveen Paneri
This driver uses usb phy framework to interact with s3c-hsotg. Supports phy_init and phy_shutdown functions to enable/disable usb phy. Support will be extended to host controllers and more Samsung SoCs. Signed-off-by: Praveen Paneri p.pan...@samsung.com Acked-by: Heiko Stuebner he...@sntech.de

[PATCH v7 2/5] usb: s3c-hsotg: Adding phy driver support

2012-10-29 Thread Praveen Paneri
Adding the transceiver to hsotg driver. Keeping the platform data for continuing the smooth operation for boards which still uses it Signed-off-by: Praveen Paneri p.pan...@samsung.com --- drivers/usb/gadget/s3c-hsotg.c | 37 +++-- 1 files changed, 27

[PATCH v7 3/5] ARM: S3C64XX: Removing old phy setup code

2012-10-29 Thread Praveen Paneri
This patch removes old phy code from platform side. 'setup-usb-phy.c' will be used for providing transceiver platform data in next patch. Not all of the platform data code is removed as there are others making use of platform_data defined for hsotg. That can be removed once all the SoCs start

[PATCH v7 4/5] ARM: S3C64XX: Enabling samsung-usbphy driver

2012-10-29 Thread Praveen Paneri
Adding platform device for samsung-usbphy driver. Enabling it for s3c64xx based machines using s3c-hsotg. Signed-off-by: Praveen Paneri p.pan...@samsung.com --- arch/arm/mach-s3c64xx/include/mach/map.h |2 + arch/arm/mach-s3c64xx/mach-crag6410.c|7 ++

[PATCH v7 5/5] ARM: Exynos4210: Enabling samsung-usbphy driver

2012-10-29 Thread Praveen Paneri
Adding usbphy node for Exynos4210 along with the platform data. Signed-off-by: Praveen Paneri p.pan...@samsung.com --- arch/arm/boot/dts/exynos4210-smdkv310.dts |5 + arch/arm/mach-exynos/include/mach/map.h |1 + arch/arm/mach-exynos/mach-exynos4-dt.c|8

Re: [PATCH v2 1/2] ARM: exynos4: Add devicetree node for TMU driver

2012-10-29 Thread Amit Daniel Kachhap
On 29 October 2012 17:52, Kukjin Kim kgene@samsung.com wrote: On 10/26/12 18:29, Amit Daniel Kachhap wrote: From: Amit Daniel Kachhapamit.dan...@samsung.com This patch adds necessary source definations needed for TMU driver and adds devicetree node for exynos4210. Signed-off-by: Amit