Re: [PATCH v4 13/13] V4L: Add driver for s5k4e5 image sensor

2013-08-09 Thread Sylwester Nawrocki
On 08/07/2013 11:04 AM, Arun Kumar K wrote: This patch adds subdev driver for Samsung S5K4E5 raw image sensor. Like s5k6a3, it is also another fimc-is firmware controlled sensor. This minimal sensor driver doesn't do any I2C communications as its done by ISP firmware. It can be updated if needed

Re: [PATCH v4 12/13] V4L: s5k6a3: Change sensor min/max resolutions

2013-08-09 Thread Sylwester Nawrocki
On 08/07/2013 11:04 AM, Arun Kumar K wrote: s5k6a3 sensor has actual pixel resolution of 1408x1402 against the active resolution 1392x1392. The real resolution is needed when raw sensor SRGB data is dumped to memory by fimc-lite. Signed-off-by: Arun Kumar K --- drivers/media/i2c/s5k6a3.c | 2

Re: [PATCH v4 11/13] [media] exynos5-is: Add Kconfig and Makefile

2013-08-09 Thread Sylwester Nawrocki
On 08/07/2013 11:03 AM, Arun Kumar K wrote: Adds Kconfig and Makefile for exynos5-is driver files. Signed-off-by: Shaik Ameer Basha Signed-off-by: Kilyeon Im Signed-off-by: Arun Kumar K --- drivers/media/platform/Kconfig |1 + drivers/media/platform/Makefile|1

Re: [PATCH v4 10/13] [media] exynos5-fimc-is: Add the hardware interface module

2013-08-09 Thread Sylwester Nawrocki
On 08/07/2013 11:03 AM, Arun Kumar K wrote: The hardware interface module finally sends the commands to the FIMC-IS firmware and runs the interrupt handler for getting the responses. Signed-off-by: Arun Kumar K Signed-off-by: Kilyeon Im --- .../media/platform/exynos5-is/fimc-is-interface.c |

Re: [PATCH v4 08/13] [media] exynos5-fimc-is: Add sensor interface

2013-08-09 Thread Sylwester Nawrocki
On 08/07/2013 11:03 AM, Arun Kumar K wrote: Some sensors to be used with fimc-is are exclusively controlled by the fimc-is firmware. This minimal sensor driver provides the required info for the firmware to configure the sensors sitting on I2C bus. Signed-off-by: Arun Kumar K --- drivers/media

Re: [PATCH v4 07/13] [media] exynos5-fimc-is: Add scaler subdev

2013-08-09 Thread Sylwester Nawrocki
On 08/07/2013 11:03 AM, Arun Kumar K wrote: FIMC-IS has two hardware scalers named as scaler-codec and scaler-preview. This patch adds the common code handling the video nodes and subdevs of both the scalers. Signed-off-by: Arun Kumar K Signed-off-by: Kilyeon Im --- drivers/media/platform/exyn

Re: [PATCH v4 06/13] [media] exynos5-fimc-is: Add isp subdev

2013-08-09 Thread Sylwester Nawrocki
On 08/07/2013 11:03 AM, Arun Kumar K wrote: fimc-is driver takes video data input from the ISP video node which is added in this patch. This node accepts Bayer input buffers which is given from the IS sensors. Signed-off-by: Arun Kumar K Signed-off-by: Kilyeon Im --- drivers/media/platform/exy

Re: [PATCH v4 05/13] [media] exynos5-fimc-is: Add register definition and context header

2013-08-09 Thread Sylwester Nawrocki
On 08/07/2013 11:03 AM, Arun Kumar K wrote: This patch adds the register definition file for the fimc-is driver and also the header file containing the main context for the driver. Signed-off-by: Arun Kumar K Signed-off-by: Kilyeon Im --- drivers/media/platform/exynos5-is/fimc-is-regs.h | 105

Re: [PATCH v4 03/13] [media] exynos5-fimc-is: Add driver core files

2013-08-09 Thread Sylwester Nawrocki
Hi, On 08/07/2013 11:03 AM, Arun Kumar K wrote: This driver is for the FIMC-IS IP available in Samsung Exynos5 SoC onwards. This patch adds the core files for the new driver. Signed-off-by: Arun Kumar K Signed-off-by: Kilyeon Im --- drivers/media/platform/exynos5-is/fimc-is-core.c | 413

[PATCH 10/10] exynos4-is: Add support for asynchronous sensor subddevs registration

2013-08-09 Thread Sylwester Nawrocki
Add support for registering external sensor subdevs using the v4l2-async API. The async API is used only for sensor subdevs and only for platforms instantiated from Device Tree. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- Changes since v1: - register clock provider after

[PATCH 06/10] exynos4-is: Add missing v4l2_device_unregister() call in fimc_md_remove()

2013-08-09 Thread Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/platform/exynos4-is/media-dev.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/platform/exynos4-is/media-dev.c b/drivers/media/platform/exynos4-is/media-dev.c index 91f21e2..0446ab3 100644 -

[PATCH 09/10] exynos4-is: Use external s5k6a3 sensor driver

2013-08-09 Thread Sylwester Nawrocki
This patch removes the common fimc-is-sensor driver for image sensors that are normally controlled by the FIMC-IS firmware. The FIMC-IS driver now contains only a table of properties specific to each sensor. The sensor properties required for the ISP's firmware are parsed from device tree and retri

[PATCH 02/10] V4L: s5k6a3: Add support for asynchronous subdev registration

2013-08-09 Thread Sylwester Nawrocki
This patch converts the driver to use v4l2 asynchronous subdev registration API an the common clock API. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Changes since v1: - clock-frequency property is now optional and a default frequency value will be used when it is missing,

[PATCH 04/10] exynos4-is: Initialize the ISP subdev sd->owner field

2013-08-09 Thread Sylwester Nawrocki
Set the subdevs owner module so the exynos4_fimc_is module cannot be unloaded when the FIMC-IS driver is in use. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/platform/exynos4-is/fimc-isp.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media

[PATCH 07/10] exynos4-is: Simplify sclk_cam clocks handling

2013-08-09 Thread Sylwester Nawrocki
Use clk_prepare_enable()/clk_disable_unprepare() instead of separately prearing/unparing the clk_cam clocks. This simplifies the code that is now mostly not going to be used, function __fimc_md_set_camclk() is only left for S5PV210 platform which is not yet converted to Device Tree. Signed-off-by:

[PATCH 03/10] exynos4-is: Handle suspend/resume of fimc-is-i2c correctly

2013-08-09 Thread Sylwester Nawrocki
From: Tomasz Figa If the same callbacks are used for runtime and system suspend/resume, clocks can get disabled twice, which can lead to negative reference counts and kernel warnings. This patch splits suspend/resume callbacks into separate runtime and system-wide functions, so clock gating is d

[PATCH 08/10] exynos4-is: Add clock provider for the external clocks

2013-08-09 Thread Sylwester Nawrocki
This patch adds clock provider to expose the sclk_cam0/1 clocks for image sensor subdevs. Cc: devicet...@vger.kernel.org Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- .../devicetree/bindings/media/samsung-fimc.txt | 17 ++- drivers/media/platform/exynos4-is/media-dev.

[PATCH 05/10] exynos4-is: Add missing MODULE_LICENSE for exynos-fimc-is.ko

2013-08-09 Thread Sylwester Nawrocki
This fixes compilation warning: WARNING: modpost: missing MODULE_LICENSE() in drivers/media/platform/exynos4-is/exynos-fimc-is.o Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/platform/exynos4-is/fimc-is.c |1 + 1 file changed, 1 insertion(+) diff --git a/

[PATCH 01/10] V4L: Add driver for s5k6a3 image sensor

2013-08-09 Thread Sylwester Nawrocki
This patch adds subdev driver for Samsung S5K6A3 raw image sensor. As it is intended at the moment to be used only with the Exynos FIMC-IS (camera ISP) subsystem it is pretty minimal subdev driver. It doesn't do any I2C communication since the sensor is controlled by the ISP and its own firmware. T

[PATCH 00/10] exynos4-is: Asynchronous subdev registration support

2013-08-09 Thread Sylwester Nawrocki
This patch series is a refactoring of the exynos4-is driver to get rid of the common fimc-is-sensor driver and to adapt it to use "standard" sensor subdev drivers, one per each image sensor type. Then a clock provider is added and the s5k6a3 subdev is modified to use one of the clocks exposed by th

Re: [PATCHv2 5/5] ARM: dts: Add dt binding documentation for exynos rotator

2013-08-09 Thread Tomasz Figa
On Friday 09 of August 2013 10:38:30 Stephen Warren wrote: > On 08/09/2013 07:15 AM, Tomasz Figa wrote: > > Hi Chanho, > > > > On Friday 09 of August 2013 16:40:53 Chanho Park wrote: > >> This patch describes each nodes of rotator and specifies a example how > >> to bind it. > >> > >> diff --git

Re: [PATCH v5 2/4] mmc: dw_mmc: Add exynos resume_noirq callback to clear WAKEUP_INT

2013-08-09 Thread Doug Anderson
Fabio, Thanks for your review. On Fri, Aug 9, 2013 at 9:41 AM, Fabio Estevam wrote: > On Fri, Aug 9, 2013 at 1:33 PM, Doug Anderson wrote: > >> +#else >> +#define dw_mci_exynos_suspend NULL >> +#define dw_mci_exynos_resume NULL >> +#define dw_mci_exynos_resume_noirq NULL

Re: [PATCH v5 2/4] mmc: dw_mmc: Add exynos resume_noirq callback to clear WAKEUP_INT

2013-08-09 Thread Fabio Estevam
On Fri, Aug 9, 2013 at 1:33 PM, Doug Anderson wrote: > +#else > +#define dw_mci_exynos_suspend NULL > +#define dw_mci_exynos_resume NULL > +#define dw_mci_exynos_resume_noirq NULL > +#endif /* CONFIG_PM_SLEEP */ You could avoid this else block if you use 'static SIMPLE_DEV

Re: [PATCHv2 5/5] ARM: dts: Add dt binding documentation for exynos rotator

2013-08-09 Thread Stephen Warren
On 08/09/2013 07:15 AM, Tomasz Figa wrote: > Hi Chanho, > > On Friday 09 of August 2013 16:40:53 Chanho Park wrote: >> This patch describes each nodes of rotator and specifies a example how to >> bind it. >> diff --git a/Documentation/devicetree/bindings/gpu/samsung-rotator.txt >> +* Samsung Ima

[PATCH v5 2/4] mmc: dw_mmc: Add exynos resume_noirq callback to clear WAKEUP_INT

2013-08-09 Thread Doug Anderson
If the WAKEUP_INT is asserted at wakeup and not cleared, we'll end up looping around forever. This has been seen to happen on exynos5420 silicon despite the fact that we haven't enabled any wakeup events due to a silicon errata. It is safe to do on all exynos variants. Signed-off-by: Doug Anders

[PATCH v5 0/4] mmc: dw_mmc: fixes for suspend/resume on exynos

2013-08-09 Thread Doug Anderson
This series of patches addresses some suspend/resume problems with dw_mmc on exynos platforms, espeically exynos5420. Since suspend/resume is not fully working on ToT Linux (v3.11-rc4) on exynos5250-snow, this series was tested against the current ToT ChromeOS 3.8 tree. I have confirmed basic boo

Re: [RFC PATCH] cpuidle: fix device->state_count handling

2013-08-09 Thread Daniel Lezcano
On 08/09/2013 01:59 PM, Bartlomiej Zolnierkiewicz wrote: > Use device->state_count instead of driver->state_count in > cpuidle_play_dead(), ladder_select_state() and menu_select(). > > This allows cpuidle drivers to override maximum allowable > state number for a given device, which is what some c

Re: dw_mmc: Does anyone use multiple slots?

2013-08-09 Thread Doug Anderson
Hi, On Thu, Aug 8, 2013 at 8:18 PM, Seungwon Jeon wrote: > On Fri, August 09, 2013, Chris Ball wrote: >> On Fri, Aug 09 2013, Olof Johansson wrote: >> > On Thu, Aug 8, 2013 at 5:16 PM, Doug Anderson wrote: >> > >> >> I guess my overall question is: if there are no actual implementations >> >> of

Re: [PATCH] cpufreq: fix EXYNOS drivers selection

2013-08-09 Thread Tomasz Figa
Hi Bart, On Friday 09 of August 2013 14:04:55 Bartlomiej Zolnierkiewicz wrote: > * remove superfluous pr_debug() call from exynos_cpufreq_init() > (init errors are always logged anyway) > * add dummy per-SoC type init functions to exynos-cpufreq.h > * make per-SoC type cpufreq config options sel

Re: [RFC PATCH] cpuidle: fix device->state_count handling

2013-08-09 Thread Tomasz Figa
Hi Bart, On Friday 09 of August 2013 13:59:27 Bartlomiej Zolnierkiewicz wrote: > Use device->state_count instead of driver->state_count in > cpuidle_play_dead(), ladder_select_state() and menu_select(). > > This allows cpuidle drivers to override maximum allowable > state number for a given devic

Re: [PATCH v4 2/4] mmc: dw_mmc: Add exynos resume_noirq callback to clear WAKEUP_INT

2013-08-09 Thread Doug Anderson
Seungwon, On Fri, Aug 9, 2013 at 6:33 AM, Seungwon Jeon wrote: > On Wed, August 07, 2013, Doug Anderson wrote: >> If the WAKEUP_INT is asserted at wakeup and not cleared, we'll end up >> looping around forever. This has been seen to happen on exynos5420 >> silicon despite the fact that we haven'

Re: [PATCH v9 07/16] iommu/exynos: support for device tree

2013-08-09 Thread Tomasz Figa
On Friday 09 of August 2013 08:28:09 Rob Herring wrote: > On Fri, Aug 9, 2013 at 1:37 AM, Cho KyongHo wrote: > > On Fri, 09 Aug 2013 00:41:25 +0200, Tomasz Figa wrote: > >> Hi KyongHo, > >> > >> On Thursday 08 of August 2013 18:38:49 Cho KyongHo wrote: > >> > This commit adds device tree support

Re: [PATCH] ARM: EXYNOS: always enable PM domains support for EXYNOS4x12

2013-08-09 Thread Tomasz Figa
Hi Bart, On Friday 09 of August 2013 13:56:05 Bartlomiej Zolnierkiewicz wrote: > Currently PM domains support will be enabled for EXYNOS4x12 SoCs > only if EXYNOS4210 SoC or EXYNOS5250 SoC support is also enabled. > > Fix it by explicitly selecting PM domains support (if PM support > is enabled)

RE: [PATCH v4 2/4] mmc: dw_mmc: Add exynos resume_noirq callback to clear WAKEUP_INT

2013-08-09 Thread Seungwon Jeon
On Wed, August 07, 2013, Doug Anderson wrote: > If the WAKEUP_INT is asserted at wakeup and not cleared, we'll end up > looping around forever. This has been seen to happen on exynos5420 > silicon despite the fact that we haven't enabled any wakeup events due > to a silicon errata. It is safe to

Re: [PATCH v9 07/16] iommu/exynos: support for device tree

2013-08-09 Thread Rob Herring
On Fri, Aug 9, 2013 at 1:37 AM, Cho KyongHo wrote: > On Fri, 09 Aug 2013 00:41:25 +0200, Tomasz Figa wrote: >> Hi KyongHo, >> >> On Thursday 08 of August 2013 18:38:49 Cho KyongHo wrote: >> > This commit adds device tree support for System MMU. >> > This also include the following changes and enha

Re: [PATCHv2 5/5] ARM: dts: Add dt binding documentation for exynos rotator

2013-08-09 Thread Tomasz Figa
Hi Chanho, On Friday 09 of August 2013 16:40:53 Chanho Park wrote: > This patch describes each nodes of rotator and specifies a example how to > bind it. > > Signed-off-by: Chanho Park > Cc: Thomas Abraham > Cc: Kukjin Kim > Cc: Inki Dae > Signed-off-by: Kyungmin Park > --- > .../devicetree

Re: [PATCHv2 2/5] ARM: dts: Add rotator node for exynos4210

2013-08-09 Thread Tomasz Figa
On Friday 09 of August 2013 16:40:50 Chanho Park wrote: > This patch adds a rotator node for exynos4210. The exynos4210 has > different limitation of image size compared with later chips. > > Signed-off-by: Chanho Park > Cc: Thomas Abraham > Cc: Kukjin Kim > Cc: Inki Dae > Signed-off-by: Kyung

Re: [PATCHv2 1/5] drm/exynos: add device tree support for rotator

2013-08-09 Thread Tomasz Figa
Hi Chanho, On Friday 09 of August 2013 16:40:49 Chanho Park wrote: > The exynos4 platform is only dt-based since 3.10, we should convert > driver data and ids to dt-based parsing methods. The rotator driver has > a limit table to get size limit of input picture. Each SoCs has slightly > different

[PATCH] cpufreq: fix EXYNOS drivers selection

2013-08-09 Thread Bartlomiej Zolnierkiewicz
* remove superfluous pr_debug() call from exynos_cpufreq_init() (init errors are always logged anyway) * add dummy per-SoC type init functions to exynos-cpufreq.h * make per-SoC type cpufreq config options selectable * make CONFIG_ARM_EXYNOS_CPUFREQ config option invisible to user and automatic

[RFC PATCH] cpuidle: fix device->state_count handling

2013-08-09 Thread Bartlomiej Zolnierkiewicz
Use device->state_count instead of driver->state_count in cpuidle_play_dead(), ladder_select_state() and menu_select(). This allows cpuidle drivers to override maximum allowable state number for a given device, which is what some cpuidle drivers would like to do (i.e. EXYNOS cpuidle driver). Sign

[PATCH] ARM: EXYNOS: always enable PM domains support for EXYNOS4x12

2013-08-09 Thread Bartlomiej Zolnierkiewicz
Currently PM domains support will be enabled for EXYNOS4x12 SoCs only if EXYNOS4210 SoC or EXYNOS5250 SoC support is also enabled. Fix it by explicitly selecting PM domains support (if PM support is enabled) by SOC_EXYNOS4212 and SOC_EXYNOS4412 config options. Signed-off-by: Bartlomiej Zolnierkie

Re: [PATCH] ARM: EXYNOS: Set 64-bit DMA mask for EXYNOS5250

2013-08-09 Thread Tushar Behera
On 9 August 2013 16:46, Russell King - ARM Linux wrote: > On Fri, Aug 09, 2013 at 04:41:57PM +0530, Tushar Behera wrote: >> On 9 August 2013 15:57, Russell King - ARM Linux >> wrote: >> > On Fri, Aug 09, 2013 at 03:35:14PM +0530, Tushar Behera wrote: >> >> When LPAE is enabled, we need to set 64

Re: [PATCH] ARM: EXYNOS: Set 64-bit DMA mask for EXYNOS5250

2013-08-09 Thread Russell King - ARM Linux
On Fri, Aug 09, 2013 at 04:41:57PM +0530, Tushar Behera wrote: > On 9 August 2013 15:57, Russell King - ARM Linux > wrote: > > On Fri, Aug 09, 2013 at 03:35:14PM +0530, Tushar Behera wrote: > >> When LPAE is enabled, we need to set 64bit DMA mask bits. > > > > *Please* check the list archives. I

[PATCH-RESEND 1/2] dma: pl330: split off common code to give back descriptors

2013-08-09 Thread Chanho Park
This patch adds __pl330_giveback_descs which give back descriptors when fails allocating descriptors. It requires to eliminate duplication for pl330_prep_dma_sg which will be added later. Signed-off-by: Chanho Park Acked-by : Jassi Brar Signed-off-by: Kyungmin Park --- drivers/dma/pl330.c |

Re: [PATCH] ARM: EXYNOS: Set 64-bit DMA mask for EXYNOS5250

2013-08-09 Thread Tushar Behera
On 9 August 2013 15:57, Russell King - ARM Linux wrote: > On Fri, Aug 09, 2013 at 03:35:14PM +0530, Tushar Behera wrote: >> When LPAE is enabled, we need to set 64bit DMA mask bits. > > *Please* check the list archives. I sent during the last 7 days a patch > series which should address this prob

[PATCH-RESEND 2/2] dma: pl330: add pl330_prep_dma_sg to transfer from sglist to sglist

2013-08-09 Thread Chanho Park
This patch adds prep_dma_sg function to transfer memory to memory which mapped in scatter/gather list. The patch move get_burst_len to upwards to call in the __pl330_prep_dma_mecpy. Some duplicated code was splitted off from prep_dma_memcpy. Signed-off-by: Chanho Park Acked-by : Jassi Brar Signe

[PATCH-RESEND 0/2] Support device_prep_dma_sg for pl330

2013-08-09 Thread Chanho Park
This patchset support device_prep_dma_sg functionality for pl330 dmaengine driver. The prep_dma_sg function prepares descriptors to transfer between src and dest memory which consists of scatter/gather list. The patchset contains code clean-up to eliminate duplications. Chanho Park (2): dma: pl3

[PATCH-RESEND] ARM: dts: Add arm-pmu node for exynos4412

2013-08-09 Thread Chanho Park
The Exynos4412 has 4 cpus and each has a performance counter. Thus, we should define 4 interrupts which are combined by irq-combiner for arm pmu. Signed-off-by: Chanho Park Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos4412.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --

RE: [PATCHv2 1/5] drm/exynos: add device tree support for rotator

2013-08-09 Thread Chanho Park
Hi Sachin, > -Original Message- > From: Sachin Kamat [mailto:sachin.ka...@linaro.org] > Sent: Friday, August 09, 2013 6:49 PM > To: Chanho Park > Cc: inki@samsung.com; kgene@samsung.com; dri- > de...@lists.freedesktop.org; kyungmin.p...@samsung.com; > mark.rutl...@arm.com; l.st...@

Re: [PATCH] ARM: EXYNOS: Set 64-bit DMA mask for EXYNOS5250

2013-08-09 Thread Russell King - ARM Linux
On Fri, Aug 09, 2013 at 03:35:14PM +0530, Tushar Behera wrote: > When LPAE is enabled, we need to set 64bit DMA mask bits. *Please* check the list archives. I sent during the last 7 days a patch series which should address this problem. Unfortunately, it seems almost no one has looked at it. --

RE: [PATCHv2 5/5] ARM: dts: Add dt binding documentation for exynos rotator

2013-08-09 Thread Chanho Park
Hi Sachin, > -Original Message- > From: Sachin Kamat [mailto:sachin.ka...@linaro.org] > Sent: Friday, August 09, 2013 6:40 PM > To: Chanho Park > Cc: inki@samsung.com; kgene@samsung.com; dri- > de...@lists.freedesktop.org; kyungmin.p...@samsung.com; > mark.rutl...@arm.com; l.st...@

[PATCH] ARM: EXYNOS: Set 64-bit DMA mask for EXYNOS5250

2013-08-09 Thread Tushar Behera
When LPAE is enabled, we need to set 64bit DMA mask bits. Signed-off-by: Tushar Behera --- Based on v3.11-rc4. arch/arm/mach-exynos/mach-exynos5-dt.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach-exynos/

Re: [PATCHv2 1/5] drm/exynos: add device tree support for rotator

2013-08-09 Thread Sachin Kamat
Hi Chanho, On 9 August 2013 13:10, Chanho Park wrote: > The exynos4 platform is only dt-based since 3.10, we should convert driver > data > and ids to dt-based parsing methods. The rotator driver has a limit table to > get > size limit of input picture. Each SoCs has slightly different limit va

Re: [PATCHv2 5/5] ARM: dts: Add dt binding documentation for exynos rotator

2013-08-09 Thread Sachin Kamat
Hi Chanho, On 9 August 2013 13:10, Chanho Park wrote: > This patch describes each nodes of rotator and specifies a example how to bind > it. > > Signed-off-by: Chanho Park > Cc: Thomas Abraham > Cc: Kukjin Kim > Cc: Inki Dae > Signed-off-by: Kyungmin Park > --- > .../devicetree/bindings/gpu

Re: [PATCH v9 04/16] iommu/exynos: allocate lv2 page table from own slab

2013-08-09 Thread Tomasz Figa
On Friday 09 of August 2013 17:51:56 Cho KyongHo wrote: > On Fri, 09 Aug 2013 09:55:30 +0200, Tomasz Figa wrote: > > Hi KyongHo, > > > > On Friday 09 of August 2013 14:58:49 Cho KyongHo wrote: > > > On Thu, 08 Aug 2013 16:00:18 +0200, Tomasz Figa wrote: > > > > On Thursday 08 of August 2013 18:38:

Re: [PATCH v9 06/16] ARM: dts: Add description of System MMU of Exynos SoCs

2013-08-09 Thread Cho KyongHo
On Fri, 09 Aug 2013 10:04:03 +0200, Tomasz Figa wrote: > On Friday 09 of August 2013 15:15:57 Cho KyongHo wrote: > > On Fri, 09 Aug 2013 00:26:51 +0200, Tomasz Figa wrote: > > > Hi KyongHo, > > > > > > On Thursday 08 of August 2013 18:38:35 Cho KyongHo wrote: > > > > Signed-off-by: Cho KyongHo >

Re: [PATCH v9 04/16] iommu/exynos: allocate lv2 page table from own slab

2013-08-09 Thread Cho KyongHo
On Fri, 09 Aug 2013 09:55:30 +0200, Tomasz Figa wrote: > Hi KyongHo, > > On Friday 09 of August 2013 14:58:49 Cho KyongHo wrote: > > On Thu, 08 Aug 2013 16:00:18 +0200, Tomasz Figa wrote: > > > On Thursday 08 of August 2013 18:38:04 Cho KyongHo wrote: > > > > Since kmalloc() does not guarantee tha

Re: [PATCH v9 03/16] iommu/exynos: fix page table maintenance

2013-08-09 Thread Cho KyongHo
On Fri, 09 Aug 2013 09:47:28 +0200, Tomasz Figa wrote: > Hi KyongHo, > > On Friday 09 of August 2013 13:15:20 Cho KyongHo wrote: > > On Thu, 08 Aug 2013 15:54:50 +0200, Tomasz Figa wrote: > > > On Thursday 08 of August 2013 18:37:43 Cho KyongHo wrote: > > > > This prevents allocating lv2 page tabl

Re: [PATCH v9 14/16] iommu/exynos: add support for power management subsystems.

2013-08-09 Thread Tomasz Figa
On Friday 09 of August 2013 16:49:43 Cho KyongHo wrote: > On Fri, 09 Aug 2013 01:03:05 +0200, Tomasz Figa wrote: > > Hi KyongHo, > > > > nit: Please drop the trailing dot at the end of patch subject. > > Oh. I didn't catch that. > Thank you. > > > On Thursday 08 of August 2013 18:41:17 Cho Kyong

Re: [PATCH v9 07/16] iommu/exynos: support for device tree

2013-08-09 Thread Tomasz Figa
On Friday 09 of August 2013 15:37:30 Cho KyongHo wrote: > On Fri, 09 Aug 2013 00:41:25 +0200, Tomasz Figa wrote: > > Hi KyongHo, > > > > On Thursday 08 of August 2013 18:38:49 Cho KyongHo wrote: > > > This commit adds device tree support for System MMU. > > > This also include the following change

Re: [PATCH v9 06/16] ARM: dts: Add description of System MMU of Exynos SoCs

2013-08-09 Thread Tomasz Figa
On Friday 09 of August 2013 15:15:57 Cho KyongHo wrote: > On Fri, 09 Aug 2013 00:26:51 +0200, Tomasz Figa wrote: > > Hi KyongHo, > > > > On Thursday 08 of August 2013 18:38:35 Cho KyongHo wrote: > > > Signed-off-by: Cho KyongHo > > > --- > > > > > > .../bindings/iommu/samsung,exynos4210-sysmmu.

Re: [PATCH v9 04/16] iommu/exynos: allocate lv2 page table from own slab

2013-08-09 Thread Tomasz Figa
Hi KyongHo, On Friday 09 of August 2013 14:58:49 Cho KyongHo wrote: > On Thu, 08 Aug 2013 16:00:18 +0200, Tomasz Figa wrote: > > On Thursday 08 of August 2013 18:38:04 Cho KyongHo wrote: > > > Since kmalloc() does not guarantee that the allignment of 1KiB when > > > it > > > allocates 1KiB, it is

Re: [PATCH v9 00/16] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2013-08-09 Thread Tomasz Figa
Hi KyongHo, On Friday 09 of August 2013 10:00:16 Cho KyongHo wrote: > On Thu, 08 Aug 2013 14:13:57 +0200, Tomasz Figa wrote: > > Hi KyongHo, > > > > Just a little hint for future: > > > > To make reviewing your patches easier, please send all patches (01 and > > further) as a follow up (reply) t

Re: [PATCH v9 14/16] iommu/exynos: add support for power management subsystems.

2013-08-09 Thread Cho KyongHo
On Fri, 09 Aug 2013 01:03:05 +0200, Tomasz Figa wrote: > Hi KyongHo, > > nit: Please drop the trailing dot at the end of patch subject. > Oh. I didn't catch that. Thank you. > On Thursday 08 of August 2013 18:41:17 Cho KyongHo wrote: > > This adds support for Advance Power Management and Runtim

Re: [PATCH v9 03/16] iommu/exynos: fix page table maintenance

2013-08-09 Thread Tomasz Figa
Hi KyongHo, On Friday 09 of August 2013 13:15:20 Cho KyongHo wrote: > On Thu, 08 Aug 2013 15:54:50 +0200, Tomasz Figa wrote: > > On Thursday 08 of August 2013 18:37:43 Cho KyongHo wrote: > > > This prevents allocating lv2 page table for the lv1 page table entry > > > > > ^ What this is this thi

Re: [PATCH v9 08/16] iommu/exynos: gating clocks of master H/W

2013-08-09 Thread Cho KyongHo
On Fri, 09 Aug 2013 00:45:17 +0200, Tomasz Figa wrote: > Hi KyongHo, > > On Thursday 08 of August 2013 18:39:05 Cho KyongHo wrote: > > This patch gates clocks of master H/W as well as clocks of System MMU > > if master clocks are specified. > > > > Some Exynos SoCs (i.e. GScalers in Exynos5250) h

[PATCHv2 5/5] ARM: dts: Add dt binding documentation for exynos rotator

2013-08-09 Thread Chanho Park
This patch describes each nodes of rotator and specifies a example how to bind it. Signed-off-by: Chanho Park Cc: Thomas Abraham Cc: Kukjin Kim Cc: Inki Dae Signed-off-by: Kyungmin Park --- .../devicetree/bindings/gpu/samsung-rotator.txt| 26 1 file changed, 26 ins

[PATCHv2 4/5] ARM: dts: Add rotator node for exynos5250

2013-08-09 Thread Chanho Park
This patch adds a rotator node for exynos5250. It has different align value of image size compared with any other chips. So, we should define new compatible for the exynos5250. Signed-off-by: Chanho Park Cc: Thomas Abraham Cc: Kukjin Kim Cc: Inki Dae Signed-off-by: Kyungmin Park --- arch/arm

[PATCHv2 0/5] device tree support for exynos rotator

2013-08-09 Thread Chanho Park
This patchset includes device tree support for rotator of exynos4210/4x12/5250. Unfortunately, each of them has slightly different limitations of image size. The rotator can support several image formats(RGB888/555, YCbCr422/420_2/3p). For convinience, however, exynos drm rotator driver only suppor

[PATCHv2 1/5] drm/exynos: add device tree support for rotator

2013-08-09 Thread Chanho Park
The exynos4 platform is only dt-based since 3.10, we should convert driver data and ids to dt-based parsing methods. The rotator driver has a limit table to get size limit of input picture. Each SoCs has slightly different limit value compared with any others. For example, exynos4210's max_size of

[PATCHv2 3/5] ARM: dts: Add rotator node for exynos4x12

2013-08-09 Thread Chanho Park
This patch adds a rotator node for exynos4212 and 4412. These have different limitation of image size compared with the exynos4210. So, we should define new compatible to distinguish it from the exynos4210. Signed-off-by: Chanho Park Cc: Thomas Abraham Cc: Kukjin Kim Cc: Inki Dae Signed-off-by

[PATCHv2 2/5] ARM: dts: Add rotator node for exynos4210

2013-08-09 Thread Chanho Park
This patch adds a rotator node for exynos4210. The exynos4210 has different limitation of image size compared with later chips. Signed-off-by: Chanho Park Cc: Thomas Abraham Cc: Kukjin Kim Cc: Inki Dae Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos4.dtsi |9 + 1 file c