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

2012-08-29 Thread Heiko Stübner
Am Mittwoch, 29. August 2012, 01:09:37 schrieb 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,

[PATCH v5 0/9] mmc: dw_mmc: add support for device tree based instantiation

2012-08-29 Thread Thomas Abraham
This is the fifth version of the patch series that adds device tree support for Synopsis Designware Mobile Storage Host Controller. All the review comments from the v4 version have been addressed and rebased on mmc-next branch. Since v4, patches 6/9 and 9/9 have been modified. This has been

[PATCH v5 1/9] mmc: dw_mmc: convert copy of struct device in struct dw_mci to a reference

2012-08-29 Thread Thomas Abraham
The 'struct dw_mci' maintains a copy of the pdev-dev instance instead of maintaining a reference to that 'struct device' instance. Any resource allocated using the device resource management kernel API with the instance of 'struct device' in 'struct dw_mci' is then incorrect. Fix this by

[PATCH v5 2/9] mmc: dw_mmc: Use devm_* functions in dw_mmc platform driver

2012-08-29 Thread Thomas Abraham
Use devm_* managed functions for simpler error handling. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Will Newton will.new...@imgtec.com --- drivers/mmc/host/dw_mmc-pltfm.c | 29 - 1 files changed, 8 insertions(+), 21 deletions(-) diff --git

[PATCH v5 3/9] mmc: dw_mmc: allow probe to succeed even if one slot is initialized

2012-08-29 Thread Thomas Abraham
Instead of aborting the probe in case a slot initialization fails, allow initialization of as many slots as possible. If there are atleast one instance of slot that is successfully initialized, allow the driver probe to succeed. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by:

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

2012-08-29 Thread Thomas Abraham
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: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Thomas

[PATCH v5 5/9] mmc: dw_mmc: add quirk to indicate missing write protect line

2012-08-29 Thread Thomas Abraham
If the write protect pad of the controller is not connected to the write protect pin of the slot, the driver should be notified of this condition so that incorrect check for write protection by reading the WRTORT register can avoided. The get_ro platform callback can be used for in such cases, but

[PATCH v5 6/9] mmc: dw_mmc: add device tree support

2012-08-29 Thread Thomas Abraham
Add device tree based discovery support. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Will Newton will.new...@imgtec.com --- .../devicetree/bindings/mmc/synposis-dw-mshc.txt | 79 drivers/mmc/host/dw_mmc-pltfm.c|9 ++

[PATCH v5 7/9] mmc: dw_mmc: prepare functions in dw_mmc-pltfm for reuse

2012-08-29 Thread Thomas Abraham
Platform implementations of dw-mshc controller may choose to exterd the features of the standard dw-mshc controller such as adding additional clocking options or modifying the bus interface. Support for such implementation specific extensions can be incorporated into dw_mmc-pltfm, but including

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

2012-08-29 Thread Thomas Abraham
Samsung Exynos SoC's extend the dw-mshc controller for additional clock and bus control. Add support for these extensions and include provide device tree based discovery suppory as well. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Will Newton will.new...@imgtec.com ---

[PATCH v5 8/9] mmc: dw_mmc: add support for implementation specific callbacks

2012-08-29 Thread Thomas Abraham
The core dw-mshc controller driver can let platform specific implementations of the dw-mshc controller to control the hardware as required by such implementations. This is acheived by invoking implementation specific (optional) callbacks. Define the list of callbacks supported the add invocation

[PATCH v4 0/3] ARM: Exynos: Add support for MSHC controller

2012-08-29 Thread Thomas Abraham
This patch series adds Exynos5250 platform support for MSHC controllers. Thomas Abraham (3): ARM: Samsung: Add support for MSHC controller clocks ARM: Exynos5: Add AUXDATA support for MSHC controllers ARM: dts: Add nodes for dw_mmc controllers for Samsung Exynos5250 platforms

[PATCH v4 1/3] ARM: Samsung: Add support for MSHC controller clocks

2012-08-29 Thread Thomas Abraham
Add clock instances for bus interface unit clock and card interface unit clock of the all four MSHC controller instances. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos/clock-exynos5.c | 45

[PATCH v4 2/3] ARM: Exynos5: Add AUXDATA support for MSHC controllers

2012-08-29 Thread Thomas Abraham
Add entries if MSHC controllers in AUXDATA table for correct device name initialization. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos/include/mach/map.h |4 arch/arm/mach-exynos/mach-exynos5-dt.c

[PATCH v4 3/3] ARM: dts: Add nodes for dw_mmc controllers for Samsung Exynos5250 platforms

2012-08-29 Thread Thomas Abraham
Add device nodes for the four instances of dw_mmc controllers in Exynos5250 and enable instance 0 and 2 for the smdk5250 board. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 55 +

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

2012-08-29 Thread Thomas Abraham
On 29 August 2012 06:44, Chanho Park chanho61.p...@samsung.com wrote: 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 chanho61.p...@samsung.com Signed-off-by:

RE: [PATCH] ASoC: SAMSUNG: Add SND_SOC_DAIFMT_CONT option for snd_soc_set_fmt()

2012-08-29 Thread Sangsu Park
On Sun, Aug 26, 2012 at 05:45:54PM +0900, Mark Brown wrote: On Sun, Aug 26, 2012 at 05:45:54PM +0900, ڻwrote: SND_SOC_DAIFMT_CONT option is now needed because of below commit: ASoC: Allow DAI formats to be specified in the dai_link Clearly it's not a direct consequence of this

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

2012-08-29 Thread Thomas Abraham
On 29 August 2012 06:44, Chanho Park chanho61.p...@samsung.com wrote: 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

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

2012-08-29 Thread Thomas Abraham
On 29 August 2012 06:44, Chanho Park chanho61.p...@samsung.com wrote: 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 chanho61.p...@samsung.com Signed-off-by: Kyungmin Park

Re: [PATCH] ARM: EXYNOS: Add clocks for EXYNOS Audio Subsystem.

2012-08-29 Thread Tushar Behera
On 08/01/2012 06:39 PM, Padma Venkat wrote: Hi, On Wed, Aug 1, 2012 at 9:21 AM, Kukjin Kim kgene@samsung.com wrote: Padmavathi Venna wrote: Audiocdclk frequency is 16.9344MHz in SMDK5250 and this clock is board specific. So this patch adds a function to set the required audio codec

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

2012-08-29 Thread Tomasz Figa
Hi, On Wednesday 29 of August 2012 09:03:12 Kyungmin Park wrote: On 8/29/12, Kukjin Kim kgene@samsung.com wrote: Please see my comments on Joonyoung Shim's previous patch... http://lists.infradead.org/pipermail/linux-arm-kernel/2012-May/101522.h tml It's perference issue. some person

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

2012-08-29 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 t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-exynos/platsmp.c | 27 +--

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

2012-08-29 Thread Will Deacon
On Wed, Aug 29, 2012 at 02:14:56AM +0100, 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

RE: [PATCH 0/6] ARM: EXYNOS: Add support for Trats board using device tree

2012-08-29 Thread Kyungmin Park
+ Thomas Abraham, -Original Message- From: Tomasz Figa [mailto:t.f...@samsung.com] Sent: Wednesday, August 29, 2012 10:13 PM To: linux-samsung-soc@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org; kyungmin.p...@samsung.com; kgene@samsung.com; jy0922.s...@samsung.com;

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

2012-08-29 Thread Chanho Park
-Original Message- From: linux-arm-kernel-boun...@lists.infradead.org [mailto:linux-arm- kernel-boun...@lists.infradead.org] On Behalf Of Will Deacon Sent: Thursday, August 30, 2012 6:34 AM To: Chanho Park Cc: linux-samsung-soc@vger.kernel.org; li...@arm.linux.org.uk;

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

2012-08-29 Thread Chanho Park
-Original Message- From: Thomas Abraham [mailto:thomas.abra...@linaro.org] Sent: Wednesday, August 29, 2012 8:10 PM To: Chanho Park Cc: kgene@samsung.com; linux-arm-ker...@lists.infradead.org; linux- samsung-...@vger.kernel.org; li...@arm.linux.org.uk; sachin.ka...@linaro.org;