Re: [PATCH 07/11] media: adv7180: change mbus format to UYVY

2016-07-07 Thread Lars-Peter Clausen
On 07/07/2016 01:00 AM, Steve Longerbeam wrote: > Change the media bus format from YUYV8_2X8 to UYVY8_2X8. Colors > now look correct when capturing with the i.mx6 backend. The other > option is to set the SWPC bit in register 0x27 to swap the Cr and Cb > output samples. > > Signed-off-by: Steve

Re: [PATCH 05/11] media: adv7180: init chip with AD recommended register settings

2016-07-07 Thread Tim Harvey
On Wed, Jul 6, 2016 at 3:59 PM, Steve Longerbeam wrote: > Define and load register tables that conform to Analog Device's > recommended register settings. It loads the default single-ended > CVBS on Ain1 configuration for both ADV7180 and ADV7182 chips. > > New register

[PATCH] cec-funcs.h: add missing 'reply' for short audio descriptor

2016-07-07 Thread Hans Verkuil
The cec_msg_request_short_audio_descriptor function was missing the reply argument. That's needed if you want the framework to wait for the reply message. Signed-off-by: Hans Verkuil diff --git a/include/linux/cec-funcs.h b/include/linux/cec-funcs.h index

Re: [PATCH 0/6] ARM: dts: imx6-sabre*: add video capture nodes

2016-07-07 Thread Tim Harvey
On Wed, Jul 6, 2016 at 4:36 PM, Steve Longerbeam wrote: > Steve Longerbeam (6): > ARM: dts: imx6-sabrelite: add video capture devices and connections > ARM: dts: imx6-sabresd: add video capture devices and connections > ARM: dts: imx6-sabreauto: create i2cmux for i2c3

Re: [PATCH 04/11] media: adv7180: implement g_parm

2016-07-07 Thread Tim Harvey
On Wed, Jul 6, 2016 at 3:59 PM, Steve Longerbeam wrote: > 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

Re: [PATCH 00/28] i.MX5/6 Video Capture, v2

2016-07-07 Thread Tim Harvey
On Wed, Jul 6, 2016 at 4:06 PM, Steve Longerbeam wrote: > Philipp Zabel (2): > media: imx: Add video switch > ARM: dts: imx6qdl: Add mipi_ipu1/2 video muxes, mipi_csi, and their > connections > > Steve Longerbeam (25): > gpu: ipu-v3: Add Video Deinterlacer unit >

Re: [PATCH 01/11] media: adv7180: Fix broken interrupt register access

2016-07-07 Thread Tim Harvey
On Wed, Jul 6, 2016 at 3:59 PM, Steve Longerbeam wrote: > Access to the interrupt page registers has been broken since > at least 3999e5d01da74f1a22afbb0b61b3992fea301478. That commit > forgot to add the inerrupt page number to the register defines. > > Signed-off-by: Steve

Re: [PATCH 06/11] media: adv7180: add bt.656-4 OF property

2016-07-07 Thread Lars-Peter Clausen
On 07/07/2016 12:59 AM, Steve Longerbeam wrote: > Add a device tree boolean property "bt656-4" to allow setting > the ITU-R BT.656-4 compatible bit. > > Signed-off-by: Steve Longerbeam Hi, Thanks for the patch. > --- > drivers/media/i2c/adv7180.c | 18

Re: [PATCH 03/11] media: adv7180: add power pin control

2016-07-07 Thread Tim Harvey
On Wed, Jul 6, 2016 at 3:59 PM, Steve Longerbeam wrote: > Some targets control the ADV7180 power pin via a gpio, so add > support for "pwdn-gpio" pin control. > > Signed-off-by: Steve Longerbeam > --- > drivers/media/i2c/Kconfig | 2 +- >

Re: [PATCH 07/11] media: adv7180: change mbus format to UYVY

2016-07-07 Thread Tim Harvey
On Wed, Jul 6, 2016 at 4:00 PM, Steve Longerbeam wrote: > Change the media bus format from YUYV8_2X8 to UYVY8_2X8. Colors > now look correct when capturing with the i.mx6 backend. The other > option is to set the SWPC bit in register 0x27 to swap the Cr and Cb > output

Re: [PATCH 02/11] Revert "[media] adv7180: fix broken standards handling"

2016-07-07 Thread Tim Harvey
On Wed, Jul 6, 2016 at 3:59 PM, Steve Longerbeam wrote: > Autodetect was likely broken only because access to the > interrupt registers were broken, so there were no standard > change interrupts. After fixing that, and reverting this, > autodetect seems to work just fine on

Re: [PATCH 00/11] adv7180 subdev fixes

2016-07-07 Thread Tim Harvey
On Wed, Jul 6, 2016 at 3:59 PM, Steve Longerbeam wrote: > Steve Longerbeam (11): > media: adv7180: Fix broken interrupt register access > Revert "[media] adv7180: fix broken standards handling" > media: adv7180: add power pin control > media: adv7180: implement

Re: [PATCH 03/11] media: adv7180: add power pin control

2016-07-07 Thread Lars-Peter Clausen
> @@ -1190,6 +1207,20 @@ out_unlock: > return ret; > } > > +static int adv7180_of_parse(struct adv7180_state *state) Since there is nothing of specific in here anymore the name should be changed, or maybe just inline the code directly in probe. > +{ > + struct i2c_client *client =

Re: [PATCH 02/11] Revert "[media] adv7180: fix broken standards handling"

2016-07-07 Thread Lars-Peter Clausen
On 07/07/2016 12:59 AM, Steve Longerbeam wrote: > Autodetect was likely broken only because access to the > interrupt registers were broken, so there were no standard > change interrupts. After fixing that, and reverting this, > autodetect seems to work just fine on an i.mx6q SabreAuto. > > This

Re: [PATCH 08/11] adv7180: send V4L2_EVENT_SOURCE_CHANGE on std change

2016-07-07 Thread Tim Harvey
On Wed, Jul 6, 2016 at 4:00 PM, Steve Longerbeam wrote: > Subscribe to the V4L2_EVENT_SOURCE_CHANGE event and send > V4L2_EVENT_SRC_CH_RESOLUTION in the interrupt handler on a > detected standard change. > > Signed-off-by: Steve Longerbeam >

Re: [PATCH 05/11] media: adv7180: init chip with AD recommended register settings

2016-07-07 Thread Lars-Peter Clausen
On 07/07/2016 12:59 AM, Steve Longerbeam wrote: > Define and load register tables that conform to Analog Device's > recommended register settings. It loads the default single-ended > CVBS on Ain1 configuration for both ADV7180 and ADV7182 chips. The driver should already setup the recommended

Re: [PATCH 01/11] media: adv7180: Fix broken interrupt register access

2016-07-07 Thread Lars-Peter Clausen
On 07/07/2016 12:59 AM, Steve Longerbeam wrote: > Access to the interrupt page registers has been broken since > at least 3999e5d01da74f1a22afbb0b61b3992fea301478. That commit > forgot to add the inerrupt page number to the register defines. typo: interrupt > > Signed-off-by: Steve Longerbeam

Developing DVB driver for digital TV demodulator

2016-07-07 Thread Dawood Alnajjar
Hi all, We just started developing a linux dvb driver for our Digital TV demodulator. In the driver module, we have the need to parse the incoming video feed due to some issue in our hardware. We are reading through the code to understand things and trying to find workarounds, and we became to

Re: [PATCH v5 4/4] rcar-vin: implement EDID control ioctls

2016-07-07 Thread Hans Verkuil
On 07/07/2016 02:16 AM, Niklas Söderlund wrote: > Hi Ulrich, > > Thanks for your patch. > > On 2016-07-06 17:39:36 +0200, Ulrich Hecht wrote: >> Adds G_EDID and S_EDID. >> >> Signed-off-by: Ulrich Hecht >> --- >> drivers/media/platform/rcar-vin/rcar-v4l2.c | 17

Re: [PATCH v2 1/3] sur40: properly report a single frame rate of 60 FPS

2016-07-07 Thread Hans Verkuil
On 07/06/2016 10:51 PM, Florian Echtler wrote: > On 06.07.2016 10:40, Hans Verkuil wrote: >> On 07/05/16 09:06, Hans Verkuil wrote: >>> On 07/05/2016 08:56 AM, Florian Echtler wrote: On 05.07.2016 08:41, Hans Verkuil wrote: > > Why is s_parm added when you can't change the framerate?

[PATCH] rc: nuvoton: fix hang if chip is configured for alternative EFM IO address

2016-07-07 Thread Heiner Kallweit
If a system configures the Nuvoton chip to use the alternative EFM IO address (CR_EFIR2) then after probing the primary EFM IO address (CR_EFIR) this region is not released. If a driver for another function of the Nuvoton Super I/O chip uses the same probing mechanism then it will hang if loaded

[PATCH v2.2 10/10] v4l: Add 16-bit raw bayer pixel format definitions

2016-07-07 Thread Sakari Ailus
The formats added by this patch are: V4L2_PIX_FMT_SBGGR16 V4L2_PIX_FMT_SGBRG16 V4L2_PIX_FMT_SGRBG16 V4L2_PIX_FMT_SRGGB16 already existed before the patch. Rework the documentation to match that of the other sample depths. Signed-off-by: Sakari Ailus

Developing Linux Kernel Driver for media Codec Driver

2016-07-07 Thread Hao Zhang
hi all i am developing a linux kernel driver for a 4-CH AHD2.0 RX and 9-CH Audio Codec which is named nvp6124 . wedsite : http://www.nextchip.com/ch/products/product.asp?hGubun=AHD. below are few of its characteristics: video codec: it digitizes and decodes ntsc/pal/comet/AHD1.0/AHD2.O video

[PATCH v2.2 09/10] v4l: 16-bit BGGR is always 16 bits

2016-07-07 Thread Sakari Ailus
The V4L2_PIX_FMT_SBGGR16 format is documented to contain samples of fewer than 16 bits. However, we do have specific definitions for smaller sample sizes. Therefore, this note is redundant from the API point of view. Currently only two drivers, am437x and davinci, use the V4L2_PIX_FMT_SBGGR16

DigitalNow TinyTwin DVB-T Receiver V2 - problems

2016-07-07 Thread DE GROOT Peter [Eastern Goldfields College]
Hi, Newb linux dvb here. I have been battling with this for days, and hoping for some pointers... Brand new fresh install of Mythbuntu 16.06 DigitalNow TinyTwin DVB-T Receiver V2 which used to work on a windows box. checking this page .. should be supported

Re: Developing Linux Kernel Driver for media Codec Driver

2016-07-07 Thread Hans Verkuil
On 07/07/16 10:12, Hao Zhang wrote: > hi all > > i am developing a linux kernel driver for a 4-CH AHD2.0 RX and 9-CH > Audio Codec which is named nvp6124 . > > wedsite : http://www.nextchip.com/ch/products/product.asp?hGubun=AHD. > > below are few of its characteristics: > > video codec: > it

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

2016-07-07 Thread Hans Verkuil
Hi Tiffany, On 07/07/16 12:16, tiffany lin wrote: > Hi Hans, > > > On Wed, 2016-07-06 at 15:19 +0200, Hans Verkuil wrote: >> Hi Tiffany, >> >> I plan to review this patch series on Friday, but one obvious question is >> what the reason for these failures is: >> >>> Input/Output configuration

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

2016-07-07 Thread tiffany lin
Hi Hans, On Wed, 2016-07-06 at 15:19 +0200, Hans Verkuil wrote: > Hi Tiffany, > > I plan to review this patch series on Friday, but one obvious question is > what the reason for these failures is: > > > Input/Output configuration ioctls: > > test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not

cron job: media_tree daily build: ERRORS

2016-07-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: Fri Jul 8 04:00:16 CEST 2016 git branch: test git hash: d81295d1bed850335f9f4ccb6b1aa4f6a123d4f0 gcc