[PATCH v2] media: helene: add I2C device probe function

2018-05-16 Thread Katsuhiro Suzuki
This patch adds I2C probe function to use dvb_module_probe() with this driver. Signed-off-by: Katsuhiro Suzuki --- Changes since v1: - Add documents for dvb_frontend member of helene_config --- drivers/media/dvb-frontends/helene.c | 88

Re: [PATCH v2 2/2] ARM: dts: r8a7740: Add CEU0

2018-05-16 Thread Simon Horman
On Wed, May 16, 2018 at 09:40:09AM +0200, Geert Uytterhoeven wrote: > Hi Jacopo, > > On Thu, Apr 26, 2018 at 8:24 PM, Jacopo Mondi > wrote: > > Describe CEU0 peripheral for Renesas R-Mobile A1 R8A7740 Soc. > > > > Reported-by: Geert Uytterhoeven > >

Re: [Intel-gfx] [PATCH v2 2/5] drm/i915: hdmi: add CEC notifier to intel_hdmi

2018-05-16 Thread Neil Armstrong
Hi Ville, On 15/05/2018 17:35, Ville Syrjälä wrote: > On Tue, May 15, 2018 at 04:42:19PM +0200, Neil Armstrong wrote: >> This patchs adds the cec_notifier feature to the intel_hdmi part >> of the i915 DRM driver. It uses the HDMI DRM connector name to differentiate >> between each HDMI ports. >>

Re: [Intel-gfx] [PATCH v2 2/5] drm/i915: hdmi: add CEC notifier to intel_hdmi

2018-05-16 Thread Neil Armstrong
On 16/05/2018 09:31, Neil Armstrong wrote: > Hi Ville, > > On 15/05/2018 17:35, Ville Syrjälä wrote: >> On Tue, May 15, 2018 at 04:42:19PM +0200, Neil Armstrong wrote: >>> This patchs adds the cec_notifier feature to the intel_hdmi part >>> of the i915 DRM driver. It uses the HDMI DRM connector

[PATCH] media: helene: fix xtal frequency setting at power on

2018-05-16 Thread Katsuhiro Suzuki
This patch fixes crystal frequency setting when power on this device. Signed-off-by: Katsuhiro Suzuki --- drivers/media/dvb-frontends/helene.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/helene.c

[PATCH] media: helene: fix tuning frequency of satellite

2018-05-16 Thread Katsuhiro Suzuki
This patch fixes tuning frequency of satellite to kHz. That as same as terrestrial one. Signed-off-by: Katsuhiro Suzuki --- drivers/media/dvb-frontends/helene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] [Patch v2] usbtv: Fix refcounting mixup

2018-05-16 Thread Oliver Neukum
Am Dienstag, den 15.05.2018, 18:01 +0200 schrieb Hans Verkuil: > On 05/15/2018 05:46 PM, Oliver Neukum wrote: > > Am Dienstag, den 15.05.2018, 16:28 +0200 schrieb Hans Verkuil: > > > On 05/15/18 15:07, Oliver Neukum wrote: > > > > usbtv_audio_fail: > > > > /* we must not free at this

Re: [PATCHv13 12/28] v4l2-ctrls: add core request support

2018-05-16 Thread Sakari Ailus
Hi Hans, On Thu, May 03, 2018 at 04:53:02PM +0200, Hans Verkuil wrote: > From: Hans Verkuil > > Integrate the request support. This adds the v4l2_ctrl_request_complete > and v4l2_ctrl_request_setup functions to complete a request and (as a > helper function) to apply a

Re: [PATCH v2 3/5] mfd: cros-ec: Introduce CEC commands and events definitions.

2018-05-16 Thread Neil Armstrong
Hi Hans, On 15/05/2018 17:28, Hans Verkuil wrote: > On 05/15/2018 04:42 PM, Neil Armstrong wrote: >> The EC can expose a CEC bus, this patch adds the CEC related definitions >> needed by the cros-ec-cec driver. >> Having a 16 byte mkbp event size makes it possible to send CEC >> messages from the

Re: [PATCH v2 4/5] mfd: cros_ec_dev: Add CEC sub-device registration

2018-05-16 Thread Neil Armstrong
Hi Enric, On 15/05/2018 18:40, Enric Balletbo Serra wrote: > Hi Neil, > > I suspect that this patch will conflict with some patches that will be > queued for 4.18 that also introduces new devices, well, for now I > don't see these merged in the Lee's tree. Indeed, I found your patches, I'll

Re: [PATCH v2 2/2] ARM: dts: r8a7740: Add CEU0

2018-05-16 Thread Geert Uytterhoeven
Hi Jacopo, On Thu, Apr 26, 2018 at 8:24 PM, Jacopo Mondi wrote: > Describe CEU0 peripheral for Renesas R-Mobile A1 R8A7740 Soc. > > Reported-by: Geert Uytterhoeven > Signed-off-by: Jacopo Mondi Thanks for your patch!

Re: [PATCH] dma-fence: Make dma_fence_add_callback() fail if signaled with error

2018-05-16 Thread Daniel Vetter
On Tue, May 15, 2018 at 01:16:30PM +0100, Chris Wilson wrote: > Quoting Ezequiel Garcia (2018-05-14 22:28:31) > > On Mon, 2018-05-14 at 18:48 +0200, Daniel Vetter wrote: > > > On Fri, May 11, 2018 at 08:27:41AM +0100, Chris Wilson wrote: > > > > Quoting Ezequiel Garcia (2018-05-09 21:14:49) > > >

Re: [PATCH v2 1/2] media: rc: introduce BPF_PROG_RAWIR_EVENT

2018-05-16 Thread Sean Young
On Tue, May 15, 2018 at 07:50:19PM +0100, Sean Young wrote: > Add support for BPF_PROG_RAWIR_EVENT. This type of BPF program can call > rc_keydown() to reported decoded IR scancodes, or rc_repeat() to report > that the last key should be repeated. > > The bpf program can be attached to using the

Re: [PATCH v6 04/17] media: rkisp1: add Rockchip MIPI Synopsys DPHY driver

2018-05-16 Thread Tomasz Figa
Hi Jacob, On Wed, May 16, 2018 at 11:54 PM Jacob Chen wrote: > 2018-05-16 22:39 GMT+08:00 Jacob Chen : > > Hi Laurent, > > > > 2018-05-16 13:20 GMT+08:00 Laurent Pinchart < laurent.pinch...@ideasonboard.com>: > >> Hi Jacob, > >> > >> Thank you for

[PATCH] media: dw9807: Fix a warning: unused variable 'retry'

2018-05-16 Thread Andy Yeh
Fix a warning reported by compiler, along with an incremental patch. --- drivers/media/i2c/dw9807.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/dw9807.c b/drivers/media/i2c/dw9807.c index 28ede2b..6ebb987 100644 --- a/drivers/media/i2c/dw9807.c +++

[PATCH] media: dw9807: remove an unused var

2018-05-16 Thread Mauro Carvalho Chehab
drivers/media/i2c/dw9807.c: In function 'dw9807_set_dac': drivers/media/i2c/dw9807.c:81:16: warning: unused variable 'retry' [-Wunused-variable] int val, ret, retry = 0; ^ Signed-off-by: Mauro Carvalho Chehab --- drivers/media/i2c/dw9807.c | 2 +-

Re: [PATCH v6 04/17] media: rkisp1: add Rockchip MIPI Synopsys DPHY driver

2018-05-16 Thread Jacob Chen
2018-05-16 22:39 GMT+08:00 Jacob Chen : > Hi Laurent, > > 2018-05-16 13:20 GMT+08:00 Laurent Pinchart > : >> Hi Jacob, >> >> Thank you for the patch. >> >> On Thursday, 8 March 2018 11:47:54 EEST Jacob Chen wrote: >>> From: Jacob Chen

Re: [PATCH 01/11] media: tm6000: fix potential Spectre variant 1

2018-05-16 Thread Mauro Carvalho Chehab
Em Wed, 16 May 2018 16:11:08 +0300 Dan Carpenter escreveu: > On Tue, May 15, 2018 at 04:00:33PM -0300, Mauro Carvalho Chehab wrote: > > Yeah, that's the same I'm getting from media upstream. > > > > > drivers/media/cec/cec-pin-error-inj.c:170

Re: [Intel-gfx] [PATCH v2 2/5] drm/i915: hdmi: add CEC notifier to intel_hdmi

2018-05-16 Thread Ville Syrjälä
On Wed, May 16, 2018 at 09:40:17AM +0200, Neil Armstrong wrote: > On 16/05/2018 09:31, Neil Armstrong wrote: > > Hi Ville, > > > > On 15/05/2018 17:35, Ville Syrjälä wrote: > >> On Tue, May 15, 2018 at 04:42:19PM +0200, Neil Armstrong wrote: > >>> This patchs adds the cec_notifier feature to the

Re: [PATCH v6 04/17] media: rkisp1: add Rockchip MIPI Synopsys DPHY driver

2018-05-16 Thread Jacob Chen
Hi Laurent, 2018-05-16 13:20 GMT+08:00 Laurent Pinchart : > Hi Jacob, > > Thank you for the patch. > > On Thursday, 8 March 2018 11:47:54 EEST Jacob Chen wrote: >> From: Jacob Chen >> >> This commit adds a subdev driver for Rockchip

RE: [RESEND PATCH v9 2/2] media: dw9807: Add dw9807 vcm driver

2018-05-16 Thread Yeh, Andy
Hi Mauro, >-Original Message- >From: Mauro Carvalho Chehab [mailto:mchehab+sams...@kernel.org] >Sent: Thursday, May 10, 2018 3:04 AM >To: Yeh, Andy >Cc: linux-media@vger.kernel.org; sakari.ai...@linux.intel.com; >devicet...@vger.kernel.org; tf...@chromium.org;

Re: [PATCH] [Patch v2] usbtv: Fix refcounting mixup

2018-05-16 Thread Hans Verkuil
On 05/16/18 11:23, Oliver Neukum wrote: > Am Dienstag, den 15.05.2018, 18:01 +0200 schrieb Hans Verkuil: >> On 05/15/2018 05:46 PM, Oliver Neukum wrote: >>> Am Dienstag, den 15.05.2018, 16:28 +0200 schrieb Hans Verkuil: On 05/15/18 15:07, Oliver Neukum wrote: > > usbtv_audio_fail: >

Re: [PATCHv13 12/28] v4l2-ctrls: add core request support

2018-05-16 Thread Sakari Ailus
On Wed, May 16, 2018 at 01:19:34PM +0300, Sakari Ailus wrote: > Hi Hans, > > On Thu, May 03, 2018 at 04:53:02PM +0200, Hans Verkuil wrote: > > From: Hans Verkuil > > > > Integrate the request support. This adds the v4l2_ctrl_request_complete > > and

[PATCH v2 3/4] media: rcar-vin: Handle digital subdev in link_notify

2018-05-16 Thread Jacopo Mondi
Handle digital subdevices in link_notify callback. If the notified link involves a digital subdevice, do not change routing of the VIN-CSI-2 devices. Signed-off-by: Jacopo Mondi --- drivers/media/platform/rcar-vin/rcar-core.c | 30 +++-- 1 file

[PATCH v2 1/4] media: rcar-vin: Parse digital input in mc-path

2018-05-16 Thread Jacopo Mondi
Add support for digital input subdevices to Gen-3 rcar-vin. The Gen-3, media-controller compliant, version has so far only accepted CSI-2 input subdevices. Remove assumptions on the supported bus_type and accepted number of subdevices, and allow digital input connections on port@0. Signed-off-by:

[PATCH v2 4/4] media: rcar-vin: Add support for R-Car R8A77995 SoC

2018-05-16 Thread Jacopo Mondi
Add R-Car R8A77995 SoC to the rcar-vin supported ones. Signed-off-by: Jacopo Mondi Reviewed-by: Niklas Söderlund Reviewed-by: Laurent Pinchart --- drivers/media/platform/rcar-vin/rcar-core.c |

[PATCH v2 0/4] rcar-vin: Add support for digital input on Gen3

2018-05-16 Thread Jacopo Mondi
Hello, this series add support for 'digital' input to the Gen3 version of rcar-vin driver. 'Digital' inputs (the terms comes from the existing Gen2 version of the driver) describe parallel video input sources connected to a VIN instance. So far, the Gen3-version of the driver (the

[PATCH v2 2/4] media: rcar-vin: Handle mc in digital notifier ops

2018-05-16 Thread Jacopo Mondi
Handle media-controller in the digital notifier operations (bound, unbind and complete) registered for VIN instances handling a digital input subdevice. Signed-off-by: Jacopo Mondi --- drivers/media/platform/rcar-vin/rcar-core.c | 94 - 1

Re: [PATCH] dma-fence: Make dma_fence_add_callback() fail if signaled with error

2018-05-16 Thread Lucas Stach
Am Mittwoch, den 16.05.2018, 11:42 +0200 schrieb Daniel Vetter: > On Tue, May 15, 2018 at 01:16:30PM +0100, Chris Wilson wrote: > > Quoting Ezequiel Garcia (2018-05-14 22:28:31) > > > On Mon, 2018-05-14 at 18:48 +0200, Daniel Vetter wrote: > > > > On Fri, May 11, 2018 at 08:27:41AM +0100, Chris

Re: [PATCHv13 12/28] v4l2-ctrls: add core request support

2018-05-16 Thread Hans Verkuil
On 05/16/18 12:19, Sakari Ailus wrote: > Hi Hans, > > On Thu, May 03, 2018 at 04:53:02PM +0200, Hans Verkuil wrote: >> From: Hans Verkuil >> >> Integrate the request support. This adds the v4l2_ctrl_request_complete >> and v4l2_ctrl_request_setup functions to complete a

Re: [PATCHv13 12/28] v4l2-ctrls: add core request support

2018-05-16 Thread Sakari Ailus
On Thu, May 03, 2018 at 04:53:02PM +0200, Hans Verkuil wrote: > @@ -1059,6 +1077,11 @@ int v4l2_ctrl_subscribe_event(struct v4l2_fh *fh, > */ > __poll_t v4l2_ctrl_poll(struct file *file, struct poll_table_struct *wait); > > +void v4l2_ctrl_request_setup(struct media_request *req, > +

Re: [PATCH] media: helene: fix xtal frequency setting at power on

2018-05-16 Thread Abylay Ospan
Acked-by: Abylay Ospan 2018-05-16 4:41 GMT-04:00 Katsuhiro Suzuki : > This patch fixes crystal frequency setting when power on this device. > > Signed-off-by: Katsuhiro Suzuki > --- >

Re: [PATCH v2] media: helene: add I2C device probe function

2018-05-16 Thread Abylay Ospan
Hi Katsuhiro, Thanks for patch. What is the purpose to rework helene_set_params(_t|_s) ? other part of this patch looks ok for me, but not tested due to lack of spare time ;( 2018-05-16 4:37 GMT-04:00 Katsuhiro Suzuki : > This patch adds I2C probe function to use

Re: [PATCH] media: helene: fix tuning frequency of satellite

2018-05-16 Thread Abylay Ospan
True. I'm curious but how did it worked before ... Which hardware (dvb adapter) are you using ? 2018-05-16 4:41 GMT-04:00 Katsuhiro Suzuki : > This patch fixes tuning frequency of satellite to kHz. That as same > as terrestrial one. > > Signed-off-by: Katsuhiro

Re: [PATCH 01/11] media: tm6000: fix potential Spectre variant 1

2018-05-16 Thread Dan Carpenter
On Tue, May 15, 2018 at 04:00:33PM -0300, Mauro Carvalho Chehab wrote: > Yeah, that's the same I'm getting from media upstream. > > > drivers/media/cec/cec-pin-error-inj.c:170 cec_pin_error_inj_parse_line() > > warn: potential spectre issue 'pin->error_inj_args' > > This one seems a false

[PATCH 1/6] dt-bindings: media: rcar-vin: Describe optional ep properties

2018-05-16 Thread Jacopo Mondi
Describe the optional endpoint properties for endpoint nodes of port@0 and port@1 of the R-Car VIN driver device tree bindings documentation. Signed-off-by: Jacopo Mondi --- Documentation/devicetree/bindings/media/rcar_vin.txt | 13 - 1 file changed, 12

[PATCH 0/6] media: rcar-vin: Brush endpoint properties

2018-05-16 Thread Jacopo Mondi
Hello, this series touches the bindings and the driver handling endpoint properties for digital subdevices of the R-Car VIN driver. The first patch simply documents what are the endpoint properties supported at the moment, then the second one extends them with 'data-active'. As the VIN

[PATCH 6/6] ARM: dts: rcar-gen2: Add 'data-active' property

2018-05-16 Thread Jacopo Mondi
The 'data-active' property needs to be specified when using embedded synchronization. Add it to the Gen-2 boards using composite video input. Signed-off-by: Jacopo Mondi --- arch/arm/boot/dts/r8a7790-lager.dts | 1 + arch/arm/boot/dts/r8a7791-koelsch.dts | 1 +

[PATCH 3/6] media: rcar-vin: Handle data-active property

2018-05-16 Thread Jacopo Mondi
The data-active property has to be specified when running with embedded synchronization. The VIN peripheral can use HSYNC in place of CLOCKENB when the CLOCKENB pin is not connected, this requires explicit synchronization to be in use. Now that the driver supports 'data-active' property, it makes

[PATCH 5/6] ARM: dts: rcar-gen2: Remove unused VIN properties

2018-05-16 Thread Jacopo Mondi
The 'bus-width' and 'pclk-sample' properties are not parsed by the VIN driver and only confuse users. Remove them in all Gen2 SoC that used them. Signed-off-by: Jacopo Mondi --- arch/arm/boot/dts/r8a7790-lager.dts | 3 --- arch/arm/boot/dts/r8a7791-koelsch.dts | 3

Re: [PATCH] dma-fence: Make dma_fence_add_callback() fail if signaled with error

2018-05-16 Thread Ezequiel Garcia
On Wed, 2018-05-16 at 12:26 +0200, Lucas Stach wrote: > Am Mittwoch, den 16.05.2018, 11:42 +0200 schrieb Daniel Vetter: > > On Tue, May 15, 2018 at 01:16:30PM +0100, Chris Wilson wrote: > > > Quoting Ezequiel Garcia (2018-05-14 22:28:31) > > > > On Mon, 2018-05-14 at 18:48 +0200, Daniel Vetter

[PATCH 4/6] media: rcar-vin: Handle CLOCKENB pin polarity

2018-05-16 Thread Jacopo Mondi
Handle CLOCKENB pin polarity, or use HSYNC in its place if polarity is not specified. Signed-off-by: Jacopo Mondi --- drivers/media/platform/rcar-vin/rcar-dma.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/media/platform/rcar-vin/rcar-dma.c

[PATCH 2/6] dt-bindings: media: rcar-vin: Document data-active

2018-05-16 Thread Jacopo Mondi
Document 'data-active' property in R-Car VIN device tree bindings. The property is optional when running with explicit synchronization (eg. BT.601) but mandatory when embedded synchronization is in use (eg. BT.656) as specified by the hardware manual. Signed-off-by: Jacopo Mondi

Re: Donation

2018-05-16 Thread M.M. Fridman
I Mikhail Fridman. has selected you specially as one of my beneficiaries for my Charitable Donation, Just as I have declared on May 23, 2016 to give my fortune as charity. Check the link below for confirmation:

Re: [Intel-gfx] [PATCH v2 2/5] drm/i915: hdmi: add CEC notifier to intel_hdmi

2018-05-16 Thread Neil Armstrong
Hi Ville, On 16/05/2018 16:07, Ville Syrjälä wrote: > On Wed, May 16, 2018 at 09:40:17AM +0200, Neil Armstrong wrote: >> On 16/05/2018 09:31, Neil Armstrong wrote: >>> Hi Ville, >>> >>> On 15/05/2018 17:35, Ville Syrjälä wrote: On Tue, May 15, 2018 at 04:42:19PM +0200, Neil Armstrong wrote:

[PATCH] rcar-csi2: set default format if a unsupported one is requested

2018-05-16 Thread Niklas Söderlund
Instead of failing the set_fmt() if a unsupported format is requested set a default one and return the changed format to the user. Signed-off-by: Niklas Söderlund Reported-by: Sakari Ailus ---

[PATCH] rcar-vin: sync which hardware buffer to start capture from

2018-05-16 Thread Niklas Söderlund
When starting the VIN capture procedure we are not guaranteed that the first buffer writing to is VnMB1 to which we assigned the first buffer queued. This is problematic for two reasons. Buffers might not be dequeued in the same order they where queued for capture. Future features planed for the

[PATCH] dt-bindings: media: rcar_vin: fix style for ports and endpoints

2018-05-16 Thread Niklas Söderlund
The style for referring to ports and endpoint are wrong. Refer to them using lowercase and a unit address, port@x and endpoint@x. Signed-off-by: Niklas Söderlund Reported-by: Geert Uytterhoeven ---

Proposal

2018-05-16 Thread Miss Zeliha Omer Faruk
Hello Greetings to you please i have a business proposal for you contact me for more detailes asap thanks. Best Regards, Miss.Zeliha ömer faruk Esentepe Mahallesi Büyükdere Caddesi Kristal Kule Binasi No:215 Sisli - Istanbul, Turkey

Re: [PATCH v9 3/8] media: vsp1: Provide a body pool

2018-05-16 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Thursday, 3 May 2018 16:35:42 EEST Kieran Bingham wrote: > Each display list allocates a body to store register values in a dma > accessible buffer from a dma_alloc_wc() allocation. Each of these > results in an entry in the IOMMU TLB, and a large number of

Re: [PATCH v9 4/8] media: vsp1: Convert display lists to use new body pool

2018-05-16 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Thursday, 3 May 2018 16:35:43 EEST Kieran Bingham wrote: > Adapt the dl->body0 object to use an object from the body pool. This > greatly reduces the pressure on the TLB for IPMMU use cases, as all of > the lists use a single allocation for the main body. >

Re: [PATCH v6 09/17] media: rkisp1: add rockchip isp1 core driver

2018-05-16 Thread Tomasz Figa
Hi Jacob, Shunqian, On Thu, Mar 8, 2018 at 6:49 PM Jacob Chen wrote: [snip] > +static const struct of_device_id rkisp1_plat_of_match[] = { > + { > + .compatible = "rockchip,rk3288-cif-isp", > + .data = _isp_clk_data, > + }, { > +

Re: [PATCH] media: helene: fix tuning frequency of satellite

2018-05-16 Thread Katsuhiro Suzuki
Hello Abylay, > -Original Message- > From: Abylay Ospan > Sent: Wednesday, May 16, 2018 7:56 PM > To: Suzuki, Katsuhiro/鈴木 勝博 > Cc: Mauro Carvalho Chehab ; linux-media > ; Masami Hiramatsu

Re: [PATCH v2] media: helene: add I2C device probe function

2018-05-16 Thread Katsuhiro Suzuki
Hello Abylay, > -Original Message- > From: Abylay Ospan > Sent: Wednesday, May 16, 2018 7:54 PM > To: Suzuki, Katsuhiro/鈴木 勝博 > Cc: Mauro Carvalho Chehab ; linux-media > ; Masami Hiramatsu

Re: [PATCH 01/11] media: tm6000: fix potential Spectre variant 1

2018-05-16 Thread Gustavo A. R. Silva
On 05/15/2018 02:39 PM, Dan Carpenter wrote: Dan, These are all the Spectre media issues I see smatch is reporting in linux-next-20180515: drivers/media/cec/cec-pin-error-inj.c:170 cec_pin_error_inj_parse_line() warn: potential spectre issue 'pin->error_inj_args'

[PATCH] v4l: Add support for STD ioctls on subdev nodes

2018-05-16 Thread Niklas Söderlund
Signed-off-by: Niklas Söderlund --- Documentation/media/uapi/v4l/vidioc-g-std.rst| 14 ++ Documentation/media/uapi/v4l/vidioc-querystd.rst | 11 +++ drivers/media/v4l2-core/v4l2-subdev.c| 12

Re: [PATCH 0/6] media: rcar-vin: Brush endpoint properties

2018-05-16 Thread Niklas Söderlund
Hi Jacopo, On 2018-05-16 18:32:26 +0200, Jacopo Mondi wrote: > Hello, >this series touches the bindings and the driver handling endpoint > properties for digital subdevices of the R-Car VIN driver. > > The first patch simply documents what are the endpoint properties supported > at the

Re: [PATCH 4/6] media: rcar-vin: Handle CLOCKENB pin polarity

2018-05-16 Thread Niklas Söderlund
Hi Jacopo, Thanks for your patch. I'm happy that you dig into this as it clearly needs doing! On 2018-05-16 18:32:30 +0200, Jacopo Mondi wrote: > Handle CLOCKENB pin polarity, or use HSYNC in its place if polarity is > not specified. > > Signed-off-by: Jacopo Mondi

Re: [PATCH 2/6] dt-bindings: media: rcar-vin: Document data-active

2018-05-16 Thread Niklas Söderlund
Hi Jacopo, Thanks for your work. On 2018-05-16 18:32:28 +0200, Jacopo Mondi wrote: > Document 'data-active' property in R-Car VIN device tree bindings. > The property is optional when running with explicit synchronization > (eg. BT.601) but mandatory when embedded synchronization is in use (eg.

Re: [PATCH 3/6] media: rcar-vin: Handle data-active property

2018-05-16 Thread Niklas Söderlund
Hi Jacopo, Thanks for your work. On 2018-05-16 18:32:29 +0200, Jacopo Mondi wrote: > The data-active property has to be specified when running with embedded > synchronization. The VIN peripheral can use HSYNC in place of CLOCKENB > when the CLOCKENB pin is not connected, this requires explicit >

Re: [PATCH 5/6] ARM: dts: rcar-gen2: Remove unused VIN properties

2018-05-16 Thread Niklas Söderlund
Hi Jacopo, Thanks for your work. On 2018-05-16 18:32:31 +0200, Jacopo Mondi wrote: > The 'bus-width' and 'pclk-sample' properties are not parsed by the VIN > driver and only confuse users. Remove them in all Gen2 SoC that used > them. > > Signed-off-by: Jacopo Mondi

Re: [PATCH 6/6] ARM: dts: rcar-gen2: Add 'data-active' property

2018-05-16 Thread Niklas Söderlund
Hi Jacopo, Thanks for your work. On 2018-05-16 18:32:32 +0200, Jacopo Mondi wrote: > The 'data-active' property needs to be specified when using embedded > synchronization. Add it to the Gen-2 boards using composite video input. > > Signed-off-by: Jacopo Mondi > ---

[PATCH] media: gl861: fix probe of dvb_usb_gl861

2018-05-16 Thread mika . batsman
From: Mika Båtsman Probe of dvb_usb_gl861 was working at least with v4.4. Noticed the issue with v4.13 but according to similar issues the problem started with v4.9. [ 15.288065] transfer buffer not dma capable [ 15.288090] WARNING: CPU: 2 PID: 493 at

Re: [PATCH v2 4/4] media: rcar-vin: Add support for R-Car R8A77995 SoC

2018-05-16 Thread Niklas Söderlund
Hi Jacopo, On 2018-05-16 14:16:56 +0200, Jacopo Mondi wrote: > Add R-Car R8A77995 SoC to the rcar-vin supported ones. > > Signed-off-by: Jacopo Mondi > Reviewed-by: Niklas Söderlund > Reviewed-by: Laurent Pinchart

[PATCH v3 2/2] bpf: add selftest for rawir_event type program

2018-05-16 Thread Sean Young
This is simple test over rc-loopback. Signed-off-by: Sean Young --- tools/bpf/bpftool/prog.c | 1 + tools/include/uapi/linux/bpf.h| 57 +++- tools/lib/bpf/libbpf.c| 1 + tools/testing/selftests/bpf/Makefile

Re: [PATCH v2 1/4] media: rcar-vin: Parse digital input in mc-path

2018-05-16 Thread Niklas Söderlund
Hi Jacopo, Thanks for your work! First let me apologies for the use of the keyword 'digital' in the driver it should have been parallel... Someday we should remedy this. If you touch any parts of the code where such a transition make sens I would not complain about the intermixed use of

Re: [PATCH v2 2/4] media: rcar-vin: Handle mc in digital notifier ops

2018-05-16 Thread Niklas Söderlund
Hi Jacopo, Thanks for your patch. I only have one generic comment to this patch as I fear comments on 1/4 have the potential to change quiet a few things here :-( On 2018-05-16 14:16:54 +0200, Jacopo Mondi wrote: > Handle media-controller in the digital notifier operations (bound, > unbind and

Re: [PATCH v2 3/4] media: rcar-vin: Handle digital subdev in link_notify

2018-05-16 Thread Niklas Söderlund
Hi Jacopo, Thanks for your patch, On 2018-05-16 14:16:55 +0200, Jacopo Mondi wrote: > Handle digital subdevices in link_notify callback. If the notified link > involves a digital subdevice, do not change routing of the VIN-CSI-2 > devices. > > Signed-off-by: Jacopo Mondi

Re: [RFC, libv4l]: Make libv4l2 usable on devices with complex pipeline

2018-05-16 Thread Pavel Machek
Hi! > > #modes: 2 > > Driver name: OMAP 3 resizer > > It probably makes sense to place the driver name before #modes. I dropped the driver for now. It served no purpose... I got the patches to work on N900. With them (and right) > From what I understood, the "#foo: " is a tag that makes the >

[PATCH v3 0/2] IR decoding using BPF

2018-05-16 Thread Sean Young
The kernel IR decoders (drivers/media/rc/ir-*-decoder.c) support the most widely used IR protocols, but there are many protocols which are not supported[1]. For example, the lirc-remotes[2] repo has over 2700 remotes, many of which are not supported by rc-core. There is a "long tail" of

[PATCH v3 1/2] media: rc: introduce BPF_PROG_RAWIR_EVENT

2018-05-16 Thread Sean Young
Add support for BPF_PROG_RAWIR_EVENT. This type of BPF program can call rc_keydown() to reported decoded IR scancodes, or rc_repeat() to report that the last key should be repeated. The bpf program can be attached to using the bpf(BPF_PROG_ATTACH) syscall; the target_fd must be the /dev/lircN

Re: [PATCH 1/6] dt-bindings: media: rcar-vin: Describe optional ep properties

2018-05-16 Thread Niklas Söderlund
Hi Jacopo, Thanks for your patch. On 2018-05-16 18:32:27 +0200, Jacopo Mondi wrote: > Describe the optional endpoint properties for endpoint nodes of port@0 > and port@1 of the R-Car VIN driver device tree bindings documentation. > > Signed-off-by: Jacopo Mondi

cron job: media_tree daily build: ERRORS

2018-05-16 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 May 17 05:00:12 CEST 2018 media-tree git hash:7e6b6b945272c20f6b78d319e07f27897a8373c9 media_build

Re: [PATCH v3 08/14] media: v4l: Add definitions for MPEG2 frame format and header metadata

2018-05-16 Thread kbuild test robot
Hi Florent, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linuxtv-media/master] [also build test WARNING on v4.17-rc5 next-20180516] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

[PATCH 2/3] dt-bindings: Add bindings for AKM ak7375 voice coil lens

2018-05-16 Thread bingbu . cao
From: Bingbu Cao Add device tree bindings for AKM ak7375 voice coil lens driver. This chip is used to drive a lens in a camera module. Signed-off-by: Tianshu Qiu Signed-off-by: Bingbu Cao ---

[PATCH 3/3] media: ak7375: Add ak7375 lens voice coil driver

2018-05-16 Thread bingbu . cao
From: Bingbu Cao Add a V4L2 sub-device driver for the ak7375 lens voice coil. This is a voice coil module using the I2C bus to control the focus position. Signed-off-by: Tianshu Qiu Signed-off-by: Bingbu Cao --- MAINTAINERS

[PATCH] media: imx319: Add imx319 camera sensor driver

2018-05-16 Thread bingbu . cao
From: Bingbu Cao Add a V4L2 sub-device driver for the Sony IMX319 image sensor. This is a camera sensor using the I2C bus for control and the CSI-2 bus for data. Signed-off-by: Bingbu Cao Signed-off-by: Tianshu Qiu ---

[PATCH] media: imx355: Add imx355 camera sensor driver

2018-05-16 Thread bingbu . cao
From: Bingbu Cao Add a V4L2 sub-device driver for the Sony IMX355 image sensor. This is a camera sensor using the I2C bus for control and the CSI-2 bus for data. Signed-off-by: Tianshu Qiu Signed-off-by: Bingbu Cao ---

[PATCH 1/3] dt-bindings: Add vendor prefix for AKM

2018-05-16 Thread bingbu . cao
From: Bingbu Cao Asahi Kasei Microdevices (AKM) offer a variety of advanced sensing devices based on compound semiconductor technology and sophisticated IC products featuring analog/digital mixed-signal technology. Signed-off-by: Bingbu Cao