Re: [ANN] Media sessions in Lyon in October: codecs

2019-09-27 Thread Maxime Ripard
Hi, On Mon, Sep 23, 2019 at 07:19:34PM +0300, Laurent Pinchart wrote: > On Mon, Sep 23, 2019 at 05:02:13PM +0200, Jacopo Mondi wrote: > > On Mon, Sep 23, 2019 at 04:12:55PM +0200, Hans Verkuil wrote: > > > Hi all, > > > > > > Since we have three separate half-day sessions for different topics I >

Re: [PATCH] cx231xx: convert to the vb2 framework

2019-09-27 Thread Mauro Carvalho Chehab
Em Fri, 27 Sep 2019 15:42:45 +0200 Hans Verkuil escreveu: > This patch converts the cx231xx driver to the vb2 framework. > Since you can't do a partial conversion this is a big-bang patch, > i.e. large and hard to review. I never found a way around this. > > Signed-off-by: Hans Verkuil > Co-Dev

[PATCH] Staging: media: ipu3: Changed unsigned long int to unsigned long

2019-09-27 Thread Madhuparna Bhowmik
This patch fixes the following warning: WARNING: Prefer 'unsigned long' over 'unsigned long int' as the int is unnecessary Signed-off-by: Madhuparna Bhowmik --- drivers/staging/media/ipu3/ipu3-mmu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/media/ip

Re: [PATCH v3 01/11] dt-bindings: video-interfaces: Document 'location' property

2019-09-27 Thread Pavel Machek
Hi! > Add the 'location' device property, used to specify a device mounting > position. The property is particularly meaningful for mobile devices > with a well defined usage orientation. > > Signed-off-by: Jacopo Mondi > --- > .../devicetree/bindings/media/video-interfaces.txt| 11

Re: [ANN] Media sessions in Lyon in October: codecs

2019-09-27 Thread Eugen.Hristev
On 23.09.2019 17:12, Hans Verkuil wrote: > Hi all, > > Since we have three separate half-day sessions for different topics I decided > to split the announcement for this in three emails as well, so these things > can be discussed in separate threads. > > All sessions are in room Terreaux VIP Lo

Re: [ANN] Media sessions in Lyon in October: codecs

2019-09-27 Thread Stanimir Varbanov
Hi Hans, On 9/23/19 7:12 AM, Hans Verkuil wrote: > Hi all, > > Since we have three separate half-day sessions for different topics I decided > to split the announcement for this in three emails as well, so these things > can be discussed in separate threads. > > All sessions are in room Terreaux

Re: [ANN] Media sessions in Lyon in October: future V4L2 work

2019-09-27 Thread Stanimir Varbanov
On 9/23/19 7:27 AM, Hans Verkuil wrote: > Hi all, > > Since we have three separate half-day sessions for different topics I decided > to split the announcement for this in three emails as well, so these things > can be discussed in separate threads. > > All sessions are in room Terreaux VIP Lo

Re: [GIT PULL v2 FOR v5.5] cec fixes and improvements

2019-09-27 Thread Jenkins
From: buil...@linuxtv.org Pull request: https://patchwork.linuxtv.org/patch/58979/ Build log: https://builder.linuxtv.org/job/patchwork/17977/ Build time: 00:05:37 Link: https://lore.kernel.org/linux-media/ad5d2c2f-3752-4082-1a01-c3a0a96ab...@xs4all.nl gpg: Signature made Fri 27 Sep 2019 02:49:2

Re: [GIT PULL FOR v5.5] Various fixes/enhancements

2019-09-27 Thread Jenkins
From: buil...@linuxtv.org Pull request: https://patchwork.linuxtv.org/patch/58972/ Build log: https://builder.linuxtv.org/job/patchwork/17976/ Build time: 00:13:18 Link: https://lore.kernel.org/linux-media/e99ce728-5571-b043-c6c7-3d6d96c35...@xs4all.nl gpg: Signature made Fri 27 Sep 2019 02:27:3

Re: [PATCHv2 1/2] uapi/linux/cec.h: add defines for the CEC UI Command Operand

2019-09-27 Thread Hans Verkuil
Please ignore, accidentally sent from my work email. Regards, Hans

[GIT PULL v2 FOR v5.5] cec fixes and improvements

2019-09-27 Thread Hans Verkuil
Hi Mauro, Here are various fixes and improvements for the CEC framework. In particular this enables the new CEC_ADAP_G_CONNECTOR_INFO ioctl that Dariusz has been working on. Once this is merged, v4l-utils will also need to be updated to use the new ioctl and the new UI_CMD defines: patches for t

[PATCHv2 1/2] uapi/linux/cec.h: add defines for the CEC UI Command Operand

2019-09-27 Thread Hans Verkuil (hansverk)
These defines were never added to this CEC header, likely due to laziness on the part of the original author, i.e. me. But it is useful to have them, so add them. Also update the cec.h.rst.exceptions file to avoid errors when building the documentation. Signed-off-by: Hans Verkuil --- Changes s

[PATCHv2 1/2] uapi/linux/cec.h: add defines for the CEC UI Command Operand

2019-09-27 Thread Hans Verkuil
These defines were never added to this CEC header, likely due to laziness on the part of the original author, i.e. me. But it is useful to have them, so add them. Also update the cec.h.rst.exceptions file to avoid errors when building the documentation. Signed-off-by: Hans Verkuil --- Changes s

Re: [GIT PULL FOR v5.5] am437x-vpfe: overdue maintenance

2019-09-27 Thread Jenkins
From: buil...@linuxtv.org Pull request: https://patchwork.linuxtv.org/patch/58971/ Build log: https://builder.linuxtv.org/job/patchwork/17976/ Build time: 00:13:55 Link: https://lore.kernel.org/linux-media/95a1c6a9-636f-66f4-0360-66105f22a...@xs4all.nl gpg: Signature made Fri 27 Sep 2019 02:25:1

[GIT PULL FOR v5.5] Various fixes/enhancements

2019-09-27 Thread Hans Verkuil
The following changes since commit 6f51fdfd8229d5358c2d6e272cf73478866e8ddc: media: videobuf-core.c: poll_wait needs a non-NULL buf pointer (2019-09-05 06:26:57 -0300) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-v5.5d for you to fetch changes u

[GIT PULL FOR v5.5] am437x-vpfe: overdue maintenance

2019-09-27 Thread Hans Verkuil
Various fixes for am437x-vpfe. One special note: the last three patches adds new macros to be able to print a V4L2 fourcc in a standard way, both for kernel and userspace, and uses them in v4l2-ioctl.c and am437x. If you have concerns about this and do not want to merge those patches without disc

Re: [GIT PULL FOR v5.5] vimc: Collapse component structure into a single

2019-09-27 Thread Jenkins
From: buil...@linuxtv.org Pull request: https://patchwork.linuxtv.org/patch/58970/ Build log: https://builder.linuxtv.org/job/patchwork/17975/ Build time: 00:03:42 Link: https://lore.kernel.org/linux-media/6618e8ee-7ea8-6172-ac96-5228a769a...@xs4all.nl gpg: Signature made Fri 27 Sep 2019 02:10:0

Re: [GIT PULL FOR v5.5] cec fixes and improvements

2019-09-27 Thread Jenkins
From: buil...@linuxtv.org Pull request: https://patchwork.linuxtv.org/patch/58969/ Build log: https://builder.linuxtv.org/job/patchwork/17974/ Build time: 00:06:33 Link: https://lore.kernel.org/linux-media/2db83ecb-d773-bec1-e00e-1ad0b6ccb...@xs4all.nl gpg: Signature made Fri 27 Sep 2019 02:04:5

[GIT PULL FOR v5.5] vimc: Collapse component structure into a single monolithic driver

2019-09-27 Thread Hans Verkuil
Speaks for itself. This will require a change to the v4l-utils test-media script. A patch is ready for that to apply once this is merged. Various other upcoming vimc patches all depend on this going in first. Regards, Hans The following changes since commit 6f51fdfd8229d5358c2d6e272cf7

[GIT PULL FOR v5.5] cec fixes and improvements

2019-09-27 Thread Hans Verkuil
Hi Mauro, Here are various fixes and improvements for the CEC framework. In particular this enables the new CEC_ADAP_G_CONNECTOR_INFO ioctl that Dariusz has been working on. Once this is merged, v4l-utils will also need to be updated to use the new ioctl and the new UI_CMD defines: patches for t

[PATCH] cx231xx: convert to the vb2 framework

2019-09-27 Thread Hans Verkuil
This patch converts the cx231xx driver to the vb2 framework. Since you can't do a partial conversion this is a big-bang patch, i.e. large and hard to review. I never found a way around this. Signed-off-by: Hans Verkuil Co-Developed-by: Mauro Carvalho Chehab --- drivers/media/usb/cx231xx/Kconfig

Re: [PATCH v10 07/14] media: tvp5150: fix set_selection rectangle handling

2019-09-27 Thread Hans Verkuil
On 9/27/19 2:13 PM, Marco Felsch wrote: > Hi Hans, > > since you review contained many checkpatch issues I wanna ask if it okay > to keep this line as it before I will send a v11. Please check my inline > comment. > > On 19-08-30 12:16, Marco Felsch wrote: >> Currently a local copy of sel->r is m

Re: [PATCH v10 07/14] media: tvp5150: fix set_selection rectangle handling

2019-09-27 Thread Marco Felsch
Hi Hans, since you review contained many checkpatch issues I wanna ask if it okay to keep this line as it before I will send a v11. Please check my inline comment. On 19-08-30 12:16, Marco Felsch wrote: > Currently a local copy of sel->r is made and adapted to the hardware > constraints. After th

Re: [PATCH v10 05/14] media: tvp5150: add input source selection of_graph support

2019-09-27 Thread Marco Felsch
Hi Hans, On 19-09-27 10:54, Hans Verkuil wrote: > On 8/30/19 12:16 PM, Marco Felsch wrote: > > This patch adds the of_graph support to describe the tvp input connections. > > Physical the TVP5150 has three ports: AIP1A, AIP1B and YOUT. As result > > of discussion [1],[2] the device-tree maps these

Re: [PATCH v10 13/14] media: tvp5150: add support to limit sdtv standards

2019-09-27 Thread Marco Felsch
Hi Hans, On 19-09-27 10:52, Hans Verkuil wrote: > Hi Marco, > > On 8/30/19 12:16 PM, Marco Felsch wrote: > > The tvp5150 accepts NTSC(M,J,4.43), PAL (B,D,G,H,I,M,N) and SECAM video > > data and is able to auto-detect the input signal. The auto-detection > > does not work if the connector does not

Re: [RFC PATCH] media: rename VFL_TYPE_GRABBER to _VIDEO

2019-09-27 Thread Sakari Ailus
Hi Hans, On Thu, Sep 26, 2019 at 08:58:27AM +0200, Hans Verkuil wrote: > We currently have the following devnode types: > > enum vfl_devnode_type { > VFL_TYPE_GRABBER= 0, > VFL_TYPE_VBI, > VFL_TYPE_RADIO, > VFL_TYPE_SUBDEV, > VFL_TYPE_SDR, >

Re: [PATCH v3 04/11] media: v4l2-ctrl: Document V4L2_CID_CAMERA_SENSOR_ROTATION

2019-09-27 Thread Hans Verkuil
Hi Jacopo, Sorry for the late reply, it fell through the cracks... On 9/13/19 8:49 PM, Jacopo Mondi wrote: > Hi Hans, > > On Fri, Sep 13, 2019 at 04:02:45PM +0200, Hans Verkuil wrote: >> On 9/12/19 10:10 PM, Jacopo Mondi wrote: >>> Add documentation for the V4L2_CID_CAMERA_SENSOR_ROTATION camera

Re: [PATCH v10 08/14] media: tvp5150: add FORMAT_TRY support for get/set selection handlers

2019-09-27 Thread Hans Verkuil
On 9/27/19 12:57 PM, Marco Felsch wrote: > Hi Hans, > > On 19-09-27 11:01, Hans Verkuil wrote: >> On 8/30/19 12:16 PM, Marco Felsch wrote: >>> Since commit 10d5509c8d50 ("[media] v4l2: remove g/s_crop from video ops") >>> the 'which' field for set/get_selection must be FORMAT_ACTIVE. There is >>>

Re: [PATCH v10 08/14] media: tvp5150: add FORMAT_TRY support for get/set selection handlers

2019-09-27 Thread Marco Felsch
Hi Hans, On 19-09-27 11:01, Hans Verkuil wrote: > On 8/30/19 12:16 PM, Marco Felsch wrote: > > Since commit 10d5509c8d50 ("[media] v4l2: remove g/s_crop from video ops") > > the 'which' field for set/get_selection must be FORMAT_ACTIVE. There is > > no way to try different selections. The patch ad

Re: [PATCH v3 06/11] media: v4l2-fwnode: Add helper to parse device properties

2019-09-27 Thread Hans Verkuil
Hi Jacopo, On 9/13/19 9:04 PM, Jacopo Mondi wrote: > Hi Hans, > > On Fri, Sep 13, 2019 at 04:08:10PM +0200, Hans Verkuil wrote: >> On 9/12/19 10:10 PM, Jacopo Mondi wrote: >>> Add an helper function to parse common device properties in the same >>> way as v4l2_fwnode_endpoint_parse() parses commo

Re: [PATCH v10 01/14] dt-bindings: connector: analog: add sdtv standards property

2019-09-27 Thread Marco Felsch
Hi Hans, On 19-09-27 11:09, Hans Verkuil wrote: > Hi Marco, > > On 8/30/19 12:16 PM, Marco Felsch wrote: > > Some connectors no matter if in- or output supports only a limited > > range of sdtv standards. It doesn't matter if the hardware behind that > > connector supports more than the listed fo

Re: [PATCH] media: ov5695: Add suport for registering sensor-related

2019-09-27 Thread Andy Shevchenko
On Fri, Sep 27, 2019 at 03:18:23PM +0800, Dongchun Zhu wrote: > Hello, > > This series modifies the interface of async register V4L2 sub-device invoked > in probe function for OV5695 CMOS sensor. > The Omnivision OV5695 image sensor would be used in camera features on CrOS > application. > 5.0 M

Re: [PATCH v10 01/14] dt-bindings: connector: analog: add sdtv standards property

2019-09-27 Thread Hans Verkuil
Hi Marco, On 8/30/19 12:16 PM, Marco Felsch wrote: > Some connectors no matter if in- or output supports only a limited > range of sdtv standards. It doesn't matter if the hardware behind that > connector supports more than the listed formats since the users are > restriced by a label e.g. to plug

Re: [PATCH v10 08/14] media: tvp5150: add FORMAT_TRY support for get/set selection handlers

2019-09-27 Thread Hans Verkuil
On 8/30/19 12:16 PM, Marco Felsch wrote: > Since commit 10d5509c8d50 ("[media] v4l2: remove g/s_crop from video ops") > the 'which' field for set/get_selection must be FORMAT_ACTIVE. There is > no way to try different selections. The patch adds a helper function to > select the correct selection me

Re: [PATCH v10 05/14] media: tvp5150: add input source selection of_graph support

2019-09-27 Thread Hans Verkuil
On 8/30/19 12:16 PM, Marco Felsch wrote: > This patch adds the of_graph support to describe the tvp input connections. > Physical the TVP5150 has three ports: AIP1A, AIP1B and YOUT. As result > of discussion [1],[2] the device-tree maps these ports 1:1. Look at the > Documentation for more informat

Re: [PATCH v10 13/14] media: tvp5150: add support to limit sdtv standards

2019-09-27 Thread Hans Verkuil
Hi Marco, On 8/30/19 12:16 PM, Marco Felsch wrote: > The tvp5150 accepts NTSC(M,J,4.43), PAL (B,D,G,H,I,M,N) and SECAM video > data and is able to auto-detect the input signal. The auto-detection > does not work if the connector does not receive an input signal and the > tvp5150 might not be confi

Re: [PATCH 2/3] media: imx: fix and simplify pixel format enumeration

2019-09-27 Thread Hans Verkuil
On 9/12/19 6:01 PM, Philipp Zabel wrote: > Merge yuv_formats and rgb_formats into a single array. Always loop over > all entries, skipping those that are incompatible with the requested > enumeration. This simplifies the code, lets us get rid of the manual > counting of array entries, and stops acc

Re: [PATCH 3/5] media: vimc: Add the implementation for the configfs api

2019-09-27 Thread Andrzej Pietrasiewicz
Hi Dafna, Please see inline. W dniu 19.09.2019 o 22:32, Dafna Hirschfeld pisze: Add the code that implements the usage of configfs in order to create and configure a device topology from userspace. The code is only added in this patch but is not used. It will be used in next patch in the series

Re: [PATCH v3 0/6] rcar-vin: Add support for V4L2_FIELD_ALTERNATE

2019-09-27 Thread Hans Verkuil
Hi Niklas, On 9/4/19 11:54 PM, Niklas Söderlund wrote: > Hi, > > This series adds support for V4L2_FIELD_ALTERNATE to rcar-vin. This > removes a limitation in the driver where a video sources delivering > video using the alternating field format was forced to use the rcar-vin > interlacer and V4L

Re: [PATCH 3/3] media: imx: fix media bus format enumeration

2019-09-27 Thread Hans Verkuil
On 9/12/19 6:01 PM, Philipp Zabel wrote: > Iterate over all media bus formats, not just over the first format in > each imx_media_pixfmt entry. > > Before: > > $ v4l2-ctl -d $(media-ctl -e ipu1_csi0) --list-subdev-mbus-codes 0 > ioctl: VIDIOC_SUBDEV_ENUM_MBUS_CODE (pad=0) > 0x2006: MEDI

[PATCH] media: ov5695: Add suport for registering sensor-related

2019-09-27 Thread Dongchun Zhu
Hello, This series modifies the interface of async register V4L2 sub-device invoked in probe function for OV5695 CMOS sensor. The Omnivision OV5695 image sensor would be used in camera features on CrOS application. 5.0 Mega Pixel MIPI Camera Mdoule also supports auto-focus control (AFC) with em

[PATCH] media: i2c: ov5695: Modify the function of async register subdev related devices

2019-09-27 Thread Dongchun Zhu
This patch adds support for registering a sensor sub-device to the async sub-device framework and parse set up common sensor related devices such as actuator/VCM. Signed-off-by: Dongchun Zhu --- drivers/media/i2c/ov5695.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drive