Re: [PATCH v2 2/5] [media] exynos-mscl: Add core functionality for the M-Scaler driver

2013-08-20 Thread Shaik Ameer Basha
On Tue, Aug 20, 2013 at 11:57 AM, Hans Verkuil wrote: > On 08/20/2013 07:43 AM, Shaik Ameer Basha wrote: >> + linux-media, linux-samsung-soc >> >> Hi Hans, >> >> Thanks for the review. >> Will address all your comments in v3. >> >> I have only one doubt regarding try_ctrl... (addressed inline) >>

Re: [PATCH v2 1/5] [media] exynos-mscl: Add new driver for M-Scaler

2013-08-20 Thread Shaik Ameer Basha
Hi Inki Dae, Thanks for the review. On Mon, Aug 19, 2013 at 6:18 PM, Inki Dae wrote: > Just quick review. > >> -Original Message- >> From: linux-media-ow...@vger.kernel.org [mailto:linux-media- >> ow...@vger.kernel.org] On Behalf Of Shaik Ameer Basha >> Sent: Monday, August 19, 2013 7:5

Re: Re: Hauppauge HVR-900 HD and HVR 930C-HD with si2165

2013-08-20 Thread nibble.max
Hello Hans, I am the original author of sit2 source code based on the reference code from silabs. And we have signed NDA with silabs, it does not allow us to release the source code to the public. I donot know it is permited or not when you do decompiling the binary code. What happened between

Re: [RFC PATCH] drm/radeon: rework to new fence interface

2013-08-20 Thread Christian König
Am 19.08.2013 21:37, schrieb Maarten Lankhorst: Op 19-08-13 14:35, Christian König schreef: Am 19.08.2013 12:17, schrieb Maarten Lankhorst: [SNIP] @@ -190,25 +225,24 @@ void radeon_fence_process(struct radeon_device *rdev, int ring) } } while (atomic64_xchg(&rdev->fence_drv[r

Re: Hauppauge HVR-900 HD and HVR 930C-HD with si2165

2013-08-20 Thread Hans Petter Selasky
On 08/20/13 10:26, nibble.max wrote: Hello Hans, I am the original author of sit2 source code based on the reference code from silabs. And we have signed NDA with silabs, it does not allow us to release the source code to the public. I donot know it is permited or not when you do decompiling t

RE: [PATCH v2 1/5] [media] exynos-mscl: Add new driver for M-Scaler

2013-08-20 Thread Inki Dae
> -Original Message- > From: linux-media-ow...@vger.kernel.org [mailto:linux-media- > ow...@vger.kernel.org] On Behalf Of Shaik Ameer Basha > Sent: Tuesday, August 20, 2013 5:07 PM > To: Inki Dae > Cc: Shaik Ameer Basha; LMML; linux-samsung-...@vger.kernel.org; > c...@samsung.com; Sylwest

[PATCH] media: vb2: add log for size checking error in __qbuf_userptr

2013-08-20 Thread Seung-Woo Kim
__qbuf_userptr checks whether provided buffer is large enough, and it returns error without any log. Signed-off-by: Seung-Woo Kim Signed-off-by: Heejin Woo --- drivers/media/v4l2-core/videobuf2-core.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/media/v4l2

Re: [PATCH v2 1/5] [media] exynos-mscl: Add new driver for M-Scaler

2013-08-20 Thread Shaik Ameer Basha
On Tue, Aug 20, 2013 at 2:13 PM, Inki Dae wrote: > > >> -Original Message- >> From: linux-media-ow...@vger.kernel.org [mailto:linux-media- >> ow...@vger.kernel.org] On Behalf Of Shaik Ameer Basha >> Sent: Tuesday, August 20, 2013 5:07 PM >> To: Inki Dae >> Cc: Shaik Ameer Basha; LMML; linu

Re: [RFC PATCH] drm/radeon: rework to new fence interface

2013-08-20 Thread Maarten Lankhorst
Op 20-08-13 10:37, Christian König schreef: > Am 19.08.2013 21:37, schrieb Maarten Lankhorst: >> Op 19-08-13 14:35, Christian König schreef: >>> Am 19.08.2013 12:17, schrieb Maarten Lankhorst: [SNIP] @@ -190,25 +225,24 @@ void radeon_fence_process(struct radeon_device *rdev, int rin

Re: OMAP3 ISP DQBUF hangs

2013-08-20 Thread Tom
Su Jiaquan gmail.com> writes: Hello, > > Hi Tom > > > Well, for our practice, we QBUF before STREAMON (not on omap3 isp). > You can try that and see what happens. > > As I check the omap3 code, you sequence maybe OK. Coz there is a > restart mechanism in the code to restart CCDC hardware aft

Re: [RFC PATCH] drm/radeon: rework to new fence interface

2013-08-20 Thread Christian König
Am 20.08.2013 11:36, schrieb Maarten Lankhorst: [SNIP] [SNIP] +/** + * radeon_fence_enable_signaling - enable signalling on fence + * @fence: fence + * + * This function is called with fence_queue lock held, and adds a callback + * to fence_queue that checks if this fence is signaled, and if so

Re: avermedia A306 / PCIe-minicard (laptop)

2013-08-20 Thread remi
Hello I have just putdown my screwdrivers :) Yes it was three ICs on the bottom-side , no heatsinks (digital reception, that's why i guess) , is an AF9013-N1 on the top-side, with a heatsink : CX23885-13Z , PCIe A/V controler on the top-side, with heat-sink + "radio-isolation" (aluminum box)

[PATCH v2 1/6] v4l: ti-vpe: Create a vpdma helper library

2013-08-20 Thread Archit Taneja
The primary function of VPDMA is to move data between external memory and internal processing modules(in our case, VPE) that source or sink data. VPDMA is capable of buffering this data and then delivering the data as demanded to the modules as programmed. The modules that source or sink data are r

[PATCH v2 0/6] v4l: VPE mem to mem driver

2013-08-20 Thread Archit Taneja
VPE(Video Processing Engine) is an IP found on DRA7xx, this series adds VPE as a mem to mem v4l2 driver, and VPDMA as a helper library. The previous revision of the series described VPE in detail, you can have a look at it here: http://www.spinics.net/lists/linux-media/msg66518.html There were a

[PATCH v2 2/6] v4l: ti-vpe: Add helpers for creating VPDMA descriptors

2013-08-20 Thread Archit Taneja
Create functions which the VPE driver can use to create a VPDMA descriptor and add it to a VPDMA descriptor list. These functions take a pointer to an existing list, and append the configuration/data/control descriptor header to the list. In the case of configuration descriptors, the creation of a

[PATCH v2 5/6] arm: dra7xx: hwmod data: add VPE hwmod data and ocp_if info

2013-08-20 Thread Archit Taneja
Add hwmod data for the VPE IP, this is needed for the IP to be reset during boot, and control the functional clock when the driver needs it via pm_runtime apis. Add the corresponding ocp_if struct and add it DRA7XX's ocp interface list. Cc: Rajendra Nayak Cc: Sricharan R Signed-off-by: Archit Ta

[PATCH v2 4/6] v4l: ti-vpe: Add de-interlacer support in VPE

2013-08-20 Thread Archit Taneja
Add support for the de-interlacer block in VPE. For de-interlacer to work, we need to enable 2 more sets of VPE input ports which fetch data from the 'last' and 'last to last' fields of the interlaced video. Apart from that, we need to enable the Motion vector output and input ports, and also allo

[PATCH v2 6/6] experimental: arm: dts: dra7xx: Add a DT node for VPE

2013-08-20 Thread Archit Taneja
Add a DT node for VPE in dra7.dtsi. This is experimental because we might need to split the VPE address space a bit more, and also because the IRQ line described is accessible the IRQ crossbar driver is added for DRA7XX. Cc: Rajendra Nayak Cc: Sricharan R Signed-off-by: Archit Taneja --- arch/

Re: [PATCH 1/6] v4l: ti-vpe: Create a vpdma helper library

2013-08-20 Thread Laurent Pinchart
Hi Archit, On Wednesday 14 August 2013 16:27:57 Archit Taneja wrote: > On Friday 09 August 2013 03:34 AM, Laurent Pinchart wrote: > > On Friday 02 August 2013 19:33:38 Archit Taneja wrote: > >> The primary function of VPDMA is to move data between external memory and > >> internal processing modul

Re: [PATCH v6 01/13] [media] exynos5-is: Adding media device driver for exynos5

2013-08-20 Thread Sylwester Nawrocki
Cc: Pawel, Kumar On 08/16/2013 11:20 AM, Arun Kumar K wrote: > From: Shaik Ameer Basha > > This patch adds support for media device for EXYNOS5 SoCs. > The current media device supports the following ips to connect > through the media controller framework. > > * MIPI-CSIS > Support interconne

Re: [PATCH v6 02/13] [media] exynos5-fimc-is: Add Exynos5 FIMC-IS device tree bindings documentation

2013-08-20 Thread Sylwester Nawrocki
Cc: Pawel, Kumar On 08/16/2013 11:20 AM, Arun Kumar K wrote: > The patch adds the DT binding documentation for Samsung > Exynos5 SoC series imaging subsystem (FIMC-IS). > > Signed-off-by: Arun Kumar K > Reviewed-by: Sylwester Nawrocki > --- > .../devicetree/bindings/media/exynos5-fimc-is.txt

Re: [PATCH] [media] gspca-ov534: don't call sd_start() from sd_init()

2013-08-20 Thread Hans de Goede
Hi, Thanks for the patch I've added this to my "gspca" tree, and this will be included in my next pull-request to Mauro for 3.12 Regards, Hans On 08/15/2013 12:29 PM, Antonio Ospite wrote: sd_start() operates on device controls but after the conversion to the v4l2 control framework in commi

Re: [PATCH] [media] gspca: fix dev_open() error path

2013-08-20 Thread Hans de Goede
Hi, Thanks for the patch I've added this to my "gspca" tree, and this will be included in my next pull-request to Mauro for 3.12 Regards, Hans On 08/05/2013 10:16 PM, Alexey Khoroshilov wrote: If v4l2_fh_open() fails in dev_open(), gspca_dev->module left locked. The patch adds module_put(gspc

Re: [PATCH v2] introduce gspca-stk1135: Syntek STK1135 driver

2013-08-20 Thread Hans de Goede
Hi, Thanks for the new version I've added this to my "gspca" tree, and this will be included in my next pull-request to Mauro for 3.12 Regards, Hans On 08/11/2013 09:04 PM, Ondrej Zary wrote: Hello, this is a new gspca driver for Syntek STK1135 webcams. The code is completely new, but regis

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-08-20 Thread Felipe Balbi
Hi, On Mon, Aug 19, 2013 at 10:58:09AM +0530, Kishon Vijay Abraham I wrote: > >> So maybe let's stop solving an already solved problem and just state that > >> you need to explicitly assign device ID to use this framework? > > > > Felipe, > > Can we have it the way I had in my v10 patch series t

Re: [PATCH v2] introduce gspca-stk1135: Syntek STK1135 driver

2013-08-20 Thread Hans de Goede
Hi, On 08/20/2013 02:20 PM, Hans de Goede wrote: Hi, Thanks for the new version I've added this to my "gspca" tree, and this will be included in my next pull-request to Mauro for 3.12 Ugh, correction. I've reverted this patch since stk1135.h is missing from the patch, can you please send a v3

Re: How to express planar formats with mediabus format code?

2013-08-20 Thread Laurent Pinchart
Hi Jiaquan, On Thursday 15 August 2013 16:27:43 Su Jiaquan wrote: > On Sat, Aug 10, 2013 at 1:06 AM, Su Jiaquan wrote: > > On Fri, Aug 9, 2013 at 5:12 AM, Laurent Pinchart wrote: > >> On Tuesday 06 August 2013 17:18:14 Su Jiaquan wrote: > >>> On Mon, Aug 5, 2013 at 5:02 AM, Guennadi Liakhovetski

Re: [PATCH v6 01/13] [media] exynos5-is: Adding media device driver for exynos5

2013-08-20 Thread Arun Kumar K
Hi Sylwester, On Tue, Aug 20, 2013 at 5:29 PM, Sylwester Nawrocki wrote: > Cc: Pawel, Kumar > > On 08/16/2013 11:20 AM, Arun Kumar K wrote: >> From: Shaik Ameer Basha >> >> This patch adds support for media device for EXYNOS5 SoCs. >> The current media device supports the following ips to connec

Re: [PATCH 1/6] v4l: ti-vpe: Create a vpdma helper library

2013-08-20 Thread Archit Taneja
On Tuesday 20 August 2013 05:09 PM, Laurent Pinchart wrote: Hi Archit, On Wednesday 14 August 2013 16:27:57 Archit Taneja wrote: On Friday 09 August 2013 03:34 AM, Laurent Pinchart wrote: On Friday 02 August 2013 19:33:38 Archit Taneja wrote: The primary function of VPDMA is to move data betw

[PATCH v3] introduce gspca-stk1135: Syntek STK1135 driver

2013-08-20 Thread Ondrej Zary
Hello, this is a new gspca driver for Syntek STK1135 webcams. The code is completely new, but register values are based on Syntekdriver (stk11xx) by Nicolas VIVIEN (http://syntekdriver.sourceforge.net). Only one webcam type is supported now - vendor 0x174f, device 0x6a31. It's Asus F5RL laptop fli

Re: [PATCH] [media] gspca-ov534: don't call sd_start() from sd_init()

2013-08-20 Thread Antonio Ospite
On Tue, 20 Aug 2013 14:21:22 +0200 Hans de Goede wrote: > Hi, > > Thanks for the patch I've added this to my "gspca" tree, and this > will be included in my next pull-request to Mauro for 3.12 > Thanks HdG. It's fine with me to have the patch in 3.12 and then have it picked up for inclusion i

Re: [PATCH 1/6] v4l: ti-vpe: Create a vpdma helper library

2013-08-20 Thread Archit Taneja
Hi Laurent, On Tuesday 20 August 2013 05:09 PM, Laurent Pinchart wrote: +static int vpdma_load_firmware(struct vpdma_data *vpdma) +{ + int r; + struct device *dev = &vpdma->pdev->dev; + + r = request_firmware_nowait(THIS_MODULE, 1, + (const char *) VPDMA_FIRMWA

Re: [RFC PATCH] drm/radeon: rework to new fence interface

2013-08-20 Thread Maarten Lankhorst
Op 20-08-13 11:51, Christian König schreef: > Am 20.08.2013 11:36, schrieb Maarten Lankhorst: > [SNIP] > >> [SNIP] >> +/** >> + * radeon_fence_enable_signaling - enable signalling on fence >> + * @fence: fence >> + * >> + * This function is called with fence_queue lock held,

Re: em28xx + ov2640 and v4l2-clk

2013-08-20 Thread Laurent Pinchart
Hi Mauro, On Sunday 18 August 2013 12:20:08 Mauro Carvalho Chehab wrote: > Em Sun, 18 Aug 2013 13:40:25 +0200 Frank Schäfer escreveu: > > Am 17.08.2013 12:51, schrieb Guennadi Liakhovetski: > > > Hi Frank, > > > As I mentioned on the list, I'm currently on a holiday, so, replying > > > briefly. >

Re: [PATCH] [media] gspca-ov534: don't call sd_start() from sd_init()

2013-08-20 Thread Hans de Goede
Hi, On 08/20/2013 03:13 PM, Antonio Ospite wrote: On Tue, 20 Aug 2013 14:21:22 +0200 Hans de Goede wrote: Hi, Thanks for the patch I've added this to my "gspca" tree, and this will be included in my next pull-request to Mauro for 3.12 Thanks HdG. It's fine with me to have the patch in 3.

Re: [PATCH v3] introduce gspca-stk1135: Syntek STK1135 driver

2013-08-20 Thread Hans de Goede
Hi, Thanks, applied. Regards, Hans On 08/20/2013 03:03 PM, Ondrej Zary wrote: Hello, this is a new gspca driver for Syntek STK1135 webcams. The code is completely new, but register values are based on Syntekdriver (stk11xx) by Nicolas VIVIEN (http://syntekdriver.sourceforge.net). Only one w

Re: [PATCH 1/6] v4l: ti-vpe: Create a vpdma helper library

2013-08-20 Thread Laurent Pinchart
Hi Archit, On Tuesday 20 August 2013 18:46:38 Archit Taneja wrote: > On Tuesday 20 August 2013 05:09 PM, Laurent Pinchart wrote: > > > > +static int vpdma_load_firmware(struct vpdma_data *vpdma) > +{ > +int r; > +struct device *dev = &vpdma->pdev->dev; >

Re: [RFC PATCH] drm/radeon: rework to new fence interface

2013-08-20 Thread Christian König
Am 20.08.2013 15:21, schrieb Maarten Lankhorst: Op 20-08-13 11:51, Christian König schreef: Am 20.08.2013 11:36, schrieb Maarten Lankhorst: [SNIP] [SNIP] +/** + * radeon_fence_enable_signaling - enable signalling on fence + * @fence: fence + * + * This function is called with fence_queue lock

[GIT PULL for 3.12] New gspca webcam driver + misc fixes

2013-08-20 Thread Hans de Goede
Hi Mauro, Please pull from my gspca tree for a new webcam driver + misc fixes. The following changes since commit bfd22c490bc74f9603ea90c37823036660a313e2: v4l2-common: warning fix (W=1): add a missed function prototype (2013-08-18 10:18:30 -0300) are available in the git repository at:

Re: avermedia A306 / PCIe-minicard (laptop)

2013-08-20 Thread remi
Hello FYI I digged into the firmware problem a little, xc3028L-v36.fw  gets loaded by default , and the errors are as you saw earlier forcing the /lib/firmware/xc3028-v27.fw :  [ 3569.941404] xc2028 2-0061: Could not load firmware /lib/firmware/xc3028-v27.fw So i searched the original dell

OMAP3 ISP change image format

2013-08-20 Thread Tom
Hello, I try from my own application out to grab an image with a ov3640 sensor. For this I need to understand the media-api and the isp pipeline correctly. I had problems with the use of media-ctl so I implemented the functionality into my application and it seems to work fine. Without an error I

Re: [PATCH RFC v5] s5k5baf: add camera sensor driver

2013-08-20 Thread Sylwester Nawrocki
On 08/20/2013 12:57 AM, Stephen Warren wrote: > On 08/19/2013 04:53 PM, Tomasz Figa wrote: >> On Monday 19 of August 2013 16:30:45 Stephen Warren wrote: >>> On 08/19/2013 11:25 AM, Sylwester Nawrocki wrote: On 08/19/2013 03:25 PM, Pawel Moll wrote: > On Mon, 2013-08-19 at 14:18 +0100, Andr

Re: em28xx + ov2640 and v4l2-clk

2013-08-20 Thread Mauro Carvalho Chehab
Em Tue, 20 Aug 2013 15:38:57 +0200 Laurent Pinchart escreveu: > Hi Mauro, > > On Sunday 18 August 2013 12:20:08 Mauro Carvalho Chehab wrote: > > Em Sun, 18 Aug 2013 13:40:25 +0200 Frank Schäfer escreveu: > > > Am 17.08.2013 12:51, schrieb Guennadi Liakhovetski: > > > > Hi Frank, > > > > As I men

Re: em28xx + ov2640 and v4l2-clk

2013-08-20 Thread Frank Schäfer
Am 20.08.2013 15:38, schrieb Laurent Pinchart: > Hi Mauro, > > On Sunday 18 August 2013 12:20:08 Mauro Carvalho Chehab wrote: >> Em Sun, 18 Aug 2013 13:40:25 +0200 Frank Schäfer escreveu: >>> Am 17.08.2013 12:51, schrieb Guennadi Liakhovetski: Hi Frank, As I mentioned on the list, I'm cur

Re: em28xx + ov2640 and v4l2-clk

2013-08-20 Thread Frank Schäfer
Am 20.08.2013 17:31, schrieb Mauro Carvalho Chehab: > Em Tue, 20 Aug 2013 15:38:57 +0200 > Laurent Pinchart escreveu: > >> Hi Mauro, >> >> On Sunday 18 August 2013 12:20:08 Mauro Carvalho Chehab wrote: >>> Em Sun, 18 Aug 2013 13:40:25 +0200 Frank Schäfer escreveu: Am 17.08.2013 12:51, schrieb

Re: [PATCH] uvc: more buffers

2013-08-20 Thread Laurent Pinchart
Hi Oliver, On Monday 12 August 2013 11:01:55 Oliver Neukum wrote: > On Fri, 2013-08-09 at 15:58 +0200, Laurent Pinchart wrote: > > > This is necessary to let the new generation of cameras from LiteOn used > > > in Haswell ULT notebook operate. Otherwise the images will be truncated. > > > > Could

Re: [PATCH 1/2] [RFC PATCH v6] dmabuf-sync: Add a buffer synchronization framework

2013-08-20 Thread Konrad Rzeszutek Wilk
On Tue, Aug 13, 2013 at 06:19:35PM +0900, Inki Dae wrote: > This patch adds a buffer synchronization framework based on DMA BUF[1] > and and based on ww-mutexes[2] for lock mechanism. > > The purpose of this framework is to provide not only buffer access control > to CPU and DMA but also easy-to-u

Re: avermedia A306 / PCIe-minicard (laptop)

2013-08-20 Thread remi
Hello Seeing that card=39 worked, and, that the A306 doesnt use the LowPower version of the XC3028 , HC81 is an expressCard == lowpower A306 is the PCIe minicard version == not LowPower , I decided to clone the HC81 entries in cx23885-video.c, cx23885.h , cx23885-cards.c And intruct it to load

[PATCH v6 3/3] [media] coda: No need to check the return value of platform_get_resource()

2013-08-20 Thread Fabio Estevam
When using devm_ioremap_resource(), we do not need to check the return value of platform_get_resource(), so just remove it. Signed-off-by: Fabio Estevam Acked-by: Philipp Zabel --- Changes since v5: - Rebased against latest Kamil's tree drivers/media/platform/coda.c | 5 - 1 file changed,

[PATCH v6 1/3] [media] coda: Fix error paths

2013-08-20 Thread Fabio Estevam
Some resources were not being released in the error path and some were released in the incorrect order. Signed-off-by: Fabio Estevam --- Changes since v5: - Rebased against latest Kamil's tree drivers/media/platform/coda.c | 43 +-- 1 file changed, 29 ins

[PATCH v6 2/3] [media] coda: Check the return value from clk_prepare_enable()

2013-08-20 Thread Fabio Estevam
clk_prepare_enable() may fail, so let's check its return value and propagate it in the case of error. Signed-off-by: Fabio Estevam --- Changes since v5: - Rebased against latest Kamil's tree drivers/media/platform/coda.c | 27 ++- 1 file changed, 22 insertions(+), 5 dele

Re: [PATCH v6] s5k5baf: add camera sensor driver

2013-08-20 Thread Stephen Warren
On 08/20/2013 10:03 AM, Andrzej Hajda wrote: > Driver for Samsung S5K5BAF UXGA 1/5" 2M CMOS Image Sensor > with embedded SoC ISP. > The driver exposes the sensor as two V4L2 subdevices: > - S5K5BAF-CIS - pure CMOS Image Sensor, fixed 1600x1200 format, > no controls. > - S5K5BAF-ISP - Image Signal

r820t tuner oops on kernel 3.10.8

2013-08-20 Thread Arjan Koers
Hello, Can commit 4aab0398e003ac2effae98ba66a012ed715967ba be added to linux stable? Without this patch I get the following error (after unplugging and reconnecting the dvb-t device): [ 255.245514] BUG: unable to handle kernel NULL pointer dereference at 0050 [ 255.245705] IP: []

cron job: media_tree daily build: WARNINGS

2013-08-20 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Wed Aug 21 04:00:13 CEST 2013 git branch: test git hash: bfd22c490bc74f9603ea90c37823036660a313e2 gcc versi

Re: [RFC 2/4] media: Check for active links on pads with MEDIA_PAD_FL_MUST_CONNECT flag

2013-08-20 Thread Laurent Pinchart
Hi Sakari, On Saturday 10 August 2013 15:16:29 Sakari Ailus wrote: > On Fri, Aug 09, 2013 at 01:34:46AM +0200, Laurent Pinchart wrote: > > On Friday 19 July 2013 20:55:07 Sakari Ailus wrote: > > > Do not allow streaming if a pad with MEDIA_PAD_FL_MUST_CONNECT flag is > > > not connected by an acti

[PATCH v11 8/8] usb: phy: twl4030-usb: remove *set_suspend* and *phy_init* ops

2013-08-20 Thread Kishon Vijay Abraham I
Now that twl4030-usb is adapted to the new generic PHY framework, *set_suspend* and *phy_init* ops can be removed from twl4030-usb driver. Signed-off-by: Kishon Vijay Abraham I Acked-by: Felipe Balbi Reviewed-by: Sylwester Nawrocki --- drivers/phy/phy-twl4030-usb.c | 57 ++---

[PATCH v11 1/8] drivers: phy: add generic PHY framework

2013-08-20 Thread Kishon Vijay Abraham I
The PHY framework provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. For dt-boot, the PHY drivers should also register *PHY provider* with the framework. PHY drivers should create the PHY by

[PATCH v11 6/8] usb: musb: omap2430: use the new generic PHY framework

2013-08-20 Thread Kishon Vijay Abraham I
Use the generic PHY framework API to get the PHY. The usb_phy_set_resume and usb_phy_set_suspend is replaced with power_on and power_off to align with the new PHY framework. musb->xceiv can't be removed as of now because musb core uses xceiv.state and xceiv.otg. Once there is a separate state mach

[PATCH v11 5/8] ARM: dts: omap: update usb_otg_hs data

2013-08-20 Thread Kishon Vijay Abraham I
Updated the usb_otg_hs dt data to include the *phy* and *phy-names* binding in order for the driver to use the new generic PHY framework. Also updated the Documentation to include the binding information. The PHY binding information can be found at Documentation/devicetree/bindings/phy/phy-bindings

[PATCH v11 4/8] arm: omap3: twl: add phy consumer data in twl4030_usb_data

2013-08-20 Thread Kishon Vijay Abraham I
The PHY framework uses the phy consumer data populated in platform data in the case of non-dt boot to return the reference to the PHY when the controller (PHY consumer) requests for it. So populated the phy consumer data in the platform data of twl usb. Signed-off-by: Kishon Vijay Abraham I ---

[PATCH v11 7/8] usb: phy: omap-usb2: remove *set_suspend* callback from omap-usb2

2013-08-20 Thread Kishon Vijay Abraham I
Now that omap-usb2 is adapted to the new generic PHY framework, *set_suspend* ops can be removed from omap-usb2 driver. Signed-off-by: Kishon Vijay Abraham I Acked-by: Felipe Balbi Reviewed-by: Sylwester Nawrocki --- drivers/phy/phy-omap-usb2.c | 25 - 1 file changed,

[PATCH v11 0/8] PHY framework

2013-08-20 Thread Kishon Vijay Abraham I
Added a generic PHY framework that provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. This framework will be of use only to devices that uses external PHY (PHY functionality is not embedded w

[PATCH v11 2/8] usb: phy: omap-usb2: use the new generic PHY framework

2013-08-20 Thread Kishon Vijay Abraham I
Used the generic PHY framework API to create the PHY. Now the power off and power on are done in omap_usb_power_off and omap_usb_power_on respectively. The omap-usb2 driver is also moved to driver/phy. However using the old USB PHY library cannot be completely removed because OTG is intertwined wi

[PATCH v11 3/8] usb: phy: twl4030: use the new generic PHY framework

2013-08-20 Thread Kishon Vijay Abraham I
Used the generic PHY framework API to create the PHY. For powering on and powering off the PHY, power_on and power_off ops are used. Once the MUSB OMAP glue is adapted to the new framework, the suspend and resume ops of usb phy library will be removed. Also twl4030-usb driver is moved to drivers/ph

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

2013-08-20 Thread Arun Kumar K
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 Reviewed-by: Sylwester Nawrocki --- drivers/media/platform/exynos5-is/fimc-is-core.c | 413 +

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

2013-08-20 Thread Arun Kumar K
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 Reviewed-by: Sylwester Nawrocki --- drivers/media/platform/exynos5-is/fimc-

[PATCH v7 02/13] [media] exynos5-fimc-is: Add Exynos5 FIMC-IS device tree bindings documentation

2013-08-20 Thread Arun Kumar K
The patch adds the DT binding documentation for Samsung Exynos5 SoC series imaging subsystem (FIMC-IS). Signed-off-by: Arun Kumar K Reviewed-by: Sylwester Nawrocki --- .../devicetree/bindings/media/exynos5-fimc-is.txt | 46 1 file changed, 46 insertions(+) create mode 1

[PATCH v7 00/13] Exynos5 IS driver

2013-08-20 Thread Arun Kumar K
The patch series add support for Exynos5 camera subsystem. It re-uses mipi-csis and fimc-lite from exynos4-is and adds a new media device and fimc-is device drivers for exynos5. The media device supports asynchronos subdev registration for the fimc-is sensors and is tested on top of the patch serie

[PATCH v7 01/13] [media] exynos5-is: Adding media device driver for exynos5

2013-08-20 Thread Arun Kumar K
From: Shaik Ameer Basha This patch adds support for media device for EXYNOS5 SoCs. The current media device supports the following ips to connect through the media controller framework. * MIPI-CSIS Support interconnection(subdev interface) between devices * FIMC-LITE Support capture interfa

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

2013-08-20 Thread Arun Kumar K
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 Reviewed-by: Sylwester Nawrocki --- drivers/media/platform/exynos5-is/fimc

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

2013-08-20 Thread Arun Kumar K
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 Reviewed-by: Sylwester Nawrocki --- drivers/media/platform/exynos5-is/fimc-is-regs.h | 105 +++

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

2013-08-20 Thread Arun Kumar K
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 Reviewed-by: Sylwester Nawrocki --- .../media/platform/exynos5-is/fimc-is-interface.c | 810 +++

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

2013-08-20 Thread Arun Kumar K
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 Reviewed-by: Sylwester Nawrocki --- drivers/media/i2c/s5k6a3.c | 19 +++

[PATCH v7 09/13] [media] exynos5-fimc-is: Add the hardware pipeline control

2013-08-20 Thread Arun Kumar K
This patch adds the crucial hardware pipeline control for the fimc-is driver. All the subdev nodes will call this pipeline interfaces to reach the hardware. Responsibilities of this module involves configuring and maintaining the hardware pipeline involving multiple sub-ips like ISP, DRC, Scalers,

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

2013-08-20 Thread Arun Kumar K
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 to a regular sensor driver by adding the I2C c

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

2013-08-20 Thread Arun Kumar K
Adds Kconfig and Makefile for exynos5-is driver files. Signed-off-by: Shaik Ameer Basha Signed-off-by: Arun Kumar K Reviewed-by: Sylwester Nawrocki --- drivers/media/platform/Kconfig |1 + drivers/media/platform/Makefile|1 + drivers/media/platform/exynos5-is/Kc

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

2013-08-20 Thread Arun Kumar K
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 Reviewed-by: Sylwester Nawrocki --- drivers/media/platform/exy

Re: [PATCH 1/6] v4l: ti-vpe: Create a vpdma helper library

2013-08-20 Thread Archit Taneja
Hi, On Tuesday 20 August 2013 07:26 PM, Laurent Pinchart wrote: Hi Archit, On Tuesday 20 August 2013 18:46:38 Archit Taneja wrote: On Tuesday 20 August 2013 05:09 PM, Laurent Pinchart wrote: +static int vpdma_load_firmware(struct vpdma_data *vpdma) +{ + int r; + struct device *

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

2013-08-20 Thread Hans Verkuil
On 08/21/2013 08:34 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 n