cron job: media_tree daily build: OK

2014-06-07 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: Sun Jun 8 04:00:25 CEST 2014 git branch: test git hash: 5ea878796f0a1d9649fe43a6a09df53d3915c0ef gcc versi

RE: fusion hdtv dual express 2 (working, kind of)

2014-06-07 Thread James Harper
> Hi, > I don't use mythtv myself so I can't help you troubleshooting using this > program. But the symptoms you describe (high pitch sound, degraded video) > make me think of missing packets in the received stream. May be you might > use vlc in maximum verbosity mode to get information about the s

Free Lotto Award Notification(Reference:WIN-37-14-29-14)

2014-06-07 Thread INFO
>From claim´s processing office. Free Lotto Lottery Award Notification Confirmation Ticket No: 33-48-19-H5H Reference:WIN-37-14-29-14 You have won( 1 Million Euros )in the Free Lotto Lottery Award 2014 held in Madrid Spain This email was sent to notify you officially as you are advise to contact t

[PATCH 28/43] imx-drm: ipu-cpmem: Add ipu_cpmem_dump()

2014-06-07 Thread Steve Longerbeam
Adds ipu_cpmem_dump() which dumps a channel's cpmem to debug. Signed-off-by: Steve Longerbeam --- drivers/staging/imx-drm/ipu-v3/ipu-cpmem.c | 63 include/linux/platform_data/imx-ipu-v3.h |1 + 2 files changed, 64 insertions(+) diff --git a/drivers/staging/i

[PATCH 01/43] imx-drm: ipu-v3: Move imx-ipu-v3.h to include/linux/platform_data/

2014-06-07 Thread Steve Longerbeam
In subsequent patches, the video capture units will be added (csi, smfc, ic, irt). So the IPU prototypes are no longer needed only by imx-drm, so we need to export them to a common include path. Signed-off-by: Steve Longerbeam --- drivers/staging/imx-drm/imx-hdmi.c |2 +- dri

[PATCH 18/43] imx-drm: ipu-v3: Add ipu_idmac_enable_watermark()

2014-06-07 Thread Steve Longerbeam
Adds the function ipu_idmac_enable_watermark(), which enables or disables watermarking in the IDMAC channel. Enabling watermarking can increase a channel's AXI bus arbitration priority. Signed-off-by: Steve Longerbeam --- drivers/staging/imx-drm/ipu-v3/ipu-common.c | 25 +++

[PATCH 04/43] imx-drm: ipu-v3: Add solo/dual-lite IPU device type

2014-06-07 Thread Steve Longerbeam
Signed-off-by: Jiada Wang --- drivers/staging/imx-drm/ipu-v3/ipu-common.c | 18 ++ include/linux/platform_data/imx-ipu-v3.h|1 + 2 files changed, 19 insertions(+) diff --git a/drivers/staging/imx-drm/ipu-v3/ipu-common.c b/drivers/staging/imx-drm/ipu-v3/ipu-common.c ind

[PATCH 11/43] imx-drm: ipu-v3: Add helper function checking if pixfmt is planar

2014-06-07 Thread Steve Longerbeam
Add simple helper function returning true if passed pixel format is one of supported planar ones. Signed-off-by: Dmitry Eremin-Solenikov --- drivers/staging/imx-drm/ipu-v3/ipu-common.c | 12 include/linux/platform_data/imx-ipu-v3.h|1 + 2 files changed, 13 insertions(+) d

[PATCH 03/43] imx-drm: ipu-v3: Add ipu_get_num()

2014-06-07 Thread Steve Longerbeam
Adds of-alias id to ipu_soc and retrieve with ipu_get_num(). Signed-off-by: Steve Longerbeam --- drivers/staging/imx-drm/ipu-v3/ipu-common.c |8 drivers/staging/imx-drm/ipu-v3/ipu-prv.h|1 + include/linux/platform_data/imx-ipu-v3.h|5 + 3 files changed, 14 insert

[PATCH 13/43] imx-drm: ipu-v3: Add ipu_idmac_buffer_is_ready()

2014-06-07 Thread Steve Longerbeam
Add ipu_idmac_buffer_is_ready(), returns true if the given buffer in the given channel is set ready (owned by IPU), or false if not ready (owned by CPU core). Support has been added for third buffer, there is no support yet for triple-buffering in idmac channels, but this function checks buffer-re

[PATCH 07/43] imx-drm: ipu-v3: Rename and add IDMAC channels

2014-06-07 Thread Steve Longerbeam
Rename the ENC/VF/PP rotation channel names, to be more consistent with the convention that *_MEM is write-to-memory channels and MEM_* is read-from-memory channels. Also add the channels who's source and destination is the IC. Signed-off-by: Steve Longerbeam --- drivers/staging/imx-drm/ipu-v3/i

[PATCH 15/43] imx-drm: ipu-v3: Add ipu_idmac_current_buffer()

2014-06-07 Thread Steve Longerbeam
Add ipu_idmac_current_buffer(), returns the currently active buffer number in the given channel. Checks for third buffer ready in case triple-buffer support is added later. Signed-off-by: Steve Longerbeam --- drivers/staging/imx-drm/ipu-v3/ipu-common.c | 27 +++ driver

[PATCH 16/43] imx-drm: ipu-v3: Add __ipu_idmac_reset_current_buffer()

2014-06-07 Thread Steve Longerbeam
Adds __ipu_idmac_reset_current_buffer() that resets a channel's internal current buffer pointer so that transfers start from buffer 0 on the next channel enable. This operation is required for channel linking to work correctly, for instance video capture pipelines that carry out image rotations wi

[PATCH 02/43] ARM: dts: imx6qdl: Add ipu aliases

2014-06-07 Thread Steve Longerbeam
Add ipu0 (and ipu1 for quad) aliases to ipu1/ipu2 nodes respectively. Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6q.dtsi |1 + arch/arm/boot/dts/imx6qdl.dtsi |1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi i

[PATCH 19/43] imx-drm: ipu-v3: Add ipu_idmac_lock_enable()

2014-06-07 Thread Steve Longerbeam
Adds ipu_idmac_lock_enable(), which enables or disables channel burst locking. Signed-off-by: Steve Longerbeam --- drivers/staging/imx-drm/ipu-v3/ipu-common.c | 69 +++ include/linux/platform_data/imx-ipu-v3.h|1 + 2 files changed, 70 insertions(+) diff --git a

[PATCH 31/43] ARM: dts: imx6qdl: Flesh out MIPI CSI2 receiver node

2014-06-07 Thread Steve Longerbeam
Add mode device info to the MIPI CSI2 receiver node: compatible string, interrupt sources, clocks. Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6qdl.dtsi |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/im

[PATCH 37/43] ARM: imx6q: clk: Add video 27m clock

2014-06-07 Thread Steve Longerbeam
Adds a 27MHz clock that is a fixed /20 from the pll3_pfd1_540m clock. The MIPI CSI2 receiver depends on this clock for its D-PHY operation. Based on ENGR00275483-1 from Freescale. Signed-off-by: Liu Ying Signed-off-by: Steve Longerbeam --- .../devicetree/bindings/clock/imx6q-clock.txt |

[PATCH 32/43] ARM: dts: imx: sabrelite: add video capture ports and endpoints

2014-06-07 Thread Steve Longerbeam
Defines the host v4l2-capture device node and an OV5642 camera sensor node on i2c2. The host capture device is a child of ipu1. An OV5642 parallel-bus endpoint is defined that connects to the host parallel-bus endpoint on CSI0, using the OF graph bindings described in Documentation/devicetree/bindi

[PATCH 25/43] imx-drm: ipu-cpmem: Add ipu_cpmem_set_rotation()

2014-06-07 Thread Steve Longerbeam
Adds ipu_cpmem_set_rotation(). Signed-off-by: Steve Longerbeam --- drivers/staging/imx-drm/ipu-v3/ipu-cpmem.c |9 + include/linux/platform_data/imx-ipu-v3.h |2 ++ 2 files changed, 11 insertions(+) diff --git a/drivers/staging/imx-drm/ipu-v3/ipu-cpmem.c b/drivers/staging/imx-

[PATCH 23/43] imx-drm: ipu-cpmem: Add ipu_cpmem_set_block_mode()

2014-06-07 Thread Steve Longerbeam
Adds ipu_cpmem_set_block_mode(). Signed-off-by: Steve Longerbeam --- drivers/staging/imx-drm/ipu-v3/ipu-cpmem.c |6 ++ include/linux/platform_data/imx-ipu-v3.h |1 + 2 files changed, 7 insertions(+) diff --git a/drivers/staging/imx-drm/ipu-v3/ipu-cpmem.c b/drivers/staging/imx-drm

[PATCH 27/43] imx-drm: ipu-v3: Add more planar formats support

2014-06-07 Thread Steve Longerbeam
Adds support for the following planar and partial-planar formats: YUV422 NV12 NV21 NV16 NV61 Signed-off-by: Dmitry Eremin-Solenikov Signed-off-by: Mohsin Kazmi Signed-off-by: Steve Longerbeam --- drivers/staging/imx-drm/ipu-v3/ipu-common.c | 26 + drivers/staging/imx-drm/ipu-v3/ipu-cpme

[PATCH 34/43] ARM: dts: imx6-sabreauto: add video capture ports and endpoints

2014-06-07 Thread Steve Longerbeam
Defines the host v4l2-capture device node and the ADV7180 decoder sensor. The host capture device is a child of ipu1. The ADV7180 is connected to the host parallel-bus endpoint on CSI0. On the sabreauto, two analog video inputs are routed to the ADV7180, composite on Ain1, and composite on Ain3. T

[PATCH 21/43] imx-drm: ipu-v3: Add ipu_bits_per_pixel()

2014-06-07 Thread Steve Longerbeam
Add simple conversion from pixelformat to total bits-per-pixel. Signed-off-by: Steve Longerbeam --- drivers/staging/imx-drm/ipu-v3/ipu-common.c | 27 +++ include/linux/platform_data/imx-ipu-v3.h|1 + 2 files changed, 28 insertions(+) diff --git a/drivers/stagin

[PATCH 24/43] imx-drm: ipu-cpmem: Add ipu_cpmem_set_axi_id()

2014-06-07 Thread Steve Longerbeam
Adds ipu_cpmem_set_axi_id() to set which AXI bus master the channel will use to transfer data onto AXI bus. Signed-off-by: Steve Longerbeam --- drivers/staging/imx-drm/ipu-v3/ipu-cpmem.c |7 +++ include/linux/platform_data/imx-ipu-v3.h |1 + 2 files changed, 8 insertions(+) diff -

[PATCH 17/43] imx-drm: ipu-v3: Add ipu_stride_to_bytes()

2014-06-07 Thread Steve Longerbeam
Adds ipu_stride_to_bytes(), which converts a pixel stride to bytes, suitable for passing to cpmem. Signed-off-by: Steve Longerbeam --- drivers/staging/imx-drm/ipu-v3/ipu-common.c | 30 +++ include/linux/platform_data/imx-ipu-v3.h|1 + 2 files changed, 31 inserti

[PATCH 20/43] imx-drm: ipu-v3: Add idmac channel linking support

2014-06-07 Thread Steve Longerbeam
Add idmac channel linking/unlinking functions for specific IPU client use cases. The following linkings are currently needed: - ipu_link_prp_enc_rot_enc(): Link IPUV3_CHANNEL_IC_PRP_ENC_MEM to IPUV3_CHANNEL_MEM_ROT_ENC. - ipu_link_prpvf_rot_prpvf(): Links IPUV3_CHANNEL_IC_PRP_VF_MEM to IPUV3_CH

[PATCH 29/43] imx-drm: ipu-v3: Add ipu_dump()

2014-06-07 Thread Steve Longerbeam
Adds ipu_dump() which dumps IPU register state to debug. Signed-off-by: Steve Longerbeam --- drivers/staging/imx-drm/ipu-v3/ipu-common.c | 41 +++ include/linux/platform_data/imx-ipu-v3.h|1 + 2 files changed, 42 insertions(+) diff --git a/drivers/staging/imx-d

[PATCH 30/43] ARM: dts: imx6: add pin groups for imx6q/dl for IPU1 CSI0

2014-06-07 Thread Steve Longerbeam
Signed-off-by: Steve Longerbeam Signed-off-by: Jiada Wang --- arch/arm/boot/dts/imx6qdl.dtsi | 52 1 file changed, 52 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index 04c978c..d793cd6 100644 --- a/arch/ar

[PATCH 35/43] ARM: dts: imx6qdl: Add simple-bus to ipu compatibility

2014-06-07 Thread Steve Longerbeam
The IPU can have child devices now, so add "simple-bus" to compatible list to ensure creation of the children. Signed-off-by: Steve Longerbeam --- .../bindings/staging/imx-drm/fsl-imx-drm.txt |6 -- arch/arm/boot/dts/imx6q.dtsi |2 +- arch/arm/boot/dts/imx

[PATCH 43/43] ARM: imx_v6_v7_defconfig: Enable video4linux drivers

2014-06-07 Thread Steve Longerbeam
Enable imx6 staging v4l2 drivers as modules. For video capture on the SabreAuto, the ADV7180 video decoder also requires the i2c-mux-gpio and the max7310 port expander. Signed-off-by: Steve Longerbeam --- arch/arm/configs/imx_v6_v7_defconfig |4 1 file changed, 4 insertions(+) diff --g

[PATCH 26/43] imx-drm: ipu-cpmem: Add second buffer support to ipu_cpmem_set_image()

2014-06-07 Thread Steve Longerbeam
Add a second buffer physaddr to struct ipu_image, for double-buffering support. Signed-off-by: Steve Longerbeam --- drivers/staging/imx-drm/ipu-v3/ipu-cpmem.c | 32 ++-- include/linux/platform_data/imx-ipu-v3.h |3 ++- 2 files changed, 18 insertions(+), 17 deletio

[PATCH 14/43] imx-drm: ipu-v3: Add ipu_idmac_clear_buffer()

2014-06-07 Thread Steve Longerbeam
Add the reverse of ipu_idmac_select_buffer(), that is, clear a buffer ready status in a channel. Signed-off-by: Steve Longerbeam --- drivers/staging/imx-drm/ipu-v3/ipu-common.c | 28 +++ include/linux/platform_data/imx-ipu-v3.h|1 + 2 files changed, 29 insertion

[PATCH 22/43] imx-drm: ipu-v3: Add ipu-cpmem unit

2014-06-07 Thread Steve Longerbeam
Move channel parameter memory setup functions and macros into a new submodule ipu-cpmem. In the process, cleanup arguments to the functions to take a channel pointer instead of a pointer into cpmem for that channel. That allows the structure of the parameter memory to be private to ipu-cpmem.c. Si

[PATCH 36/43] gpio: pca953x: Add reset-gpios property

2014-06-07 Thread Steve Longerbeam
Add optional reset-gpios property. If present, de-assert the specified reset gpio pin to bring the chip out of reset. Signed-off-by: Steve Longerbeam --- drivers/gpio/gpio-pca953x.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/drivers/gpio/gpio-pca953x.c b/dr

[PATCH 33/43] ARM: dts: imx6-sabresd: add video capture ports and endpoints

2014-06-07 Thread Steve Longerbeam
Defines the host v4l2-capture device node and two camera sensors: parallel-bus OV5642 and MIPI CSI-2 OV5640. The host capture device is a child of ipu1. The MIPI CSI-2 receiver device is also defined. The OV5642 is connected to the host parallel-bus endpoint on CSI0, and the OV5640 is connected to

[PATCH 38/43] media: imx6: Add device tree binding documentation

2014-06-07 Thread Steve Longerbeam
Add device tree binding documentation for i.MX6 media devices. Signed-off-by: Steve Longerbeam --- Documentation/devicetree/bindings/media/imx6.txt | 433 ++ 1 file changed, 433 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/imx6.txt diff --git a/

[PATCH 42/43] media: imx6: Add support for ADV7180 Video Decoder

2014-06-07 Thread Steve Longerbeam
This driver is based on adv7180.c from Freescale imx_3.10.17_1.0.0_beta branch, modified heavily for code cleanup and converted from int-device to subdev. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx6/capture/Kconfig |7 + drivers/staging/media/imx6/capture/Makefile |

[PATCH 12/43] imx-drm: ipu-v3: Move IDMAC channel names to imx-ipu-v3.h

2014-06-07 Thread Steve Longerbeam
Move the IDMAC channel names to imx-ipu-v3.h, to make the names available outside IPU. Add a couple new channels in the process (async display BG/FG, channels 24 and 29). Signed-off-by: Steve Longerbeam --- drivers/staging/imx-drm/ipu-v3/ipu-prv.h | 25 - include/linux/

[PATCH 05/43] imx-drm: ipu-v3: Map IOMUXC registers

2014-06-07 Thread Steve Longerbeam
Map the IOMUXC registers, which will be needed by ipu-csi for mux control. Signed-off-by: Steve Longerbeam --- drivers/staging/imx-drm/ipu-v3/ipu-common.c |8 drivers/staging/imx-drm/ipu-v3/ipu-prv.h|4 2 files changed, 12 insertions(+) diff --git a/drivers/staging/imx

[PATCH 00/43] i.MX6 Video capture

2014-06-07 Thread Steve Longerbeam
Hi all, This patch set adds video capture support for the Freescale i.MX6 SOC. It is a from-scratch standardized driver that works with community v4l2 utilities, such as v4l2-ctl, v4l2-cap, and the v4l2src gstreamer plugin. It uses the latest v4l2 interfaces (subdev, videobuf2). Please see Docume

[PATCH 06/43] imx-drm: ipu-v3: Add functions to set CSI/IC source muxes

2014-06-07 Thread Steve Longerbeam
Adds two new functions, ipu_set_csi_src_mux() and ipu_set_ic_src_mux(), that select the inputs to the CSI and IC respectively. Both muxes are programmed in the IPU_CONF register. Signed-off-by: Steve Longerbeam --- drivers/staging/imx-drm/ipu-v3/ipu-common.c | 51 +++ d

[PATCH 09/43] imx-drm: ipu-v3: Add ipu_mbus_code_to_colorspace()

2014-06-07 Thread Steve Longerbeam
Add ipu_mbus_code_to_colorspace() to find ipu_color_space from a media bus pixel format code. Signed-off-by: Steve Longerbeam --- drivers/staging/imx-drm/ipu-v3/ipu-common.c | 13 + include/linux/platform_data/imx-ipu-v3.h|1 + 2 files changed, 14 insertions(+) diff --git

[PATCH 10/43] imx-drm: ipu-v3: Add rotation mode conversion utilities

2014-06-07 Thread Steve Longerbeam
Add two functions: - ipu_degrees_to_rot_mode(): converts a degrees, hflip, and vflip setting to an IPU rotation mode. - ipu_rot_mode_to_degrees(): converts an IPU rotation mode with given hflip and vflip settings to degrees. Signed-off-by: Steve Longerbeam --- drivers/staging/imx-drm/ipu-v3

non-working UVC device 058f:5608

2014-06-07 Thread Johannes Berg
I just obtained a new (special-purpose) webcam, and it doesn't seem to work at all. On kernel torvals/linux.git next branch, it doesn't even really connect, on 3.13 (which I'm running on my laptop) I get errors like this: xhci_hcd :00:14.0: ERROR Transfer event TRB DMA ptr not part of current

Re: [PATCH] media-device: Remove duplicated memset() in media_enum_entities()

2014-06-07 Thread Joe Perches
On Sat, 2014-06-07 at 16:41 +0200, Salva Peiró wrote: > After the zeroing the whole struct struct media_entity_desc u_ent, > it is no longer necessary to memset(0) its u_ent.name field. trivia: > diff --git a/drivers/media/media-device.c b/drivers/media/media-device.c [] > @@ -106,8 +106,6 @@ sta

[PATCH] media-device: Remove duplicated memset() in media_enum_entities()

2014-06-07 Thread Salva Peiró
After the zeroing the whole struct struct media_entity_desc u_ent, it is no longer necessary to memset(0) its u_ent.name field. Signed-off-by: Salva Peiró To: Mauro Carvalho Chehab CC: linux-media@vger.kernel.org CC: linux-ker...@vger.kernel.org CC: linux-ker...@vger.kernel.org CC: sta...@kerne