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

2013-08-20 Thread Hans Verkuil
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) On Mon, Aug 19, 2013 at 6:36 PM, Hans Verkuil hverk...@xs4all.nl

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

2013-08-20 Thread Hans Petter Selasky
On 08/20/13 00:43, Konstantin Dimitrov wrote: German-based company making DVB equipment and maybe if that's the same RSD that Danny Griegs guy could be legit. however, nothing in the Hi, I've asked Danny to confirm his identity. The @googlemail.com e-mail transcript was quite empty :-(

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 hverk...@xs4all.nl 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 inki@samsung.com 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

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

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

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; Sylwester

[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 sw0312@samsung.com Signed-off-by: Heejin Woo heejin@samsung.com --- drivers/media/v4l2-core/videobuf2-core.c |4 1 files changed, 4 insertions(+), 0

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 inki@samsung.com 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;

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 ring) }

Re: OMAP3 ISP DQBUF hangs

2013-08-20 Thread Tom
Su Jiaquan jiaquan.lnx at 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

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

[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

[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

[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 rna...@ti.com Cc: Sricharan R

[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

[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 rna...@ti.com Cc: Sricharan R r.sricha...@ti.com

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 modules(in

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 shaik.am...@samsung.com 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

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 arun...@samsung.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com ---

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

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

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

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 till we find

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 jiaquan@gmail.com 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

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 s.nawro...@samsung.com wrote: Cc: Pawel, Kumar On 08/16/2013 11:20 AM, Arun Kumar K wrote: From: Shaik Ameer Basha shaik.am...@samsung.com This patch adds support for media device for EXYNOS5 SoCs. The current media device

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

[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

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 hdego...@redhat.com 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

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: snip +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 *)

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, and adds a callback + * to

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. Sorry, I

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 hdego...@redhat.com 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

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

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: snip +static int vpdma_load_firmware(struct vpdma_data *vpdma) +{ +int r; +struct device *dev = vpdma-pdev-dev; + +r =

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

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

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, Andrzej Hajda

Re: em28xx + ov2640 and v4l2-clk

2013-08-20 Thread Mauro Carvalho Chehab
Em Tue, 20 Aug 2013 15:38:57 +0200 Laurent Pinchart laurent.pinch...@ideasonboard.com 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

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 currently on a

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 laurent.pinch...@ideasonboard.com 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

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 you

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-use

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

[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 fabio.este...@freescale.com Acked-by: Philipp Zabel p.za...@pengutronix.de --- Changes since v5: - Rebased against latest Kamil's tree

[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 fabio.este...@freescale.com --- Changes since v5: - Rebased against latest Kamil's tree drivers/media/platform/coda.c | 43

[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 fabio.este...@freescale.com --- Changes since v5: - Rebased against latest Kamil's tree drivers/media/platform/coda.c | 27 ++- 1 file

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

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 active link.

[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 kis...@ti.com Acked-by: Felipe Balbi ba...@ti.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com ---

[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

[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

[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 kis...@ti.com Acked-by: Felipe Balbi ba...@ti.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com --- drivers/phy/phy-omap-usb2.c |

[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

[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

[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