Re: [PATCH v5] media: i2c: add support for omnivision's ov2659 sensor

2015-03-12 Thread Lad, Prabhakar
Hi Sakari, Thanks for the review. On Fri, Mar 13, 2015 at 12:04 AM, Sakari Ailus wrote: > Hi Prabhakar, > > On Thu, Mar 12, 2015 at 11:22:36PM +, Lad Prabhakar wrote: > ... >> +static int ov2659_probe(struct i2c_client *client, >> + const struct i2c_device_id *id) >> +{ >

Re: [PATCH v2 2/2] v4l: mt9v032: Add OF support

2015-03-12 Thread Lad, Prabhakar
Hi Laurent, Thanks for the patch. On Fri, Mar 13, 2015 at 12:03 AM, Laurent Pinchart wrote: > Parse DT properties into a platform data structure when a DT node is > available. > > Signed-off-by: Laurent Pinchart > > --- > [snip] > +static struct mt9v032_platform_data * > +mt9v032_get_pdata(stru

cron job: media_tree daily build: WARNINGS

2015-03-12 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: Fri Mar 13 04:00:14 CET 2015 git branch: test git hash: 3d945be05ac1e806af075e9315bc1b3409adae2b gcc versio

[PATCH] media: omap3isp: video: Don't call vb2 mmap with queue lock held

2015-03-12 Thread Laurent Pinchart
videobuf2 has long been subject to AB-BA style deadlocks due to the queue lock and mmap_sem being taken in different orders for the mmap operation. The problem has been fixed by making this operation callable without taking the queue lock, using an mmap_lock internal to videobuf2. The omap3isp dri

[PATCH] media: omap3isp: video: Use v4l2_get_timestamp()

2015-03-12 Thread Laurent Pinchart
Replace the open-coded copy by a function call. Signed-off-by: Laurent Pinchart --- drivers/media/platform/omap3isp/ispvideo.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/media/platform/omap3isp/ispvideo.c b/drivers/media/platform/omap3isp/ispvideo.c index 3d

Re: [PATCH] media: omap3isp: hist: Move histogram DMA to DMA engine

2015-03-12 Thread Laurent Pinchart
Hi Sakari, Thank you for the review. On Friday 13 March 2015 01:56:32 Sakari Ailus wrote: > On Sun, Mar 08, 2015 at 11:37:55PM +0200, Laurent Pinchart wrote: > ... > > > @@ -198,24 +177,58 @@ static void hist_dma_cb(int lch, u16 ch_status, void > > *data) > > static int hist_buf_dma(struct isps

Re: [PATCH v5] media: i2c: add support for omnivision's ov2659 sensor

2015-03-12 Thread Sakari Ailus
Hi Prabhakar, On Thu, Mar 12, 2015 at 11:22:36PM +, Lad Prabhakar wrote: ... > +static int ov2659_probe(struct i2c_client *client, > + const struct i2c_device_id *id) > +{ > + const struct ov2659_platform_data *pdata = ov2659_get_pdata(client); > + struct v4l2_subde

[PATCH v2 1/2] of: Add vendor prefix for Aptina Imaging

2015-03-12 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) Aptina has recently been acquired by ON Semiconductor, but the name Aptina is still widely used. Should the onnn prefix be used instead ? diff --git a/Documentation/de

[PATCH v2 2/2] v4l: mt9v032: Add OF support

2015-03-12 Thread Laurent Pinchart
Parse DT properties into a platform data structure when a DT node is available. Signed-off-by: Laurent Pinchart --- Changes since v1: - Add MT9V02[24] compatible strings - Prefix all compatible strings with "aptina," - Use "link-frequencies" instead of "link-freqs" Open questions: - Should t

Re: [PATCH] media: omap3isp: hist: Move histogram DMA to DMA engine

2015-03-12 Thread Sakari Ailus
Hi Laurent, On Sun, Mar 08, 2015 at 11:37:55PM +0200, Laurent Pinchart wrote: ... > @@ -198,24 +177,58 @@ static void hist_dma_cb(int lch, u16 ch_status, void > *data) > static int hist_buf_dma(struct ispstat *hist) > { > dma_addr_t dma_addr = hist->active_buf->dma_addr; > + struct dm

Re: [RFC 14/18] dt: bindings: Add bindings for omap3isp

2015-03-12 Thread Sakari Ailus
Hi Laurent, On Fri, Mar 13, 2015 at 01:11:03AM +0200, Laurent Pinchart wrote: > Hi Sakari, > > On Friday 13 March 2015 01:03:21 Sakari Ailus wrote: > > On Thu, Mar 12, 2015 at 01:39:07AM +0200, Laurent Pinchart wrote: > > > On Saturday 07 March 2015 23:41:11 Sakari Ailus wrote: > > > > Signed-off

Re: [PATCH] v4l: mt9v032: Add OF support

2015-03-12 Thread Laurent Pinchart
Hi Sylwester, On Monday 09 March 2015 13:22:12 Sylwester Nawrocki wrote: > On 09/03/15 12:29, Laurent Pinchart wrote: > > On Monday 09 March 2015 11:35:52 Sylwester Nawrocki wrote: > >> On 08/03/15 14:45, Laurent Pinchart wrote: > >>> +++ b/Documentation/devicetree/bindings/media/i2c/mt9v032.txt >

[PATCH v5] media: i2c: add support for omnivision's ov2659 sensor

2015-03-12 Thread Lad Prabhakar
From: Benoit Parrot this patch adds support for omnivision's ov2659 sensor, the driver supports following features: 1: Asynchronous probing 2: DT support 3: Media controller support Signed-off-by: Benoit Parrot Signed-off-by: Lad, Prabhakar --- Changes for v5: a: Implemented V4L2_CID_PIXEL_R

Re: [RFC 14/18] dt: bindings: Add bindings for omap3isp

2015-03-12 Thread Laurent Pinchart
Hi Sakari, On Friday 13 March 2015 01:03:21 Sakari Ailus wrote: > On Thu, Mar 12, 2015 at 01:39:07AM +0200, Laurent Pinchart wrote: > > On Saturday 07 March 2015 23:41:11 Sakari Ailus wrote: > > > Signed-off-by: Sakari Ailus > > > --- > > > > > > .../devicetree/bindings/media/ti,omap3isp.txt

[PATCH 1/1] SMI PCIe driver for DVBSky cards

2015-03-12 Thread Dirk Nehring
ported from the manufacturer's source tree, available from http://dvbsky.net/download/linux/media_build-bst-150211.tar.gz Signed-off-by: Dirk Nehring --- drivers/media/pci/smipcie/Kconfig | 1 + drivers/media/pci/smipcie/Makefile | 3 + drivers/media/pci/smip

Re: [RFC 14/18] dt: bindings: Add bindings for omap3isp

2015-03-12 Thread Sakari Ailus
Hi Laurent, On Thu, Mar 12, 2015 at 01:39:07AM +0200, Laurent Pinchart wrote: > Hi Sakari, > > Thank you for the patch. > > On Saturday 07 March 2015 23:41:11 Sakari Ailus wrote: > > Signed-off-by: Sakari Ailus > > --- > > .../devicetree/bindings/media/ti,omap3isp.txt | 64 +

Re: [RFC 13/18] v4l: of: Read lane-polarity endpoint property

2015-03-12 Thread Sakari Ailus
On Fri, Mar 13, 2015 at 12:23:27AM +0200, Sakari Ailus wrote: ... > > > + > > > + for (i = 0; i < ARRAY_SIZE(bus->lane_polarity); i++) { > > > + polarity = of_prop_next_u32(prop, polarity, &v); > > > + if (!polarity) > > > + break; > >

Re: [RFC 13/18] v4l: of: Read lane-polarity endpoint property

2015-03-12 Thread Sakari Ailus
Hi Laurent, On Sun, Mar 08, 2015 at 01:49:26AM +0200, Laurent Pinchart wrote: > Hi Sakari, > > Thank you for the patch. > > On Saturday 07 March 2015 23:41:10 Sakari Ailus wrote: > > Add lane_polarity field to struct v4l2_of_bus_mipi_csi2 and write the > > contents of the lane polarity property

[PATCH] uvcvideo: Add quirk for Quanta NL3 laptop camera

2015-03-12 Thread Daniel Drake
The Quanta NL3 laptop has a UVC camera which the descriptor says comes from Realtek: https://gist.github.com/dsd/9a6567baa53c747fd306 Probe fails, because the output terminal (ID 3) references a non-existent source with ID 6. Fixing it to add itself onto the end of the chain makes the camera work.

[PATCH v1.1 3/3] v4l: of: Add link-frequencies array to struct v4l2_of_endpoint

2015-03-12 Thread Sakari Ailus
Parse and read the link-frequencies property in v4l2_of_parse_endpoint(). The property is an u64 array of undefined length, thus the memory allocation may fail, leading - v4l2_of_parse_endpoint() to return an error in such a case (as well as when failing to parse the property) and - to requiring

Re: [PATCH v3][RFC] add raw video stream support for Samsung SUR40

2015-03-12 Thread Florian Echtler
Hello Hans, On 09.03.2015 15:02, Hans Verkuil wrote: > On 03/09/2015 02:45 PM, Florian Echtler wrote: >> On 09.03.2015 11:09, Hans Verkuil wrote: >>> The error almost certainly comes from usb_submit_urb(). That function does >>> some >>> checks on the sgl: >>> >>> I wonder it the code gets there.

Re: [PATCH v3 00/10] Use media bus formats in imx-drm and add drm panel support

2015-03-12 Thread Emil Renner Berthing
Hi Philipp On 12 March 2015 at 10:58, Philipp Zabel wrote: > Currently the imx-drm driver misuses the V4L2_PIX_FMT constants to describe > the > pixel format on the parallel bus between display controllers and encoders. Now > that MEDIA_BUS_FMT is available, use that instead. I've tested this s

[PATCH/RFC v13 03/13] leds: Add support for max77693 mfd flash cell

2015-03-12 Thread Jacek Anaszewski
This patch adds led-flash support to Maxim max77693 chipset. A device can be exposed to user space through LED subsystem sysfs interface. Device supports up to two leds which can work in flash and torch mode. The leds can be triggered externally or by software. Signed-off-by: Jacek Anaszewski Sig

[PATCH/RFC v13 02/13] dt-binding: leds: Add common LED DT bindings macros

2015-03-12 Thread Jacek Anaszewski
Add macros for defining boost mode and trigger type properties of flash LED devices. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie --- include/dt-bindings/leds/common.h | 21 + 1 file changed, 21 insertions(+) create mode 100644

[PATCH/RFC v13 05/13] leds: Add driver for AAT1290 current regulator

2015-03-12 Thread Jacek Anaszewski
This patch adds a driver for the 1.5A Step-Up Current Regulator for Flash LEDs. The device is programmed through a Skyworks proprietary AS2Cwire serial digital interface. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie --- drivers/leds/Kconfig|

[PATCH/RFC v13 00/13] LED / flash API integration

2015-03-12 Thread Jacek Anaszewski
This patch set is a follow-up of the LED / flash API integration series [1]. It is based on linux-next_20150312, with patches for mfd max77693 from the previous version of the patch set. Those patches have been recently applied to mfd tree and are awaiting merging with linux-next.

[PATCH/RFC v13 06/13] of: Add Skyworks Solutions, Inc. vendor prefix

2015-03-12 Thread Jacek Anaszewski
Use "skyworks" as the vendor prefix for the Skyworks Solutions, Inc. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Doc

[PATCH/RFC v13 10/13] Documentation: leds: Add description of v4l2-flash sub-device

2015-03-12 Thread Jacek Anaszewski
This patch extends LED Flash class documention by the description of interactions with v4l2-flash sub-device. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Acked-by: Sakari Ailus Cc: Bryan Wu Cc: Richard Purdie --- Documentation/leds/leds-class-flash.txt | 13 + 1 fil

[PATCH/RFC v13 08/13] exynos4-is: Add support for v4l2-flash subdevs

2015-03-12 Thread Jacek Anaszewski
This patch adds support for external v4l2-flash devices. The support includes parsing "flashes" DT property and asynchronous subdevice registration. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Sylwester Nawrocki --- drivers/media/platform/exynos4-is/media-dev.c | 36 +

[PATCH/RFC v13 04/13] DT: Add documentation for the mfd Maxim max77693

2015-03-12 Thread Jacek Anaszewski
This patch adds device tree binding documentation for the flash cell of the Maxim max77693 multifunctional device. Signed-off-by: Jacek Anaszewski Signed-off-by: Andrzej Hajda Acked-by: Kyungmin Park Cc: Lee Jones Cc: Chanwoo Choi Cc: Bryan Wu Cc: Richard Purdie --- Documentation/devicetre

[PATCH/RFC v13 09/13] media: Add registration helpers for V4L2 flash sub-devices

2015-03-12 Thread Jacek Anaszewski
This patch adds helper functions for registering/unregistering LED Flash class devices as V4L2 sub-devices. The functions should be called from the LED subsystem device driver. In case the support for V4L2 Flash sub-devices is disabled in the kernel config the functions' empty versions will be used

[PATCH/RFC v13 07/13] DT: Add documentation for the Skyworks AAT1290

2015-03-12 Thread Jacek Anaszewski
This patch adds device tree binding documentation for 1.5A Step-Up Current Regulator for Flash LEDs. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie --- .../devicetree/bindings/leds/leds-aat1290.txt | 71 1 file changed, 71 i

[PATCH/RFC v13 01/13] leds: flash: Fix the size of sysfs_groups array

2015-03-12 Thread Jacek Anaszewski
LED_FLASH_MAX_SYSFS_GROUPS macro had value that was relevant for previous version of the patches introducing LED Flash class. Currently it is required to reserve the room for maximum 4 sysfs groups. Since the last element of the struct attribute_group array passed to the function device_create_with

[PATCH/RFC v13 12/13] leds: max77693: add support for V4L2 Flash sub-device

2015-03-12 Thread Jacek Anaszewski
Add support for V4L2 Flash sub-device to the max77693 LED Flash class driver. The support allows for V4L2 Flash sub-device to take the control of the LED Flash class device. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie Cc: Sakari Ailus --- drivers/l

[PATCH/RFC v13 11/13] DT: Add documentation for exynos4-is 'flashes' property

2015-03-12 Thread Jacek Anaszewski
This patch adds a description of 'flashes' property to the samsung-fimc.txt. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Sylwester Nawrocki --- .../devicetree/bindings/media/samsung-fimc.txt |8 1 file changed, 8 insertions(+) diff --git a/Documentation/device

[PATCH/RFC v13 13/13] leds: aat1290: add support for V4L2 Flash sub-device

2015-03-12 Thread Jacek Anaszewski
Add support for V4L2 Flash sub-device to the aat1290 LED Flash class driver. The support allows for V4L2 Flash sub-device to take the control of the LED Flash class device. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie Cc: Sakari Ailus --- drivers/le

[PATCH] [media] wl128x-radio really depends on TI_ST

2015-03-12 Thread Arnd Bergmann
All other drivers using the TI_ST infrastructure use 'depends on' for this symbol, and it makes no sense to only enable that if CONFIG_NET is enable, because the radio driver also depends on CONFIG_NET itself: ERROR: "skb_queue_purge" [drivers/media/radio/wl128x/fm_drv.ko] undefined! ERROR: "skb_p

Re: [PATCH v3 00/10] Use media bus formats in imx-drm and add drm panel support

2015-03-12 Thread Hans Verkuil
Hi Philipp, On 03/12/15 10:58, Philipp Zabel wrote: > Currently the imx-drm driver misuses the V4L2_PIX_FMT constants to describe > the > pixel format on the parallel bus between display controllers and encoders. Now > that MEDIA_BUS_FMT is available, use that instead. > > I'd like to get the V4

[PATCH v3 09/10] drm/imx: imx-ldb: reset display clock input when disabling LVDS

2015-03-12 Thread Philipp Zabel
The LDB driver changes the attached display interface's input clock mux to the LDB_DI clock reference. Change it back again when disabling the LVDS display. Changing back to the PLL5 for example allows to configure the same DI for HDMI output later. Signed-off-by: Philipp Zabel --- drivers/gpu/d

[PATCH v3 05/10] Add RGB666_1X24_CPADHI media bus format

2015-03-12 Thread Philipp Zabel
Commit 9e74d2926a28 ("staging: imx-drm: add LVDS666 support for parallel display") describes a 24-bit bus format where three 6-bit components each take the lower part of 8 bits with the two high bits zero padded. Add a component-wise padded media bus format RGB666_1X24_CPADHI to support this connec

[PATCH v3 08/10] drm/imx: imx-ldb: add drm_panel support

2015-03-12 Thread Philipp Zabel
This patch allows to optionally attach the lvds-channel to a panel supported by a drm_panel driver using of-graph bindings, instead of supplying the modes via display-timings in the device tree. This depends on of_graph_get_port_by_id and uses the OF graph to link the optional DRM panel to the LDB

[PATCH v3 02/10] Add LVDS RGB media bus formats

2015-03-12 Thread Philipp Zabel
This patch adds three new RGB media bus formats that describe 18-bit or 24-bit samples transferred over an LVDS bus with three or four differential data pairs, serialized into 7 time slots, using standard SPWG/PSWG/VESA or JEIDA data ordering. Signed-off-by: Philipp Zabel Acked-by: Sakari Ailus

[PATCH v3 10/10] drm/imx: imx-ldb: allow to determine bus format from the connected panel

2015-03-12 Thread Philipp Zabel
This patch makes the fsl,data-width and fsl,data-mapping device tree properties optional if a panel is connected to the ldb output port via the of_graph bindings. The data mapping is determined from the display_info.bus_format field provided by the panel. Signed-off-by: Philipp Zabel --- drivers

[PATCH v3 01/10] Add RGB444_1X12 and RGB565_1X16 media bus formats

2015-03-12 Thread Philipp Zabel
From: Boris Brezillion Add RGB444_1X12 and RGB565_1X16 format definitions and update the documentation. Signed-off-by: Boris Brezillon Acked-by: Mauro Carvalho Chehab Acked-by: Sakari Ailus Acked-by: Laurent Pinchart Signed-off-by: Philipp Zabel --- Documentation/DocBook/media/v4l/subdev-f

[PATCH v3 04/10] Add YUV8_1X24 media bus format

2015-03-12 Thread Philipp Zabel
This patch adds the media bus format for a 24-bit bus format with three 8-bit YUV components. Signed-off-by: Philipp Zabel Acked-by: Laurent Pinchart --- Documentation/DocBook/media/v4l/subdev-formats.xml | 37 ++ include/uapi/linux/media-bus-format.h | 3 +- 2

[PATCH v3 00/10] Use media bus formats in imx-drm and add drm panel support

2015-03-12 Thread Philipp Zabel
Currently the imx-drm driver misuses the V4L2_PIX_FMT constants to describe the pixel format on the parallel bus between display controllers and encoders. Now that MEDIA_BUS_FMT is available, use that instead. I'd like to get the V4L2 maintainers' acks for the four necessary media bus format patch

[PATCH v3 07/10] drm/imx: consolidate bus format variable names

2015-03-12 Thread Philipp Zabel
This patch consolidates the different interface_pix_fmt, pixel_fmt, pix_fmt, and pixfmt variables to a common name "bus_format" wherever they describe the pixel format on the bus between display controller and encoder hardware. At the same time, it renames imx_drm_panel_format to imx_drm_set_bus_fo

[PATCH v3 06/10] drm/imx: switch to use media bus formats

2015-03-12 Thread Philipp Zabel
imx-drm internally misused the V4L2_PIX_FMT constants, which are supposed to describe the pixel format of frame buffers in memory, to describe the pixel format on the bus between the display controller and the encoder hardware. Now that MEDIA_BUS_FMT constants are available to drm drivers, use thos

[PATCH v3 03/10] Add BGR888_1X24 and GBR888_1X24 media bus formats

2015-03-12 Thread Philipp Zabel
This patch adds two more 24-bit RGB formats. BGR888 is more or less common, GBR888 is used on the internal connection between the IPU display interface and the TVE (VGA DAC) on i.MX53 SoCs. Signed-off-by: Philipp Zabel Acked-by: Laurent Pinchart --- Documentation/DocBook/media/v4l/subdev-format

Loan of any Amount

2015-03-12 Thread Loan Financiers worldwid
Do you need loan to pay off bills or start up business? --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel

[PATCH] rtl2832: fix compiler warning

2015-03-12 Thread Hans Verkuil
>From the daily build: rtl2832.c: In function 'rtl2832_read_status': rtl2832.c:703:12: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] } else if (tmp == 10) { ^ The code is OK, it's just the compiler that cannot figure out what's going on. So just