cron job: media_tree daily build: OK

2016-08-03 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: Thu Aug 4 04:00:15 CEST 2016 git branch: test git hash: 292eaf50c7df4ae2ae8aaa9e1ce3f1240a353ee8 gcc

Re: TW2866 i2c driver and solo6x10

2016-08-03 Thread Marty Plummer
On 08/03/2016 04:35 PM, Marty Plummer wrote: > On 08/03/2016 04:01 PM, Andrey Utkin wrote: >> On Wed, Aug 03, 2016 at 03:26:39PM -0500, Marty Plummer wrote: >>> An understanable sentement, but its not just about me (though I actually >>> own two >>> of the same dvr's). There is a large number, if

Re: TW2866 i2c driver and solo6x10

2016-08-03 Thread Marty Plummer
On 08/03/2016 04:01 PM, Andrey Utkin wrote: > On Wed, Aug 03, 2016 at 03:26:39PM -0500, Marty Plummer wrote: >> An understanable sentement, but its not just about me (though I actually own >> two >> of the same dvr's). There is a large number, if reports are to be believed, >> of >> more or less

Re: TW2866 i2c driver and solo6x10

2016-08-03 Thread Andrey Utkin
On Wed, Aug 03, 2016 at 03:26:39PM -0500, Marty Plummer wrote: > An understanable sentement, but its not just about me (though I actually own > two > of the same dvr's). There is a large number, if reports are to be believed, of > more or less identical dvr systems with the same security holes

Re: TW2866 i2c driver and solo6x10

2016-08-03 Thread Marty Plummer
On 08/03/2016 02:28 PM, Andrey Utkin wrote: > On Wed, Jul 27, 2016 at 11:51:22PM -0500, Marty Plummer wrote: >> I have one of those rebranded chinese security dvrs, the ones with all the >> gaping >> security holes. I'd like to fix that up and setup a good rtsp server on it, >> but >> first

Re: TW2866 i2c driver and solo6x10

2016-08-03 Thread Andrey Utkin
On Wed, Jul 27, 2016 at 11:51:22PM -0500, Marty Plummer wrote: > I have one of those rebranded chinese security dvrs, the ones with all the > gaping > security holes. I'd like to fix that up and setup a good rtsp server on it, > but > first comes low-level stuff, drivers and such. I've been

Re: [PATCH 0658/1285] Replace numeric parameter like 0444 with macro

2016-08-03 Thread Ricardo Ribalda Delgado
Hi On Tue, Aug 2, 2016 at 1:34 PM, Baole Ni wrote: > thus, I suggest replacing the numeric parameter with the macro. For what my opinion is worth it... I found more comprehensive the octal values than the macros, but maybe it is because I am old and dream in hexadecimal

[PATCH 1/2] [media] VIDEO_MEDIATEK_VCODEC should depend on HAS_DMA

2016-08-03 Thread Geert Uytterhoeven
If NO_DMA=y: warning: (VIDEO_MEDIATEK_VCODEC && VIDEO_DM365_VPFE && VIDEO_OMAP4) selects VIDEOBUF2_DMA_CONTIG which has unmet direct dependencies (MEDIA_SUPPORT && HAS_DMA) drivers/media/v4l2-core/videobuf2-dma-contig.c: In function ‘vb2_dc_get_userptr’:

[PATCH 2/2] [media] VIDEO_MEDIATEK_VPU should depend on HAS_DMA

2016-08-03 Thread Geert Uytterhoeven
If NO_DMA=y: ERROR: "bad_dma_ops" [drivers/media/platform/mtk-vpu/mtk-vpu.ko] undefined! Add a dependency on HAS_DMA to fix this. Signed-off-by: Geert Uytterhoeven --- drivers/media/platform/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v4 1/8] media: adv7180: fix field type

2016-08-03 Thread Steve Longerbeam
From: Steve Longerbeam The ADV7180 and ADV7182 transmit whole fields, bottom field followed by top (or vice-versa, depending on detected video standard). So for chips that do not have support for explicitly setting the field mode via I2P, set the field mode to

[PATCH v4 8/8] media: adv7180: enable lock/unlock interrupts

2016-08-03 Thread Steve Longerbeam
Enable the SD lock/unlock interrupts and send V4L2_EVENT_SRC_CH_LOCK_STATUS in the interrupt handler on a detected lock/unlock. Signed-off-by: Steve Longerbeam --- v4: no changes v3: no changes v2: - last version of this patch was based on the old reverted

[PATCH v4 0/8] adv7180 subdev fixes, v4

2016-08-03 Thread Steve Longerbeam
Steve Longerbeam (8): media: adv7180: fix field type media: adv7180: define more registers media: adv7180: add support for NEWAVMODE media: adv7180: add power pin control media: adv7180: implement g_parm media: adv7180: change mbus format to UYVY v4l: Add signal lock status to source

[PATCH v4 2/8] media: adv7180: define more registers

2016-08-03 Thread Steve Longerbeam
Replace hard-coded addresses with new register macro defines. No functional changes. Signed-off-by: Steve Longerbeam Acked-by: Lars-Peter Clausen --- v4: no changes v3: no changes --- drivers/media/i2c/adv7180.c | 73

[PATCH v4 3/8] media: adv7180: add support for NEWAVMODE

2016-08-03 Thread Steve Longerbeam
Parse the optional v4l2 endpoint DT node. If the bus type is V4L2_MBUS_BT656 and the endpoint node specifies "newavmode", configure the BT.656 bus in NEWAVMODE. Signed-off-by: Steve Longerbeam --- v4: no changes v3: - the newavmode endpoint property is now private

[PATCH v4 6/8] media: adv7180: change mbus format to UYVY

2016-08-03 Thread Steve Longerbeam
Change the media bus format from YUYV8_2X8 to UYVY8_2X8. Colors now look correct when capturing with the i.mx6 backend. Signed-off-by: Steve Longerbeam Tested-by: Tim Harvey Acked-by: Tim Harvey Acked-by: Lars-Peter

[PATCH v4 4/8] media: adv7180: add power pin control

2016-08-03 Thread Steve Longerbeam
Some targets control the ADV7180 power pin via a gpio, so add optional support for "powerdown" pin control. Signed-off-by: Steve Longerbeam Tested-by: Tim Harvey Acked-by: Tim Harvey Acked-by: Lars-Peter Clausen

[PATCH v4 5/8] media: adv7180: implement g_parm

2016-08-03 Thread Steve Longerbeam
Implement g_parm to return the current standard's frame period. Signed-off-by: Steve Longerbeam Tested-by: Tim Harvey Acked-by: Tim Harvey --- v4: no changes v3: no changes v2: no changes ---

[PATCH v4 7/8] v4l: Add signal lock status to source change events

2016-08-03 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 Cc: Mauro Carvalho Chehab --- v4: - converted

Re: [PATCH] media: platform: pxa_camera: convert to vb2

2016-08-03 Thread Robert Jarzmik
Hans Verkuil writes: > On 08/02/2016 08:03 PM, Robert Jarzmik wrote: >> Hans Verkuil writes: >> [ 1509.773051] pxa27x-camera pxa27x-camera.0: >> s_fmt_vid_cap(pix=48x32:56595559) >> [ 1509.777213] pxa27x-camera pxa27x-camera.0: current_fmt->fourcc:

Re: [PATCHv2 7/7] [PATCHv5] media: adv7180: fix field type

2016-08-03 Thread Niklas Söderlund
On 2016-08-03 10:14:45 -0700, Steve Longerbeam wrote: > On 08/03/2016 09:58 AM, Lars-Peter Clausen wrote: > > On 08/03/2016 06:55 PM, Steve Longerbeam wrote: > >> On 08/03/2016 06:21 AM, Niklas Söderlund wrote: > >>> On 2016-08-02 17:00:07 +0200, Lars-Peter Clausen wrote: > [...] > > diff

Re: [PATCHv2 7/7] [PATCHv5] media: adv7180: fix field type

2016-08-03 Thread Steve Longerbeam
On 08/03/2016 06:21 AM, Niklas Söderlund wrote: > On 2016-08-02 17:00:07 +0200, Lars-Peter Clausen wrote: >> [...] >>> diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c >>> index a8b434b..c6fed71 100644 >>> --- a/drivers/media/i2c/adv7180.c >>> +++

Re: [PATCHv2 4/7] media: rcar-vin: fix height for TOP and BOTTOM fields

2016-08-03 Thread Sergei Shtylyov
On 08/02/2016 05:51 PM, Niklas Söderlund wrote: The height used for V4L2_FIELD_TOP and V4L2_FIELD_BOTTOM where wrong. The frames only contain one filed so the height should be half of the s/filed/field/. frame. Signed-off-by: Niklas Söderlund

Re: [PATCHv2 7/7] [PATCHv5] media: adv7180: fix field type

2016-08-03 Thread Steve Longerbeam
On 08/03/2016 09:58 AM, Lars-Peter Clausen wrote: > On 08/03/2016 06:55 PM, Steve Longerbeam wrote: >> On 08/03/2016 06:21 AM, Niklas Söderlund wrote: >>> On 2016-08-02 17:00:07 +0200, Lars-Peter Clausen wrote: [...] > diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c

Re: [PATCHv2 7/7] [PATCHv5] media: adv7180: fix field type

2016-08-03 Thread Lars-Peter Clausen
On 08/03/2016 06:55 PM, Steve Longerbeam wrote: > On 08/03/2016 06:21 AM, Niklas Söderlund wrote: >> On 2016-08-02 17:00:07 +0200, Lars-Peter Clausen wrote: >>> [...] diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c index a8b434b..c6fed71 100644 ---

Re: [PATCHv2] serio: add hangup support

2016-08-03 Thread Dmitry Torokhov
On Wed, Aug 03, 2016 at 01:00:44PM +0200, Hans Verkuil wrote: > The Pulse-Eight USB CEC adapter is a usb device that shows up as a ttyACM0 > device. > It requires that you run inputattach in order to communicate with it via > serio. > > This all works well, but it would be nice to have a udev

Re: [PATCHv2 7/7] [PATCHv5] media: adv7180: fix field type

2016-08-03 Thread Lars-Peter Clausen
On 08/03/2016 04:42 PM, Ian Arkver wrote: > On 03/08/16 15:23, Lars-Peter Clausen wrote: >> On 08/03/2016 04:11 PM, Hans Verkuil wrote: >>> >>> On 08/03/2016 03:21 PM, Niklas Söderlund wrote: On 2016-08-02 17:00:07 +0200, Lars-Peter Clausen wrote: > [...] >> diff --git

Re: [PATCHv2 7/7] [PATCHv5] media: adv7180: fix field type

2016-08-03 Thread Hans Verkuil
On 08/03/2016 04:42 PM, Ian Arkver wrote: > On 03/08/16 15:23, Lars-Peter Clausen wrote: >> On 08/03/2016 04:11 PM, Hans Verkuil wrote: >>> >>> On 08/03/2016 03:21 PM, Niklas Söderlund wrote: On 2016-08-02 17:00:07 +0200, Lars-Peter Clausen wrote: > [...] >> diff --git

Re: [PATCHv2 7/7] [PATCHv5] media: adv7180: fix field type

2016-08-03 Thread Ian Arkver
On 03/08/16 15:23, Lars-Peter Clausen wrote: On 08/03/2016 04:11 PM, Hans Verkuil wrote: On 08/03/2016 03:21 PM, Niklas Söderlund wrote: On 2016-08-02 17:00:07 +0200, Lars-Peter Clausen wrote: [...] diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c index

Re: [PATCHv2 7/7] [PATCHv5] media: adv7180: fix field type

2016-08-03 Thread Lars-Peter Clausen
On 08/03/2016 04:11 PM, Hans Verkuil wrote: > > > On 08/03/2016 03:21 PM, Niklas Söderlund wrote: >> On 2016-08-02 17:00:07 +0200, Lars-Peter Clausen wrote: >>> [...] diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c index a8b434b..c6fed71 100644 ---

Re: [PATCHv2 7/7] [PATCHv5] media: adv7180: fix field type

2016-08-03 Thread Hans Verkuil
On 08/03/2016 04:23 PM, Lars-Peter Clausen wrote: > On 08/03/2016 04:11 PM, Hans Verkuil wrote: >> >> >> On 08/03/2016 03:21 PM, Niklas Söderlund wrote: >>> On 2016-08-02 17:00:07 +0200, Lars-Peter Clausen wrote: [...] > diff --git a/drivers/media/i2c/adv7180.c

Re: [PATCHv2 7/7] [PATCHv5] media: adv7180: fix field type

2016-08-03 Thread Lars-Peter Clausen
On 08/03/2016 04:23 PM, Lars-Peter Clausen wrote: > On 08/03/2016 04:11 PM, Hans Verkuil wrote: >> >> >> On 08/03/2016 03:21 PM, Niklas Söderlund wrote: >>> On 2016-08-02 17:00:07 +0200, Lars-Peter Clausen wrote: [...] > diff --git a/drivers/media/i2c/adv7180.c

Re: [PATCHv2 1/7] media: rcar-vin: make V4L2_FIELD_INTERLACED standard dependent

2016-08-03 Thread Sergei Shtylyov
On 08/02/2016 05:51 PM, Niklas Söderlund wrote: The field V4L2_FIELD_INTERLACED is standard dependent and should not unconditionally be equivalent to V4L2_FIELD_INTERLACED_TB. This patch adds a check to see if the video standard can be obtained and if it's a 60 Hz format. If the condition is

Re: [PATCHv2 7/7] [PATCHv5] media: adv7180: fix field type

2016-08-03 Thread Hans Verkuil
On 08/03/2016 03:21 PM, Niklas Söderlund wrote: > On 2016-08-02 17:00:07 +0200, Lars-Peter Clausen wrote: >> [...] >>> diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c >>> index a8b434b..c6fed71 100644 >>> --- a/drivers/media/i2c/adv7180.c >>> +++

Re: [PATCHv2 5/7] media: rcar-vin: add support for V4L2_FIELD_ALTERNATE

2016-08-03 Thread Niklas Söderlund
On 2016-08-03 16:22:22 +0300, Sergei Shtylyov wrote: > Hello. > > On 08/02/2016 05:51 PM, Niklas Söderlund wrote: > > > The HW can capture both ODD and EVEN fields in separate buffers so it's > > possible to support V4L2_FIELD_ALTERNATE. This patch add support for > > this mode. > > > > At

Fast Loans

2016-08-03 Thread Financial Service
Apply for a loan at 2% reply to this Email for more Info -- 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: [PATCHv2 5/7] media: rcar-vin: add support for V4L2_FIELD_ALTERNATE

2016-08-03 Thread Sergei Shtylyov
Hello. On 08/02/2016 05:51 PM, Niklas Söderlund wrote: The HW can capture both ODD and EVEN fields in separate buffers so it's possible to support V4L2_FIELD_ALTERNATE. This patch add support for this mode. At probe time and when S_STD is called the driver will default to use

Re: [PATCHv2 7/7] [PATCHv5] media: adv7180: fix field type

2016-08-03 Thread Niklas Söderlund
On 2016-08-02 17:00:07 +0200, Lars-Peter Clausen wrote: > [...] > > diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c > > index a8b434b..c6fed71 100644 > > --- a/drivers/media/i2c/adv7180.c > > +++ b/drivers/media/i2c/adv7180.c > > @@ -680,10 +680,13 @@ static int

[PATCHv2] serio: add hangup support

2016-08-03 Thread Hans Verkuil
The Pulse-Eight USB CEC adapter is a usb device that shows up as a ttyACM0 device. It requires that you run inputattach in order to communicate with it via serio. This all works well, but it would be nice to have a udev rule to automatically start inputattach. That too works OK, but the problem

[PATCH v8 1/2] [media] atmel-isc: add the Image Sensor Controller code

2016-08-03 Thread Songjun Wu
Add driver for the Image Sensor Controller. It manages incoming data from a parallel based CMOS/CCD sensor. It has an internal image processor, also integrates a triple channel direct memory access controller master interface. Signed-off-by: Songjun Wu --- Changes in

[PATCH v8 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-08-03 Thread Songjun Wu
The Image Sensor Controller driver includes two parts. 1) Driver code to implement the ISC function. 2) Device tree binding documentation, it describes how to add the ISC in device tree. Test result with v4l-utils. v4l2-compliance SHA : not available Driver Info: Driver name :

[PATCH v8 2/2] [media] atmel-isc: DT binding for Image Sensor Controller driver

2016-08-03 Thread Songjun Wu
DT binding documentation for ISC driver. Acked-by: Rob Herring Signed-off-by: Songjun Wu --- Changes in v8: None Changes in v7: None Changes in v6: - Add "iscck" and "gck" to clock-names. Changes in v5: - Add clock-output-names. Changes in v4: -

Re: [PATCH] media: platform: pxa_camera: convert to vb2

2016-08-03 Thread Hans Verkuil
On 08/02/2016 08:03 PM, Robert Jarzmik wrote: > Hans Verkuil writes: > > Hi Hans, > > Working further on the pxa_camera conversion out of soc_camera, I hit a > problem > of dma being very long, in running v4l2-compliance -f. > > After digging a bit, I realized that the

Re: [RFC PATCH] serio: add hangup support

2016-08-03 Thread Dmitry Torokhov
On Mon, Aug 01, 2016 at 03:43:32PM +0200, Hans Verkuil wrote: > > > On 07/15/2016 06:31 PM, Dmitry Torokhov wrote: > > Hi Hans, > > > > On Fri, Jul 15, 2016 at 01:27:21PM +0200, Hans Verkuil wrote: > >> For the upcoming 4.8 kernel I made a driver for the Pulse-Eight USB CEC > >> adapter. > >>