Re: [PATCH] spi: Compatibility with direction which is used in samsung DMA operation

2012-03-09 Thread Grant Likely
On Sat, 10 Mar 2012 09:48:46 +0900, Kyoungil Kim wrote: > I found that there are two kind of direction type. > First one is dma_data_direction defined in include/linux/dma-direction.h. > It is used for parameter of dma_map/unmap_single in spi-s3c64xx. > The other one is dma_transter_direction defi

[PATCH] spi: Compatibility with direction which is used in samsung DMA operation

2012-03-09 Thread Kyoungil Kim
I found that there are two kind of direction type. First one is dma_data_direction defined in include/linux/dma-direction.h. It is used for parameter of dma_map/unmap_single in spi-s3c64xx. The other one is dma_transter_direction defined in include/linux/dmaengine.h. It is used for direction of sam

Re: [PATCH] spi: Compatibility with direction which is used in samsung DMA operation

2012-03-09 Thread Grant Likely
On Wed, 08 Feb 2012 15:54:40 +0900, Kyoungil Kim wrote: > Signed-off-by: Boojin Kim > Signed-off-by: Kyoungil Kim I'm sorry, I don't understand the reason for the patch. Please help a poor maintainer out and include the reason *why* the patch is needed in the commit text. (repost with a prope

Re: [PATCH] spi/s3c64xx: Convert to using core message queue

2012-03-09 Thread Grant Likely
On Wed, 15 Feb 2012 14:48:32 -0800, Mark Brown wrote: > Convert the s3c64xx driver to using the new message queue factored out of > the pl022 driver by Linus Walleij, saving us a nice block of code and > getting the benefits of improvements implemented in the core. > > Signed-off-by: Mark Brown

Re: [PATCHv3 1/3] ARM: Exynos: JPEG board definition

2012-03-09 Thread Kukjin Kim
2012-02-09 오전 6:46, Marek Szyprowski 쓴 글: Hello, On Thursday, February 09, 2012 1:28 PM Kukjin Kim wrote: ARM: Exynos: JPEG board definition [...] +#define EXYNOS4_PA_JPEG0x1184 + #define EXYNOS4_PA_G2D0x1280 #define EXYNOS4_PA

Re: [PATCH v2] ARM: Exynos: JPEG board definition and device register

2012-03-09 Thread Kukjin Kim
Kukjin Kim wrote: Andrzej Pietrasiewicz wrote: [...] Thank you for pointing this out. I will fix it. Probably, I didn't get updated this so now happens build error about lack of s5p_device_jpeg. Also, wouldn't be a good idea to split this patch into 2 different patches for platform-spec

Re: [PATCH v2] ARM: Exynos: JPEG board definition and device register

2012-03-09 Thread Kukjin Kim
Andrzej Pietrasiewicz wrote: Hello Tushar, On Wednesday, February 01, 2012 10:16 AM Tushar Behera wrote: [...] [snip] +#ifdef CONFIG_S5P_DEV_JPEG +static struct resource s5p_jpeg_resource[] = { + [0] = { + .start = S5P_PA_JPEG, + .end= S5P_PA_JPEG +

Re: Merge error in for-next branch in kgene/linux-samsung.git

2012-03-09 Thread Kukjin Kim
2012-03-09 01:49, Tushar Behera wrote: Hi Kukjin, Need to fix following merge error in your for-next branch. Oops :( Tushar, thank you and let me fix it. Best regards, Kgene. -- Kukjin Kim , Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd. diff --git a/arch/arm

[PATCH 1/2] i2c-s3c2410: Rework device type handling

2012-03-09 Thread Karol Lewandowski
Reorganize driver a bit to better handle device tree-based systems: - move machine type to driver's private structure instead of quering platform device variants in runtime - replace s3c24xx_i2c_type enum with plain unsigned int that can hold not only device type but also hw revision-spec

[PATCH 2/2] i2c-s3c2410: Add HDMIPHY quirk for S3C2440

2012-03-09 Thread Karol Lewandowski
From: Tomasz Stanislawski This patch adds support for s3c2440 I2C bus controller dedicated HDMIPHY device on Exynos4 platform. Some quirks are introduced due to differences between HDMIPHY and other I2C controllers on Exynos4. These differences are: - no GPIOs, HDMIPHY is inside the SoC and the

[PATCH 0/2] i2c-s3c2410: Updates for exynos4210 and DT-based systems

2012-03-09 Thread Karol Lewandowski
Hi, This patchset reworks i2c-s3c2410 driver a bit to better handle device tree-enabled platforms and adds two quirks required by exynos4210-specific I2C controller used by s5p-hdmi driver. This patchset is based on "i2c-bjdooks/for-34/i2c/i2c-samsung" branch taken from: git://git.fluff.org/bj

Re: [PATCH v3 0/4] ARM: Exynos4: Add irq domain and device tree support for wakeup interrupts

2012-03-09 Thread Thomas Abraham
On 9 March 2012 22:02, Kukjin Kim wrote: > On 02/22/12 04:14, Thomas Abraham wrote: >> >> Changes since v2: >> - Reworked irq domain support based on v5 of the irq_domain generalization >>   patches. >> >> Changes since v1: (only patch 4/4 has changes) >> - Fixes based on Rob's comments: >>   a. F

Re: [PATCH] ARM: SAMSUNG: Correct MIPI-CSIS io memory resource definition

2012-03-09 Thread Kukjin Kim
On 02/15/12 22:00, Kukjin Kim wrote: Sylwester Nawrocki wrote: The resources size is increased to 16KB to also include the non-image packet data buffers (CSIS_PKTDATAn). The 4KiB region is only sufficient when the driver is not using the packet data buffers. Signed-off-by: Sylwester Nawrocki S

Re: [PATCH v3 0/4] ARM: Exynos4: Add irq domain and device tree support for wakeup interrupts

2012-03-09 Thread Kukjin Kim
On 02/22/12 04:14, Thomas Abraham wrote: Changes since v2: - Reworked irq domain support based on v5 of the irq_domain generalization patches. Changes since v1: (only patch 4/4 has changes) - Fixes based on Rob's comments: a. Fixed the function prototype of exynos4_init_irq_eint(void) b

Re: Subject: [PATCH] MAINTAINERS: add maintainer entry for SAMSUNG EXYNOS DeviceTree

2012-03-09 Thread Grant Likely
On Wed, 22 Feb 2012 07:49:18 +0530, Thomas Abraham wrote: > On 22 February 2012 05:46, Kukjin Kim wrote: > > Add Samsung EXYNOS DT maintainer > > > > Cc: Thomas Abraham > > Cc: Grant Likely > > Signed-off-by: Kukjin Kim > > --- > >  MAINTAINERS |   10 ++ > >  1 files changed, 10 in

Re: [PATCH 1/2] ARM: Exynos: Register JPEG on universal_c210

2012-03-09 Thread Kukjin Kim
On 02/21/12 02:04, Andrzej Pietrasiewicz wrote: ARM: Exynos: Register JPEG on universal_c210 Signed-off-by: Andrzej Pietrasiewicz Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos/Kconfig |1 + arch/arm/mach-exynos/mach-universal_c210.c |1 + 2 files changed, 2 inse

Re: [PATCH 0/4] ARM: SAMSUNG: JPEG support on Exynos and S5PV210

2012-03-09 Thread Kukjin Kim
On 02/29/12 20:05, Sachin Kamat wrote: This patch series adds JPEG platform support to S5PV210 and board support to SMDKV210, SMDKV310 and Origen. This series is based on Kukjin Kim's for-next branch. This series depends on the following patches: http://www.spinics.net/lists/linux-samsung-soc/m

Re: [PATCHv5] ARM: Exynos: Register JPEG on nuri

2012-03-09 Thread Kukjin Kim
On 02/24/12 03:44, Andrzej Pietrasiewicz wrote: ARM: Exynos: Register JPEG on nuri Signed-off-by: Andrzej Pietrasiewicz Signed-off-by: Kyungmin Park --- This is in response to: http://www.spinics.net/lists/linux-samsung-soc/msg09530.html Now it should apply cleanly. @Sachin: Thank you for spo

Re: [PATCH 2/3] ARM: EXYNOS: Add clkdev lookup entry for lcd clock

2012-03-09 Thread Kukjin Kim
On 02/29/12 21:15, Kukjin Kim wrote: Tushar Behera wrote: [...] Acked-by: Jingoo Han OK, I will apply this with Sylwester's 'reviewed-by' I looked at before. Thanks. Do you want me rebase this patch on your latest for-next and resend? Thanks but I can do it. BTW, Tushar, what's the

RE: [PATCH] drivers: mmc: sdhci-s3c: fix broken compilation for non-Exynos SoCs

2012-03-09 Thread Marek Szyprowski
Hello, On Friday, March 09, 2012 4:56 PM Kukjin Kim wrote: > On 03/09/12 05:44, Marek Szyprowski wrote: > > exynos4_sdhci_drv_data structure is not available on non-Exynos builds, > > that's why EXYNOS4_SDHCI_DRV_DATA macro has been introduced. This patch > > fixes commit 67819656 'mmc: sdhci-s3c

Re: [PATCH 0/4] ARM: SAMSUNG: Add __init attribute to functions calling s3c_set_platdata

2012-03-09 Thread Kukjin Kim
On 03/01/12 01:17, Tushar Behera wrote: The function s3c_set_platdata is defined with __init attribute, hence the functions calling s3c_set_platdata should also be defined with __init attribute. Even though all the modified functions are called from xxx_machine_init() functions, it is still bett

Re: [PATCH] drivers: mmc: sdhci-s3c: fix broken compilation for non-Exynos SoCs

2012-03-09 Thread Kukjin Kim
On 03/09/12 05:44, Marek Szyprowski wrote: exynos4_sdhci_drv_data structure is not available on non-Exynos builds, that's why EXYNOS4_SDHCI_DRV_DATA macro has been introduced. This patch fixes commit 67819656 'mmc: sdhci-s3c: Add device tree support' to use that macro. This fixes broken build for

Re: [PATCH 1/6] ARM: S3C64XX: Add usb otg phy control

2012-03-09 Thread Kukjin Kim
On 03/08/12 05:20, Lukasz Majewski wrote: Hi Joonyoung, On Thu, 8 Mar 2012 12:27:30 +0100 Joonyoung Shim wrote: On 03/08/2012 06:52 PM, Kukjin Kim wrote: On 03/07/12 04:28, Kukjin Kim wrote: On 02/10/12 10:26, Mark Brown wrote: On Fri, Feb 10, 2012 at 11:35:41AM +0100, Lukasz Majewski wrot

Re: [PATCH V6 1/5] ARM: exynos: Add support AFTR mode on EXYNOS4210

2012-03-09 Thread Kukjin Kim
On 02/23/12 03:49, Amit Kachhap wrote: On 23 February 2012 11:54, Rob Lee wrote: [...] Hi Mr kim, Can this change be accommodated in the current patch series as below or should i send a new patchset? I did, Thanks. Best regards, Kgene. -- Kukjin Kim , Senior Engineer, SW Solution Develop

Re: [PATCH-RESEND 0/4] ARM: S5PV210: Enable FIMC & MFC on SMDKC110 & V210 boards

2012-03-09 Thread Kukjin Kim
On 03/08/12 03:29, Sachin Kamat wrote: Hi Kukjin, Could not find this series applied on any of your branches. Please check the same. Applied this whole series in my next/board-samsung. Thanks. Best regards, Kgene. -- Kukjin Kim , Senior Engineer, SW Solution Development Team, Samsung Electro

Re: [PATCH] ARM: EXYNOS: Hook up G2D PD to generic PD infrastructure

2012-03-09 Thread Kukjin Kim
On 03/08/12 03:34, Sachin Kamat wrote: Hi Kukjin, This patch is also missed in your tree. Other G2D patches in arch/arm are already there. Please check. Applied this in my next/devel-samsung-pd branch. Thanks. Best regards, Kgene. -- Kukjin Kim , Senior Engineer, SW Solution Development Team,

Re: [PATCH] ARM: EXYNOS: Enable G2D on SMDKV310

2012-03-09 Thread Kukjin Kim
On 03/08/12 03:41, Sachin Kamat wrote: Hi Kukjin, This patch is missing in your tree. Please check. Applied. Thanks. Best regards, Kgene. -- Kukjin Kim , Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd. -- To unsubscribe from this list: send the line "unsubscribe

Re: [GIT PULL] Samsung Cleanup EXYNOS clock for v3.4

2012-03-09 Thread Kukjin Kim
On 03/08/12 23:06, MyungJoo Ham wrote: > 2012/3/9 함명주: [...] > > Hello, Kgene > > I've rebased the branch that was pull-requested to Kgene based on this branch. > OK, thanks. Let me apply this series on top of new cleanup-exynos-clock. > http://git.infradead.org/users/kmpark/linux-samsung/sh

Re: [GIT PULL] Samsung Cleanup EXYNOS clock for v3.4

2012-03-09 Thread Kukjin Kim
On 03/08/12 07:16, Olof Johansson wrote: Hi, On Thu, Mar 8, 2012 at 3:13 AM, Kukjin Kim wrote: Kukjin Kim (2): ARM: EXYNOS: cleanup clock part for new EXYNOS SoCs This is one large commit that does many things in one change. As the patch message says: ARM: EXYNOS: cleanup clock part

[PATCH] ARM: dma-mapping: fix calculation of iova bitmap size

2012-03-09 Thread Marek Szyprowski
Fix calculation of iova address space for IOMMU-aware dma mapping. Reported-by: Krishna Reddy Signed-off-by: Marek Szyprowski --- arch/arm/mm/dma-mapping.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c index ea

[PATCH] drivers: mmc: sdhci-s3c: fix broken compilation for non-Exynos SoCs

2012-03-09 Thread Marek Szyprowski
exynos4_sdhci_drv_data structure is not available on non-Exynos builds, that's why EXYNOS4_SDHCI_DRV_DATA macro has been introduced. This patch fixes commit 67819656 'mmc: sdhci-s3c: Add device tree support' to use that macro. This fixes broken build for pre-Exynos SoCs. Signed-off-by: Marek Szypr

[PATCH] s5p-csis: Fix compilation with PM_SLEEP disabled

2012-03-09 Thread Sylwester Nawrocki
Fix following compilation error when CONFIG_PM_SLEEP is disabled: CC drivers/media/video/s5p-fimc/mipi-csis.o drivers/media/video/s5p-fimc/mipi-csis.c: In function ‘s5pcsis_remove’: drivers/media/video/s5p-fimc/mipi-csis.c:956: error: implicit declaration of function ‘s5pcsis_suspend’ Rep

Re: [PATCH 2/2] mmc: sdhci-s3c: Enable runtime power management

2012-03-09 Thread Mark Brown
On Fri, Mar 09, 2012 at 12:08:58AM -0500, Chris Ball wrote: > The reworked patch is below, please let me know if it looks incorrect: That looks about right, I'll find out soon enough if it doesn't work in -next as my main development system has the rootfs on this device :) signature.asc Descrip

[PATCH v11 3/3] iommu/exynos: Add iommu driver for Exynos Platforms

2012-03-09 Thread Cho KyongHo
This is the System MMU driver and IOMMU API implementation for Exynos SOC platforms. Exynos platforms has more than 10 System MMUs dedicated for each multimedia accelerators. The System MMU driver is already in arc/arm/plat-s5p but it is moved to drivers/iommu due to Ohad Ben-Cohen gathered IOMMU

[PATCH v11 2/3] ARM: EXYNOS: Change System MMU platform device definitions

2012-03-09 Thread Cho KyongHo
Handling System MMUs with an identifier is not flexible to manage System MMU platform devices because of the following reasons: 1. A device driver which needs to handle System MMU must know the ID. 2. A System MMU may not present in some implementations of Exynos family. 3. Handling System MMU with

[PATCH v11 1/3] S5P: SYSMMU: Remove System MMU device driver

2012-03-09 Thread Cho KyongHo
This patch removes System MMU device driver from arm/plat-s5p tree for transition to implement IOMMU driver. Although controlling System MMU in this removing driver is similar to the new IOMMU driver in the following patch, the new one is almost rewrite of this driver and there is no benefit to mov

[PATCH v11 0/3] iommu/exynos: Add IOMMU/System MMU driver for Samsung Exynos

2012-03-09 Thread Cho KyongHo
These patches are successfully compiled with little modification in linux-samsung.git/for-next branch You can find the git repo in http://git.kernel.org/?p=linux/kernel/git/kgene/linux-samsung.git Changes since v10: - Prevent race condition between iommu_attach_device() and iommu_detach_device(

Re: [PATCH v3 0/4] mmc: sdhci-s3c: use the sdhci-pltfm.c and move the header file

2012-03-09 Thread Mark Brown
On Fri, Mar 09, 2012 at 10:53:26AM +0900, Jaehoon Chung wrote: > On 03/08/2012 08:01 PM, Mark Brown wrote: > > It should be fine, like I say I didn't really read the patches in enough > > detail as the diffstat set off alarm bells. > If you have any opinions, let me know. > I believe that these p

[PATCH 3/3] ARM: Exynos: Add DRM core support for NURI board

2012-03-09 Thread Marek Szyprowski
Add core DRM device and alternative platform device data for FIMD DRM subdriver. Based on the initial patch by Joonyoung Shim Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos/Kconfig |1 + arch/arm/mach-exynos/mach-nuri.c | 31

[PATCH 2/3] ARM: Exynos: Add DRM core device support for Universal C210 board

2012-03-09 Thread Marek Szyprowski
Add core DRM device and alternative platform device data for FIMD DRM subdriver. Based on the initial patch by Joonyoung Shim Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos/Kconfig |1 + arch/arm/mach-exynos/mach-universal_c210.c | 31

[PATCH 1/3] ARM: Exynos: add platform device for core DRM subsystem

2012-03-09 Thread Marek Szyprowski
Add platform device for Exynos DRM core. This device is used for creating DRM user-space device and allocating memory for display buffers. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos/Kconfig |5 + arch/arm/mach-exynos/Makefile

[PATCH 0/3] Add support for DRM display subsystem

2012-03-09 Thread Marek Szyprowski
Hello, This patch set adds support for Exysno DRM display subsystem for Universal C210 and NURI boards. Exynos DRM driver has been merged to 3.3 kernel tree and provides unified and more powerful alternative for s3c-fb and s5p-tv drivers. Best regards Marek Szyprowski Samsung Poland R&D Center

Merge error in for-next branch in kgene/linux-samsung.git

2012-03-09 Thread Tushar Behera
Hi Kukjin, Need to fix following merge error in your for-next branch. diff --git a/arch/arm/mach-exynos/clock-exynos4.c b/arch/arm/mach-exynos/clock-exynos4.c index af48ad1..4f7ed78 100644 --- a/arch/arm/mach-exynos/clock-exynos4.c +++ b/arch/arm/mach-exynos/clock-exynos4.c @@ -1333,10 +1333,10