RE: [PATCH 1/3] ARM: EXYNOS: Add audio platform device in SMDKV310 board

2012-07-12 Thread Sangbeom Kim
Hi! On Tuesday, Jul 05, 2012 at 09:01:56, Sachin Kamat wrote: After using snd_soc_register_card() in smdk_wm8994.c, the sound card is registered as a platform driver and it needs related platform device entry in machine file. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Acked-by:

RE: [PATCH 2/3] ARM: S5PV210: Add audio platform device in Aquila board

2012-07-12 Thread Sangbeom Kim
Hi! On Thu, Jul 05, 2012 at 09:01:57, Sachin Kamat wrote: After using snd_soc_register_card() in smdk_wm8994.c, the sound card is registered as a platform driver and it needs related platform device entry in machine file. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Acked-by: Sangbeom

RE: [PATCH 3/3] ARM: S5PV210: Add audio platform device in Goni board

2012-07-12 Thread Sangbeom Kim
On Thu, Jul 05, 2012 at 09:01:58, Sachin Kamat wrote: After using snd_soc_register_card() in smdk_wm8994.c, the sound card is registered as a platform driver and it needs related platform device entry in machine file. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Acked-by: Sangbeom Kim

Re: [PATCH v5 0/6] spi: s3c64xx: add support for device tree

2012-07-12 Thread Thomas Abraham
On 11 July 2012 23:30, Thomas Abraham thomas.abra...@linaro.org wrote: On 11 July 2012 23:19, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Wed, Jul 11, 2012 at 09:10:59PM +0530, Thomas Abraham wrote: Changes since v4: - Includes the missing gpio request for slave select line gpio

RE: [PATCH 1/1] ARM: EXYNOS: Fix compilation warning in setup-usb-phy.c file

2012-07-12 Thread Kukjin Kim
Sachin Kamat wrote: Fixes the following warning: arch/arm/mach-exynos/setup-usb-phy.c: In function ‘exynos4210_usb_phy_clkset’: arch/arm/mach-exynos/setup-usb-phy.c:83:2: warning: ‘phyclk’ may be used uninitialized in this function [- Wuninitialized] Signed-off-by: Sachin Kamat

RE: [PATCH] ARM: S3C64XX: Don't specify an irq_base for WM1192-EV1 board

2012-07-12 Thread Kukjin Kim
Mark Brown wrote: None of the GPIO IRQs are connected so there is no reason to specify a base. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- arch/arm/mach-s3c64xx/mach-smdk6410.c |1 - 1 file changed, 1 deletion(-) diff --git

RE: [PATCH] ARM: EXYNOS: Make combiner_init function static

2012-07-12 Thread Kukjin Kim
Sachin Kamat wrote: Fixes the following warning: arch/arm/mach-exynos/common.c:543:13: warning: symbol 'combiner_init' was not declared. Should it be static? Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- arch/arm/mach-exynos/common.c |3 ++- 1 files changed, 2

RE: [PATCH] ARM: Exynos: Add device tree node for Exynos4 interrupt combiner controller

2012-07-12 Thread Kukjin Kim
Thomas Abraham wrote: Add node for Exynos4 interrupt combiner controller. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/boot/dts/exynos4210.dtsi | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos4210.dtsi

RE: [PATCH 1/1] ARM: EXYNOS: Add missing static storage class specifier in pmu.c file

2012-07-12 Thread Kukjin Kim
Sachin Kamat wrote: arch/arm/mach-exynos/pmu.c:318:14: warning: symbol 'exynos5_list_both_cnt_feed' was not declared. Should it be static? arch/arm/mach-exynos/pmu.c:332:14: warning: symbol 'exynos5_list_diable_wfi_wfe' was not declared. Should it be static? Signed-off-by: Sachin Kamat

RE: [PATCH 0/2] Exynos4: power domain fixes for v3.5-rc

2012-07-12 Thread Kukjin Kim
Marek Szyprowski wrote: Hello, This is a resend of my power domain fixes for Samsung Exynos platform. They fix issues introduced by switching to gen_pd based driver in commit 91cfbd4ee0 ('ARM: EXYNOS: Hook up power domains to generic power domain infrastructure') and restore runtime pm

RE: [PATCH v5 0/6] spi: s3c64xx: add support for device tree

2012-07-12 Thread Kukjin Kim
Thomas Abraham wrote: On 11 July 2012 23:19, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Wed, Jul 11, 2012 at 09:10:59PM +0530, Thomas Abraham wrote: Changes since v4: - Includes the missing gpio request for slave select line gpio as suggested by Mark Brown. These

RE: [PATCH 0/3] Add audio platform device to S5PV210 and Exynos4 boards

2012-07-12 Thread Kukjin Kim
Sachin Kamat wrote: The following patch added snd_soc_register_card() functionality instead of creating a soc-audio platform device in smdk_wm8994.c file. http://www.spinics.net/lists/linux-samsung-soc/msg11232.html After using snd_soc_register_card(), the sound card is registered as a

RE: [PATCH] ARM: SAMSUNG: Update default rate for xusbxti clock

2012-07-12 Thread Kukjin Kim
Tushar Behera wrote: The rate of xusbxti clock is set in individual machine files. The default value should be defined at the clock definition and individual machine files should modify it if required. Division by zero in kernel. [c0011849] (unwind_backtrace+0x1/0x9c) from [c022c663]

RE: [PATCH] ARM: SAMSUNG: Introduce Kconfig variable for Samsung custom clk API

2012-07-12 Thread Kukjin Kim
Heiko Stübner wrote: Am Mittwoch, 4. Juli 2012, 18:07:24 schrieb Mark Brown: Make it easier to switch to the common clock API by making the existing clock API implementation depend on a Kconfig symbol which is enabled when the common clock API is disabled. This means that we can have

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

2012-07-12 Thread Amit Daniel Kachhap
These TMU enablement patches are needed for exynos4 and exynos5 TMU driver patches sent earlier. The link for those are http://www.spinics.net/lists/lm-sensors/msg35858.html. Also patch 1 depends on combiner dt node patch sent by Thomas Abraham.

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

2012-07-12 Thread Amit Daniel Kachhap
This patch adds necessary source definations needed for TMU driver and adds devicetree for exynos4. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/boot/dts/exynos4210.dtsi|7 +++ arch/arm/mach-exynos/clock-exynos4.c |5 +

[PATCH 2/2] ARM: exynos5: Add devicetree node for TMU driver

2012-07-12 Thread Amit Daniel Kachhap
This patch adds necessary source definations needed for TMU driver and adds devicetree for exynos5. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi |6 ++ arch/arm/mach-exynos/clock-exynos5.c|5 +

RE: [PATCH 00/10] ARM: S3C24XX gpio cleanups and fixes

2012-07-12 Thread Kukjin Kim
Sylwester Nawrocki wrote: This changset attempts to remove the users of an obsolete GPIO API in Samsung S3C24XX platform and instead use the gpiolib API. It should allow to drop some s3c24xx SoC specific headers as a next step and simplify drivers/gpio/gpio-samsung.c driver a little. With

Re: [PATCH 1/1] ARM: EXYNOS: Fix compilation warning in setup-usb-phy.c file

2012-07-12 Thread Sachin Kamat
On 12/07/2012, Kukjin Kim kgene@samsung.com wrote: Sachin Kamat wrote: Fixes the following warning: arch/arm/mach-exynos/setup-usb-phy.c: In function ‘exynos4210_usb_phy_clkset’: arch/arm/mach-exynos/setup-usb-phy.c:83:2: warning: ‘phyclk’ may be used uninitialized in this function [-

RE: [PATCH 1/1] ARM: EXYNOS: Fix compilation warning in setup-usb-phy.c file

2012-07-12 Thread Kukjin Kim
-Original Message- From: Sachin Kamat [mailto:sachin.ka...@linaro.org] Sent: Thursday, July 12, 2012 6:22 PM To: Kukjin Kim Cc: linux-samsung-soc@vger.kernel.org; a...@arndb.de; patc...@linaro.org Subject: Re: [PATCH 1/1] ARM: EXYNOS: Fix compilation warning in setup- usb-phy.c

[PATCH v3 0/6] mmc: dw_mmc: add support for device tree based instantiation

2012-07-12 Thread Thomas Abraham
This patch series adds device tree support for Synopsis Designware Mobile Storage Host Controller. The first patch converts the copy of controller device instance into a reference. This is need to allow device resource management api to correctly manage the resources allocated by the driver. The

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

2012-07-12 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 v3 4/6] mmc: dw_mmc: add quirk to indicate missing write protect line

2012-07-12 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 v3 6/6] mmc: dw_mmc: add samsung exynos5250 specific extentions

2012-07-12 Thread Thomas Abraham
The instantiation of the Synopsis Designware controller on Exynos5250 include extension for SDR and DDR specific tx/rx phase shift timing and CIU internal divider. In addition to that, the option to skip the command hold stage is also introduced. Add support for these Exynos5250 specfic

[PATCH v3 3/6] mmc: dw_mmc: lookup for optional biu and ciu clocks

2012-07-12 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 v3 2/6] mmc: dw_mmc: allow probe to succeed even if one slot is initialized

2012-07-12 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 ---

ARM: Exynos5: Enable support for DW-MMC controllers

2012-07-12 Thread Thomas Abraham
This patch set enables device tree based support for the four dw-mmc controllers on Samsung's Exynos5250 SoC. 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

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

2012-07-12 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 v2 2/3] ARM: Exynos5: Add AUXDATA support for MSHC controllers

2012-07-12 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 |1 + arch/arm/mach-exynos/mach-exynos5-dt.c |

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

2012-07-12 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 | 58 +

Re: [PATCH v5 0/6] spi: s3c64xx: add support for device tree

2012-07-12 Thread Mark Brown
On Thu, Jul 12, 2012 at 06:11:05PM +0900, Kukjin Kim wrote: And Mark, this touches various samsung stuff in arch/arm/ so if you're ok, I'd like to pick this up in samsung tree. We don't want to see conflicts... Well, simple conflicts aren't that big a deal... However, Thomas mentioned that in

Re: [PATCH] ARM: samsung: adc: fix race in s3c_adc_start

2012-07-12 Thread Ben Dooks
On Wed, Jul 11, 2012 at 07:12:11PM -0700, Todd Poynor wrote: Checking for adc-ts_pend already claimed should be done with the lock held. Change-Id: Ic9f15e26bd19934ab8c2885ce5df265933ac304a Signed-off-by: Todd Poynor toddpoy...@google.com Acked-by: Ben Dooks ben-li...@fluff.org -- To

[RESEND PATCH v4 0/5] thermal: Add kernel thermal support for exynos platform

2012-07-12 Thread Amit Daniel Kachhap
Hi Len, This series is a repost of the thermal support for exynos platform. These set of patches were already accepted for 3.5 merge. (https://lkml.org/lkml/2012/6/2/7) but somehow could not go through so, I am resending them again with rebasing against 3.5-rc6. Please apply them for 3.6 merge.

[RESEND PATCH v4 1/5] thermal: add generic cpufreq cooling implementation

2012-07-12 Thread Amit Daniel Kachhap
This patchset introduces a new generic cooling device based on cpufreq that can be used on non-ACPI platforms. As a proof of concept, we have drivers for the following platforms using this mechanism now: * Samsung Exynos (Exynos4 and Exynos5) in the current patchset. * TI OMAP

[RESEND PATCH v4 2/5] hwmon: exynos4: move thermal sensor driver to driver/thermal directory

2012-07-12 Thread Amit Daniel Kachhap
This movement is needed because the hwmon entries and corresponding sysfs interface is a duplicate of utilities already provided by driver/thermal/thermal_sys.c. The goal is to place it in thermal folder and add necessary functions to use the in-kernel thermal interfaces. Signed-off-by: Amit

[RESEND PATCH v4 3/5] thermal: exynos5: add exynos5 thermal sensor driver support

2012-07-12 Thread Amit Daniel Kachhap
Insert exynos5 TMU sensor changes into the thermal driver. Some exynos4 changes are made generic for exynos series. [a...@linux-foundation.org: fix comment layout] Signed-off-by: SangWook Ju sw...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org Cc: Donggeun Kim

[RESEND PATCH v4 4/5] thermal: exynos: register the tmu sensor with the kernel thermal layer

2012-07-12 Thread Amit Daniel Kachhap
This code added creates a link between temperature sensors, linux thermal framework and cooling devices for samsung exynos platform. This layer monitors the temperature from the sensor and informs the generic thermal layer to take the necessary cooling action. [a...@linux-foundation.org: fix

[RESEND PATCH v4 5/5] ARM: exynos: add thermal sensor driver platform data support

2012-07-12 Thread Amit Daniel Kachhap
Add necessary default platform data support needed for TMU driver. This dt/non-dt values are tested for origen exynos4210 and smdk exynos5250 platforms. Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org Cc: Donggeun Kim dg77@samsung.com Acked-by: Guenter Roeck

Re: [PATCH v5 0/6] spi: s3c64xx: add support for device tree

2012-07-12 Thread Thomas Abraham
On 12 July 2012 18:32, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Thu, Jul 12, 2012 at 06:11:05PM +0900, Kukjin Kim wrote: And Mark, this touches various samsung stuff in arch/arm/ so if you're ok, I'd like to pick this up in samsung tree. We don't want to see conflicts...

Re: [PATCH 1/2] ASoC: Convert S3C24XX I2S driver to gpiolib API

2012-07-12 Thread Sylwester Nawrocki
Hello, On 06/30/2012 02:37 PM, Sylwester Nawrocki wrote: The s3c2410_gpio* calls are obsolete and have been scheduled for removal since several kernel releases. Remove them and use common gpiolib API. This patch is a prerequisite for removal of the S3C24XX SoC specific

Re: [linux-pm] [RESEND PATCH v4 1/5] thermal: add generic cpufreq cooling implementation

2012-07-12 Thread Valentin, Eduardo
Amit, On Thu, Jul 12, 2012 at 4:41 PM, Amit Daniel Kachhap amit.kach...@linaro.org wrote: This patchset introduces a new generic cooling device based on cpufreq that can be used on non-ACPI platforms. As a proof of concept, we have drivers for the following platforms using this mechanism now:

Re: [PATCH v5 0/6] spi: s3c64xx: add support for device tree

2012-07-12 Thread Mark Brown
On Thu, Jul 12, 2012 at 07:13:37PM +0530, Thomas Abraham wrote: On 12 July 2012 18:32, Mark Brown broo...@opensource.wolfsonmicro.com wrote: Well, simple conflicts aren't that big a deal... However, Thomas mentioned that in order to test this he merged the SPI tree into your tree so

Re: [PATCH 1/2] ASoC: Convert S3C24XX I2S driver to gpiolib API

2012-07-12 Thread Mark Brown
On Thu, Jul 12, 2012 at 03:56:36PM +0200, Sylwester Nawrocki wrote: These are the only two patches (out of 15) that are now needed to remove some obsolete s3c2410_gpio_* API. 1/2 was tested on Micro2440 board and 2/2 is an identical change which wasn't tested on a real H/W since I don't have

Re: [PATCH 1/2] ASoC: Convert S3C24XX I2S driver to gpiolib API

2012-07-12 Thread Sylwester Nawrocki
On 07/12/2012 06:19 PM, Mark Brown wrote: On Thu, Jul 12, 2012 at 03:56:36PM +0200, Sylwester Nawrocki wrote: These are the only two patches (out of 15) that are now needed to remove some obsolete s3c2410_gpio_* API. 1/2 was tested on Micro2440 board and 2/2 is an identical change which wasn't

Re: [RESEND PATCH v4 1/5] thermal: add generic cpufreq cooling implementation

2012-07-12 Thread Andrew Morton
On Thu, 12 Jul 2012 19:11:04 +0530 Amit Daniel Kachhap amit.kach...@linaro.org wrote: [a...@linux-foundation.org: fix comment layout] Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org Cc: Donggeun Kim dg77@samsung.com Cc: Guenter Roeck guenter.ro...@ericsson.com Cc: SangWook Ju

Re: [PATCH] ARM: samsung: adc: fix race in s3c_adc_start

2012-07-12 Thread Kukjin Kim
On 07/12/12 21:31, Ben Dooks wrote: On Wed, Jul 11, 2012 at 07:12:11PM -0700, Todd Poynor wrote: Checking for adc-ts_pend already claimed should be done with the lock held. Change-Id: Ic9f15e26bd19934ab8c2885ce5df265933ac304a Signed-off-by: Todd Poynortoddpoy...@google.com Acked-by: Ben

Re: [PATCH v5 0/6] spi: s3c64xx: add support for device tree

2012-07-12 Thread Kukjin Kim
On 07/13/12 01:16, Mark Brown wrote: On Thu, Jul 12, 2012 at 07:13:37PM +0530, Thomas Abraham wrote: On 12 July 2012 18:32, Mark Brownbroo...@opensource.wolfsonmicro.com wrote: Well, simple conflicts aren't that big a deal... However, Thomas mentioned that in order to test this he merged

Re: [PATCH] ARM: samsung: adc: fix race in s3c_adc_start

2012-07-12 Thread Todd Poynor
On Fri, Jul 13, 2012 at 07:41:11AM +0900, Kukjin Kim wrote: BTW, Todd, do you want to keep the 'Change-Id' in mainline? If you don't mind, I'd like to remove it... Oops, I forgot to take it out, please do remove it, thanks. Todd -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH v5 6/6] spi: s3c64xx: add device tree support

2012-07-12 Thread Thomas Abraham
On 13 July 2012 04:08, Kukjin Kim kgene@samsung.com wrote: Thomas, the DMACH_DT_PROP is available only on pl330 now. So seems occur following build error with s3c6400_defconfig. drivers/spi/spi-s3c64xx.c: In function 's3c64xx_spi_get_dmares': drivers/spi/spi-s3c64xx.c:1098: error:

Re: [PATCH] ARM: Exynos: Add device tree node for Exynos4 interrupt combiner controller

2012-07-12 Thread Thomas Abraham
On 12 July 2012 14:40, Kukjin Kim kgene@samsung.com wrote: Thomas Abraham wrote: Add node for Exynos4 interrupt combiner controller. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/boot/dts/exynos4210.dtsi | 11 +++ 1 files changed, 11 insertions(+), 0

[PATCH v2] ARM: Exynos: Add device tree node for Exynos4 interrupt combiner controller

2012-07-12 Thread Thomas Abraham
Add node for Exynos4 interrupt combiner controller. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/boot/dts/exynos4210.dtsi | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos4210.dtsi