Re: [RFC PATCH V2 4/4] platform: mtk-isp: Add Mediatek FD driver

2019-09-02 Thread Jerry-ch Chen
On Tue, 2019-09-03 at 13:19 +0800, Tomasz Figa wrote: > On Mon, Sep 2, 2019 at 8:47 PM Jerry-ch Chen > wrote: > > > > Hi Tomasz, > > > > On Fri, 2019-08-30 at 16:33 +0800, Tomasz Figa wrote: > > > On Wed, Aug 28, 2019 at 11:00 AM Jerry-ch Chen > > > wrote: > > > > > > > > Hi Tomasz, > > > > > >

Re: cron job: media_tree daily build: ERRORS

2019-09-02 Thread Hans Verkuil
These errors appear to be fall-out from my upgrade to gcc-9.2.0 and failing to properly prepare the old kernels for that. Hopefully this will be better tomorrow. Regards, Hans On 9/3/19 5:59 AM, Hans Verkuil wrote: > This message is generated daily by a cron job that builds media_tree f

Re: hdpvr.ko kernel 5.3-rc6

2019-09-02 Thread Hans Verkuil
On 9/3/19 5:45 AM, Scott Doty wrote: > On 9/2/19 12:31 AM, Hans Verkuil wrote: >> Hi Scott, > > Hi Hans! Thank you for the speedy reply. :) > >> The only non-trivial change in hdpvr in 5.3 is this commit: >> >> commit 6bc5a4a1927556ff9adce1aa95ea408c95453225 >> Author: Hans Verkuil >> Date: T

Re: [RFC PATCH V2 4/4] platform: mtk-isp: Add Mediatek FD driver

2019-09-02 Thread Tomasz Figa
On Mon, Sep 2, 2019 at 8:47 PM Jerry-ch Chen wrote: > > Hi Tomasz, > > On Fri, 2019-08-30 at 16:33 +0800, Tomasz Figa wrote: > > On Wed, Aug 28, 2019 at 11:00 AM Jerry-ch Chen > > wrote: > > > > > > Hi Tomasz, > > > > > > On Mon, 2019-08-26 at 14:36 +0800, Tomasz Figa wrote: > > > > Hi Jerry, > >

Re: [PATCH v2 03/10] media: v4l2-ctrl: Document V4L2_CID_CAMERA_SENSOR_ROTATION

2019-09-02 Thread Tomasz Figa
On Tue, Sep 3, 2019 at 1:43 AM Laurent Pinchart wrote: > > Hi Jacopo, > > On Mon, Sep 02, 2019 at 01:20:49PM +0200, Jacopo Mondi wrote: > > On Tue, Aug 27, 2019 at 03:51:32PM +0300, Laurent Pinchart wrote: > > > On Tue, Aug 27, 2019 at 11:23:29AM +0200, Jacopo Mondi wrote: > > >> Add documentation

cron job: media_tree daily build: ERRORS

2019-09-02 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 Sep 3 05:00:10 CEST 2019 media-tree git hash:20a438d53fd9d12a894161bc56cbeab7a9993c39 media_build gi

Re: hdpvr.ko kernel 5.3-rc6

2019-09-02 Thread Scott Doty
On 9/2/19 12:31 AM, Hans Verkuil wrote: > Hi Scott, Hi Hans! Thank you for the speedy reply. :) > The only non-trivial change in hdpvr in 5.3 is this commit: > > commit 6bc5a4a1927556ff9adce1aa95ea408c95453225 > Author: Hans Verkuil > Date: Thu Jun 20 07:43:41 2019 -0400 > > media: hdpv

BoF at LPC "New hardware with modern I2C address conflicts"

2019-09-02 Thread Wolfram Sang
Hey everyone, at LPC next week in Lisboa, there will be a BoF run by me which I want to point out. Quoting the official description[1]: === "New hardware with modern I2C address conflicts" For some time now, special camera setups exist having features which are challenging for I2C address layou

Re: [PATCH v2 01/10] media: dt-bindings: Document 'location' property

2019-09-02 Thread Jacopo Mondi
Hi again, On Mon, Sep 02, 2019 at 07:49:37PM +0300, Laurent Pinchart wrote: > Hi Jacopo, > > On Mon, Sep 02, 2019 at 06:40:31PM +0200, Jacopo Mondi wrote: > > On Mon, Sep 02, 2019 at 02:38:40PM +0100, Rob Herring wrote: > > > On Thu, Aug 29, 2019 at 02:46:40PM +0200, Jacopo Mondi wrote: > > >> On

[PATCH v2] cec-compliance: system audio control tests

2019-09-02 Thread Jiunn Chang
Add user control press operands: - Mute Function - Restore Volume Function Signed-off-by: Jiunn Chang --- Changes made since v2: - change node->state.mute to boolean >8---8< utils/cec-compliance/cec-test-audio.cpp | 32

Re: [PATCH v2 01/10] media: dt-bindings: Document 'location' property

2019-09-02 Thread Laurent Pinchart
Hi Jacopo, On Mon, Sep 02, 2019 at 06:40:31PM +0200, Jacopo Mondi wrote: > On Mon, Sep 02, 2019 at 02:38:40PM +0100, Rob Herring wrote: > > On Thu, Aug 29, 2019 at 02:46:40PM +0200, Jacopo Mondi wrote: > >> On Tue, Aug 27, 2019 at 03:21:26PM +0300, Laurent Pinchart wrote: > >>> On Tue, Aug 27, 201

Re: [PATCH v2 03/10] media: v4l2-ctrl: Document V4L2_CID_CAMERA_SENSOR_ROTATION

2019-09-02 Thread Laurent Pinchart
Hi Jacopo, On Mon, Sep 02, 2019 at 01:20:49PM +0200, Jacopo Mondi wrote: > On Tue, Aug 27, 2019 at 03:51:32PM +0300, Laurent Pinchart wrote: > > On Tue, Aug 27, 2019 at 11:23:29AM +0200, Jacopo Mondi wrote: > >> Add documentation for the V4L2_CID_CAMERA_SENSOR_ROTATION camera > >> control. The new

Re: [PATCH v2 01/10] media: dt-bindings: Document 'location' property

2019-09-02 Thread Jacopo Mondi
Hi Rob, On Mon, Sep 02, 2019 at 02:38:40PM +0100, Rob Herring wrote: > On Thu, Aug 29, 2019 at 02:46:40PM +0200, Jacopo Mondi wrote: > > Hi Laurent, > > > > On Tue, Aug 27, 2019 at 03:21:26PM +0300, Laurent Pinchart wrote: > > > Hi Jacopo, > > > > > > Thank you for the patch. > > > > > > On Tue, A

Re: [PATCH] dt-bindings: sh-mobile-ceu: Remove now unimplemented bindings documentation

2019-09-02 Thread Laurent Pinchart
Hi Simon, Thank you for the patch. On Mon, Sep 02, 2019 at 10:43:52AM +0200, Simon Horman wrote: > Remove the SH Mobile CEU bindings documentation as the corresponding driver > was removed v5.1 by the following commit: > > 43a445f188e1 ("media: sh_mobile_ceu_camera: remove obsolete soc_camera >

Re: [PATCH] dt-bindings: sh-mobile-ceu: Remove now unimplemented bindings documentation

2019-09-02 Thread Rob Herring
On Mon, 2 Sep 2019 10:43:52 +0200, Simon Horman wrote: > Remove the SH Mobile CEU bindings documentation as the corresponding driver > was removed v5.1 by the following commit: > > 43a445f188e1 ("media: sh_mobile_ceu_camera: remove obsolete soc_camera > driver") > > Signed-off-by: Simon Horman

Re: [RFC,v5, 1/5] media: dt-bindings: mt8183: Added camera ISP Pass 1

2019-09-02 Thread Rob Herring
On Mon, 2 Sep 2019 15:51:31 +0800, Jungo Lin wrote: > This patch adds DT binding document for the Pass 1 (P1) unit > in Mediatek's camera ISP system. The Pass 1 unit grabs the sensor > data out from the sensor interface, applies ISP image effects > from tuning data and outputs the image data or sta

Re: [PATCH 2/2] media: i2c: dw9768: Add DW9768 VCM driver

2019-09-02 Thread Dongchun Zhu
Hi Tomasz, On Fri, 2019-08-23 at 17:17 +0900, Tomasz Figa wrote: > Hi Dongchun, > > On Mon, Jul 08, 2019 at 06:06:41PM +0800, dongchun@mediatek.com wrote: > > From: Dongchun Zhu > > > > This patch adds a V4L2 sub-device driver for DW9768 lens voice coil, > > and provides control to set the

Re: [PATCH v2 01/10] media: dt-bindings: Document 'location' property

2019-09-02 Thread Rob Herring
On Thu, Aug 29, 2019 at 02:46:40PM +0200, Jacopo Mondi wrote: > Hi Laurent, > > On Tue, Aug 27, 2019 at 03:21:26PM +0300, Laurent Pinchart wrote: > > Hi Jacopo, > > > > Thank you for the patch. > > > > On Tue, Aug 27, 2019 at 11:23:27AM +0200, Jacopo Mondi wrote: > > > Add the 'location' device pr

Re: [PATCH 2/2] media: i2c: dw9768: Add DW9768 VCM driver

2019-09-02 Thread Dongchun Zhu
Hi Bingbu, On Wed, 2019-07-24 at 11:16 +0800, Bingbu Cao wrote: > On 7/8/19 6:06 PM, dongchun@mediatek.com wrote: > > From: Dongchun Zhu > > > > This patch adds a V4L2 sub-device driver for DW9768 lens voice coil, > > and provides control to set the desired focus. > > > > The DW9807 is a 10 b

Re: ir-keytable compiler warnings

2019-09-02 Thread Sean Young
Hi Hans, On Mon, Sep 02, 2019 at 02:42:45PM +0200, Hans Verkuil wrote: > I get these compiler warnings: > > CC keymap.o > keytable.c:1832:76: warning: ‘struct toml_table_t’ declared inside parameter > list will not be visible outside of this definition or > declaration > 1832 | static v

ir-keytable compiler warnings

2019-09-02 Thread Hans Verkuil
Hi Sean, I get these compiler warnings: CC keymap.o keytable.c:1832:76: warning: ‘struct toml_table_t’ declared inside parameter list will not be visible outside of this definition or declaration 1832 | static void attach_bpf(const char *lirc_name, const char *bpf_prog, struct toml_tab

Re: [RFC PATCH V2 4/4] platform: mtk-isp: Add Mediatek FD driver

2019-09-02 Thread Jerry-ch Chen
Hi Tomasz, On Fri, 2019-08-30 at 16:33 +0800, Tomasz Figa wrote: > On Wed, Aug 28, 2019 at 11:00 AM Jerry-ch Chen > wrote: > > > > Hi Tomasz, > > > > On Mon, 2019-08-26 at 14:36 +0800, Tomasz Figa wrote: > > > Hi Jerry, > > > > > > On Sun, Aug 25, 2019 at 6:18 PM Jerry-ch Chen > > > wrote: > > >

Re: [PATCH v2 03/10] media: v4l2-ctrl: Document V4L2_CID_CAMERA_SENSOR_ROTATION

2019-09-02 Thread Jacopo Mondi
HI Laurent, On Tue, Aug 27, 2019 at 03:51:32PM +0300, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Tue, Aug 27, 2019 at 11:23:29AM +0200, Jacopo Mondi wrote: > > Add documentation for the V4L2_CID_CAMERA_SENSOR_ROTATION camera > > control. The newly added read-only contr

Re: [PATCH v2 09/10] media: i2c: ov5670: Report native size and crop bounds

2019-09-02 Thread Laurent Pinchart
Hi Jacopo, On Thu, Aug 29, 2019 at 06:43:30PM +0200, Jacopo Mondi wrote: > On Thu, Aug 29, 2019 at 03:39:43PM +0200, Hans Verkuil wrote: > > On 8/29/19 3:18 PM, Jacopo Mondi wrote: > > > On Thu, Aug 29, 2019 at 02:55:30PM +0200, Hans Verkuil wrote: > > >> On 8/29/19 2:40 PM, Jacopo Mondi wrote: >

Re: [PATCH] cec-compliance: system audio control tests

2019-09-02 Thread Hans Verkuil
Just one small correction: On 9/2/19 11:33 AM, Jiunn Chang wrote: > Add user control press operands: > - Mute Function > - Restore Volume Function > > Signed-off-by: Jiunn Chang > --- > utils/cec-compliance/cec-test-audio.cpp | 32 + > utils/cec-follower/cec-processing

Re: [PATCH v2 06/10] media: v4l2-fwnode: Add helper to register controls from fw

2019-09-02 Thread Laurent Pinchart
Hi Hans, On Thu, Aug 29, 2019 at 05:32:52PM +0200, Hans Verkuil wrote: > On 8/29/19 5:05 PM, Laurent Pinchart wrote: > > On Thu, Aug 29, 2019 at 03:04:42PM +0200, Hans Verkuil wrote: > >> On 8/29/19 2:45 PM, Jacopo Mondi wrote: > >>> On Thu, Aug 29, 2019 at 12:31:37PM +0200, Hans Verkuil wrote: >

Re: [PATCH v2 06/10] media: v4l2-fwnode: Add helper to register controls from fw

2019-09-02 Thread Jacopo Mondi
Hi Hans, Laurent, On Thu, Aug 29, 2019 at 05:32:52PM +0200, Hans Verkuil wrote: > On 8/29/19 5:05 PM, Laurent Pinchart wrote: > > Hi Hans, > > > > On Thu, Aug 29, 2019 at 03:04:42PM +0200, Hans Verkuil wrote: > >> On 8/29/19 2:45 PM, Jacopo Mondi wrote: > >>> On Thu, Aug 29, 2019 at 12:31:37PM +02

[PATCH] cec-compliance: system audio control tests

2019-09-02 Thread Jiunn Chang
Add user control press operands: - Mute Function - Restore Volume Function Signed-off-by: Jiunn Chang --- utils/cec-compliance/cec-test-audio.cpp | 32 + utils/cec-follower/cec-processing.cpp | 6 + 2 files changed, 38 insertions(+) diff --git a/utils/cec-compli

[PATCH] dt-bindings: sh-mobile-ceu: Remove now unimplemented bindings documentation

2019-09-02 Thread Simon Horman
Remove the SH Mobile CEU bindings documentation as the corresponding driver was removed v5.1 by the following commit: 43a445f188e1 ("media: sh_mobile_ceu_camera: remove obsolete soc_camera driver") Signed-off-by: Simon Horman --- .../devicetree/bindings/media/sh_mobile_ceu.txt | 17

[RFC,v5, 4/5] media: pixfmt: Add Mediatek ISP P1 image & meta formats

2019-09-02 Thread Jungo Lin
Add packed/full-g bayer formats with 8/10/12/14 bit for image output. Add Pass 1 (P1) specific meta formats for parameter processing and 3A/other statistics. (The current metadata format used in meta input and partial meta nodes is only a temporary solution to kick off the driver development and i

[RFC,v5, 5/5] media: platform: Add Mediatek ISP P1 V4L2 device driver

2019-09-02 Thread Jungo Lin
This patch adds the Mediatek ISP P1 HW control device driver. It handles the ISP HW configuration, provides interrupt handling and initializes the V4L2 device nodes and other V4L2 functions. Moreover, implement standard V4L2 video driver that utilizes V4L2 and media framework APIs. It supports one

[RFC,v5, 2/5] dts: arm64: mt8183: Add ISP Pass 1 nodes

2019-09-02 Thread Jungo Lin
Add nodes for Pass 1 unit of Mediatek's camera ISP system. Pass 1 unit embedded in Mediatek SoCs, works with the co-processor to process image signal from the image sensor and output RAW image data. Signed-off-by: Jungo Lin --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 30 ++

[RFC,v5, 1/5] media: dt-bindings: mt8183: Added camera ISP Pass 1

2019-09-02 Thread Jungo Lin
This patch adds DT binding document for the Pass 1 (P1) unit in Mediatek's camera ISP system. The Pass 1 unit grabs the sensor data out from the sensor interface, applies ISP image effects from tuning data and outputs the image data or statistics data to DRAM. Signed-off-by: Jungo Lin --- .../bi

[RFC,v5,0/5] media: platform: mtk-isp: Add Mediatek ISP Pass 1 driver

2019-09-02 Thread Jungo Lin
Hello, This RFC patch series adding the driver for Pass 1 (P1) unit in Mediatek's camera ISP system on mt8183 SoC, which will be used in camera features of CrOS. It's the first time Mediatek develops ISP kernel drivers based on V4L2 and media controller framework. I posted the main part of the ISP

[RFC,v5, 3/5] media: videodev2.h: Add new boottime timestamp type

2019-09-02 Thread Jungo Lin
For Camera AR(Augmented Reality) application requires camera timestamps to be reported with CLOCK_BOOTTIME to sync timestamp with other sensor sources. The boottime timestamp is identical to monotonic timestamp, except it also includes any time that the system is suspended. Signed-off-by: Jungo L

Re: hdpvr.ko kernel 5.3-rc6

2019-09-02 Thread Hans Verkuil
Hi Scott, On 9/2/19 3:02 AM, Scott Doty wrote: > Hello, > > Hadn't used my Hauppauge HDPVR for a while, decided to check status of > driver. > > Doesn't seem to be working now.  Everything initializes okay (afaict), > but it doesn't seem to want to start streaming. > > In the past, a command li