Re: [PATCH] MAINTAINERS: Add Samsung pinctrl entries

2013-06-16 Thread Linus Walleij
On Fri, Jun 14, 2013 at 1:03 AM, Tomasz Figa tomasz.f...@gmail.com wrote: On Friday 14 of June 2013 07:47:15 Kukjin Kim wrote: Tomasz Figa wrote: On Thursday 13 of June 2013 10:05:44 Doug Anderson wrote: It's convenient if get_maintainer suggests sending samsung/exynos pinctrl changes to

Re: [PATCH 08/15] pwm: Add new pwm-samsung driver

2013-06-16 Thread Tomasz Figa
Hi Kukjin, On Wednesday 05 of June 2013 23:18:13 Tomasz Figa wrote: This patch introduces new Samsung PWM driver, which uses Samsung PWM/timer master driver to control shared parts of the hardware. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- drivers/pwm/Makefile | 1 +

Re: [PATCH 08/15] pwm: Add new pwm-samsung driver

2013-06-16 Thread Kukjin Kim
On 06/17/13 02:19, Tomasz Figa wrote: Hi Kukjin, On Wednesday 05 of June 2013 23:18:13 Tomasz Figa wrote: This patch introduces new Samsung PWM driver, which uses Samsung PWM/timer master driver to control shared parts of the hardware. Signed-off-by: Tomasz Figatomasz.f...@gmail.com ---

Re: [RFC PATCH 5/5] ARM: Samsung: Remove MIPI PHY setup code

2013-06-16 Thread Kukjin Kim
On 06/15/13 02:45, Sylwester Nawrocki wrote: Generic PHY drivers are used to handle the MIPI CSIS and MIPI DSIM DPHYs so we can remove now unused code at arch/arm/plat-samsung. If so, sounds good :) In case there is any board file for S5PV210 platforms using MIPI CSIS/DSIM (not any upstream

[RFC PATCH 07/11] dmaengine: PL08x: Fix reading the byte count in cctl

2013-06-16 Thread Tomasz Figa
From: Alban Bedel alban.be...@avionic-design.de There are more fields than just SWIDTH in CH_CONTROL register, so read register value must be masked in addition to shifting. Signed-off-by: Alban Bedel alban.be...@avionic-design.de Signed-off-by: Tomasz Figa tomasz.f...@gmail.com ---

[RFC PATCH 00/11] ARM: s3c64xx: Let amba-pl08x driver handle DMA

2013-06-16 Thread Tomasz Figa
One of the biggest roadblocks on the way of S3C64xx to DeviceTree support is its DMA driver, which is completely platform-specific and provides private API (s3c-dma), not even saying that its design is completely against multiplatform-awareness. The DMA controller present on this SoC series is a

[RFC PATCH 09/11] spi: s3c64xx: Do not require legacy DMA API in case of S3C64XX

2013-06-16 Thread Tomasz Figa
With support for amba-pl08x driver, on S3C64xx the generic DMA engine API can be used instead of the private s3c-dma interface. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig

[RFC PATCH 11/11] ARM: s3c64xx: Add support for DMA using generic amba-pl08x driver

2013-06-16 Thread Tomasz Figa
This patch adds all required platform-specific data and initialization code to support the generic amba-pl08x driver on S3C64xx SoCs. Also some compatibility definitions are added to make the transition from legacy API to DMA engine easier. The biggest hack here is passing const char * pointers

[RFC PATCH 08/11] dmaengine: PL08x: Add cyclic transfer support

2013-06-16 Thread Tomasz Figa
From: Alban Bedel alban.be...@avionic-design.de Many audio interface drivers require support of cyclic transfers to work correctly, for example Samsung ASoC DMA driver. This patch adds support for cyclic transfers to the amba-pl08x driver. Signed-off-by: Alban Bedel alban.be...@avionic-design.de

[RFC PATCH 10/11] ASoC: samsung: Do not require legacy DMA API in case of S3C64XX

2013-06-16 Thread Tomasz Figa
With support for amba-pl08x driver, on S3C64xx the generic DMA engine API can be used instead of the private s3c-dma interface. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- sound/soc/samsung/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[RFC PATCH 06/11] dma: amba-pl08x: Keep LLIs aligned to 4-word boundary

2013-06-16 Thread Tomasz Figa
PL080 reference manual states that to LLI entries should be aligned to 4-word boundary to make LLI fetches more efficient. This patch adds a 3-word padding to the LLi struct to make this condition true. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- drivers/dma/amba-pl08x.c | 1 + 1 file

[RFC PATCH 04/11] dma: amba-pl08x: Add support for PL080S variant

2013-06-16 Thread Tomasz Figa
PL080S is a modified version of PL080 that can be found on Samsung SoCs, such as S3C6400 and S3C6410. It has different offset of CONFIG register, separate CONTROL1 register that holds transfer size and larger maximum transfer size. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com ---

[RFC PATCH 05/11] dma: amba-pl08x: Add support for different maximum transfer size

2013-06-16 Thread Tomasz Figa
PL080S has separate register to store transfer size in, allowing single transfer to be much larger than in standard PL080. This patch makes the amba-pl08x driver aware of this and removes writing transfer size to reserved bits of CH_CONTROL register on PL080S, which was not a problem witn

[RFC PATCH 01/11] dma: amba-pl08x: Use bitmap to pass variant specific quirks

2013-06-16 Thread Tomasz Figa
Instead of defining new bool field in vendor_data struct for each quirk, it is more reasonable to use a single flags field and make each quirk use single bits. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- drivers/dma/amba-pl08x.c | 31 +-- 1 file changed, 17

[RFC PATCH 02/11] dma: amba-pl08x: Refactor pl08x_getbytes_chan() to lower indentation

2013-06-16 Thread Tomasz Figa
Further patch will introduce support for PL080S, which requires some things to be done conditionally, thus increasing indentation level of some functions even more. This patch reduces indentation level of pl08x_getbytes_chan() function by inverting several conditions and returning from function

[RFC PATCH 03/11] dma: amba-pl08x: Add support for different offset of CONFIG register

2013-06-16 Thread Tomasz Figa
Some variants of PL08x (namely PL080S, found in Samsung S3C64xx SoCs) have CONFIG register at different offset. This patch makes the driver use offset from vendor data struct. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- drivers/dma/amba-pl08x.c | 51

Re: [PATCH v2 2/3] ARM: SAMSUNG: Consolidate uncompress subroutine

2013-06-16 Thread Kukjin Kim
On 06/13/13 15:04, Tushar Behera wrote: On 06/04/2013 09:49 AM, Tushar Behera wrote: For mach-exynos, uart_base is a pointer and the value is calculated in the machine folder. For other machines, uart_base is defined as a macro in platform directory. For symmetry, the uart_base macro definition

Re: [RFC PATCH 1/5] phy: Add driver for Exynos MIPI CSIS/DSIM DPHYs

2013-06-16 Thread Tomasz Figa
Hi Sylwester, Looks good, but I added some nitpicks inline. On Friday 14 of June 2013 19:45:47 Sylwester Nawrocki wrote: Add a PHY provider driver for the Samsung S5P/Exynos SoC MIPI CSI-2 receiver and MIPI DSI transmitter DPHYs. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com

Re: [RFC PATCH 2/5] ARM: dts: Add MIPI PHY node to exynos4.dtsi

2013-06-16 Thread Tomasz Figa
On Friday 14 of June 2013 19:45:48 Sylwester Nawrocki wrote: Add PHY provider node for the MIPI CSIS and MIPI DSIM PHYs. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/boot/dts/exynos4.dtsi | 12

Re: [RFC PATCH 3/5] video: exynos_dsi: Use generic PHY driver

2013-06-16 Thread Tomasz Figa
On Friday 14 of June 2013 19:45:49 Sylwester Nawrocki wrote: Use the generic PHY API instead of the platform callback to control the MIPI DSIM DPHY. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH v2 1/2] MAINTAINERS: Add Samsung pinctrl entries

2013-06-16 Thread Doug Anderson
It's convenient if get_maintainer suggests sending samsung/exynos pinctrl changes to linux-samsung-soc and to Tomasz and Thomas. Signed-off-by: Doug Anderson diand...@chromium.org --- Changes in v2: - Updated with Thomas and Tomasz; removed Linus since he's already there as part of the general

[PATCH v2 2/2] MAINTAINERS: Add exynos filename match to ARM/S5P EXYNOS ARM ARCHITECTURES

2013-06-16 Thread Doug Anderson
This will help direct patches related to exynos to the linux-samsung-soc mailing list for discussion. Suggested by Joe Perches. Signed-off-by: Doug Anderson diand...@chromium.org --- Changes in v2: - New for this version. MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH 1/9] drm/exynos: use SoC name to identify hdmi version

2013-06-16 Thread Rahul Sharma
Thanks Seung-Woo, On Fri, Jun 14, 2013 at 12:23 PM, 김승우 sw0312@samsung.com wrote: Hello Rahul, On 2013년 06월 11일 23:11, Rahul Sharma wrote: Exynos hdmi IP version is named after hdmi specification version i.e. 1.3 and 1.4. This versioning mechanism is not sufficient to handle the

Re: [PATCH V5 02/30] thermal: exynos: Add ARCH_HAS_TMU config to know the supported soc's

2013-06-16 Thread Eduardo Valentin
Hey Amit, On 11-06-2013 08:53, Amit Daniel Kachhap wrote: This patch adds config sybmol ARCH_HAS_TMU to enable the TMU driver. This will allow adding support for new soc easily as now it is the platform responsibility to enable this config symbol. Acked-by: Kukjin Kim kgene@samsung.com

Re: [PATCH] ARM: dts: Enable RTC node for exynos5250

2013-06-16 Thread Tushar Behera
On 14 June 2013 20:31, Doug Anderson diand...@chromium.org wrote: Tushar, On Thu, Jun 13, 2013 at 10:56 PM, Tushar Behera tushar.beh...@linaro.org wrote: The kernel dump produced by s3c-rtc driver as reported by commit 522ccdb6fd0e (ARM: dts: Disable the RTC by default on exynos5) are no

Re: [PATCH v2] clk: exynos4: Add clock entries for TMU

2013-06-16 Thread Sachin Kamat
On 10 June 2013 14:21, Sachin Kamat sachin.ka...@linaro.org wrote: Hi Kukjin, On 29 April 2013 22:30, Mike Turquette mturque...@linaro.org wrote: Quoting Sachin Kamat (2013-04-21 20:55:46) Added clock entries for thermal management unit (TMU) for Exynos4 SoCs. Signed-off-by: Sachin Kamat

Re: [PATCH 1/3] clk: exynos4: Staticize local symbols

2013-06-16 Thread Sachin Kamat
On 13 June 2013 21:06, Sachin Kamat sachin.ka...@linaro.org wrote: On 11 June 2013 09:46, Sachin Kamat sachin.ka...@linaro.org wrote: On 5 June 2013 17:44, Kukjin Kim kgene@samsung.com wrote: Sachin Kamat wrote: These symbols are used only in this file and hence should be static.

Re: [PATCH v2 1/2] MAINTAINERS: Add Samsung pinctrl entries

2013-06-16 Thread Kyungmin Park
On Mon, Jun 17, 2013 at 7:17 AM, Doug Anderson diand...@chromium.org wrote: It's convenient if get_maintainer suggests sending samsung/exynos pinctrl changes to linux-samsung-soc and to Tomasz and Thomas. Signed-off-by: Doug Anderson diand...@chromium.org Acked-by: Kyungmin Park

Re: [PATCH v2 1/2] MAINTAINERS: Add Samsung pinctrl entries

2013-06-16 Thread Olof Johansson
Kyungmin Park kmp...@infradead.org skrev: On Mon, Jun 17, 2013 at 7:17 AM, Doug Anderson diand...@chromium.org wrote: It's convenient if get_maintainer suggests sending samsung/exynos pinctrl changes to linux-samsung-soc and to Tomasz and Thomas. Signed-off-by: Doug Anderson

Re: [PATCH V5 02/30] thermal: exynos: Add ARCH_HAS_TMU config to know the supported soc's

2013-06-16 Thread amit daniel kachhap
Hi Eduardo, On Mon, Jun 17, 2013 at 8:35 AM, Eduardo Valentin eduardo.valen...@ti.com wrote: Hey Amit, On 11-06-2013 08:53, Amit Daniel Kachhap wrote: This patch adds config sybmol ARCH_HAS_TMU to enable the TMU driver. This will allow adding support for new soc easily as now it is the

[PATCH V2] ARM: dts: Enable RTC node for Arndale

2013-06-16 Thread Tushar Behera
The issues reported in commit 522ccdb6fd0e (ARM: dts: Disable the RTC by default on exynos5) are no longer reproduced on EXYNOS5250 based Arndale board. Hence re-enabling RTC support for Arndale board. This is helpful for testing S2R on Arndale board. Signed-off-by: Tushar Behera

[PATCH 1/2] ARM: exynos_defconfig: Enable GPIO buttons driver

2013-06-16 Thread Tushar Behera
Many of the boards use GPIO-mapped buttons for generic input. For Arndale board, these buttons also serve as wakeup source. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- arch/arm/configs/exynos_defconfig |1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 0/2] Enable config options to enable S2R wakeup

2013-06-16 Thread Tushar Behera
RTC source is very useful in testing S2R wakeup. Also enable gpio-keys driver in case someone wants wakeup the board using the buttons. S2R wakeup feature on Arndale depends on following two additional patches. 1. [PATCH 1/8] ARM: EXYNOS: use generic cpu idle function for wfi

[PATCH 2/2] ARM: exynos_defconfig: Enable RTC driver

2013-06-16 Thread Tushar Behera
The issues reported in commit 522ccdb6fd0e (ARM: dts: Disable the RTC by default on exynos5) are no longer reproduced on EXYNOS5250 based systems. Hence it would be better to re-enable RTC support for EXYNOS5250. Signed-off-by: Tushar Behera tushar.beh...@linaro.org ---

Re: [PATCH 2/2] clk: exynos4: Add alias for cpufreq related clocks

2013-06-16 Thread Tushar Behera
On 06/11/2013 12:23 AM, Tomasz Figa wrote: On Monday 10 of June 2013 09:13:11 Tushar Behera wrote: On 06/08/2013 05:20 PM, Tomasz Figa wrote: On Thursday 06 of June 2013 16:52:28 Tushar Behera wrote: [ ... ] MUX_A(mout_core, mout_core, mout_core_p4210, - SRC_CPU, 16, 1,

Re: [PATCH V6 6/6] clk: exynos5250: Add enum entries for divider clock of i2s1 and i2s2

2013-06-16 Thread Padma Venkat
Hi Mike, On Thu, Jun 13, 2013 at 8:32 AM, Padma Venkat padma@gmail.com wrote: Hi Mike, On Wed, Jun 12, 2013 at 10:15 PM, Mike Turquette mturque...@linaro.org wrote: Quoting Padmavathi Venna (2013-06-12 01:07:43) This patch adds enum entries for div_i2s1 and div_i2s2 which are required

Re: [PATCH 1/2] ARM: EXYNOS: Add a platform bus notifier to set dma masks for Exynos5440

2013-06-16 Thread Thomas Abraham
On 18 April 2013 21:00, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Thu, Apr 04, 2013 at 07:51:43PM +0900, Kukjin Kim wrote: +static u64 dma_mask64 = DMA_BIT_MASK(64); ... + if (event != BUS_NOTIFY_ADD_DEVICE) + return NOTIFY_DONE; + + dev-dma_mask =