Re: [PATCH v6 03/11] dts: exynos4412-odroid*: enable the HDMI CEC device

2015-05-04 Thread Krzysztof Kozłowski
2015-05-05 2:32 GMT+09:00 Kamil Debski : > Add a dts node entry and enable the HDMI CEC device present in the Exynos4 > family of SoCs. > > Signed-off-by: Kamil Debski Acked-by: Krzysztof Kozlowski Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-media"

Re: [PATCH v6 02/11] dts: exynos4: add node for the HDMI CEC device

2015-05-04 Thread Krzysztof Kozłowski
2015-05-05 2:32 GMT+09:00 Kamil Debski : > This patch adds HDMI CEC node specific to the Exynos4210/4x12 SoC series. > > Signed-off-by: Kamil Debski Acked-by: Krzysztof Kozlowski Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a m

Re: [PATCH v6 01/11] dts: exynos4*: add HDMI CEC pin definition to pinctrl

2015-05-04 Thread Krzysztof Kozłowski
2015-05-05 2:32 GMT+09:00 Kamil Debski : > Add pinctrl nodes for the HDMI CEC device to the Exynos4210 and > Exynos4x12 SoCs. These are required by the HDMI CEC device. > > Signed-off-by: Kamil Debski Acked-by: Krzysztof Kozlowski Are there any objections to picking the DTS changes independentl

cron job: media_tree daily build: ERRORS

2015-05-04 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: Tue May 5 04:00:15 CEST 2015 git branch: test git hash: 1555f3bf5cc172e7d23c2b8db10d656d15bec13e gcc versi

Re: [PATCH v7] Documentation: leds: Add description of v4l2-flash sub-device

2015-05-04 Thread Bryan Wu
On Thu, Apr 30, 2015 at 3:34 AM, Jacek Anaszewski wrote: > This patch extends LED Flash class documention by > the description of interactions with v4l2-flash sub-device. > Thanks, applied -Bryan > Signed-off-by: Jacek Anaszewski > Acked-by: Kyungmin Park > Acked-by: Sakari Ailus > Cc: Bryan

Re: [PATCH v7] leds: Add driver for AAT1290 flash LED controller

2015-05-04 Thread Bryan Wu
On Thu, Apr 30, 2015 at 3:34 AM, Jacek Anaszewski wrote: > 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. > Reapplied. Thanks, -Bryan > Signed-off-by: Jacek Anaszewski

Re: [PATCH v7] leds: Add support for max77693 mfd flash cell

2015-05-04 Thread Bryan Wu
On Thu, Apr 30, 2015 at 3:35 AM, Jacek Anaszewski wrote: > 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 triggere

[PATCH v2] libgencec: Add userspace library for the generic CEC kernel interface

2015-05-04 Thread Kamil Debski
This is the first version of the libGenCEC library. It was designed to act as an interface between the generic CEC kernel API and userspace applications. It provides a simple interface for applications and an example application that can be used to test the CEC functionality. signed-off-by: Kamil

RE: [PATCH v6 00/11] HDMI CEC framework

2015-05-04 Thread Kamil Debski
Hi, Sorry, I missed the subject for this cover-letter. Added it in this reply. Best wishes, -- Kamil Debski Samsung R&D Institute Poland > -Original Message- > From: Kamil Debski [mailto:k.deb...@samsung.com] > Sent: Monday, May 04, 2015 7:33 PM > To: dri-de...@lists.freedesktop.org; l

[PATCH v6 11/11] cec: s5p-cec: Add s5p-cec driver

2015-05-04 Thread Kamil Debski
Add CEC interface driver present in the Samsung Exynos range of SoCs. The following files were based on work by SangPil Moon: - exynos_hdmi_cec.h - exynos_hdmi_cecctl.c Signed-off-by: Kamil Debski --- .../devicetree/bindings/media/s5p-cec.txt | 33 +++ drivers/media/platform/Kconfig

[PATCH v6 10/11] cec: adv7511: add cec support.

2015-05-04 Thread Kamil Debski
From: Hans Verkuil Add CEC support to the adv7511 driver. Signed-off-by: Hans Verkuil [k.deb...@samsung.com: Merged changes from CEC Updates commit by Hans Verkuil] Signed-off-by: Kamil Debski --- drivers/media/i2c/adv7511.c | 347 ++- include/media/ad

[PATCH v6 07/11] DocBook/media: add CEC documentation

2015-05-04 Thread Kamil Debski
From: Hans Verkuil Add DocBook documentation for the CEC API. Signed-off-by: Hans Verkuil [k.deb...@samsung.com: add documentation for passthrough mode] [k.deb...@samsung.com: minor fixes and change of reserved field sizes] Signed-off-by: Kamil Debski --- Documentation/DocBook/media/Makefile

[PATCH v6 09/11] cec: adv7604: add cec support.

2015-05-04 Thread Kamil Debski
From: Hans Verkuil Add CEC support to the adv7604 driver. Signed-off-by: Hans Verkuil [k.deb...@samsung.com: Merged changes from CEC Updates commit by Hans Verkuil] [k.deb...@samsung.com: add missing methods cec/io_write_and_or] [k.deb...@samsung.com: change adv7604 to adv76xx in added function

[PATCH v6 08/11] v4l2-subdev: add HDMI CEC ops

2015-05-04 Thread Kamil Debski
From: Hans Verkuil Add callbacks to the v4l2_subdev_video_ops. Signed-off-by: Hans Verkuil [k.deb...@samsung.com: Merged changes from CEC Updates commit by Hans Verkuil] Signed-off-by: Kamil Debski --- include/media/v4l2-subdev.h |8 1 file changed, 8 insertions(+) diff --git a/

[PATCH v6 05/11] rc: Add HDMI CEC protoctol handling

2015-05-04 Thread Kamil Debski
Add handling of remote control events coming from the HDMI CEC bus. This patch includes a new keymap that maps values found in the CEC messages to the keys pressed and released. Also, a new protocol has been added to the core. Signed-off-by: Kamil Debski --- drivers/media/rc/keymaps/Makefile |

[PATCH v6 06/11] cec: add HDMI CEC framework

2015-05-04 Thread Kamil Debski
From: Hans Verkuil The added HDMI CEC framework provides a generic kernel interface for HDMI CEC devices. Signed-off-by: Hans Verkuil [k.deb...@samsung.com: Merged CEC Updates commit by Hans Verkuil] [k.deb...@samsung.com: Merged Update author commit by Hans Verkuil] [k.deb...@samsung.com: chan

[PATCH v6 02/11] dts: exynos4: add node for the HDMI CEC device

2015-05-04 Thread Kamil Debski
This patch adds HDMI CEC node specific to the Exynos4210/4x12 SoC series. Signed-off-by: Kamil Debski --- arch/arm/boot/dts/exynos4.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index e20cdc2..8776db9 1006

[PATCH v6 04/11] HID: add HDMI CEC specific keycodes

2015-05-04 Thread Kamil Debski
Add HDMI CEC specific keycodes to the keycodes definition. Signed-off-by: Kamil Debski --- include/uapi/linux/input.h | 12 1 file changed, 12 insertions(+) diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h index 731417c..7430a3f 100644 --- a/include/uapi/linux

[PATCH v6 03/11] dts: exynos4412-odroid*: enable the HDMI CEC device

2015-05-04 Thread Kamil Debski
Add a dts node entry and enable the HDMI CEC device present in the Exynos4 family of SoCs. Signed-off-by: Kamil Debski --- arch/arm/boot/dts/exynos4412-odroid-common.dtsi |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/d

[PATCH v6 01/11] dts: exynos4*: add HDMI CEC pin definition to pinctrl

2015-05-04 Thread Kamil Debski
Add pinctrl nodes for the HDMI CEC device to the Exynos4210 and Exynos4x12 SoCs. These are required by the HDMI CEC device. Signed-off-by: Kamil Debski --- arch/arm/boot/dts/exynos4210-pinctrl.dtsi |7 +++ arch/arm/boot/dts/exynos4x12-pinctrl.dtsi |7 +++ 2 files changed, 14 inse

[PATCH v6 00/11]

2015-05-04 Thread Kamil Debski
Hi, The sixth version of this patchset addresses recent comments on the mailing list. Please see the changelog below for details. Best wishes, Kamil Debski Changes since v5 - drop struct cec_timeval in favour of a __u64 that keeps the timestamp in ns - remove userspace documenta

Re: [PATCH 2/9] mm: Provide new get_vaddr_pfns() helper

2015-05-04 Thread Jan Kara
On Thu 30-04-15 16:55:31, Mel Gorman wrote: > On Tue, Mar 17, 2015 at 12:56:32PM +0100, Jan Kara wrote: > > Provide new function get_vaddr_pfns(). This function maps virtual > > addresses from given start and fills given array with page frame numbers of > > the corresponding pages. If given start

RE: ITS help desk

2015-05-04 Thread Kalal, Beth R
Dear Mailbox User Please be informed that your Email account on file has been listed for suspension and will be disabled shortly if not activated now. Errors were discovered in your account. For security reasons, you are required to secure and revalidate your mailbox by clicking here on upda

Re: [RFC 04/12] [media] tc358743: fix set_pll to enable PLL with default frequency

2015-05-04 Thread Mats Randgaard (matrandg)
On 03/30/2015 01:10 PM, Philipp Zabel wrote: > set_pll not only skips PLL changes but also doesn't enable it in > the first place if the rate is the same as the default values. > > Signed-off-by: Philipp Zabel --- > drivers/media/i2c/tc358743.c | 5 +++-- 1 file changed, 3 > insertions(+), 2 delet

Re: [RFC 00/12] TC358743 async subdev and dt support

2015-05-04 Thread Mats Randgaard (matrandg)
Hi Philipp, Thank you for reviewing, testing and committing new patches to the driver for TC358743! Fixed in latest version of the driver: * [media] tc358743: split set_csi into set_csi and start_csi * [media] tc358743: also set TCLK_TRAILCNT and TCLK_POSTCNT * [media] tc358743: don't re

Re: [RFC 05/12] [media] tc358743: fix lane number calculation to include blanking

2015-05-04 Thread Mats Randgaard (matrandg)
On 03/30/2015 01:10 PM, Philipp Zabel wrote: Instead of only using the visible width and height, also add the horizontal and vertical blanking to calculate the bit rate. I am not a CSI expert and when I look at the spreadsheet from Toshiba I understand that the calculation of the CSI parameter

Re: [RFC 10/12] [media] tc358743: detect chip by ChipID instead of IntMask

2015-05-04 Thread Mats Randgaard (matrandg)
On 03/30/2015 01:10 PM, Philipp Zabel wrote: When resetting the CPU instead of power cycling, IntMask is still set from last boot. Instead of depending on it to be set to its reset defaults, check the ChipID register and rewrite IntMask if needed. Signed-off-by: Philipp Zabel --- drivers/media

Re: [RFC 03/12] [media] tc358743: support probe from device tree

2015-05-04 Thread Mats Randgaard (matrandg)
On 03/30/2015 01:10 PM, Philipp Zabel wrote: Add support for probing the TC358743 subdevice from device tree. The reference clock must be supplied using the common clock bindings. Signed-off-by: Philipp Zabel --- drivers/media/i2c/tc358743.c | 133 +--

Re: [RFC 02/12] [media] tc358743: register v4l2 asynchronous subdevice

2015-05-04 Thread Mats Randgaard (matrandg)
On 03/30/2015 01:10 PM, Philipp Zabel wrote: Add support for registering the sensor subdevice using the v4l2-async API. Signed-off-by: Philipp Zabel --- drivers/media/i2c/tc358743.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/media/i2c/tc358743.c b/drivers/media/

[PATCH 2/2] v4l2-utils: fix overflow in cvt, gtf calculations

2015-05-04 Thread Prashant Laddha
Some of the intermediate calculations can exceed 32 bit signed range, especially for higher resolutions and refresh rates. Type casting the intermediate values to higher precision to avoid overflow. Cc: Hans Verkuil Signed-off-by: Prashant Laddha --- utils/v4l2-ctl/v4l2-ctl-modes.cpp | 8 +++---

[PATCH 1/2] v4l2-ctl-modes: fix hblank, hsync rounding in gtf calculation

2015-05-04 Thread Prashant Laddha
In gtf modeline calculations, currently hblank and hsync are rounded down. hblank needs to be rounded to nearest multiple of twice the cell granularity. hsync needs to be rounded to nearest multiple of cell granularity. Changed the rounding calculation to match it with the equations in standards.

[PATCH 0/2] rounding and overflow fix in cvt,gtf calculations

2015-05-04 Thread Prashant Laddha
Hi, Please find patches for rounding and overflow fixes in cvt,gtf timings calculations in v4l2-utils. Similar fixes are posted for v4l2-dv-timings recently. Regards, Prashant Prashant Laddha (2): v4l2-ctl-modes: fix hblank, hsync rounding in gtf calculation v4l2-utils: fix overflow in cvt,

[PATCH v6 3/5] [media] videobuf2: return -EPIPE from DQBUF after the last buffer

2015-05-04 Thread Philipp Zabel
If the last buffer was dequeued from a capture queue, let poll return immediately and let DQBUF return -EPIPE to signal there will no more buffers to dequeue until STREAMOFF. The driver signals the last buffer by setting the V4L2_BUF_FLAG_LAST. To reenable dequeuing on the capture queue, the driver

[PATCH v6 1/5] [media] DocBook media: document codec draining flow

2015-05-04 Thread Philipp Zabel
Document the interaction between VIDIOC_DECODER_CMD V4L2_DEC_CMD_STOP and VIDIOC_ENCODER_CMD V4L2_ENC_CMD_STOP to start the draining, the V4L2_EVENT_EOS event signalling all capture buffers are finished and ready to be dequeud, the new V4L2_BUF_FLAG_LAST buffer flag indicating the last buffer being

[PATCH v6 2/5] [media] videodev2: Add V4L2_BUF_FLAG_LAST

2015-05-04 Thread Philipp Zabel
From: Peter Seiderer This v4l2_buffer flag can be used by drivers to mark a capture buffer as the last generated buffer, for example after a V4L2_DEC_CMD_STOP command was issued. Signed-off-by: Peter Seiderer Signed-off-by: Philipp Zabel Acked-by: Hans Verkuil --- include/trace/events/v4l2.h

[PATCH v6 4/5] [media] coda: Set last buffer flag and fix EOS event

2015-05-04 Thread Philipp Zabel
Setting the last buffer flag causes the videobuf2 core to return -EPIPE from DQBUF calls on the capture queue after the last buffer is dequeued. This patch also fixes the EOS event to conform to the specification. It now is sent right after the last buffer has been decoded instead of when the last

[PATCH v6 5/5] [media] s5p-mfc: Set last buffer flag

2015-05-04 Thread Philipp Zabel
Setting the last buffer flag causes the videobuf2 core to return -EPIPE from DQBUF calls on the capture queue after the last buffer is dequeued. Signed-off-by: Philipp Zabel --- drivers/media/platform/s5p-mfc/s5p_mfc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/s5

[PATCH v6 0/5] Signalling last decoded frame by V4L2_BUF_FLAG_LAST and -EPIPE

2015-05-04 Thread Philipp Zabel
At the V4L2 codec API session during ELC-E 2014, we agreed that for the decoder draining flow, after a V4L2_DEC_CMD_STOP decoder command was issued, the last decoded buffer should get dequeued with a V4L2_BUF_FLAG_LAST set. After that, poll should immediately return and all following VIDIOC_DQBUF s

Re: [PATCH v5 1/5] [media] DocBook media: document mem2mem draining flow

2015-05-04 Thread Hans Verkuil
On 05/04/2015 12:21 PM, Philipp Zabel wrote: > Hi Hans, Kamil, > > thank you for your comments. > > Am Montag, den 27.04.2015, 15:23 +0200 schrieb Hans Verkuil: >> Hi Philipp, >> >> I finally got around to reviewing this patch series. Sorry for the delay, but >> here are my comments: >> >> On 04/

[PATCHv2 8/8] ov9740: avoid calling ov9740_res_roundup() twice

2015-05-04 Thread Hans Verkuil
From: Hans Verkuil Simplify ov9740_s_fmt. Signed-off-by: Hans Verkuil Reported-by: Guennadi Liakhovetski --- drivers/media/i2c/soc_camera/ov9740.c | 18 +- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/drivers/media/i2c/soc_camera/ov9740.c b/drivers/media/i2c/

[PATCHv2 6/8] ov772x: avoid calling ov772x_select_params() twice

2015-05-04 Thread Hans Verkuil
From: Hans Verkuil Merge ov772x_s_fmt into ov772x_set_fmt. Signed-off-by: Hans Verkuil Acked-by: Guennadi Liakhovetski --- drivers/media/i2c/soc_camera/ov772x.c | 41 +++ 1 file changed, 13 insertions(+), 28 deletions(-) diff --git a/drivers/media/i2c/soc_came

[PATCHv2 7/8] ov9640: avoid calling ov9640_res_roundup() twice

2015-05-04 Thread Hans Verkuil
From: Hans Verkuil Simplify ov9640_s_fmt and ov9640_set_fmt Signed-off-by: Hans Verkuil Acked-by: Guennadi Liakhovetski --- drivers/media/i2c/soc_camera/ov9640.c | 24 +++- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/drivers/media/i2c/soc_camera/ov9640.c

[PATCHv2 3/8] mt9v022: avoid calling mt9v022_find_datafmt() twice

2015-05-04 Thread Hans Verkuil
From: Hans Verkuil Simplify mt9v022_s_fmt and mt9v022_set_fmt. Signed-off-by: Hans Verkuil Acked-by: Guennadi Liakhovetski --- drivers/media/i2c/soc_camera/mt9v022.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/i2c/soc_camera/mt9v022.c b/drivers/m

[PATCHv2 4/8] ov2640: avoid calling ov2640_select_win() twice

2015-05-04 Thread Hans Verkuil
From: Hans Verkuil Simplify ov2640_set_params and ov2640_set_fmt. Signed-off-by: Hans Verkuil Acked-by: Guennadi Liakhovetski --- drivers/media/i2c/soc_camera/ov2640.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/drivers/media/i2c/soc_camera/ov26

[PATCHv2 2/8] mt9m001: avoid calling mt9m001_find_datafmt() twice

2015-05-04 Thread Hans Verkuil
From: Hans Verkuil Simplify mt9m001_s_fmt and mt9m001_set_fmt. Signed-off-by: Hans Verkuil Acked-by: Guennadi Liakhovetski --- drivers/media/i2c/soc_camera/mt9m001.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/i2c/soc_camera/mt9m001.c b/drivers/m

[PATCHv2 5/8] ov5642: avoid calling ov5642_find_datafmt() twice

2015-05-04 Thread Hans Verkuil
From: Hans Verkuil Simplify ov5642_set_fmt(). Signed-off-by: Hans Verkuil Reported-by: Guennadi Liakhovetski --- drivers/media/i2c/soc_camera/ov5642.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/soc_camera/ov5642.c b/drivers/media/i2c/soc_camera/ov56

[PATCHv2 1/8] imx074: don't call imx074_find_datafmt() twice

2015-05-04 Thread Hans Verkuil
From: Hans Verkuil Simplify imx074_set_fmt(). Signed-off-by: Hans Verkuil Reported-by: Guennadi Liakhovetski --- drivers/media/i2c/soc_camera/imx074.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/soc_camera/imx074.c b/drivers/media/i2c/soc_camera/imx0

[PATCHv2 0/8] soc-camera sensor improvements

2015-05-04 Thread Hans Verkuil
From: Hans Verkuil As per Guennadi's suggestions, improve the code of various soc-camera sensor drivers to avoid duplicating code. Changes since v1: - Remove unnecessary change in imx074 and ov5642 - Dropped patch 9. It was not needed after all. Regards, Hans Hans Verkuil (8): imx0

Re: [PATCH v5 1/5] [media] DocBook media: document mem2mem draining flow

2015-05-04 Thread Philipp Zabel
Hi Hans, Kamil, thank you for your comments. Am Montag, den 27.04.2015, 15:23 +0200 schrieb Hans Verkuil: > Hi Philipp, > > I finally got around to reviewing this patch series. Sorry for the delay, but > here are my comments: > > On 04/20/2015 10:28 AM, Philipp Zabel wrote: > > Document the inte

Re: [PATCH 8/9] ov9740: avoid calling ov9740_res_roundup() twice

2015-05-04 Thread Hans Verkuil
On 05/03/2015 10:47 PM, Guennadi Liakhovetski wrote: > Hi Hans, > > On Sun, 3 May 2015, Hans Verkuil wrote: > >> From: Hans Verkuil >> >> Simplify ov9740_s_fmt. >> >> Signed-off-by: Hans Verkuil >> Reported-by: Guennadi Liakhovetski >> --- >> drivers/media/i2c/soc_camera/ov9740.c | 18 +--

Re: [Y2038] [PATCH v4 06/10] cec: add HDMI CEC framework: y2038 question

2015-05-04 Thread Arnd Bergmann
On Monday 04 May 2015 09:42:36 Hans Verkuil wrote: > Ping! (Added Arnd to the CC list) Hi Hans, sorry I missed this the first time > On 04/27/2015 09:40 AM, Hans Verkuil wrote: > > Added the y2038 mailinglist since I would like to get their input for > > this API. > > > > Y2038 experts, can you

Re: [PATCH v2 0/3] Add media bdisp driver for stihxxx platforms

2015-05-04 Thread Benjamin Gaignard
Please, find below the v4l2-compliance report for the sti bdisp driver. root@st:~# v4l2-compliance Driver Info: Driver name : 9f1.bdisp Card type : 9f1.bdisp Bus info : platform:bdisp0 Driver version: 4.0.0 Capabilities

[PATCH] v4l2-dv-timings: fix overflow in gtf timings calculation

2015-05-04 Thread Prashant Laddha
The intermediate calculation in the expression for hblank can exceed 32 bit signed range. This overflow can lead to negative values for hblank. Typecasting intermediate variable to higher precision. Cc: Hans Verkuil Cc: Martin Bugge Signed-off-by: Prashant Laddha --- drivers/media/v4l2-core/v4

Re: [PATCH] v4l2-dv-timings: fix overflow in gtf timings calculation

2015-05-04 Thread Hans Verkuil
On 05/02/2015 07:23 PM, Prashant Laddha wrote: > The intermediate calculation in the expression for hblank can exceed > 32 bit signed range. This overflow can lead to negative values for > hblank. Typecasting intermediate variable to higher precision. > > Cc: Hans Verkuil > Cc: Martin Bugge > Si

[PATCH v2 2/3] [media] bdisp: 2D blitter driver using v4l2 mem2mem framework

2015-05-04 Thread Fabien Dessenne
This v4l2 mem2mem driver is a 2D blitter for STMicroelectronics SoC. It uses the v4l2 mem2mem framework. The following features are supported and tested: - Color format conversion (RGB32, RGB24, RGB16, NV12, YUV420P) - Copy - Scale - Flip - Deinterlace - Wide (4K) picture support - Crop Signed-of

[PATCH v2 3/3] [media] bdisp: add debug file system

2015-05-04 Thread Fabien Dessenne
Creates 5 debugfs entries to dump the last HW request, the last HW node (=command), the HW registers and the recent HW performance (time & fps) Signed-off-by: Fabien Dessenne --- drivers/media/platform/sti/bdisp/Makefile | 2 +- drivers/media/platform/sti/bdisp/bdisp-debug.c | 668 +++

[PATCH v2 1/3] [media] bdisp: add DT bindings documentation

2015-05-04 Thread Fabien Dessenne
This adds DT binding documentation for STMicroelectronics bdisp driver. Signed-off-by: Fabien Dessenne --- .../devicetree/bindings/media/st,stih4xx.txt | 32 ++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/st,stih4xx.txt

[PATCH v2 0/3] Add media bdisp driver for stihxxx platforms

2015-05-04 Thread Fabien Dessenne
This series of patches adds the support of v4l2 2D blitter driver for STMicroelectronics SOC. version 2: - Renamed to STI_BDISP, inserted the sti directory. - Reworked the cropping vs selection API. - Used additional v4l2_m2m helpers and fops. - Dropped pixel format

Re: soc-camera: opinion poll - future directions

2015-05-04 Thread Vaibhav Hiremath
On Monday 04 May 2015 12:49 PM, Hans Verkuil wrote: On 05/03/2015 07:45 PM, Guennadi Liakhovetski wrote: Hi Hans, On Sun, 3 May 2015, Hans Verkuil wrote: Hi Guennadi, On 05/03/2015 06:11 PM, Guennadi Liakhovetski wrote: Hi all, Just a quick opinion poll - where and how should the soc-cam

[PATCH 1/4] media/vivid: Add support for Y16 format

2015-05-04 Thread Ricardo Ribalda Delgado
Support for V4L2_PIX_FMT_Y16, a 16 bit greyscale format. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/platform/vivid/vivid-tpg.c| 9 - drivers/media/platform/vivid/vivid-vid-common.c | 8 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/drivers/

[PATCH 2/4] media/v4l2-core: Add support for V4L2_PIX_FMT_Y16_BE

2015-05-04 Thread Ricardo Ribalda Delgado
16 bit greyscale format, structured in Big Endian. Such a format can be converted into a PMN image just by adding a header. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/v4l2-core/v4l2-ioctl.c | 1 + include/uapi/linux/videodev2.h | 1 + 2 files changed, 2 insertions(+) diff --

[PATCH 3/4] media/vivid: Add support for Y16_BE format

2015-05-04 Thread Ricardo Ribalda Delgado
Support for V4L2_PIX_FMT_Y16_BE, a 16 bit big endian greyscale format. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/platform/vivid/vivid-tpg.c| 9 - drivers/media/platform/vivid/vivid-vid-common.c | 8 2 files changed, 16 insertions(+), 1 deletion(-) diff --

[PATCH 0/4] Add support for V4L2_PIX_FMT_Y16_BE

2015-05-04 Thread Ricardo Ribalda Delgado
New pixel format type Y16_BE (16 bits greyscale big-endian). Once I get the fist feedback on this patch I will send the patches for v4lconvert and qv4l2. Thanks Ricardo Ribalda Delgado (4): media/vivid: Add support for Y16 format media/v4l2-core: Add support for V4L2_PIX_FMT_Y16_BE media/

[PATCH 4/4] media/vivid: Code cleanout

2015-05-04 Thread Ricardo Ribalda Delgado
Remove code duplication by merging two cases in a switch. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/platform/vivid/vivid-tpg.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/media/platform/vivid/vivid-tpg.c b/drivers/media/platform/vivid/vivid-tpg.

Re: [RFC PATCH 0/3] Add VIDIOC_SUBDEV_QUERYCAP

2015-05-04 Thread Hans Verkuil
On 05/04/2015 12:33 AM, Laurent Pinchart wrote: > Hi Hans, > > On Friday 01 May 2015 13:41:03 Hans Verkuil wrote: >> On 05/01/2015 01:33 PM, Hans Verkuil wrote: >>> From: Hans Verkuil >>> >>> This patch series adds the VIDIOC_SUBDEV_QUERYCAP ioctl for v4l-subdev >>> devices as discussed during th

Re: [RFC PATCH 1/3] v4l2-subdev: add VIDIOC_SUBDEV_QUERYCAP ioctl

2015-05-04 Thread Hans Verkuil
On 05/04/2015 12:20 AM, Laurent Pinchart wrote: > Hi Hans, > > Thank you for the patch. > > On Friday 01 May 2015 13:33:48 Hans Verkuil wrote: >> From: Hans Verkuil >> >> While normal video/radio/vbi/swradio nodes have a proper QUERYCAP ioctl >> that apps can call to determine that it is indeed

Re: [RFC PATCH 2/3] DocBook/media: document VIDIOC_SUBDEV_QUERYCAP

2015-05-04 Thread Hans Verkuil
On 05/04/2015 12:29 AM, Laurent Pinchart wrote: > Hi Hans, > > Thank you for the patch. > > On Friday 01 May 2015 13:33:49 Hans Verkuil wrote: >> From: Hans Verkuil >> >> Add documentation for the new VIDIOC_SUBDEV_QUERYCAP ioctl. >> >> Signed-off-by: Hans Verkuil >> --- >> Documentation/DocBo

Re: [PATCH 9/9] mt9t112: initialize left and top

2015-05-04 Thread Guennadi Liakhovetski
On Mon, 4 May 2015, Hans Verkuil wrote: > On 05/04/2015 09:40 AM, Guennadi Liakhovetski wrote: > > On Mon, 4 May 2015, Hans Verkuil wrote: > > > >> On 05/03/2015 11:02 PM, Guennadi Liakhovetski wrote: > >>> Hi Hans, > >>> > >>> On Sun, 3 May 2015, Hans Verkuil wrote: > >>> > From: Hans Verku

Re: [RFC PATCH 2/3] DocBook/media: document VIDIOC_SUBDEV_QUERYCAP

2015-05-04 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Friday 01 May 2015 13:33:49 Hans Verkuil wrote: > From: Hans Verkuil > > Add documentation for the new VIDIOC_SUBDEV_QUERYCAP ioctl. > > Signed-off-by: Hans Verkuil > --- > Documentation/DocBook/media/v4l/v4l2.xml | 1 + > .../DocBook/media/v4

Re: [RFC PATCH 3/3] videodev2.h: add entity_id to struct v4l2_capability

2015-05-04 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Friday 01 May 2015 13:33:50 Hans Verkuil wrote: > From: Hans Verkuil > > Export the entity ID (if any) of the video device. I would postpone this until we finish the DVB+MC discussion and properly define the relationship between device nodes and MC, as it

Re: [PATCH/RFC] v4l: vsp1: Align crop rectangle to even boundary for YUV formats

2015-05-04 Thread Laurent Pinchart
Hello, On Thursday 30 April 2015 14:22:02 Sergei Shtylyov wrote: > On 4/29/2015 8:05 PM, Yoshihiro Kaneko wrote: > > From: Damian Hobson-Garcia > > > > Make sure that there are valid values in the crop rectangle to ensure > > that the color plane doesn't get shifted when cropping. > > Since ther

Re: [RFC PATCH 1/3] v4l2-subdev: add VIDIOC_SUBDEV_QUERYCAP ioctl

2015-05-04 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Friday 01 May 2015 13:33:48 Hans Verkuil wrote: > From: Hans Verkuil > > While normal video/radio/vbi/swradio nodes have a proper QUERYCAP ioctl > that apps can call to determine that it is indeed a V4L2 device, there > is currently no equivalent for v4l-sub

Re: [RFC PATCH 0/3] Add VIDIOC_SUBDEV_QUERYCAP

2015-05-04 Thread Laurent Pinchart
Hi Hans, On Friday 01 May 2015 13:41:03 Hans Verkuil wrote: > On 05/01/2015 01:33 PM, Hans Verkuil wrote: > > From: Hans Verkuil > > > > This patch series adds the VIDIOC_SUBDEV_QUERYCAP ioctl for v4l-subdev > > devices as discussed during the ELC in San Jose and as discussed here: > > > > http

Re: [PATCH v3 1/1] V4L2: platform: Renesas R-Car JPEG codec driver

2015-05-04 Thread Laurent Pinchart
Hi Mikhail, Thank you for the patch. Please see below for a (partial) review. On Thursday 30 April 2015 00:53:29 Mikhail Ulyanov wrote: > Here's the the driver for the Renesas R-Car JPEG processing unit driver. > > The driver is implemented within the V4L2 framework as a mem-to-mem device. > It

Re: [PATCH 9/9] mt9t112: initialize left and top

2015-05-04 Thread Hans Verkuil
On 05/04/2015 09:40 AM, Guennadi Liakhovetski wrote: > On Mon, 4 May 2015, Hans Verkuil wrote: > >> On 05/03/2015 11:02 PM, Guennadi Liakhovetski wrote: >>> Hi Hans, >>> >>> On Sun, 3 May 2015, Hans Verkuil wrote: >>> From: Hans Verkuil The left and top variables were uninitialized

Re: [Y2038] [PATCH v4 06/10] cec: add HDMI CEC framework: y2038 question

2015-05-04 Thread Hans Verkuil
Ping! (Added Arnd to the CC list) On 04/27/2015 09:40 AM, Hans Verkuil wrote: > Added the y2038 mailinglist since I would like to get their input for > this API. > > Y2038 experts, can you take a look at my comment in the code below? > > Thanks! Arnd, I just saw your patch series adding struct

Re: [PATCH 9/9] mt9t112: initialize left and top

2015-05-04 Thread Guennadi Liakhovetski
On Mon, 4 May 2015, Hans Verkuil wrote: > On 05/03/2015 11:02 PM, Guennadi Liakhovetski wrote: > > Hi Hans, > > > > On Sun, 3 May 2015, Hans Verkuil wrote: > > > >> From: Hans Verkuil > >> > >> The left and top variables were uninitialized, leading to unexpected > >> results. > >> > >> Signed-o

Re: [PATCH 9/9] mt9t112: initialize left and top

2015-05-04 Thread Hans Verkuil
On 05/03/2015 11:02 PM, Guennadi Liakhovetski wrote: > Hi Hans, > > On Sun, 3 May 2015, Hans Verkuil wrote: > >> From: Hans Verkuil >> >> The left and top variables were uninitialized, leading to unexpected >> results. >> >> Signed-off-by: Hans Verkuil >> --- >> drivers/media/i2c/soc_camera/mt

Re: [PATCH 5/9] ov5642: avoid calling ov5642_find_datafmt() twice

2015-05-04 Thread Hans Verkuil
On 05/03/2015 10:24 PM, Guennadi Liakhovetski wrote: > Hi Hans, > > On Sun, 3 May 2015, Hans Verkuil wrote: > >> From: Hans Verkuil >> >> Simplify ov5642_set_fmt(). >> >> Signed-off-by: Hans Verkuil >> Reported-by: Guennadi Liakhovetski >> --- >> drivers/media/i2c/soc_camera/ov5642.c | 7

Re: [PATCH 4/9] ov2640: avoid calling ov2640_select_win() twice

2015-05-04 Thread Hans Verkuil
On 05/03/2015 08:19 PM, Guennadi Liakhovetski wrote: > Hi Hans, > > On Sun, 3 May 2015, Hans Verkuil wrote: > >> From: Hans Verkuil >> >> Simplify ov2640_set_params and ov2640_set_fmt. >> >> Signed-off-by: Hans Verkuil >> Reported-by: Guennadi Liakhovetski >> --- >> drivers/media/i2c/soc_came

Re: [PATCH 1/9] imx074: don't call imx074_find_datafmt() twice

2015-05-04 Thread Hans Verkuil
On 05/03/2015 07:54 PM, Guennadi Liakhovetski wrote: > Hi Hans, > > Thanks for fixing the drivers! > > On Sun, 3 May 2015, Hans Verkuil wrote: > >> From: Hans Verkuil >> >> Simplify imx074_set_fmt(). >> >> Signed-off-by: Hans Verkuil >> Reported-by: Guennadi Liakhovetski >> --- >> drivers/me

Re: soc-camera: opinion poll - future directions

2015-05-04 Thread Hans Verkuil
On 05/03/2015 07:45 PM, Guennadi Liakhovetski wrote: > Hi Hans, > > On Sun, 3 May 2015, Hans Verkuil wrote: > >> Hi Guennadi, >> >> On 05/03/2015 06:11 PM, Guennadi Liakhovetski wrote: >>> Hi all, >>> >>> Just a quick opinion poll - where and how should the soc-camera framework >>> and drivers b