Re: [PATCH] ARM: EXYNOS: Add platform resource definitions for FIMC-LITE

2012-05-10 Thread Sylwester Nawrocki
On 05/10/2012 11:56 AM, Kukjin Kim wrote: Should I resend the patch or could you remove and Exynos5 SoCs from the description ? I see, let me fix it when I apply this. Thanks. Alright, thanks a lot. -- Sylwester Nawrocki Samsung Poland RD Center -- To unsubscribe from this list: send

Re: [PATCHv2 0/3] Add support for DRM display subsystem

2012-05-10 Thread Sylwester Nawrocki
On 05/10/2012 11:36 AM, Kukjin Kim wrote: Note that I have a plan to replace board files with DT supporting in mach-exynos/ next time. What is the purpose of one side decisions like this ? I find it really annoying. We have been building those board files through multiple kernel releases, it

Re: [PATCH 1/2] ARM: EXYYNOS: Use EXYNOS4210_GPEx instead of EXYNOS4_GPEx

2012-05-18 Thread Sylwester Nawrocki
name. Signed-off-by: Joonyoung Shimjy0922.s...@samsung.com Signed-off-by: Kyungmin Parkkyungmin.p...@samsung.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com Tested-by: Sylwester Nawrocki s.nawro...@samsung.com -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc

Re: [PATCH 2/2] gpio/exynos: Add support for Exynos4x12 SoC

2012-05-18 Thread Sylwester Nawrocki
Shimjy0922.s...@samsung.com Signed-off-by: Kyungmin Parkkyungmin.p...@samsung.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com Tested-by: Sylwester Nawrocki s.nawro...@samsung.com -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message

Re: [PATCH 1/2] ARM: EXYYNOS: Use EXYNOS4210_GPEx instead of EXYNOS4_GPEx

2012-05-18 Thread Sylwester Nawrocki
On 05/18/2012 04:53 AM, Joonyoung Shim wrote: Add to cc Grant Likely and Linus Walleij On 05/18/2012 11:18 AM, Joonyoung Shim wrote: Also use EXYNOS4210_GPIO_Ex instead of EXYNOS4_GPIO_Ex. The GPEx gpios exist only on Exynos4210 and there are no on Exynos4x12. Redefine them to exact SoC

[RFC/PATCH 0/13] Add device tree support for s5p-fimc SoC camera host interface driver

2012-05-25 Thread Sylwester Nawrocki
Hi All, This patch series adds device tree support for Samsung S5P/Exynos SoC camera devices - camera host interface (FIMC), MIPI-CSI2 receiver (a frontend to FIMC) and S5K6AA image sensor. It also defines common data-lanes property for MIPI-CSI2 receivers and transmitters, as well as

[RFC/PATCH 01/13] ARM: Samsung: Extend MIPI PHY callback with an index argument

2012-05-25 Thread Sylwester Nawrocki
For systems instantiated from device tree struct platform_device id field is always -1, add an 'id' argument to the s5p_csis_phy_enable() function so the MIPI-CSIS hardware instance index can be passed in by driver, for CONFIG_OF=y. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed

[RFC/PATCH 13/13] media: s5p-fimc: Add parallel video port pin configuration

2012-05-25 Thread Sylwester Nawrocki
This patch adds parsing of 'samsung,fimc-camport-a-gpios' and 'samsung,fimc-camport-b-gpios' properties from 'camera' node and configuration of camera parallel port pins. It can be in future replaced with equivalent pinctrl API calls. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com

[RFC/PATCH 11/13] media: s5p-fimc: Keep local copy of sensors platform data

2012-05-25 Thread Sylwester Nawrocki
Use a copy of sensor platform data structure, rather than referencing external platform data from the driver. This allows to fill the local copy with values parsed from device tree when needed. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p

[RFC/PATCH 12/13] media: s5p-fimc: Add device tree based sensors registration

2012-05-25 Thread Sylwester Nawrocki
) contains 'clock-frequency' and 'video-bus-type' properties. These properties allow the host controller to switch to proper video bus and set proper master clock frequency for a sensor. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- We

[PATCH 14/14] s5p-fimc: Add FIMC and MIPI-CSIS devices to CAM power domain

2012-05-25 Thread Sylwester Nawrocki
From: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com Signed-off-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com --- drivers/media/video/s5p-fimc/fimc-core.c | 15 +++ drivers/media/video/s5p-fimc/mipi-csis.c | 15

[RFC/PATCH 06/13] media: s5p-fimc: Add device tree support for FIMC-LITE

2012-05-25 Thread Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- .../bindings/camera/soc/samsung-fimc.txt | 15 drivers/media/video/s5p-fimc/fimc-lite.c | 73 ++-- 2 files changed, 67 insertions(+), 21

[RFC/PATCH 10/13] ARM: dts: Add camera devices to exynos4210-nuri.dts

2012-05-25 Thread Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/boot/dts/exynos4210-nuri.dts | 54 + 1 file changed, 54 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210-nuri.dts b/arch/arm/boot

[RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-05-25 Thread Sylwester Nawrocki
The driver initializes all board related properties except the s_power() callback to board code. The platforms that require this callback are not supported by this driver yet for CONFIG_OF=y. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Bartlomiej Zolnierkiewicz

[RFC/PATCH 08/13] ARM: dts: Add FIMC and MIPI-CSIS devices to Exynos4210 DT source

2012-05-25 Thread Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/boot/dts/exynos4210-origen.dts | 28 +++ arch/arm/boot/dts/exynos4210-smdkv310.dts | 28 +++ arch/arm/boot/dts/exynos4210.dtsi | 54

[RFC/PATCH 04/13] devicetree: Add common video devices bindings documentation

2012-05-25 Thread Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Documentation/devicetree/bindings/video/video.txt | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 Documentation/devicetree/bindings/video/video.txt diff

[RFC/PATCH 07/13] media: s5p-fimc: Enable device tree based media device instantiation

2012-05-25 Thread Sylwester Nawrocki
Enable device tree based instantiation of the common platform device associated with the top level media device driver. Handling of the image sensor related properties, like video port pins configuration, is not included in this patch. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com

[RFC/PATCH 03/13] ARM: Samsung: Remove unused fields from FIMC and CSIS platform data

2012-05-25 Thread Sylwester Nawrocki
The MIPI-CSI2 bus data alignment is now being derived from the media bus pixel code, the drivers don't use the corresponding structure fields, so remove them. Also remove the s5p_csis_phy_enable callback which is now used directly by s5p-csis driver. Signed-off-by: Sylwester Nawrocki s.nawro

[RFC/PATCH 02/13] media: s5p-csis: Add device tree support

2012-05-25 Thread Sylwester Nawrocki
the device topology in user space at /dev/media? devnode (Media Controller API). This patch also defines a common property (data-lanes) for MIPI-CSI receivers and transmitters. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com

[RFC/PATCH 05/13] media: s5p-fimc: Add device tree support for FIMC devices

2012-05-25 Thread Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Karol Lewandowski k.lewando...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- .../bindings/camera/soc/samsung-fimc.txt | 66 drivers/media/video/s5p-fimc/fimc-capture.c|2

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

2012-06-30 Thread Sylwester Nawrocki
GPIO driver we're going to have three distinct GPIO APIs. Let's avoid this and drop the s3c24xx_gpio_* functions, which have been scheduled for removal since about v2.6.35. Additionally this changeset includes two minor fixes, for AC97 clock and CAMIF interrupts. Sylwester Nawrocki (10): ARM

[PATCH 01/10] ARM: S3C24XX: Free the backlight gpio requested in Mini2440 board code

2012-06-30 Thread Sylwester Nawrocki
. Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- arch/arm/mach-s3c24xx/mach-mini2440.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-s3c24xx/mach-mini2440.c b/arch/arm/mach-s3c24xx/mach-mini2440.c index f092b18..bd6d252 100644 --- a/arch/arm

[PATCH 02/10] ARM: S3C24XX: Convert SMDK board file to the gpiolib API

2012-06-30 Thread Sylwester Nawrocki
Replace SoC specific GPIO functions with the gpiolib API. The LED gpios are freed right after they are initially configured so they can be acquired in the s3c24xx_led driver. This change is required for converting the s3c24xx_led driver to the gpiolib API. Signed-off-by: Sylwester Nawrocki

[PATCH 03/10] ARM: S3C24XX: Convert QT2410 board file to the gpiolib API

2012-06-30 Thread Sylwester Nawrocki
Replace SoC specific GPIO functions with the gpiolib API. The LED gpio is freed right after it is configured so it can be acquired in the s3c24xx_led driver. This change is required for converting the s3c24xx_led driver to the gpiolib API. Cc: lafo...@openmoko.org Signed-off-by: Sylwester

[PATCH 04/10] ARM: S3C24XX: Convert the PM code to gpiolib API

2012-06-30 Thread Sylwester Nawrocki
Replace deprecated functions with the gpiolib ones. Cc: ben-li...@fluff.org Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- arch/arm/mach-s3c24xx/pm-s3c2410.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-s3c24xx/pm-s3c2410.c

[PATCH 05/10] ARM: S3C24XX: Convert the touchscreen setup code to common GPIO API

2012-06-30 Thread Sylwester Nawrocki
Replace the S3C24XX SoC specific calls with the common gpiolib API. This removes one more user of an obsolete GPIO API. Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- Tested on Micro2440-SDK. --- arch/arm/mach-s3c24xx/setup-ts.c |6 +- 1 files changed, 1 insertions

[PATCH 07/10] ARM: S3C24XX: Remove unused GPIO definitions for port J

2012-06-30 Thread Sylwester Nawrocki
of the gpio-samsung driver by PM code. Switching GPJ port to camera function can be done for example with: s3c_gpio_cfgall_range(S3C2410_GPJ(0), 13, S3C_GPIO_SFN(2), S3C_GPIO_PULL_NONE); Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- arch/arm/mach-s3c24xx/include/mach/regs-gpio.h

[PATCH 08/10] ARM: S3C24XX: Remove unused GPIO definitions for Openmoko GTA02 board

2012-06-30 Thread Sylwester Nawrocki
mach-s3c24xx/include/mach/gta02.h header file contains defines which are now not used anywhere, remove them. Cc: Nelson Castillo arhu...@freaks-unidos.net Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- arch/arm/mach-s3c24xx/include/mach/gta02.h | 69

[PATCH 09/10] ARM: S3C24XX: Correct AC97 clock control bit for S3C2440

2012-06-30 Thread Sylwester Nawrocki
Use correct gate control bit for AC97 clock which is S3C2440_CLKCON_AC97, not S3C2440_CLKCON_CAMERA. Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- arch/arm/mach-s3c24xx/clock-s3c2440.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach

[PATCH 10/10] ARM: S3C24XX: Correct CAMIF interrupt definitions

2012-06-30 Thread Sylwester Nawrocki
. Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- arch/arm/plat-samsung/devs.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c index 1d214cb..6303974 100644 --- a/arch/arm/plat-samsung/devs.c

[PATCH] mmc: Convert s3cmci driver to gpiolib API

2012-06-30 Thread Sylwester Nawrocki
Dooks ben-li...@fluff.org Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- drivers/mmc/host/s3cmci.c | 10 +++--- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c index c3622a6..bd5a5cc 100644 --- a/drivers

[PATCH 1/2] leds: Convert S3C24XX LED driver to devm_kzalloc()

2012-06-30 Thread Sylwester Nawrocki
Use the device managed resource API for simplifying the error/driver remove paths. Cc: Ben Dooks ben-li...@fluff.org Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- drivers/leds/leds-s3c24xx.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git

[PATCH 2/2] leds: Convert S3C24XX LED driver to gpiolib API

2012-06-30 Thread Sylwester Nawrocki
-samsung/include/gpio-fns.h header. Tested on Micro2440-SDK. Cc: Ben Dooks ben-li...@fluff.org Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- drivers/leds/leds-s3c24xx.c | 34 -- 1 files changed, 20 insertions(+), 14 deletions(-) diff --git

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

2012-06-30 Thread Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- sound/soc/samsung/s3c24xx-i2s.c | 10 +++--- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/sound/soc/samsung/s3c24xx-i2s.c b/sound/soc/samsung/s3c24xx-i2s.c index c4aa4d4..0aae3a3 100644 --- a/sound/soc/samsung

[PATCH 2/2] ASoC: Convert S3C2412 I2S driver to gpiolib API

2012-06-30 Thread Sylwester Nawrocki
ben-li...@fluff.org Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- sound/soc/samsung/s3c2412-i2s.c | 10 +++--- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/sound/soc/samsung/s3c2412-i2s.c b/sound/soc/samsung/s3c2412-i2s.c index 79fbeea..ac7701b 100644

Re: [PATCH 2/2] leds: Convert S3C24XX LED driver to gpiolib API

2012-07-02 Thread Sylwester Nawrocki
Hi, On 07/02/2012 05:35 AM, Bryan Wu wrote: On Sat, Jun 30, 2012 at 8:30 PM, Sylwester Nawrocki sylvester.nawro...@gmail.com wrote: The s3c2410_gpio* calls are obsolete and have been scheduled for removal since several kernel releases. Remove them and use common gpiolib API instead

Re: [PATCH 2/2] leds: Convert S3C24XX LED driver to gpiolib API

2012-07-03 Thread Sylwester Nawrocki
On 07/03/2012 04:30 AM, Bryan Wu wrote: ... Overall, these 2 patches are good. I'm just curious why not we just use generic led-gpio driver to replace this one. Thank you for the suggestion, I wasn't really aware of generic leds-gpio driver... This could be nice optimization. However my

Re: [PATCH 1/2] spi/s3c64xx: Convert to devm_request_and_ioremap()

2012-07-05 Thread Sylwester Nawrocki
On 07/04/2012 06:11 PM, Mark Brown wrote: Saves some error handling and a small amount of code. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com Acked-by: Linus Walleij linus.wall...@linaro.org --- drivers/spi/spi-s3c64xx.c | 25 + 1 file changed, 1

Re: [PATCH] spi/s3c64xx: Convert to devm_request_and_ioremap()

2012-07-05 Thread Sylwester Nawrocki
Hi, On 07/05/2012 02:33 PM, Mark Brown wrote: Saves some error handling and a small amount of code. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com Acked-by: Linus Walleij linus.wall...@linaro.org Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com -- Regards, Sylwester

Re: [PATCH 2/2] ARM: EXYNOS5: Add gscalar device from DT

2012-07-06 Thread Sylwester Nawrocki
Hi Shaik, On 07/06/2012 02:45 PM, Shaik Ameer Basha wrote: Adding all 4 gscalar devices from DT device list in machine file. nit: s/gscalar/gscaler The above sentence doesn't quite parse though. Signed-off-by: Abhilash Kesavana.kesa...@samsung.com Signed-off-by: Leela Krishna

Re: [PATCH 2/2] ARM: EXYNOS5: Add gscalar device from DT

2012-07-11 Thread Sylwester Nawrocki
Hi Shaik, On 07/11/2012 03:06 PM, AMEER BASHA SHAIK wrote: diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 4272b29..b945c00 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -23,6 +23,13 @@ compatible

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 arch/arm/plat-samsung

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: [PATCH 1/2] ASoC: Convert S3C24XX I2S driver to gpiolib API

2012-07-13 Thread Sylwester Nawrocki
On 07/13/2012 04:28 PM, Mark Brown wrote: On Thu, Jul 12, 2012 at 08:09:09PM +0200, Sylwester Nawrocki wrote: Thanks, would that be Takashi Iwai and Jaroslav Kysela then ? I just want to get it right this time... Or perhaps could you take care of them ? As with everything else look

Re: [PATCH v2] ARM: EXYNOS: Add touchscreen support to SMDK4X12

2012-07-16 Thread Sylwester Nawrocki
Hi Sachin, On 07/16/2012 08:42 AM, Sachin Kamat wrote: Pixcir touchscreen device support is added to SMDK4X12 boards. Signed-off-by: Sachin Kamatsachin.ka...@linaro.org --- This patch is based on Kukjin Kim's latest for-next branch. Changes since v1: Incorporated Kukjin's review comments

Re: [RFC/PATCH 02/13] media: s5p-csis: Add device tree support

2012-07-17 Thread Sylwester Nawrocki
with other subsystems folks, like ASoC, for example, might be a good idea. I'm not sure if I'll be travelling to the KS though. :) On Fri, 25 May 2012, Sylwester Nawrocki wrote: s5p-csis is platform device driver for MIPI-CSI frontend to the FIMC (camera host interface DMA engine and image

Re: [RFC/PATCH 05/13] media: s5p-fimc: Add device tree support for FIMC devices

2012-07-17 Thread Sylwester Nawrocki
On 07/16/2012 11:13 AM, Guennadi Liakhovetski wrote: On Fri, 25 May 2012, Sylwester Nawrocki wrote: Signed-off-by: Sylwester Nawrockis.nawro...@samsung.com Signed-off-by: Karol Lewandowskik.lewando...@samsung.com Signed-off-by: Kyungmin Parkkyungmin.p...@samsung.com From

Re: [RFC/PATCH 04/13] devicetree: Add common video devices bindings documentation

2012-07-18 Thread Sylwester Nawrocki
Hi Guennadi, On 07/16/2012 11:09 AM, Guennadi Liakhovetski wrote: On Fri, 25 May 2012, Sylwester Nawrocki wrote: Signed-off-by: Sylwester Nawrockis.nawro...@samsung.com Signed-off-by: Kyungmin Parkkyungmin.p...@samsung.com --- Documentation/devicetree/bindings/video/video.txt | 10

Re: [RFC/PATCH 12/13] media: s5p-fimc: Add device tree based sensors registration

2012-07-18 Thread Sylwester Nawrocki
On 07/16/2012 11:51 AM, Guennadi Liakhovetski wrote: [...] diff --git a/Documentation/devicetree/bindings/camera/soc/samsung-fimc.txt b/Documentation/devicetree/bindings/camera/soc/samsung-fimc.txt index b459da2..ffe09ac 100644 --- a/Documentation/devicetree/bindings/camera/soc/samsung-fimc.txt

Re: [RFC/PATCH 06/13] media: s5p-fimc: Add device tree support for FIMC-LITE

2012-07-18 Thread Sylwester Nawrocki
Hi Guennadi, On 07/18/2012 09:57 AM, Guennadi Liakhovetski wrote: On Tue, 17 Jul 2012, Sylwester Nawrocki wrote: On 07/16/2012 11:15 AM, Guennadi Liakhovetski wrote: --- a/Documentation/devicetree/bindings/camera/soc/samsung-fimc.txt +++ b/Documentation/devicetree/bindings/camera/soc/samsung

Re: [RFC/PATCH 05/13] media: s5p-fimc: Add device tree support for FIMC devices

2012-07-18 Thread Sylwester Nawrocki
On 07/18/2012 10:17 AM, Guennadi Liakhovetski wrote: On Tue, 17 Jul 2012, Sylwester Nawrocki wrote: On 07/16/2012 11:13 AM, Guennadi Liakhovetski wrote: On Fri, 25 May 2012, Sylwester Nawrocki wrote: Signed-off-by: Sylwester Nawrockis.nawro...@samsung.com Signed-off-by: Karol

Re: [PATCH V2 1/7] ARM: SAMSUNG: add additional registers and SFR definitions for writeback

2012-07-20 Thread Sylwester Nawrocki
On 07/20/2012 04:59 AM, Leela Krishna Amudala wrote: --- a/arch/arm/plat-samsung/include/plat/regs-fb-v4.h +++ b/arch/arm/plat-samsung/include/plat/regs-fb-v4.h @@ -30,9 +30,16 @@ #define VIDCON1_FSTATUS_EVEN (1 15) /* Video timing controls */ +#ifdef CONFIG_FB_EXYNOS_FIMD_V8

Re: [PATCH V2 1/7] ARM: SAMSUNG: add additional registers and SFR definitions for writeback

2012-07-20 Thread Sylwester Nawrocki
On 07/20/2012 01:07 PM, Leela Krishna Amudala wrote: Will do the run-time approach, and post the next version patchset soon. Great, thanks. -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH V2 6/7] ARM: EXYNOS5: Add the bus clock for FIMD

2012-07-24 Thread Sylwester Nawrocki
Hi, On 07/24/2012 06:02 AM, Jingoo Han wrote: I wonder fimd clock has any dependency with DP FIMD pixel clock is necessary to enable DP. So then, i think DP driver also should control FIMD pixel clock. Do you have any patch or plan for it? Um, I don't think so. Because, DP cannot work by

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-26 Thread Sylwester Nawrocki
Hi Laurent, On 07/26/2012 05:21 PM, Laurent Pinchart wrote: On Friday 25 May 2012 21:52:48 Sylwester Nawrocki wrote: The driver initializes all board related properties except the s_power() callback to board code. The platforms that require this callback are not supported by this driver yet

Re: [PATCH 1/3] Move FIMD register headers to include/video/

2012-07-30 Thread Sylwester Nawrocki
Hi, On 07/30/2012 10:45 AM, Leela Krishna Amudala wrote: Moved the contents of regs-fb-v4.h and regs-fb.h from arch side to include/video/samsung_fimd.h Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com --- arch/arm/plat-samsung/include/plat/regs-fb-v4.h | 159 ---

Re: [PATCH 1/3] Move FIMD register headers to include/video/

2012-07-30 Thread Sylwester Nawrocki
Hi, On 07/30/2012 10:53 AM, Jingoo Han wrote: +/*FIMD V8 REG OFFSET */ +#define FIMD_V8_VIDTCON0(0x20010) +#define FIMD_V8_VIDTCON1(0x20014) +#define FIMD_V8_VIDTCON2(0x20018) +#define FIMD_V8_VIDTCON3(0x2001C) +#define FIMD_V8_VIDCON1 (0x20004) CC'ed Marek.

Re: [RFC/PATCH 05/13] media: s5p-fimc: Add device tree support for FIMC devices

2012-07-30 Thread Sylwester Nawrocki
Hi Laurent, On 07/26/2012 04:54 PM, Laurent Pinchart wrote: On Wednesday 18 July 2012 21:53:34 Sylwester Nawrocki wrote: I think we need a one combined RFC and continue discussions in one thread. Agreed. Still, our proposals are quite different, but I believe we need something in between

Re: [RFC/PATCH 02/13] media: s5p-csis: Add device tree support

2012-07-31 Thread Sylwester Nawrocki
On 07/31/2012 01:05 PM, Laurent Pinchart wrote: What about CSI receivers that can reroute the lanes internally ? We would need to specify lane indices for each lane then, maybe with something like clock-lane =0; data-lanes =2 3 1; Sounds good to me. And the clock-lane could be made

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Sylwester Nawrocki
On 07/31/2012 02:26 PM, Guennadi Liakhovetski wrote: But should we allow host probe() to succeed if the sensor isn't present ? I think we should, yes. The host hardware is there and functional - whether or not all or some of the clients are failing. Theoretically clients can also be

Re: [PATCH V2 2/5] include/video: Add Exynos5 specific FIMD register offsets

2012-07-31 Thread Sylwester Nawrocki
Hi, On 07/31/2012 02:51 PM, Sergei Shtylyov wrote: +/*EXYNOS5 FIMD REG OFFSET */ How about changing it to, e.g. /* EXYNOS5 specific register offset definitions */ (but just in case you happen to resend this patch series) +#define EXYNOS5_VIDTCON0(0x20010) +#define EXYNOS5_VIDTCON1

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Sylwester Nawrocki
On 07/31/2012 02:59 PM, Guennadi Liakhovetski wrote: On Tue, 31 Jul 2012, Sylwester Nawrocki wrote: On 07/31/2012 02:26 PM, Guennadi Liakhovetski wrote: But should we allow host probe() to succeed if the sensor isn't present ? I think we should, yes. The host hardware is there and functional

Re: [PATCH v3 2/2] ARM: EXYNOS: Add Gscaler device from DT

2012-08-01 Thread Sylwester Nawrocki
On 08/01/2012 09:48 AM, Thomas Abraham wrote: On 1 August 2012 12:10, Kukjin Kim kgene@samsung.com wrote: Shaik Ameer Basha wrote: [...] +* Samsung Exynos5 Gscaler device + +Gscaler is used for scaling and color space conversion on EXYNOS5 SoCs. + +Required properties: +-

Re: [PATCH V2 5/5] arm: samsung: delete frame buffer header files from platform

2012-08-01 Thread Sylwester Nawrocki
Hi, On 08/01/2012 11:39 AM, Kukjin Kim wrote: Leela Krishna Amudala wrote: On Wed, Aug 1, 2012 at 7:34 AM, Kukjin Kim kgene@samsung.com wrote: Leela Krishna Amudala wrote: The FIMD register headers are moved to include/video/ hence, deleting these files from platform side

Re: [PATCH v3 2/2] ARM: EXYNOS: Add Gscaler device from DT

2012-08-01 Thread Sylwester Nawrocki
Hi Kgene, Cc: Rob Herring On 08/01/2012 11:00 AM, Kukjin Kim wrote: +* Samsung Exynos5 Gscaler device + +Gscaler is used for scaling and color space conversion on EXYNOS5 SoCs. + +Required properties: +- compatible: should be samsung,exynos5250-gsc IMO, should be samsung,exynos5-gsc

[PATCH 0/1] S3C244X/S3C64XX SoC camera host interface driver

2012-08-11 Thread Sylwester Nawrocki
. As for the CAMIF driver, I might try to push it upstream if it doesn't take too much of my time and there is enough interest from the users side. Feature requests or bug reports are welcome. Regards, Sylwester --- Sylwester Nawrocki (1): V4L: Add driver for S3C244X/S3C64XX SoC series camera interface

[PATCH 0/3] Removal of obsolete s3c2410_* GPIO API

2012-08-25 Thread Sylwester Nawrocki
This short patch series converts remaining users of the s3c24xx SoC specific gpiolib functions to the gpiolib API and finally removes all s3c2410_* functions from drivers/gpio/gpio-samsung.c. Sylwester Nawrocki (3): ARM: S3C24XX: Convert users of s3c2410_gpio_setpin to gpiolib API ARM

[PATCH 1/3] ARM: S3C24XX: Convert users of s3c2410_gpio_setpin to gpiolib API

2012-08-25 Thread Sylwester Nawrocki
This is a prerequisite for removal of deprecated s3c2410_gpio* API from the Samsung gpiolib driver. Cc: Ben Dooks ben-li...@fluff.org Cc: Guillaume Gourat guillaume.gou...@nexvision.tv Cc: Michel Pollet buser...@gmail.com Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- arch

[PATCH 2/3] ARM: S3C24XX: Remove obsolete GPIO API declarations

2012-08-25 Thread Sylwester Nawrocki
It's safe to empty the plat-samsung/incude/plat/gpio-fns.h header now when all users of those functions have been converted to generic gpiolib API or to s3c_gpio_cfg(). Cc: Ben Dooks ben-li...@fluff.org Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- arch/arm/plat-samsung

[PATCH 3/3] gpio-samsung: Remove now unused s3c2410_gpio* API

2012-08-25 Thread Sylwester Nawrocki
There is no more users of s3c2410_gpio_pullup(), s3c2410_gpio_setpin() and s3c2410_gpio_getpin() so remove theese functions. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- drivers/gpio/gpio-samsung.c | 40

Re: [PATCH 0/1] S3C244X/S3C64XX SoC camera host interface driver

2012-08-26 Thread Sylwester Nawrocki
Hi Tomasz, On 08/12/2012 12:22 AM, Tomasz Figa wrote: On Saturday 11 of August 2012 21:32:15 Sylwester Nawrocki wrote: On 08/11/2012 08:39 PM, Tomasz Figa wrote: Hi, On Saturday 11 of August 2012 20:06:13 Sylwester Nawrocki wrote: Hi all, This patch adds a driver for Samsung S3C244X

Re: [PATCH 0/3] Removal of obsolete s3c2410_* GPIO API

2012-08-28 Thread Sylwester Nawrocki
On 08/28/2012 01:33 AM, Kukjin Kim wrote: On 08/25/12 05:20, Sylwester Nawrocki wrote: This short patch series converts remaining users of the s3c24xx SoC specific gpiolib functions to the gpiolib API and finally removes all s3c2410_* functions from drivers/gpio/gpio-samsung.c. Sylwester

Re: [PATCH] ARM: S3C24XX: Add .get_rate callback for camif-upll clock

2012-08-28 Thread Sylwester Nawrocki
On 08/28/2012 12:58 AM, Kukjin Kim wrote: On 08/27/12 13:12, Sylwester Nawrocki wrote: Add missing get_rate callback for the camif-upll clock, so frequency of this clock is properly reported with clk_get_rate(). Signed-off-by: Sylwester Nawrockisylvester.nawro...@gmail.com --- arch/arm/mach

[PATCH] gpio: samsung: Update documentation

2012-09-02 Thread Sylwester Nawrocki
-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- Documentation/arm/Samsung-S3C24XX/GPIO.txt | 82 +--- Documentation/arm/Samsung/GPIO.txt |8 +-- 2 files changed, 28 insertions(+), 62 deletions(-) diff --git a/Documentation/arm/Samsung-S3C24XX/GPIO.txt b

[PATCH] ARM: Samsung: Remove unused code for the clocks debug-fs interface

2012-09-02 Thread Sylwester Nawrocki
for over one year, so remove the unused code. This functionality will be restored when switching to the common clock framework. Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- arch/arm/plat-samsung/clock.c | 92 arch/arm/plat-samsung

Re: [PATCH] ARM: S3C24XX: Add WIZnet W5300E01-ARM board support

2012-09-03 Thread Sylwester Nawrocki
Hi, On 09/03/2012 09:56 AM, Vasily Khoruzhick wrote: +static void __init w5300e01_init(void) +{ + s3c_nand_set_platdata(w5300e01_nand_info); + platform_add_devices(w5300e01_devices, ARRAY_SIZE(w5300e01_devices)); + + /* W5300 interrupt pin. */ +

Re: [PATCH v2] ARM: S3C24XX: Add WIZnet W5300E01-ARM board support

2012-09-03 Thread Sylwester Nawrocki
On 09/03/2012 07:36 PM, Taehun Kim wrote: +static void __init w5300e01_init(void) +{ + s3c_nand_set_platdata(w5300e01_nand_info); + platform_add_devices(w5300e01_devices, ARRAY_SIZE(w5300e01_devices)); + + /* W5300 interrupt pin. */ + s3c_gpio_cfgpin(S3C2410_GPF(0),

Re: [PATCH] gpio: samsung: Update documentation

2012-09-04 Thread Sylwester Nawrocki
On 09/04/2012 09:27 AM, Linus Walleij wrote: On Sun, Sep 2, 2012 at 6:24 PM, Sylwester Nawrocki sylvester.nawro...@gmail.com wrote: Update Samsung GPIO API documentation to reflect removal of the s3c24xx specific gpio API. While at it, fix some typos. The notes on conversion from s3c2410_

[PATCH 1/2] s5p-fimc: fimc-lite: Correct Bayer pixel format definitions

2012-09-05 Thread Sylwester Nawrocki
Replace erroneous V4L2_PIX_FMT_* entries with their V4L2_MBUS_FMT_* counterparts. This enables use of raw Bayer formats on FIMC-LITE.? subdevs. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-fimc/fimc

[PATCH 2/2] s5p-fimc: fimc-lite: Propagate frame format on the subdev

2012-09-05 Thread Sylwester Nawrocki
-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-fimc/fimc-lite.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/s5p-fimc/fimc-lite.c b/drivers/media/video/s5p-fimc

Re: [PATCH] ARM: Samsung: Remove unused code for the clocks debug-fs interface

2012-09-05 Thread Sylwester Nawrocki
On 09/05/2012 12:41 AM, Kukjin Kim wrote: Yeah, could be. BTW, following will fix it on Samsung platforms? Yes, that might be better. I tried something similar but thought it might not be worth to invest in a dead horse.. Anyway, since converting all Samsung platforms is expected to take some

Re: [PATCH V4 2/2] video: drm: exynos: Add device tree support

2012-09-06 Thread Sylwester Nawrocki
Hi, On 09/06/2012 09:21 AM, InKi Dae wrote: +Required properties: + - compatible: Should be samsung,exynos5-fimd or samsung,exynos4-fb for Doesn't better to use single word? fimd or fb?. I think 'fb' is used for framebuffer historically. but now it's used both fb and drm, so fimd is neutral

Re: [PATCH 1/2] ARM: samsung: clock: add clock_tree debugfs file

2012-09-07 Thread Sylwester Nawrocki
Hi, On 09/07/2012 09:20 AM, 최종환 wrote: From: Colin Crossccr...@android.com Add a clock/clock_tree debugfs file that shows the entire clock hierarchy including usage counts and rates. Signed-off-by: Colin Crossccr...@android.com Signed-off-by: Jonghwan Choijhbird.c...@samsung.com Due to

Re: [PATCH] ARM: EXYNOS5: Add bus clock and set parent clock for FIMD

2012-09-11 Thread Sylwester Nawrocki
with platform clock name. It should be possible to freely define clock connection id and a platform clock association, not at the platform clock definition. I guess we can now clean all this up only during conversion to common clock framework. Regards, -- Sylwester Nawrocki Samsung Poland RD Center

Re: [PATCH v2] ARM: EXYNOS: Add MFC device tree support

2012-09-12 Thread Sylwester Nawrocki
Just a few small comments... On 09/12/2012 03:34 PM, Arun Kumar K wrote: This patch adds device tree entry for MFC v6 in the Exynos5 SoC. Makes the required changes in the clock files and adds MFC to the DT device list. Signed-off-by: Naveen Krishna Chatradhich.nav...@samsung.com

[PATCH] ARM: SAMSUNG: Add missing variable declaration in s3c64xx_spi1_set_platdata()

2012-09-13 Thread Sylwester Nawrocki
Fixes regression introduced in commit 4d0efdd5889b1c81a62aa07a ARM: SAMSUNG: Modify s3c64xx_spi{0|1|2}_set_platdata function Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/plat-samsung/devs.c | 2 ++ 1 file changed, 2

[PATCH] spi: s3c64xx: Don't free controller_data on non-dt platforms

2012-09-13 Thread Sylwester Nawrocki
. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/spi/spi-s3c64xx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index d1c8441f..7f75d4e 100644

[PATCH] s5p-csis: Add transmission errors logging

2012-09-13 Thread Sylwester Nawrocki
Add hardware event/error counters which can be dumped into the kernel log through VIDIOC_LOG_STATUS ioctl. The counters are reset in each s_stream(1) call. Any errors are logged after streaming is turned off. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park

[PATCH 0/7] s5p-fimc/mipi-csis drivers cleanup

2012-09-17 Thread Sylwester Nawrocki
Sylwester Nawrocki (7): ARM: samsung: Remove unused fields from FIMC and CSIS platform data ARM: samsung: Change __s5p_mipi_phy_control() function signature ARM: EXYNOS: Change MIPI-CSIS device regulator supply names s5p-csis: Replace phy_enable platform data callback with direct call s5p-fimc

[PATCH 1/7] ARM: samsung: Remove unused fields from FIMC and CSIS platform data

2012-09-17 Thread Sylwester Nawrocki
The MIPI-CSI2 bus data alignment is now being derived from the media bus pixel code, the drivers don't use the corresponding structure fields, so remove them. Also remove the s5p_csis_phy_enable callback which is now used directly by s5p-csis driver. Signed-off-by: Sylwester Nawrocki s.nawro

[PATCH 2/7] ARM: samsung: Change __s5p_mipi_phy_control() function signature

2012-09-17 Thread Sylwester Nawrocki
Replace pdev argument __s5p_mipi_phy_control() helper with plain int so MIPI-CSIS hardware instance index can be passed directly making the function usable on platforms instantiated from device tree. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p

[PATCH 3/7] ARM: EXYNOS: Change MIPI-CSIS device regulator supply names

2012-09-17 Thread Sylwester Nawrocki
Rename MIPI-CSIS regulator supply names to match definitions in the driver after commit s5p-csis: Change regulator supply names. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-exynos/mach-nuri.c | 4

[PATCH 4/7] s5p-csis: Replace phy_enable platform data callback with direct call

2012-09-17 Thread Sylwester Nawrocki
The phy_enable callback is common for all Samsung SoC platforms, replace it with direct function call so the MIPI-CSI2 DPHY control is also possible on device tree instantiated platforms. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p

[PATCH 5/7] s5p-fimc: Remove unused platform data structure fields

2012-09-17 Thread Sylwester Nawrocki
[media] s5p-csis: Handle all available power supplies. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- include/linux/platform_data/mipi-csis.h | 15 --- include/media/s5p_fimc.h| 2 -- 2 files changed, 4

[PATCH 6/7] s5p-csis: Allow to specify pixel clock's source through platform data

2012-09-17 Thread Sylwester Nawrocki
-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-fimc/mipi-csis.c | 4 +++- include/linux/platform_data/mipi-csis.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/s5p-fimc

Re: [PATCH 1/7] ARM: samsung: Remove unused fields from FIMC and CSIS platform data

2012-09-17 Thread Sylwester Nawrocki
On 09/17/2012 01:02 PM, Kukjin Kim wrote: Sylwester Nawrocki wrote: The MIPI-CSI2 bus data alignment is now being derived from the media bus pixel code, the drivers don't use the corresponding structure fields, so remove them. Also remove the s5p_csis_phy_enable callback which is now used

[PATCH 1/2] m5mols: Remove unneeded control ops assignments

2012-09-21 Thread Sylwester Nawrocki
Since all host drivers using this subdev are already using the control framework these compatibility ops can be removed. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/m5mols/m5mols_core.c | 7 --- 1

[PATCH 2/2] m5mols: Protect driver data with a mutex

2012-09-21 Thread Sylwester Nawrocki
Without the locking the driver's data could get corrupted when the subdev is accessed from user space and from host driver by multiple processes. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/m5mols

[PATCH RFC] s5p-tv: Report only multi-plane capabilities in vidioc_querycap

2012-09-24 Thread Sylwester Nawrocki
V4L2_BUF_TYPE_CAPTURE_MPLANE. Cc: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/s5p-tv/mixer_video.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers

Re: [PATCH V3] video: exynos_dp: Add device tree support to DP driver

2012-09-27 Thread Sylwester Nawrocki
Hi, Cc: devicetree-disc...@lists.ozlabs.org On 09/24/2012 09:36 PM, Ajay Kumar wrote: This patch enables device tree based discovery support for DP driver. The driver is modified to handle platform data in both the cases: with DT and non-DT. Documentation is also added for the DT bindings.

  1   2   3   4   5   6   7   8   9   10   >