Re: [PATCH 1/3] clk: exynos5250: Add G2D gate clock

2013-07-26 Thread Sachin Kamat
On 5 July 2013 14:12, Sachin Kamat wrote: > Adds gate clock for G2D IP for Exynos5250 SoC. > > Signed-off-by: Sachin Kamat > Cc: Mike Turquette > --- > This patch depends on the following patch: > http://thread.gmane.org/gmane.linux.kernel.samsung-soc/20581 > --- > .../devicetree/bindings/clock

Re: XCLKOUT in exynos5250 clock driver

2013-07-26 Thread Tushar Behera
On 07/25/2013 08:21 PM, Mark Brown wrote: > I appear to be missing something in the clock driver for the exynos5250. > I'm looking at the Arndale schematic and I see that the audio master > clock is connected to XCLKOUT on the SoC. However I can't see any > reference to XCLKOUT or anything similar

RE: [PATCH 2/2] iommu/exynos: Follow kernel coding style for __sysmmu_enable return type

2013-07-26 Thread Cho KyongHo
> -Original Message- > From: Antonios Motakis [mailto:a.mota...@virtualopensystems.com] > Sent: Friday, July 26, 2013 12:35 AM > > On success, the __sysmmu_enable returns 1 instead of 0, which does not > respect the convention described in Chapter 16 of the Linux kernel coding > style. >

[PATCH 1/2] ARM: dts: exynos4210-origen: Add fixed voltage regulator to simple bus

2013-07-26 Thread Sachin Kamat
This has been done for Arndale board vide commit aa3edb65 ("ARM: dts: Put Arndale fixed voltage regulators on a simple-bus"). Replicate here for consistency and correctness. Signed-off-by: Sachin Kamat --- arch/arm/boot/dts/exynos4210-origen.dts | 20 +--- 1 file changed, 13 in

[PATCH 2/2] ARM: dts: exynos4412-origen: Add fixed voltage regulator to simple bus

2013-07-26 Thread Sachin Kamat
This has been done for Arndale board vide commit aa3edb65 ("ARM: dts: Put Arndale fixed voltage regulators on a simple-bus"). Replicate here for consistency and correctness. Signed-off-by: Sachin Kamat --- arch/arm/boot/dts/exynos4412-origen.dts | 20 +--- 1 file changed, 13 in

[PATCH v8 00/12] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2013-07-26 Thread Cho KyongHo
The current exynos-iommu(System MMU) driver does not work autonomously since it is lack of support for power management of peripheral blocks. For example, MFC device driver must ensure that its System MMU is disabled before MFC block is power-down not to invalidate IOTLB in the System MMU when I/O

[PATCH v8 01/12] iommu/exynos: do not include removed header

2013-07-26 Thread Cho KyongHo
This commit remove which is removed. Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c index 3f32d64..233f382 100644 --- a/drivers/iommu/exynos-iommu.

[PATCH v8 02/12] iommu/exynos: add missing cache flush for removed page table entries

2013-07-26 Thread Cho KyongHo
This commit adds cache flush for removed small and large page entries in exynos_iommu_unmap(). Missing cache flush of removed page table entries can cause missing page fault interrupt when a master IP accesses an unmapped area. Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c |2 +

[PATCH v8 03/12] iommu/exynos: fix page table maintenance

2013-07-26 Thread Cho KyongHo
This prevents allocating lv2 page table for the lv1 page table entry that already has 1MB page mapping. In addition some BUG_ON() is changed to WARN_ON(). Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c | 52 + 1 files changed, 37 insertions(

[PATCH v8 04/12] iommu/exynos: allocate lv2 page table from own slab

2013-07-26 Thread Cho KyongHo
Since kmalloc() does not guarantee that the allignment of 1KiB when it allocates 1KiB, it is required to allocate lv2 page table from own slab that guarantees alignment of 1KiB Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c | 24 1 files changed, 20 insert

[PATCH] [media] exynos-gsc: Register v4l2 device

2013-07-26 Thread Arun Kumar K
Gscaler video device registration was happening without reference to a parent v4l2_dev causing probe to fail. The patch creates a parent v4l2 device and uses it for gsc m2m video device registration. Signed-off-by: Arun Kumar K --- drivers/media/platform/exynos-gsc/gsc-core.c |9 - d

[PATCH v8 06/12] ARM: dts: Add description of System MMU of Exynos SoCs

2013-07-26 Thread Cho KyongHo
Signed-off-by: Cho KyongHo --- .../bindings/iommu/samsung,exynos4210-sysmmu.txt | 103 +++ arch/arm/boot/dts/exynos4.dtsi | 122 arch/arm/boot/dts/exynos4210.dtsi | 25 ++ arch/arm/boot/dts/exynos4x12.dtsi | 76 + arch

[PATCH v8 05/12] clk: exynos5250: add gate clock descriptions of System MMU

2013-07-26 Thread Cho KyongHo
This adds gate clocks of all System MMUs and their master IPs that are not apeared in clk-exynos5250.c Signed-off-by: Cho KyongHo --- .../devicetree/bindings/clock/exynos5250-clock.txt | 28 +- drivers/clk/samsung/clk-exynos5250.c | 57 --- 2 files chang

[PATCH v8 09/12] iommu/exynos: remove custom fault handler

2013-07-26 Thread Cho KyongHo
This commit removes custom fault handler. The device drivers that need to register fault handler can register with iommu_set_fault_handler(). Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c | 71 ++ 1 files changed, 17 insertions(+), 54 delet

[PATCH v8 08/12] iommu/exynos: remove prefetch buffer setting when enabling System MMU

2013-07-26 Thread Cho KyongHo
Prefetch buffer must be handled accurately, exact range of a buffer, frame by frame manually. Otherwise, it may causes page fault or deadlock in System MMU. Thus this patch removes prefetch buffer setting when System MMU is initialized(enabled). Signed-off-by: Cho KyongHo --- drivers/iommu/exyno

[PATCH v8 07/12] iommu/exynos: support for device tree

2013-07-26 Thread Cho KyongHo
This commit adds device tree support for System MMU. This also include the following changes and enhancements: * use managed device helper functions. Simplyfies System MMU device driver. * use only a single clock descriptor. System MMU device descriptor is seperate if it is imposible to make a si

[PATCH v8 10/12] iommu/exynos: add bus notifier for registering System MMU

2013-07-26 Thread Cho KyongHo
When a device driver is registered, all constructs to handle System MMU is prepared by bus notifier call. Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c | 708 - 1 files changed, 552 insertions(+), 156 deletions(-) diff --git a/drivers/iommu

[PATCH v8 11/12] iommu/exynos: change rwlock to spinlock

2013-07-26 Thread Cho KyongHo
Since acquiring read_lock is not more frequent than write_lock, it is not beneficial to use rwlock, this commit changes rwlock to spinlock. Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c | 36 ++-- 1 files changed, 18 insertions(+), 18 deletions(-)

[PATCH v8 12/12] iommu/exynos: return 0 if iommu_attach_device() successes

2013-07-26 Thread Cho KyongHo
iommu_attach_device() against exynos-iommu positive integer on success if the caller calls iommu_attach_device() with the same iommu_domain multiple times without call to iommu_detach_device() to inform the caller how many calls to iommu_detach_device() to really detach iommu. However the conventi

Re: XCLKOUT in exynos5250 clock driver

2013-07-26 Thread Mark Brown
On Fri, Jul 26, 2013 at 03:26:06PM +0530, Tushar Behera wrote: > Information as per Exynos5250 user manual: > "XCLKOUT is an output pin for debugging clocks. Exynos5250 has a CLKOUT > logic which can select one of the clocks (within its clock domains) and > output that through XCLKOUT pin." Yeah,

Re: XCLKOUT in exynos5250 clock driver

2013-07-26 Thread Sylwester Nawrocki
On 07/26/2013 11:56 AM, Tushar Behera wrote: On 07/25/2013 08:21 PM, Mark Brown wrote: I appear to be missing something in the clock driver for the exynos5250. I'm looking at the Arndale schematic and I see that the audio master clock is connected to XCLKOUT on the SoC. However I can't see any

[PATCH v10 5/8] ARM: dts: omap: update usb_otg_hs data

2013-07-26 Thread Kishon Vijay Abraham I
Updated the usb_otg_hs dt data to include the *phy* and *phy-names* binding in order for the driver to use the new generic PHY framework. Also updated the Documentation to include the binding information. The PHY binding information can be found at Documentation/devicetree/bindings/phy/phy-bindings

[PATCH v10 6/8] usb: musb: omap2430: use the new generic PHY framework

2013-07-26 Thread Kishon Vijay Abraham I
Use the generic PHY framework API to get the PHY. The usb_phy_set_resume and usb_phy_set_suspend is replaced with power_on and power_off to align with the new PHY framework. musb->xceiv can't be removed as of now because musb core uses xceiv.state and xceiv.otg. Once there is a separate state mach

[PATCH v10 8/8] usb: phy: twl4030-usb: remove *set_suspend* and *phy_init* ops

2013-07-26 Thread Kishon Vijay Abraham I
Now that twl4030-usb is adapted to the new generic PHY framework, *set_suspend* and *phy_init* ops can be removed from twl4030-usb driver. Signed-off-by: Kishon Vijay Abraham I Acked-by: Felipe Balbi Reviewed-by: Sylwester Nawrocki --- drivers/phy/phy-twl4030-usb.c | 57 ++---

[PATCH v10 7/8] usb: phy: omap-usb2: remove *set_suspend* callback from omap-usb2

2013-07-26 Thread Kishon Vijay Abraham I
Now that omap-usb2 is adapted to the new generic PHY framework, *set_suspend* ops can be removed from omap-usb2 driver. Signed-off-by: Kishon Vijay Abraham I Acked-by: Felipe Balbi Reviewed-by: Sylwester Nawrocki --- drivers/phy/phy-omap-usb2.c | 25 - 1 file changed,

[PATCH v10 4/8] arm: omap3: twl: add phy consumer data in twl4030_usb_data

2013-07-26 Thread Kishon Vijay Abraham I
The PHY framework uses the phy consumer data populated in platform data in the case of non-dt boot to return the reference to the PHY when the controller (PHY consumer) requests for it. So populated the phy consumer data in the platform data of twl usb. Signed-off-by: Kishon Vijay Abraham I ---

[PATCH v10 3/8] usb: phy: twl4030: use the new generic PHY framework

2013-07-26 Thread Kishon Vijay Abraham I
Used the generic PHY framework API to create the PHY. For powering on and powering off the PHY, power_on and power_off ops are used. Once the MUSB OMAP glue is adapted to the new framework, the suspend and resume ops of usb phy library will be removed. Also twl4030-usb driver is moved to drivers/ph

[PATCH v10 0/8] PHY framework

2013-07-26 Thread Kishon Vijay Abraham I
Added a generic PHY framework that provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. This framework will be of use only to devices that uses external PHY (PHY functionality is not embedded w

[PATCH v10 2/8] usb: phy: omap-usb2: use the new generic PHY framework

2013-07-26 Thread Kishon Vijay Abraham I
Used the generic PHY framework API to create the PHY. Now the power off and power on are done in omap_usb_power_off and omap_usb_power_on respectively. The omap-usb2 driver is also moved to driver/phy. However using the old USB PHY library cannot be completely removed because OTG is intertwined wi

[PATCH v10 1/8] drivers: phy: add generic PHY framework

2013-07-26 Thread Kishon Vijay Abraham I
The PHY framework provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. For dt-boot, the PHY drivers should also register *PHY provider* with the framework. PHY drivers should create the PHY by

[RESEND PATCH v10 4/8] arm: omap3: twl: add phy consumer data in twl4030_usb_data

2013-07-26 Thread Kishon Vijay Abraham I
The PHY framework uses the phy consumer data populated in platform data in the case of non-dt boot to return the reference to the PHY when the controller (PHY consumer) requests for it. So populated the phy consumer data in the platform data of twl usb. Signed-off-by: Kishon Vijay Abraham I ---

[RESEND PATCH v10 6/8] usb: musb: omap2430: use the new generic PHY framework

2013-07-26 Thread Kishon Vijay Abraham I
Use the generic PHY framework API to get the PHY. The usb_phy_set_resume and usb_phy_set_suspend is replaced with power_on and power_off to align with the new PHY framework. musb->xceiv can't be removed as of now because musb core uses xceiv.state and xceiv.otg. Once there is a separate state mach

[RESEND PATCH v10 3/8] usb: phy: twl4030: use the new generic PHY framework

2013-07-26 Thread Kishon Vijay Abraham I
Used the generic PHY framework API to create the PHY. For powering on and powering off the PHY, power_on and power_off ops are used. Once the MUSB OMAP glue is adapted to the new framework, the suspend and resume ops of usb phy library will be removed. Also twl4030-usb driver is moved to drivers/ph

[RESEND PATCH v10 5/8] ARM: dts: omap: update usb_otg_hs data

2013-07-26 Thread Kishon Vijay Abraham I
Updated the usb_otg_hs dt data to include the *phy* and *phy-names* binding in order for the driver to use the new generic PHY framework. Also updated the Documentation to include the binding information. The PHY binding information can be found at Documentation/devicetree/bindings/phy/phy-bindings

[RESEND PATCH v10 8/8] usb: phy: twl4030-usb: remove *set_suspend* and *phy_init* ops

2013-07-26 Thread Kishon Vijay Abraham I
Now that twl4030-usb is adapted to the new generic PHY framework, *set_suspend* and *phy_init* ops can be removed from twl4030-usb driver. Signed-off-by: Kishon Vijay Abraham I Acked-by: Felipe Balbi Reviewed-by: Sylwester Nawrocki --- drivers/phy/phy-twl4030-usb.c | 57 ++---

[RESEND PATCH v10 7/8] usb: phy: omap-usb2: remove *set_suspend* callback from omap-usb2

2013-07-26 Thread Kishon Vijay Abraham I
Now that omap-usb2 is adapted to the new generic PHY framework, *set_suspend* ops can be removed from omap-usb2 driver. Signed-off-by: Kishon Vijay Abraham I Acked-by: Felipe Balbi Reviewed-by: Sylwester Nawrocki --- drivers/phy/phy-omap-usb2.c | 25 - 1 file changed,

[RESEND PATCH v10 2/8] usb: phy: omap-usb2: use the new generic PHY framework

2013-07-26 Thread Kishon Vijay Abraham I
Used the generic PHY framework API to create the PHY. Now the power off and power on are done in omap_usb_power_off and omap_usb_power_on respectively. The omap-usb2 driver is also moved to driver/phy. However using the old USB PHY library cannot be completely removed because OTG is intertwined wi

[RESEND PATCH v10 0/8] PHY framework

2013-07-26 Thread Kishon Vijay Abraham I
Resending with fixed device tree mailing address! Added a generic PHY framework that provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. This framework will be of use only to devices that use

[RESEND PATCH v10 1/8] drivers: phy: add generic PHY framework

2013-07-26 Thread Kishon Vijay Abraham I
The PHY framework provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. For dt-boot, the PHY drivers should also register *PHY provider* with the framework. PHY drivers should create the PHY by

[PATCH V2 1/8] platform: Increase platform name size

2013-07-26 Thread Padmavathi Venna
This patch increases the platform name size from 20 to 30. Signed-off-by: Padmavathi Venna --- include/linux/mod_devicetable.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index b62d4af..f67b5d5 100644

[PATCH V2 3/8] ARM: dts: Change i2s compatible string on exynos5250

2013-07-26 Thread Padmavathi Venna
This patch removes quirks from i2s node and change the i2s compatible names. Signed-off-by: Padmavathi Venna --- arch/arm/boot/dts/exynos5250.dtsi |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dt

[PATCH V2 5/8] ASoC: Samsung: I2S: Modify the I2S driver to support I2S on Exynos5420

2013-07-26 Thread Padmavathi Venna
Exynos5420 added support for I2S TDM mode. For this, there are some register changes in the I2S controller. This patch adds the relevant register changes to support I2S in normal mode. This patch adds a quirk for TDM mode and if TDM mode is present all the relevent changes will be applied. Signed-

[PATCH V2 4/8] ASoC: Samsung: I2S: Modify driver to give more flexibility

2013-07-26 Thread Padmavathi Venna
This patch modifies the i2s driver to give flexibility towards register handling. This is a pre requirement for enabling i2s support on Exynos5420. This patch modifies only the required registers as a pre-requirement to support on Exynos5420. Signed-off-by: Padmavathi Venna --- sound/soc/samsung

[PATCH V2 0/8] Add audio support on smdk5420

2013-07-26 Thread Padmavathi Venna
Samsung has different versions of I2S introduced in different platforms. Each version has some new support added for multichannel, secondary fifo, s/w reset control, internal mux for rclk src clk and tdm support. Each newly added change has a quirk. So this patch adds all the required quirks as dri

[PATCH V2 2/8] ASoC: Samsung: I2S: Add quirks as driver data in I2S

2013-07-26 Thread Padmavathi Venna
Samsung has different versions of I2S introduced in different platforms. Each version has some new support added for multichannel, secondary fifo, s/w reset control and internal mux for rclk src clk. Each newly added change has a quirk. So this patch adds all the required quirks as driver data and

[PATCH V2 6/8] ARM: dts: exynos5420: add i2s controllers

2013-07-26 Thread Padmavathi Venna
From: Andrew Bresticker This adds device-tree bindings for the i2s controllers on Exynos 5420. Signed-off-by: Andrew Bresticker Signed-off-by: Padmavathi Venna Reviewed-on: https://gerrit.chromium.org/gerrit/57713 --- arch/arm/boot/dts/exynos5420.dtsi | 44 ++

[PATCH V2 7/8] ARM: dts: wm8994: Add wm8994 support on smdk5420

2013-07-26 Thread Padmavathi Venna
This patch adds wm8994 codec node on i2c bus1 and the required regulator supplies and properties on smdk5420 board. Signed-off-by: Padmavathi Venna --- arch/arm/boot/dts/exynos5420-smdk5420.dts | 50 + 1 files changed, 50 insertions(+), 0 deletions(-) diff --git a/

[PATCH V2 8/8] ARM: dts: Enable sound support on smdk5420

2013-07-26 Thread Padmavathi Venna
This patch enables i2s0 and sound support on smdk5420. Signed-off-by: Padmavathi Venna --- arch/arm/boot/dts/exynos5420-smdk5420.dts | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk54

Re: [PATCH V2 2/8] ASoC: Samsung: I2S: Add quirks as driver data in I2S

2013-07-26 Thread Russell King - ARM Linux
On Fri, Jul 26, 2013 at 07:06:46PM +0530, Padmavathi Venna wrote: > -- compatible : "samsung,i2s-v5" > +- compatible : should be one of the following. > + - samsung,s3c6410-i2s: for 8/16/24bit stereo I2S. Previous versions > + has only 8/16bit support. > + - samsung,s3c6410-i2sv4: for 8/16/

Re: [PATCH V2 2/8] ASoC: Samsung: I2S: Add quirks as driver data in I2S

2013-07-26 Thread Tomasz Figa
Hi Russell, On Friday 26 of July 2013 15:06:18 Russell King - ARM Linux wrote: > On Fri, Jul 26, 2013 at 07:06:46PM +0530, Padmavathi Venna wrote: > > -- compatible : "samsung,i2s-v5" > > +- compatible : should be one of the following. > > + - samsung,s3c6410-i2s: for 8/16/24bit stereo I2S. Prev

Re: [PATCH V2 0/8] Add audio support on smdk5420

2013-07-26 Thread Tomasz Figa
Hi Padmavathi, On Friday 26 of July 2013 19:06:44 Padmavathi Venna wrote: > Samsung has different versions of I2S introduced in different > platforms. Each version has some new support added for multichannel, > secondary fifo, s/w reset control, internal mux for rclk src clk and > tdm support. Eac

Re: XCLKOUT in exynos5250 clock driver

2013-07-26 Thread Mark Brown
On Fri, Jul 26, 2013 at 02:19:39PM +0200, Sylwester Nawrocki wrote: > On 07/26/2013 11:56 AM, Tushar Behera wrote: > >On 07/25/2013 08:21 PM, Mark Brown wrote: > >>I appear to be missing something in the clock driver for the exynos5250. > >>I'm looking at the Arndale schematic and I see that the a

Re: [PATCH V2 2/8] ASoC: Samsung: I2S: Add quirks as driver data in I2S

2013-07-26 Thread Russell King - ARM Linux
On Fri, Jul 26, 2013 at 04:21:16PM +0200, Tomasz Figa wrote: > Hi Russell, > > On Friday 26 of July 2013 15:06:18 Russell King - ARM Linux wrote: > > On Fri, Jul 26, 2013 at 07:06:46PM +0530, Padmavathi Venna wrote: > > > -- compatible : "samsung,i2s-v5" > > > +- compatible : should be one of the

Re: [PATCH V2 1/8] platform: Increase platform name size

2013-07-26 Thread Sachin Kamat
Hi Padma, On 26 July 2013 19:06, Padmavathi Venna wrote: > This patch increases the platform name size from 20 to 30. Instead of describing what the patch does (which is quite obvious from the code), it would be useful to describe why this change is required. > > Signed-off-by: Padmavathi Venn

Re: [PATCH V2 2/8] ASoC: Samsung: I2S: Add quirks as driver data in I2S

2013-07-26 Thread Tomasz Figa
On Friday 26 of July 2013 15:27:22 Russell King - ARM Linux wrote: > On Fri, Jul 26, 2013 at 04:21:16PM +0200, Tomasz Figa wrote: > > Hi Russell, > > > > On Friday 26 of July 2013 15:06:18 Russell King - ARM Linux wrote: > > > On Fri, Jul 26, 2013 at 07:06:46PM +0530, Padmavathi Venna wrote: > > >

Re: [PATCH V2 2/8] ASoC: Samsung: I2S: Add quirks as driver data in I2S

2013-07-26 Thread Mark Brown
On Fri, Jul 26, 2013 at 07:06:46PM +0530, Padmavathi Venna wrote: > Samsung has different versions of I2S introduced in different > platforms. Each version has some new support added for multichannel, > secondary fifo, s/w reset control and internal mux for rclk src clk. > Each newly added change h

Re: [PATCH V2 2/8] ASoC: Samsung: I2S: Add quirks as driver data in I2S

2013-07-26 Thread Tomasz Figa
On Friday 26 of July 2013 15:53:19 Mark Brown wrote: > On Fri, Jul 26, 2013 at 07:06:46PM +0530, Padmavathi Venna wrote: > > Samsung has different versions of I2S introduced in different > > platforms. Each version has some new support added for multichannel, > > secondary fifo, s/w reset control a

Re: [PATCH V2 4/8] ASoC: Samsung: I2S: Modify driver to give more flexibility

2013-07-26 Thread Mark Brown
On Fri, Jul 26, 2013 at 07:06:48PM +0530, Padmavathi Venna wrote: > This patch modifies the i2s driver to give flexibility towards register > handling. This is a pre requirement for enabling i2s support on Exynos5420. > This patch modifies only the required registers as a pre-requirement to > suppo

Re: [PATCH V2 7/8] ARM: dts: wm8994: Add wm8994 support on smdk5420

2013-07-26 Thread Mark Brown
On Fri, Jul 26, 2013 at 07:06:51PM +0530, Padmavathi Venna wrote: > This patch adds wm8994 codec node on i2c bus1 and the required > regulator supplies and properties on smdk5420 board. This isn't a device tree patch for WM8994, it's a patch for the SMDK5420. > + vdd: fixed-regulator@0 { > +

Re: [PATCH V2 2/8] ASoC: Samsung: I2S: Add quirks as driver data in I2S

2013-07-26 Thread Mark Brown
On Fri, Jul 26, 2013 at 05:02:46PM +0200, Tomasz Figa wrote: > IMHO this SoC-based identification looks much better, especially considering > the fact that IP version isn't something easily determinable, as even the > documentation can sometimes be not really clear about that. Yeah, it's not te

Re: [PATCH v8 02/12] iommu/exynos: add missing cache flush for removed page table entries

2013-07-26 Thread Grant Grundler
On Fri, Jul 26, 2013 at 4:26 AM, Cho KyongHo wrote: > This commit adds cache flush for removed small and large page entries > in exynos_iommu_unmap(). Missing cache flush of removed page table > entries can cause missing page fault interrupt when a master IP > accesses an unmapped area. > > Signed

Re: [PATCH v8 03/12] iommu/exynos: fix page table maintenance

2013-07-26 Thread Grant Grundler
On Fri, Jul 26, 2013 at 4:27 AM, Cho KyongHo wrote: > This prevents allocating lv2 page table for the lv1 page table entry > that already has 1MB page mapping. In addition some BUG_ON() is > changed to WARN_ON(). > > Signed-off-by: Cho KyongHo Reviewed-by: Grant Grundler In reviewing this, I n

Re: [PATCH v8 11/12] iommu/exynos: change rwlock to spinlock

2013-07-26 Thread Grant Grundler
On Fri, Jul 26, 2013 at 4:30 AM, Cho KyongHo wrote: > Since acquiring read_lock is not more frequent than write_lock, it is > not beneficial to use rwlock, this commit changes rwlock to spinlock. > > Signed-off-by: Cho KyongHo Reviewed-by: Grant Grundler cheers, grant > --- > drivers/iommu/e

Re: [PATCH v8 09/12] iommu/exynos: remove custom fault handler

2013-07-26 Thread Grant Grundler
On Fri, Jul 26, 2013 at 4:29 AM, Cho KyongHo wrote: > This commit removes custom fault handler. The device drivers that > need to register fault handler can register > with iommu_set_fault_handler(). > > Signed-off-by: Cho KyongHo Reviewed-by: Grant Grundler cheers grant > --- > drivers/iom

Re: [PATCH v8 12/12] iommu/exynos: return 0 if iommu_attach_device() successes

2013-07-26 Thread Grant Grundler
On Fri, Jul 26, 2013 at 4:31 AM, Cho KyongHo wrote: > iommu_attach_device() against exynos-iommu positive integer on success > if the caller calls iommu_attach_device() with the same iommu_domain > multiple times without call to iommu_detach_device() to inform the > caller how many calls to iommu_

Re: [PATCH v8 08/12] iommu/exynos: remove prefetch buffer setting when enabling System MMU

2013-07-26 Thread Grant Grundler
On Fri, Jul 26, 2013 at 4:28 AM, Cho KyongHo wrote: > Prefetch buffer must be handled accurately, exact range of a buffer, > frame by frame manually. Otherwise, it may causes page fault or > deadlock in System MMU. > Thus this patch removes prefetch buffer setting when System MMU is > initialized(

Re: [PATCH v8 06/12] ARM: dts: Add description of System MMU of Exynos SoCs

2013-07-26 Thread Grant Grundler
On Fri, Jul 26, 2013 at 4:28 AM, Cho KyongHo wrote: > Signed-off-by: Cho KyongHo > --- > .../bindings/iommu/samsung,exynos4210-sysmmu.txt | 103 +++ > arch/arm/boot/dts/exynos4.dtsi | 122 > arch/arm/boot/dts/exynos4210.dtsi | 25 ++ > arch

Re: [PATCH v8 05/12] clk: exynos5250: add gate clock descriptions of System MMU

2013-07-26 Thread Mike Turquette
Quoting Cho KyongHo (2013-07-26 04:27:54) > This adds gate clocks of all System MMUs and their master IPs > that are not apeared in clk-exynos5250.c > > Signed-off-by: Cho KyongHo Change looks good to me. Are you OK if I take it into the clk tree or do you want to keep this series together? Reg

Re: [PATCH 1/3] clk: exynos5250: Add G2D gate clock

2013-07-26 Thread Mike Turquette
Quoting Sachin Kamat (2013-07-05 01:42:27) > Adds gate clock for G2D IP for Exynos5250 SoC. > > Signed-off-by: Sachin Kamat > Cc: Mike Turquette I've taken patch #1 into clk-next. > --- > This patch depends on the following patch: > http://thread.gmane.org/gmane.linux.kernel.samsung-soc/20581

Re: [PATCH v2] clk: exynos4: Add CLK_GET_RATE_NOCACHE flag for the Exynos4x12 ISP clocks

2013-07-26 Thread Sylwester Nawrocki
On 07/26/2013 10:30 PM, Mike Turquette wrote: Quoting Sylwester Nawrocki (2013-07-25 14:07:05) From: Sylwester Nawrocki The ISP clock registers belong to the ISP power domain and may change their values if this power domain is switched off/on. Add CLK_GET_RATE_NOCACHE flags to ensure we do not

Re: [PATCH V2 2/8] ASoC: Samsung: I2S: Add quirks as driver data in I2S

2013-07-26 Thread Padma Venkat
Hi Mark, On Fri, Jul 26, 2013 at 8:23 PM, Mark Brown wrote: > On Fri, Jul 26, 2013 at 07:06:46PM +0530, Padmavathi Venna wrote: >> Samsung has different versions of I2S introduced in different >> platforms. Each version has some new support added for multichannel, >> secondary fifo, s/w reset con

Re: [PATCH V2 0/8] Add audio support on smdk5420

2013-07-26 Thread Padma Venkat
On Fri, Jul 26, 2013 at 7:52 PM, Tomasz Figa wrote: > Hi Padmavathi, > > On Friday 26 of July 2013 19:06:44 Padmavathi Venna wrote: >> Samsung has different versions of I2S introduced in different >> platforms. Each version has some new support added for multichannel, >> secondary fifo, s/w reset

Re: [PATCH V2 1/8] platform: Increase platform name size

2013-07-26 Thread Padma Venkat
Hi Sachin, On Fri, Jul 26, 2013 at 8:06 PM, Sachin Kamat wrote: > Hi Padma, > > On 26 July 2013 19:06, Padmavathi Venna wrote: >> This patch increases the platform name size from 20 to 30. > > Instead of describing what the patch does (which is quite obvious from > the code), it would be useful

Re: [PATCH V2 7/8] ARM: dts: wm8994: Add wm8994 support on smdk5420

2013-07-26 Thread Padma Venkat
Hi Mark, On Fri, Jul 26, 2013 at 8:49 PM, Mark Brown wrote: > On Fri, Jul 26, 2013 at 07:06:51PM +0530, Padmavathi Venna wrote: >> This patch adds wm8994 codec node on i2c bus1 and the required >> regulator supplies and properties on smdk5420 board. > > This isn't a device tree patch for WM8994,