Re: [PATCH v3 2/2] media: et8ek8: Add documentation

2016-06-14 Thread Sakari Ailus
Hi Rob, On Tue, Jun 14, 2016 at 05:05:17PM -0500, Rob Herring wrote: > On Sat, Jun 11, 2016 at 06:39:53PM +0300, Ivaylo Dimitrov wrote: > > Add DT bindings description > > Not exactly the best commit msg. > > > > > Signed-off-by: Ivaylo Dimitrov > > --- > >

hello linux

2016-06-14 Thread Philip Poole
Sup linux http://webuyopticaltestsystems.com/desk.php?beyond=15741eydamwyhqv Philip -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-14 Thread Takashi Sakamoto
Hi Richard, On Tue, 14 Jun 2016 19:04:44 +0200, Richard Cochran write: >> Well, I guess I should have said, I am not too familiar with the >> breadth of current audio hardware, high end or low end. Of course I >> would like to see even consumer devices work with AVB, but it is up to >> the ALSA

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-14 Thread Takashi Sakamoto
Hi Richard, > On Mon, Jun 13, 2016 at 01:47:13PM +0200, Richard Cochran wrote: >> 3. ALSA support for tunable AD/DA clocks. The rate of the Listener's >>DA clock must match that of the Talker and the other Listeners. >>Either you adjust it in HW using a VCO or similar, or you do >>

cron job: media_tree daily build: OK

2016-06-14 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 Jun 15 04:00:22 CEST 2016 git branch: test git hash: cc650b65bea5613f04a0523c3ee2b91df371e175 gcc

[PATCH 12/38] gpu: ipu-v3: Fix CSI0 blur in NTSC format

2016-06-14 Thread Steve Longerbeam
From: Suresh Dhandapani This patch will change the register IPU_CSI0_CCIR_CODE_2 value from 0x40596 to 0x405A6. The change is related to the Start of field 1 first blanking line command bit[5-3] for NTSC format only. This change is dependent with ADV chip where

[PATCH 06/38] gpu: ipu-v3: Add ipu_set_vdi_src_mux()

2016-06-14 Thread Steve Longerbeam
Adds ipu_set_vdi_src_mux() that selects the VDIC input (from CSI or memory). Signed-off-by: Steve Longerbeam --- drivers/gpu/ipu-v3/ipu-common.c | 20 include/video/imx-ipu-v3.h | 1 + 2 files changed, 21 insertions(+) diff --git

[PATCH 07/38] gpu: ipu-v3: Add VDI input IDMAC channels

2016-06-14 Thread Steve Longerbeam
Adds the VDIC field input IDMAC channels. These channels transfer fields F(n-1), F(n), and F(N+1) from memory to the VDIC (channels 8, 9, 10 respectively). Signed-off-by: Steve Longerbeam --- include/video/imx-ipu-v3.h | 3 +++ 1 file changed, 3 insertions(+) diff

[PATCH 11/38] gpu: ipu-v3: Fix CSI data format for 16-bit media bus formats

2016-06-14 Thread Steve Longerbeam
The CSI data format was being programmed incorrectly for the 1x16 media bus formats. The CSI data format for 16-bit must be bayer/generic (CSI_SENS_CONF_DATA_FMT_BAYER). Suggested-by: Carsten Resch Signed-off-by: Steve Longerbeam ---

[PATCH 09/38] gpu: ipu-v3: Add ipu_ic_set_src()

2016-06-14 Thread Steve Longerbeam
Adds ipu_ic_set_src() which is just aa wrapper around ipu_set_ic_src_mux(). Signed-off-by: Steve Longerbeam --- drivers/gpu/ipu-v3/ipu-ic.c | 10 ++ include/video/imx-ipu-v3.h | 1 + 2 files changed, 11 insertions(+) diff --git

[PATCH 10/38] gpu: ipu-v3: set correct full sensor frame for PAL/NTSC

2016-06-14 Thread Steve Longerbeam
Set the sensor full frame based on whether the passed in mbus_fmt is 720x480 (NTSC) or 720x576 (PAL). Signed-off-by: Steve Longerbeam --- drivers/gpu/ipu-v3/ipu-csi.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git

[PATCH 13/38] gpu: ipu-v3: Fix IRT usage

2016-06-14 Thread Steve Longerbeam
There can be multiple IC tasks using the IRT, so the IRT needs a separate use counter. Create a private ipu_irt_enable() to enable the IRT module when any IC task requires rotation, and ipu_irt_disable() when a task no longer needs the IRT. Signed-off-by: Steve Longerbeam

[PATCH 20/38] ARM: dts: imx6-sabresd: add video capture ports and connections

2016-06-14 Thread Steve Longerbeam
Defines the host ipu-capture device node and two camera sensors: parallel-bus OV5642 and MIPI CSI-2 OV5640. The host capture device connects to the OV5642 via the parallel-bus mux input on the ipu1_csi0_mux. The host capture device connects to the OV5640 via the MIPI CSI-2 receiver (directly on

[PATCH 17/38] ARM: dts: imx6qdl: Flesh out MIPI CSI2 receiver node

2016-06-14 Thread Steve Longerbeam
Add 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, 7 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi

[PATCH 14/38] gpu: ipu-ic: Add complete image conversion support with tiling

2016-06-14 Thread Steve Longerbeam
This patch implements complete image conversion support to ipu-ic, with tiling to support scaling to and from images up to 4096x4096. Image rotation is also supported. The internal API is subsystem agnostic (no V4L2 dependency except for the use of V4L2 fourcc pixel formats). Callers prepare for

[PATCH 16/38] gpu: ipu-v3: rename CSI client device

2016-06-14 Thread Steve Longerbeam
Rename the CSI client device in the client_reg[] table to "imx-ipuv3-csi". Signed-off-by: Steve Longerbeam --- drivers/gpu/ipu-v3/ipu-common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/ipu-v3/ipu-common.c

[PATCH 35/38] media: adv7180: add power pin control

2016-06-14 Thread Steve Longerbeam
Some targets control the ADV7180 power pin via a gpio, so add support for "pwdn-gpio" device node and pin control. Signed-off-by: Steve Longerbeam --- drivers/media/i2c/adv7180.c | 51 + 1 file changed, 51 insertions(+)

[PATCH 37/38] media: Add i.MX5/6 mem2mem driver

2016-06-14 Thread Steve Longerbeam
Adds a V4L2 mem2mem driver for i.MX5/6 SoC. Uses the IPU IC image converter (post-processor task) to perform scaling, rotation, and color space conversion. Signed-off-by: Steve Longerbeam --- Documentation/devicetree/bindings/media/imx.txt | 25 +-

[PATCH 36/38] media: adv7180: implement g_parm

2016-06-14 Thread Steve Longerbeam
Implement g_parm to return the current standard's frame period. Signed-off-by: Steve Longerbeam --- drivers/media/i2c/adv7180.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c

[PATCH 19/38] ARM: dts: imx6-sabrelite: add video capture ports and connections

2016-06-14 Thread Steve Longerbeam
Defines the host video capture device node and an OV5642 camera sensor node on i2c2. The host capture device connects to the OV5642 via the parallel-bus mux input on the ipu1_csi0_mux. Note there is a pin conflict with GPIO6. This pin functions as a power input pin to the OV5642, but ENET

[PATCH 28/38] v4l: Add signal lock status to source change events

2016-06-14 Thread Steve Longerbeam
Add a signal lock status change to the source changes bitmask. This indicates there was a signal lock or unlock event detected at the input of a video decoder. Signed-off-by: Steve Longerbeam --- Documentation/DocBook/media/v4l/vidioc-dqevent.xml | 12 ++--

[PATCH 03/38] gpu: ipu-cpmem: Add ipu_cpmem_get_burstsize()

2016-06-14 Thread Steve Longerbeam
Adds ipu_cpmem_get_burstsize(). Signed-off-by: Steve Longerbeam --- drivers/gpu/ipu-v3/ipu-cpmem.c | 6 ++ include/video/imx-ipu-v3.h | 1 + 2 files changed, 7 insertions(+) diff --git a/drivers/gpu/ipu-v3/ipu-cpmem.c b/drivers/gpu/ipu-v3/ipu-cpmem.c index

[PATCH 22/38] ARM: dts: imx6-sabreauto: add reset-gpios property for max7310

2016-06-14 Thread Steve Longerbeam
The reset pin to the port expander chip (MAX7310) is controlled by a gpio, so define a reset-gpios property to control it. Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git

[PATCH 38/38] ARM: imx_v6_v7_defconfig: Enable staging video4linux drivers

2016-06-14 Thread Steve Longerbeam
Enable imx v4l2 staging drivers. 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 | 2 ++ 1 file changed, 2

[PATCH 21/38] ARM: dts: imx6-sabreauto: create i2cmux for i2c3

2016-06-14 Thread Steve Longerbeam
The sabreauto uses a steering pin to select between the SDA signal on i2c3 bus, and a data-in pin for an SPI NOR chip. Use i2cmux to control this steering pin. Idle state of the i2cmux selects SPI NOR. This is not a classic way to use i2cmux, since one side of the mux selects something other than

[PATCH 24/38] ARM: dts: imx6-sabreauto: add video capture ports and connections

2016-06-14 Thread Steve Longerbeam
Defines the host video capture device node and the ADV7180 decoder sensor. The host capture device connects to the ADV7180 via the parallel-bus mux input on the ipu1_csi0_mux. On the sabreauto, two analog video inputs are routed to the ADV7180, composite on Ain1, and composite on Ain3. Those

[PATCH 25/38] ARM: dts: imx6qdl: add mem2mem device for sabre* boards

2016-06-14 Thread Steve Longerbeam
Enables ipu-mem2mem device on SabreAuto, SabreSD, and SabreLite (also on ipu2 for quad). Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6q-sabreauto.dts| 7 +++ arch/arm/boot/dts/imx6q-sabrelite.dts| 6 ++

[PATCH 34/38] media: imx: Add support for ADV7180 Video Decoder

2016-06-14 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/imx/capture/Kconfig |7 +

[PATCH 30/38] media: imx: Add MIPI CSI-2 Receiver driver

2016-06-14 Thread Steve Longerbeam
Adds MIPI CSI-2 Receiver subdev driver. This subdev is required for sensors with a MIPI CSI2 interface. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/capture/Kconfig | 8 + drivers/staging/media/imx/capture/Makefile| 1 +

[PATCH 05/38] gpu: ipu-v3: Add IDMA channel linking support

2016-06-14 Thread Steve Longerbeam
Adds functions to link and unlink IDMAC source channels to sink channels. So far the following links are supported: IPUV3_CHANNEL_IC_PRP_ENC_MEM -> IPUV3_CHANNEL_MEM_ROT_ENC PUV3_CHANNEL_IC_PRP_VF_MEM -> IPUV3_CHANNEL_MEM_ROT_VF IPUV3_CHANNEL_IC_PP_MEM -> IPUV3_CHANNEL_MEM_ROT_PP More

[PATCH 23/38] ARM: dts: imx6-sabreauto: add pinctrl for gpt input capture

2016-06-14 Thread Steve Longerbeam
Add pinctrl groups for both GPT input capture channels. Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi

[PATCH 32/38] media: imx: Add support for MIPI CSI-2 OV5640

2016-06-14 Thread Steve Longerbeam
This driver is based on ov5640_mipi.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/imx/capture/Kconfig |8 +

[PATCH 26/38] gpio: pca953x: Add reset-gpios property

2016-06-14 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 | 28 1 file changed, 28 insertions(+) diff --git

[PATCH 27/38] clocksource/drivers/imx: add input capture support

2016-06-14 Thread Steve Longerbeam
This patch adds support for the input capture function in the i.MX GPT. Output compare and input capture functions are mixed in the same register block, so we need to modify the irq ack/enable/ disable primitives to not stomp on the other function. The input capture API is modelled after

[PATCH 15/38] gpu: ipu-ic: allow multiple handles to ic

2016-06-14 Thread Steve Longerbeam
The image converter kernel API supports conversion contexts and job queues, so we should allow more than one handle to the IC, so that multiple users can add jobs to the queue. Note however that users that control the IC manually (that do not use the image converter APIs but setup the IC task by

[PATCH 08/38] gpu: ipu-v3: Add ipu_csi_set_src()

2016-06-14 Thread Steve Longerbeam
Adds ipu_csi_set_src() which is just a wrapper around ipu_set_csi_src_mux(). Signed-off-by: Steve Longerbeam --- drivers/gpu/ipu-v3/ipu-csi.c | 8 include/video/imx-ipu-v3.h | 1 + 2 files changed, 9 insertions(+) diff --git

[PATCH 18/38] ARM: dts: imx6qdl: Add mipi_ipu1/2 video muxes, mipi_csi, and their connections

2016-06-14 Thread Steve Longerbeam
From: Philipp Zabel This patch adds the device tree graph connecting the input multiplexers to the IPU CSIs and the MIPI-CSI2 gasket on i.MX6. On i.MX6Q/D two two-input multiplexers in front of IPU1 CSI0 and IPU2 CSI1 allow to select between CSI0/1 parallel input pads

[PATCH 31/38] media: imx: Add video switch

2016-06-14 Thread Steve Longerbeam
From: Philipp Zabel This driver can handle SoC internal and extern video bus multiplexers, controlled either by register bit fields or by GPIO. Signed-off-by: Sascha Hauer Signed-off-by: Philipp Zabel Signed-off-by: Steve

[PATCH 00/38] i.MX5/6 Video Capture

2016-06-14 Thread Steve Longerbeam
Tested on imx6q SabreAuto with ADV7180, and imx6q SabreSD with mipi-csi2 OV5640. There is device-tree support also for imx6qdl SabreLite, but that is not tested. Also, this driver should theoretically work on i.MX5 targets, but that is also untested. Not run through v4l2-compliance yet, but that

[PATCH 01/38] gpu: ipu-v3: Add Video Deinterlacer unit

2016-06-14 Thread Steve Longerbeam
Adds the Video Deinterlacer (VDIC) unit. Signed-off-by: Steve Longerbeam --- drivers/gpu/ipu-v3/Makefile | 2 +- drivers/gpu/ipu-v3/ipu-common.c | 11 ++ drivers/gpu/ipu-v3/ipu-prv.h| 6 + drivers/gpu/ipu-v3/ipu-vdi.c| 266

[PATCH 02/38] gpu: ipu-cpmem: Add ipu_cpmem_set_uv_offset()

2016-06-14 Thread Steve Longerbeam
Adds ipu_cpmem_set_uv_offset(), to set planar U/V offsets. Signed-off-by: Steve Longerbeam --- drivers/gpu/ipu-v3/ipu-cpmem.c | 7 +++ include/video/imx-ipu-v3.h | 1 + 2 files changed, 8 insertions(+) diff --git a/drivers/gpu/ipu-v3/ipu-cpmem.c

[PATCH 04/38] gpu: ipu-v3: Add ipu_get_num()

2016-06-14 Thread Steve Longerbeam
Adds of-alias id to ipu_soc and retrieve with ipu_get_num(). Signed-off-by: Steve Longerbeam --- drivers/gpu/ipu-v3/ipu-common.c | 8 drivers/gpu/ipu-v3/ipu-prv.h| 1 + include/video/imx-ipu-v3.h | 1 + 3 files changed, 10 insertions(+) diff --git

Re: [PATCH v3 2/2] media: et8ek8: Add documentation

2016-06-14 Thread Rob Herring
On Sat, Jun 11, 2016 at 06:39:53PM +0300, Ivaylo Dimitrov wrote: > Add DT bindings description Not exactly the best commit msg. > > Signed-off-by: Ivaylo Dimitrov > --- > .../bindings/media/i2c/toshiba,et8ek8.txt | 50 > ++ > 1 file

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-14 Thread Henrik Austad
On Tue, Jun 14, 2016 at 08:26:15PM +0200, Richard Cochran wrote: > On Tue, Jun 14, 2016 at 11:30:00AM +0200, Henrik Austad wrote: > > So loop data from kernel -> userspace -> kernelspace and finally back to > > userspace and the media application? > > Huh? I wonder where you got that idea. Let

[PATCH] [media] v4l2-ioctl.c: fix warning due wrong check in v4l_cropcap()

2016-06-14 Thread Javier Martinez Canillas
Commit 95dd7b7e30f3 ("[media] v4l2-ioctl.c: improve cropcap compatibility code") tried to check if both .vidioc_cropcap and .vidioc_g_selection are NULL ops and warn if that was the case, but unfortunately the logic isn't correct and instead checks for .vidioc_cropcap == NULL twice. So the v4l2

EIT off-air tables for HD in UK

2016-06-14 Thread Nick Whitehead
I've just started to use this to recover EIT information from the transmitted stream (UK, freeview). I've managed to get the tables OK, but the EIT name / description for all HD channels is scrambled. Some research indicates these are huffman encoded for an unclear reason. Given the right

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-14 Thread Richard Cochran
On Tue, Jun 14, 2016 at 11:30:00AM +0200, Henrik Austad wrote: > So loop data from kernel -> userspace -> kernelspace and finally back to > userspace and the media application? Huh? I wonder where you got that idea. Let me show an example of what I mean. void listener() {

[PATCH RESEND] Update my main e-mails at the Kernel tree

2016-06-14 Thread Mauro Carvalho Chehab
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 - -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 For the third time in three years, I'm changing my e-mail at Samsung. That's bad, as it may stop communications with me for a while. So, this time, I'll also add the mche...@kernel.org e-mail, as it

[PATCH] Update my main e-mails at the Kernel tree

2016-06-14 Thread Mauro Carvalho Chehab
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 For the third time in three years, I'm changing my e-mail at Samsung. That's bad, as it may stop communications with me for a while. So, this time, I'll also add the mche...@kernel.org e-mail, as it remains stable since ever. Cc:

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-14 Thread Richard Cochran
On Tue, Jun 14, 2016 at 12:18:44PM +0100, One Thousand Gnomes wrote: > On Mon, 13 Jun 2016 21:51:36 +0200 > Richard Cochran wrote: > > > > Actually, we already have support for tunable clock-like HW elements, > > namely the dynamic posix clock API. It is trivial to

[PATCH] hsi: Build hsi_boardinfo.c into hsi core if enabled

2016-06-14 Thread Andrew F. Davis
If the HSI core is built as a module hsi_boardinfo may still be built-in as its Kconfig type is bool, which can cause build issues. Fix this by building this code into the HSI core when enabled. Reported-by: kbuild test robot Signed-off-by: Andrew F. Davis --- This

[ANNOUNCE] DemuxFS v1.1

2016-06-14 Thread Lucas C. Villa Real
Greetings, all! I am happy to announce a new release of DemuxFS, the MPEG-2 demultiplexer file system. DemuxFS sniffs MPEG-2 TS streams and exposes the decoded contents (including interactive programs and firmware updates) as a virtual filesystem. Tables are represented under directories of

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-14 Thread One Thousand Gnomes
On Mon, 13 Jun 2016 21:51:36 +0200 Richard Cochran wrote: > On Mon, Jun 13, 2016 at 01:47:13PM +0200, Richard Cochran wrote: > > 3. ALSA support for tunable AD/DA clocks. The rate of the Listener's > >DA clock must match that of the Talker and the other Listeners.

Re: [PATCH v3 0/9] Add MT8173 Video Decoder Driver

2016-06-14 Thread tiffany lin
Hi Mauro, On Wed, 2016-06-08 at 07:13 +0900, Hans Verkuil wrote: > > On 06/07/2016 11:22 PM, Mauro Carvalho Chehab wrote: > > Em Mon, 30 May 2016 20:29:14 +0800 > > Tiffany Lin escreveu: > > > >> == > >> Introduction > >> == > >> > >> The

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-14 Thread Henrik Austad
On Mon, Jun 13, 2016 at 09:32:10PM +0200, Richard Cochran wrote: > On Mon, Jun 13, 2016 at 03:00:59PM +0200, Henrik Austad wrote: > > On Mon, Jun 13, 2016 at 01:47:13PM +0200, Richard Cochran wrote: > > > Which driver is that? > > > > drivers/net/ethernet/renesas/ > > That driver is merely a PTP

Re: [PATCH v3 0/9] Add MT8173 Video Decoder Driver

2016-06-14 Thread 李務誠
On Wed, Jun 8, 2016 at 6:13 AM, Hans Verkuil wrote: > > > On 06/07/2016 11:22 PM, Mauro Carvalho Chehab wrote: >> >> Em Mon, 30 May 2016 20:29:14 +0800 >> Tiffany Lin escreveu: >> >>> == >>> Introduction >>> == >>> >>> The

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-14 Thread Henrik Austad
On Mon, Jun 13, 2016 at 08:56:44AM -0700, John Fastabend wrote: > On 16-06-13 04:47 AM, Richard Cochran wrote: > > [...] > > Here is what is missing to support audio TSN: > > > > * User Space > > > > 1. A proper userland stack for AVDECC, MAAP, FQTSS, and so on. The > >OpenAVB project does

Re: [PATCH 5/7] ARM: OMAP: dmtimer: Do not call PM runtime functions when not needed.

2016-06-14 Thread Tony Lindgren
* Ivaylo Dimitrov [160613 12:01]: > Hi, > > On 13.06.2016 10:10, Tony Lindgren wrote: > > * Ivaylo Dimitrov [160610 14:23]: > > > > > > On 10.06.2016 13:22, Tony Lindgren wrote: > > > > > > > > OK. And I just applied the related dts

Re: [PATCH 01/12] gpio: Only descend into gpio directory when CONFIG_GPIOLIB is set

2016-06-14 Thread Linus Walleij
On Mon, Jun 13, 2016 at 10:02 PM, Andrew F. Davis wrote: > When CONFIG_GPIOLIB is not set make will still descend into the gpio > directory but nothing will be built. This produces unneeded build > artifacts and messages in addition to slowing the build. Fix this here. > >