[PATCH 0/5] USB: host: Remove non-DT support for Exynos EHCI and OHCI

2013-10-10 Thread Jingoo Han
This patchset removes non-DT support for Exynos EHCI and OHCI from arch and driver directories, because the non-DT for EXYNOS SoCs is not supported from v3.11. In order to keep the consistency, ehci-s5p.c is changed to ehci-exynos.c. So, the name of Exynos EHCI and OHCI driver is as below: -

[PATCH 1/5] ARM: SAMSUNG: Remove unused s5p_device_ehci

2013-10-10 Thread Jingoo Han
Since commit ca91435 ARM: EXYNOS: Remove unused board files, s5p_device_ehci is not used anymore. Thus, s5p_device_ehci can be removed. Also, unnecessary S5P_DEV_USB_EHCI option is removed. Signed-off-by: Jingoo Han jg1@samsung.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com ---

[PATCH 3/5] USB: ehci-exynos: Remove non-DT support

2013-10-10 Thread Jingoo Han
The non-DT for EXYNOS SoCs is not supported from v3.11. Thus, there is no need to support non-DT for Exynos EHCI driver. The 'include/linux/platform_data/usb-ehci-exynos.h' file has been used for non-DT support. Thus, the 'usb-ehci-exynos.h' file can be removed. Signed-off-by: Jingoo Han

[PATCH 2/5] USB: host: Rename ehci-s5p to ehci-exynos

2013-10-10 Thread Jingoo Han
Currently, Samsung is using 'EXYNOS' as the name of Samsung SoCs. Thus, ehci-exynos is preferred than ehci-s5p. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/usb/host/Kconfig |5 +- drivers/usb/host/Makefile |2 +-

[PATCH 4/5] USB: ohci-exynos: Remove non-DT support

2013-10-10 Thread Jingoo Han
The non-DT for EXYNOS SoCs is not supported from v3.11. Thus, there is no need to support non-DT for Exynos OHCI driver. The 'include/linux/platform_data/usb-ohci-exynos.h' file has been used for non-DT support. Thus, the 'usb-ohci-exynos.h' file can be removed. Signed-off-by: Jingoo Han

[PATCH 5/5] USB: ohci-exynos: Add missing usb_put_hcd() to prevent memory leak

2013-10-10 Thread Jingoo Han
When devm_usb_get_phy() fails, usb_put_hcd() should be called to prevent memory leak. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/usb/host/ohci-exynos.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/ohci-exynos.c b/drivers/usb/host/ohci-exynos.c index

Re: [PATCH 3/5] USB: ehci-exynos: Remove non-DT support

2013-10-10 Thread Sachin Kamat
Hi Jingoo, On 10 October 2013 12:01, Jingoo Han jg1@samsung.com wrote: The non-DT for EXYNOS SoCs is not supported from v3.11. Thus, there is no need to support non-DT for Exynos EHCI driver. The 'include/linux/platform_data/usb-ehci-exynos.h' file has been used for non-DT support. Thus,

[PATCH] s5p-jpeg: fix uninitialized use in hdr parse

2013-10-10 Thread Seung-Woo Kim
For hdr parse error, it can return false without any assignments which cause build warning. Signed-off-by: Seung-Woo Kim sw0312@samsung.com --- drivers/media/platform/s5p-jpeg/jpeg-core.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH V2 0/5] USB: host: Remove non-DT support for Exynos EHCI and OHCI

2013-10-10 Thread Jingoo Han
This patchset removes non-DT support for Exynos EHCI and OHCI from arch and driver directories, because the non-DT for EXYNOS SoCs is not supported from v3.11. Also, missing usb_put_hcd() is added to prevent memory leak. In order to keep the consistency, ehci-s5p.c is changed to ehci-exynos.c.

[PATCH V2 3/5] USB: ohci-exynos: Remove non-DT support

2013-10-10 Thread Jingoo Han
The non-DT for EXYNOS SoCs is not supported from v3.11. Thus, there is no need to support non-DT for Exynos OHCI driver. The 'include/linux/platform_data/usb-ohci-exynos.h' file has been used for non-DT support. Thus, the 'usb-ohci-exynos.h' file can be removed. Signed-off-by: Jingoo Han

[PATCH V2 2/5] USB: ehci-s5p: Remove non-DT support

2013-10-10 Thread Jingoo Han
The non-DT for EXYNOS SoCs is not supported from v3.11. Thus, there is no need to support non-DT for Exynos EHCI driver. The 'include/linux/platform_data/usb-ehci-s5p.h' file has been used for non-DT support. Thus, the 'usb-ehci-s5p.h' file can be removed. Signed-off-by: Jingoo Han

[PATCH V2 1/5] ARM: SAMSUNG: Remove unused s5p_device_ehci

2013-10-10 Thread Jingoo Han
Since commit ca91435 ARM: EXYNOS: Remove unused board files, s5p_device_ehci is not used anymore. Thus, s5p_device_ehci can be removed. Also, unnecessary S5P_DEV_USB_EHCI option is removed. Signed-off-by: Jingoo Han jg1@samsung.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com ---

[PATCH V2 4/5] USB: ohci-exynos: Add missing usb_put_hcd()

2013-10-10 Thread Jingoo Han
When devm_usb_get_phy() fails, usb_put_hcd() should be called to prevent memory leak. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/usb/host/ohci-exynos.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/ohci-exynos.c b/drivers/usb/host/ohci-exynos.c index

[PATCH V2 5/5] USB: host: Rename ehci-s5p to ehci-exynos

2013-10-10 Thread Jingoo Han
Currently, Samsung is using 'EXYNOS' as the name of Samsung SoCs. Thus, ehci-exynos is preferred than ehci-s5p. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/usb/host/Kconfig |5 +- drivers/usb/host/Makefile |2 +-

Re: [RESEND] [PATCH] ARM: dts: exynos5: add pwm DT nodes to Exynos5250 and Exynos5420

2013-10-10 Thread Leela Krishna Amudala
Hi Sachin, On Thu, Oct 10, 2013 at 11:18 AM, Sachin Kamat sachin.ka...@linaro.org wrote: Hi Leela, On 10 October 2013 11:12, Leela Krishna Amudala l.kris...@samsung.com wrote: Add the device-tree binding for the PWM controller to Exynos5250 and Exynos5420 Signed-off-by: Andrew Bresticker

[PATCH V2] ARM: dts: exynos5: add pwm DT nodes to Exynos5250 and Exynos5420

2013-10-10 Thread Leela Krishna Amudala
Add the device-tree binding for the PWM controller to Exynos5250 and Exynos5420 Signed-off-by: Andrew Bresticker abres...@chromium.org Signed-off-by: Olof Johansson ol...@chromium.org Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com --- changes since v1: - Moved the common

Re: [PATCH 3/5] drm/bridge: Add PTN3460 bridge driver

2013-10-10 Thread Mark Brown
On Thu, Oct 10, 2013 at 01:18:05PM +0900, Inki Dae wrote: I still think the pin could be replaced with a regulator. But lvds-bridge node has powerdown-gpio property - it say this board will use gpio pin - specific to board. So it seems no problem. No, don't model things that aren't

[RFC/PATCH V2] spi: s3c64xx: Enable Word transfer

2013-10-10 Thread Rajeshwari S Shinde
This patch enables word transfer for s3c64xx spi driver. User can set bits_per_word to 32 before calling spi_setup, which would enable the word transfer mode. Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com --- Chnages in V2: - Reduced the call for s3c64xx_spi_config

[PATCH 2/2] spi/s3c64xx: Use core message handling

2013-10-10 Thread Mark Brown
From: Mark Brown broo...@linaro.org Signed-off-by: Mark Brown broo...@linaro.org --- drivers/spi/spi-s3c64xx.c | 152 +- 1 file changed, 56 insertions(+), 96 deletions(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index

[PATCH 1/2] spi: Provide common spi_message processing loop

2013-10-10 Thread Mark Brown
From: Mark Brown broo...@linaro.org The loops which SPI controller drivers use to process the list of transfers in a spi_message are typically very similar and have some error prone areas such as the handling of /CS. Help simplify drivers by factoring this code out into the core - if drivers

RE: [PATCH 3/5] drm/bridge: Add PTN3460 bridge driver

2013-10-10 Thread Inki Dae
-Original Message- From: Mark Brown [mailto:broo...@kernel.org] Sent: Thursday, October 10, 2013 6:37 PM To: Inki Dae Cc: 'Olof Johansson'; 'Sean Paul'; devicet...@vger.kernel.org; linux- samsung-...@vger.kernel.org; linux-...@vger.kernel.org; linux- ker...@vger.kernel.org; 'DRI

Re: [RFC/PATCH V2] spi: s3c64xx: Enable Word transfer

2013-10-10 Thread Sachin Kamat
On 10 October 2013 16:11, Rajeshwari S Shinde rajeshwar...@samsung.com wrote: + if(sdd-cur_bpw == 32) { + /* For word transfer we need to swap bytes */ + u32 swapcfg = (S3C64XX_SPI_SWAP_TX_EN | S3C64XX_SPI_SWAP_TX_BYTE | +

Re: [RFC/PATCH V2] spi: s3c64xx: Enable Word transfer

2013-10-10 Thread Leela Krishna Amudala
Hi Rajeshwari, On Thu, Oct 10, 2013 at 4:11 PM, Rajeshwari S Shinde rajeshwar...@samsung.com wrote: This patch enables word transfer for s3c64xx spi driver. User can set bits_per_word to 32 before calling spi_setup, which would enable the word transfer mode. Signed-off-by: Rajeshwari S

Re: [PATCH 3/5] drm/bridge: Add PTN3460 bridge driver

2013-10-10 Thread Mark Brown
On Thu, Oct 10, 2013 at 08:40:38PM +0900, Inki Dae wrote: That is what I mentioned. Some boards _could control_ the actual regulator for lvds-bridge, and that would be depended on how HW engineer designs the board. For the driver this should be totally transparent - it should just control

Re: [PATCH 1/3] dmaengine: pl330: Set residue in tx_status callback.

2013-10-10 Thread Vinod Koul
On Wed, Oct 09, 2013 at 01:37:56PM -0700, Dylan Reid wrote: On Sun, Oct 6, 2013 at 8:48 PM, Vinod Koul vinod.k...@intel.com wrote: On Mon, Oct 07, 2013 at 10:39:34AM +0900, Chanho Park wrote: Why didn't you use a cookie value to track the request? The cookie is assigned when each

Re: [PATCH v10 20/20] iommu/exynos: add devices attached to the System MMU to an IOMMU group

2013-10-10 Thread Alex Williamson
On Mon, 2013-10-07 at 10:58 +0900, Cho KyongHo wrote: Patch written by Antonios Motakis a.mota...@virtualopensystems.com: IOMMU groups are expected by certain users of the IOMMU API, e.g. VFIO. Since each device is behind its own System MMU, we can allocate a new IOMMU group for each device.

[PATCH v3 0/5] Add some missing bits for exynos5250-snow

2013-10-10 Thread Sean Paul
This set adds some missing devicetree nodes to the exynos5250-snow file as well as adds a drm_bridge driver for the ptn3460 DP-LVDS chip. This chip is used in the exynos5250-snow board. Sean Sean Paul (5): ARM: dts: Add fimd display-timings for exynos5250-snow ARM: dts: Add dp-controller node

[PATCH v3 4/5] drm/exynos: Initialize ptn3460 if present

2013-10-10 Thread Sean Paul
This patch adds code to look for the ptn3460 in the device tree file on exynos initialization. If ptn node is found, the driver will initialize the ptn3460 driver and skip creating a DP connector (since the bridge driver will register its own connector). Signed-off-by: Sean Paul

[PATCH v3 3/5] drm/bridge: Add PTN3460 bridge driver

2013-10-10 Thread Sean Paul
This patch adds a drm_bridge driver for the PTN3460 DisplayPort to LVDS bridge chip. Signed-off-by: Sean Paul seanp...@chromium.org --- v2: - Changed header definition to static inline - Changed dt node name to lvds-bridge v3: No changes

[PATCH v3 1/5] ARM: dts: Add fimd display-timings for exynos5250-snow

2013-10-10 Thread Sean Paul
This patch adds the internal panel timings to the exynos5250-snow board dts file. Signed-off-by: Sean Paul seanp...@chromium.org --- v2: No difference v3: Added status = okay arch/arm/boot/dts/exynos5250-snow.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git

[PATCH v3 2/5] ARM: dts: Add dp-controller node to exynos5250-snow

2013-10-10 Thread Sean Paul
This patch adds the dp-controller node to the exynos5250-snow board dts file. Signed-off-by: Sean Paul seanp...@chromium.org --- v2: Added dp-controller address to node (rebased on linux-next) v3: Added status = okay arch/arm/boot/dts/exynos5250-snow.dts | 13 + 1 file changed, 13

[PATCH 0/3] ARM: S3C24XX: add missing dma-devices and warning fix

2013-10-10 Thread Heiko Stübner
When Olof reported the warning about the unused s3c2410_dma_resource, I thought the best way forward would be to simply implement the missing pieces and so it has users :-) . Therefore this series adds the necessary platform-devices for s3c2410, s3c2440 and s3c2442. This especially also includes

[PATCH 1/3] ARM: S3C24XX: Fix possible dma selection warning

2013-10-10 Thread Heiko Stübner
Currently the s3c sound support selects CONFIG_S3C2410_DMA on s3c24xx architectures while the generic dma config is enabled by CONFIG_S3C24XX_DMA. With the way the Kconfig options are layed out currently it is possible to enable Samsung sound support without enabling the necessary dma support

[PATCH 2/3] dmaengine: s3c24xx-dma: add support for the s3c2410 type of controller

2013-10-10 Thread Heiko Stübner
The earliest variants of the dma controller did not contain support for controlling clocks. Signed-off-by: Heiko Stuebner he...@sntech.de --- drivers/dma/s3c24xx-dma.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/dma/s3c24xx-dma.c b/drivers/dma/s3c24xx-dma.c index

[PATCH 3/3] ARM: S3C24XX: add dma pdata for s3c2410, s3c2440 and s3c2442

2013-10-10 Thread Heiko Stübner
s3c2410 and s3c2442 share the same dma channels while s3c2440 has slight differences. But on all three the reachable sources per dma channel has constraints attached and thus encodes the usable combinations using the S3C24XX_DMA_CHANREQ macro. This also fixes the warning about

Re: [PATCH 1/2] ARM: dts: Update display clock frequency for Origen-4210

2013-10-10 Thread Sachin Kamat
Kukjin, Without these patches display is broken on these boards. Please add them. On 26 September 2013 10:20, Sachin Kamat sachin.ka...@linaro.org wrote: From: Tushar Behera tushar.beh...@linaro.org As per the timing information for supported panel, the value should be between 47.2 MHz to

Re: [RESEND PATCH 1/3] ARM: EXYNOS: Move arm core power down clock to exynos5250 common clock

2013-10-10 Thread Amit Kachhap
Hi Bartlomeij, Yes these patches have missed 2 merge windows and still not merged. Mike: I am re-basing these patches on linux-next. Please merge them. Regards, Amit On Wed, Oct 9, 2013 at 3:18 PM, Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com wrote: Hi, Mike: Could you please apply

Re: [RFC/PATCH V2] spi: s3c64xx: Enable Word transfer

2013-10-10 Thread Rajeshwari Birje
Hi Sachin, On Thu, Oct 10, 2013 at 5:12 PM, Sachin Kamat sachin.ka...@linaro.org wrote: On 10 October 2013 16:11, Rajeshwari S Shinde rajeshwar...@samsung.com wrote: + if(sdd-cur_bpw == 32) { + /* For word transfer we need to swap bytes */ + u32 swapcfg =

[RFC/PATCH V3] spi: s3c64xx: Enable Word transfer

2013-10-10 Thread Rajeshwari S Shinde
This patch enables word transfer for s3c64xx spi driver. User can set bits_per_word to 32 before calling spi_setup, which would enable the word transfer mode. Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com --- Changes in V2 - Reduced the call for s3c64xx_spi_config. Changes

[PATCH V2] ARM: EXYNOS: Move arm core power down clock to exynos5250 common clock

2013-10-10 Thread Amit Daniel Kachhap
Now with common clock support added for exynos5250 it is necessary to move this code to exynos5250 common clock driver as clock registers should be handled there. This change is tested in exynos5250 based arndale platform. Cc: Abhilash Kesavan a.kesa...@samsung.com Cc: Thomas Abraham