Re: [PATCH RFT/RFC v2 01/47] staging: media: Revert "media: zoran: remove deprecated driver"

2022-05-07 Thread Laurent Pinchart
Google > Google LLC, 1600 Amphitheatre Parkway, Mountain View, CA 94043, USAlogo > You have received this message because someone sent you an email via > Gmail confidential mode. > -- Regards, Laurent Pinchart _

Re: [PATCH v7 3/4] drm/bridge: anx7625: add MIPI DPI input feature

2021-06-14 Thread Laurent Pinchart
bridge/analogix/anx7625.c | 245 -- > drivers/gpu/drm/bridge/analogix/anx7625.h | 18 +- > 2 files changed, 203 insertions(+), 60 deletions(-) [snip] -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxd

Re: [PATCH v6 4/5] drm/bridge: anx7625: add HDCP support

2021-04-02 Thread Laurent Pinchart
t? I'll use Connector's ".atomic_check()" > interface to detect Content Protection property change. > (https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2674580) Please note that upstream review happens on mailing lists, not in gerrit.

Re: [PATCH] staging: media: omap4iss: code style - avoid macro argument precedence issues

2021-02-21 Thread Laurent Pinchart
s.h > > Signed-off-by: Nikolay Kyx Reviewed-by: Laurent Pinchart > --- > > Additionally some style warnings remain valid here and could be fixed by > another patch. > > drivers/staging/media/omap4iss/iss_regs.h | 16 > 1 file changed, 8 insertions(+), 8

Re: [PATCH] staging: media: omap4iss: code style - avoid macro argument precedence issues

2021-02-21 Thread Laurent Pinchart
parentheses in a subsequent patch if desired. -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH] staging: media: omap4iss: code style - avoid macro argument precedence issues

2021-02-21 Thread Laurent Pinchart
(0x88 + (0x20 * > (i))) > > -#define CSI2_CTX_CTRL3(i)(0x8c + (0x20 * i)) > +#define CSI2_CTX_CTRL3(i)(0x8c + (0x20 * (i))) > #define CSI2_CTX_CTRL3_ALPHA_SHIFT 5 > #define CSI2_CTX_CTRL3_ALPHA_MAS

Re: [PATCH RFT/RFC v2 00/47] staging: media: bring back zoran driver

2020-09-28 Thread Laurent Pinchart
de 100644 drivers/staging/media/zoran/TODO > > create mode 100644 drivers/staging/media/zoran/videocodec.c > > create mode 100644 drivers/staging/media/zoran/videocodec.h > > create mode 100644 drivers/staging/media/zoran/zoran.h > > create mode 100644 drivers/staging/media/zoran/zoran_card.c > > create mode 100644 drivers/staging/media/zoran/zoran_card.h > > create mode 100644 drivers/staging/media/zoran/zoran_device.c > > create mode 100644 drivers/staging/media/zoran/zoran_device.h > > create mode 100644 drivers/staging/media/zoran/zoran_driver.c > > create mode 100644 drivers/staging/media/zoran/zr36016.c > > create mode 100644 drivers/staging/media/zoran/zr36016.h > > create mode 100644 drivers/staging/media/zoran/zr36050.c > > create mode 100644 drivers/staging/media/zoran/zr36050.h > > create mode 100644 drivers/staging/media/zoran/zr36057.h > > create mode 100644 drivers/staging/media/zoran/zr36060.c > > create mode 100644 drivers/staging/media/zoran/zr36060.h -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-25 Thread Laurent Pinchart
Hi Mauro, On Tue, Aug 25, 2020 at 01:30:25PM +0200, Mauro Carvalho Chehab wrote: > Em Tue, 25 Aug 2020 05:29:29 +1000 > Dave Airlie escreveu: > > > On Thu, 20 Aug 2020 at 20:02, Laurent Pinchart > > wrote: > > > > > > Hi Mauro, > > > >

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-20 Thread Laurent Pinchart
Hi Mauro, On Thu, Aug 20, 2020 at 09:03:26AM +0200, Mauro Carvalho Chehab wrote: > Em Wed, 19 Aug 2020 12:52:06 -0700 John Stultz escreveu: > > On Wed, Aug 19, 2020 at 8:31 AM Laurent Pinchart wrote: > > > On Wed, Aug 19, 2020 at 05:21:20PM +0200, Sam Ravnborg wrote: >

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-19 Thread Laurent Pinchart
644 drivers/staging/hikey9xx/gpu/Makefile > > create mode 100644 drivers/staging/hikey9xx/gpu/kirin960_defs.c > > create mode 100644 drivers/staging/hikey9xx/gpu/kirin960_dpe_reg.h > > create mode 100644 drivers/staging/hikey9xx/gpu/kirin970_defs.c > > create mode 100644 drivers/staging/hikey9xx/gpu/kirin970_dpe_reg.h > > create mode 100644 drivers/staging/hikey9xx/gpu/kirin9xx_dpe.h > > create mode 100644 drivers/staging/hikey9xx/gpu/kirin9xx_drm_dpe_utils.c > > create mode 100644 drivers/staging/hikey9xx/gpu/kirin9xx_drm_dpe_utils.h > > create mode 100644 drivers/staging/hikey9xx/gpu/kirin9xx_drm_drv.c > > create mode 100644 drivers/staging/hikey9xx/gpu/kirin9xx_drm_drv.h > > create mode 100644 drivers/staging/hikey9xx/gpu/kirin9xx_drm_dss.c > > create mode 100644 > > drivers/staging/hikey9xx/gpu/kirin9xx_drm_overlay_utils.c > > create mode 100644 drivers/staging/hikey9xx/gpu/kirin9xx_dw_drm_dsi.c > > create mode 100644 drivers/staging/hikey9xx/gpu/kirin9xx_dw_dsi_reg.h > > create mode 100644 drivers/staging/hikey9xx/gpu/kirin9xx_fb_panel.h -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: nxp imx8m CSI drivers

2020-07-28 Thread Laurent Pinchart
MIPI CSI2) is the video mux that selects between the MIPI CSI2 receiver and the parallel sensor input. On i.MX7D, this models the "CSI Input MUX Control" bit in register IOMUXC_GPR_GPR5. On i.MX8M, there seems to be no such mux, as there seems to be no parallel sensor input. It should thus be safe to drop the check, but other adjustements to the routing and pipeline configuration logic in the driver will likely be needed. -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH for v5.9] media: omap: Replace HTTP links with HTTPS ones

2020-07-22 Thread Laurent Pinchart
return 200 OK and serve the same content: > Replace HTTP with HTTPS. > > Signed-off-by: Alexander A. Klimov Reviewed-by: Laurent Pinchart I expect Sakari to take this patch in his tree when he will be back from vacation at the end of the month. > --- > Conti

Re: [PATCH] fixing ERROR: Macros with complex values must be enclosed within parentheses.

2020-06-25 Thread Laurent Pinchart
ompiler will tell you why. Regardless, drivers/staging/media/soc_camera/soc_camera.c is in staging because it will be removed from the kernel, cleanups for this file won't be accepted. > static int soc_camera_try_fmt(struct soc_camera_device *icd, > st

Re: [PATCH v12 2/2] drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP

2020-06-04 Thread Laurent Pinchart
Hello Xin, Thank you for the patch. On Thu, Jun 04, 2020 at 03:58:05PM +0800, Xin Ji wrote: > The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed > for portable device. It converts MIPI DSI/DPI to DisplayPort 1.3 4K. > > Signed-off-by: Xin Ji > --- > drivers/gpu/drm/bridge/anal

Re: [PATCH] media: staging: ipu3: Fix stale list entries on parameter queue failure

2020-04-12 Thread Laurent Pinchart
dummy snd_seq snd_seq_device > veth bridge stp llc tun nf_nat_tftp nf_conntrack_tftp nf_nat_ftp > nf_conntrack_ftp esp6 ah6 ip6t_REJECT ip6t_ipv6header cmac rfcomm uinput > ipu3_imgu(C) ipu3_cio2 iova videobuf2_v4l2 videobuf2_common > videobuf2_dma_sg videobuf2_memops ov13858 ov567 > >

Re: [PATCH] media: staging: rkisp1: avoid unused variable warning

2020-04-08 Thread Laurent Pinchart
> so we can allow compile-testing as well. > > Fixes: d65dd85281fb ("media: staging: rkisp1: add Rockchip ISP1 base driver") > Signed-off-by: Arnd Bergmann Reviewed-by: Laurent Pinchart > --- > drivers/staging/media/phy-rockchip-dphy-rx0/Kconfig | 2 +- > driver

Re: [PATCH v4 17/33] media: add SPDX headers on Kconfig and Makefile files

2020-03-31 Thread Laurent Pinchart
Hi Greg, On Tue, Mar 31, 2020 at 02:47:56PM +0200, Greg Kroah-Hartman wrote: > On Tue, Mar 31, 2020 at 03:39:14PM +0300, Laurent Pinchart wrote: > > On Tue, Mar 31, 2020 at 02:22:09PM +0200, Greg Kroah-Hartman wrote: > > > On Tue, Mar 31, 2020 at 03:06:08PM +0300, Laur

Re: [PATCH v4 17/33] media: add SPDX headers on Kconfig and Makefile files

2020-03-31 Thread Laurent Pinchart
Hi Greg, On Tue, Mar 31, 2020 at 02:22:09PM +0200, Greg Kroah-Hartman wrote: > On Tue, Mar 31, 2020 at 03:06:08PM +0300, Laurent Pinchart wrote: > > On Tue, Mar 31, 2020 at 01:11:53PM +0200, Mauro Carvalho Chehab wrote: > > > Most of media Kconfig/Makefile files already has SPD

Re: [PATCH v4 17/33] media: add SPDX headers on Kconfig and Makefile files

2020-03-31 Thread Laurent Pinchart
ile > @@ -1,3 +1,5 @@ > +# SPDX-License-Identifier: GPL-2.0 > + > obj-$(CONFIG_VIDEO_HANTRO) += hantro-vpu.o > > hantro-vpu-y += \ > diff --git a/drivers/staging/media/rkisp1/Makefile > b/drivers/staging/media/rkisp1/Makefile &g

Re: [PATCH 0/4] media Kconfig reorg - part 2

2020-03-26 Thread Laurent Pinchart
Hi Mauro, On Thu, Mar 26, 2020 at 09:28:32AM +0100, Mauro Carvalho Chehab wrote: > Em Thu, 26 Mar 2020 00:13:43 +0200 Laurent Pinchart escreveu: > > On Wed, Mar 25, 2020 at 10:38:20PM +0100, Mauro Carvalho Chehab wrote: > > > Em Wed, 25 Mar 2020 16:36:31 -0300 Helen Koike escrev

Re: [PATCH 0/4] media Kconfig reorg - part 2

2020-03-25 Thread Laurent Pinchart
*only* real piece of evidence we have, let's not assume we know better. > > and selecting those doesn't do anything, and people can even think > > that, if they want to enable an USB device, just enabling the USB option > > there is enough (which is not), since no

Re: [PATCH v2 07/10] dt-bindings: adv748x: add information about serial audio interface (I2S/TDM)

2020-03-20 Thread Laurent Pinchart
Hi Alex, On Fri, Mar 20, 2020 at 10:03:39AM +0100, Alex Riesen wrote: > Geert Uytterhoeven, Fri, Mar 20, 2020 09:48:14 +0100: > > On Fri, Mar 20, 2020 at 9:44 AM Alex Riesen > > wrote: > > > Laurent Pinchart, Thu, Mar 19, 2020 19:01:25 +0100: > > > > On T

Re: [PATCH v2 03/10] media: adv748x: reduce amount of code for bitwise modifications of device registers

2020-03-19 Thread Laurent Pinchart
x_update_bits(s, ADV748X_PAGE_IO, r, m, > v) > +#define io_update(s, r, m, v) adv748x_update_bits(s, ADV748X_PAGE_IO, r, m, > v) Those two are identical. Do we need both ? I would standardize on either *_update or *_clrset for all the functions here. Apart from that, Reviewed-by: Laur

Re: [PATCH v2 01/10] media: adv748x: fix end-of-line terminators in diagnostic statements

2020-03-19 Thread Laurent Pinchart
Hi Alex, Thank you for the patch. On Thu, Mar 19, 2020 at 06:41:43PM +0100, Alex Riesen wrote: > Signed-off-by: Alexander Riesen Reviewed-by: Laurent Pinchart > --- > drivers/media/i2c/adv748x/adv748x-core.c | 24 > drivers/media/i2c/adv748x/adv748x

Re: [PATCH v2 07/10] dt-bindings: adv748x: add information about serial audio interface (I2S/TDM)

2020-03-19 Thread Laurent Pinchart
I2C bus. The main address is mandatory, others are > optional and remain at default values if not specified. > > + - #clock-cells: must be <0> if the I2S port is used Wouldn't it be simpler to set it to 0 unconditionally ? Reviewed-by: Laurent Pinchart > + > Opt

Re: [PATCH v2 02/10] media: adv748x: include everything adv748x.h needs into the file

2020-03-19 Thread Laurent Pinchart
48x/adv748x.h > b/drivers/media/i2c/adv748x/adv748x.h > index fccb388ce179..09aab4138c3f 100644 > --- a/drivers/media/i2c/adv748x/adv748x.h > +++ b/drivers/media/i2c/adv748x/adv748x.h > @@ -19,6 +19,8 @@ > */ > > #include > +#include > +#include > > #ifndef _ADV748X_H_ > #define _ADV748X_H_ -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH 8/8] arm64: dts: renesas: salvator: add a connection from adv748x codec (HDMI input) to the R-Car SoC

2020-03-10 Thread Laurent Pinchart
re -> ec50.sound:DAI1 Capture > ... > [ 128.961389] rsnd_write: rcar_sound ec50.sound: w ssi[4] - SSICR ( 124) > : 9ceb0100 > > Decoding this last line (9ceb0100) gives SSICR.TRMD (bit1) =0, SSICR.SCKD > (bit15) =0, SSICR.SWSD (bit14) =0. The combination is documented as "sla

Re: [PATCH 8/8] arm64: dts: renesas: salvator: add a connection from adv748x codec (HDMI input) to the R-Car SoC

2020-03-06 Thread Laurent Pinchart
Hi Alex, (CC'ing Morimoto-san) On Fri, Mar 06, 2020 at 02:41:54PM +0100, Alex Riesen wrote: > Laurent Pinchart, Fri, Mar 06, 2020 14:16:32 +0100: > > On Thu, Mar 05, 2020 at 03:36:28PM +0100, Alex Riesen wrote: > >> Geert Uytterhoeven, Mon, Mar 02, 2020 17:13:30 +0100: &g

Re: [PATCH 8/8] arm64: dts: renesas: salvator: add a connection from adv748x codec (HDMI input) to the R-Car SoC

2020-03-06 Thread Laurent Pinchart
r plain default setting? > > As the ADV748x devices seem to provide also the clocks for video outputs, will > it make any sense to place the clock definition into the port node? > Or should all provided clocks be indexed in the main device node? Those clocks are part of the CSI-2 protocol and also don't need to be explicitly controlled. As far as I can tell from a quick check of the ADV7482 documentation, only the I2S MCLK is a general-purpose clock that needs to be exposed. -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [greybus-dev] [PATCH] staging: greybus: match parenthesis alignment

2020-02-24 Thread Laurent Pinchart
i2s_port, cportid, > + i2s_port, cportid, > AUDIO_APBRIDGEA_DIRECTION_RX); > if (ret) { > dev_err_ratelimited(module->dev, -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH v8 5/5] media: imx: Try colorimetry at both sink and source pads

2019-10-21 Thread Laurent Pinchart
const struct v4l2_mbus_framefmt *mbus, > diff --git a/drivers/staging/media/imx/imx7-media-csi.c > b/drivers/staging/media/imx/imx7-media-csi.c > index a708a0340eb1..6e2f4c3eb24f 100644 > --- a/drivers/staging/media/imx/imx7-media-csi.c > +++ b/drivers/staging/media/imx/imx7-media-csi.c >

Re: [PATCH -next] staging: media: omap4iss: use devm_platform_ioremap_resource() to simplify code

2019-10-16 Thread Laurent Pinchart
(iss->dev, mem); > + iss->regs[res] = devm_platform_ioremap_resource(pdev, res); > > return PTR_ERR_OR_ZERO(iss->regs[res]); > } -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH] staging: media: make use of devm_platform_ioremap_resource

2019-10-16 Thread Laurent Pinchart
elam The change looks good to me. Reviewed-by: Laurent Pinchart and applied to my tree for v5.5. > --- > drivers/staging/media/omap4iss/iss.c | 6 +- > 1 file changed, 1 insertion(+), 5 deletions(-) > > diff --git a/drivers/staging/media/omap4iss/iss.c > b/drivers/s

Re: [PATCH v2 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding

2019-10-14 Thread Laurent Pinchart
Hi Xin Ji, On Mon, Oct 14, 2019 at 03:02:48AM +, Xin Ji wrote: > On Fri, Oct 11, 2019 at 03:54:18PM +0300, Laurent Pinchart wrote: > > On Fri, Oct 11, 2019 at 01:21:43PM +0200, Andrzej Hajda wrote: > >> On 11.10.2019 04:21, Xin Ji wrote: > >>> The ANX7625 is a

Re: [PATCH v2 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding

2019-10-11 Thread Laurent Pinchart
nd example with USB-C port. That would help with the discussion, yes. > [1]: > https://www.analogix.com/system/files/AA-002291-PB-6-ANX7625_ProductBrief.pdf > > [2]: Documentation/devicetree/bindings/connector/usb-connector.txt > > > + > > +required: > > + - "#address-cells"

Re: [PATCH v2 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding

2019-10-09 Thread Laurent Pinchart
on that luck. Rob, how does yaml schema handle this ? > +required: > + - compatible > + - reg > + - port@0 | port@1 > + > +example: > + - | > +anx_bridge: anx7625@58 { The node name should describe the device's function. How about encoder@58 ? > +compatible

Re: [PATCH v1 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding

2019-09-20 Thread Laurent Pinchart
om the connect output port. > + > +required: > + - compatible > + - reg > + - dsi-channel-id > + - dsi-lanes-num > + - port@0 > + > +example: > + - | > +anx_bridge: anx7625@58 { > +compatible = "analogix,anx7625&quo

Re: [PATCH v2 5/7] media: use the BIT() macro

2019-08-23 Thread Laurent Pinchart
-#define ISPCCDC_LSC_AFTER_REFORMATTER_MASK (1<<6) > +#define ISPCCDC_LSC_AFTER_REFORMATTER_MASK BIT(6) > > #define ISPCCDC_LSC_INITIAL_X_MASK 0x3F > #define ISPCCDC_LSC_INITIAL_X_SHIFT 0 [snip] With this small issue addressed, For omap3isp, vsp1, xilinx, wl128x and ipu3, Reviewed-by: Laurent Pinchart -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH 5/7] media: use the BIT() macro

2019-08-22 Thread Laurent Pinchart
Hi Mauro, Thank you for the patch. On Thu, Aug 22, 2019 at 04:39:32PM -0300, Mauro Carvalho Chehab wrote: > As warned by cppcheck: > > [drivers/media/dvb-frontends/cx24123.c:434]: (error) Shifting signed > 32-bit value by 31 bits is undefined behaviour > [drivers/media/pci/bt8xx/btt

Re: [PATCH v2] Adjust analogix chip driver location

2019-06-28 Thread Laurent Pinchart
Hello Xin Ji, Thank you for the patch. On Fri, Jun 28, 2019 at 03:00:05AM +, Xin Ji wrote: > Move analogix chip ANX78XX bridge driver into "analogix" directory. > > Signed-off-by: Xin Ji Reviewed-by: Laurent Pinchart > --- > drivers/gpu/drm/bridge/Kconfig

Re: [PATCH v1] Adjust analogix chip driver location

2019-06-27 Thread Laurent Pinchart
+= synopsys/ > +obj-y += analogix/ Could you place that line just above the synopsys/ directory, to have them alphabetically sorted (this could also be done while applying) ? Apart from that the patch looks good to me, so Reviewed-by: Laurent Pinchart > diff --git a/drivers/gpu/drm/bridg

Re: [PATCH] media: staging/imx: add media device to capture register

2019-04-18 Thread Laurent Pinchart
est. If time permits, after getting capture working, I'll see if I can start cleaning it up. > Reported-by: Laurent Pinchart > Signed-off-by: Rui Miguel Silva > --- > drivers/staging/media/imx/imx-ic-prpencvf.c | 2 +- > drivers/staging/media/imx/imx-media-capture.c

Re: [PATCH v4 06/12] media: dt-bindings: add bindings for i.MX7 media driver

2019-03-12 Thread Laurent Pinchart
Hi Rui, On Tue, Mar 12, 2019 at 02:07:02PM +, Rui Miguel Silva wrote: > On Sun 10 Mar 2019 at 21:48, Laurent Pinchart wrote: > > On Fri, May 18, 2018 at 09:27:58AM +0100, Rui Miguel Silva wrote: > >> On Fri 18 May 2018 at 06:58, Sakari Ailus wrote: > >>> On T

Re: [PATCH v14 08/13] ARM: dts: imx7: Add video mux, csi and mipi_csi and connections

2019-03-12 Thread Laurent Pinchart
Hi Rui, On Tue, Mar 12, 2019 at 02:05:24PM +, Rui Miguel Silva wrote: > On Sun 10 Mar 2019 at 21:41, Laurent Pinchart wrote: > > Hi Rui, > > > > Thank you for the patch. > > Where have you been for the latest 14 versions? :) Elsewhere I suppose :-) > This is

Re: [PATCH v14 08/13] ARM: dts: imx7: Add video mux, csi and mipi_csi and connections

2019-03-10 Thread Laurent Pinchart
; + interrupts = ; > + clocks = <&clks IMX7D_IPG_ROOT_CLK>, > + <&clks IMX7D_MIPI_CSI_ROOT_CLK>, > + <&clks IMX7D_MIPI_DPHY_ROOT_CLK>; > + clock-names = "pclk", "wrap", "phy"; > + power-domains = <&pgc_mipi_phy>; > + phy-supply = <®_1p0d>; > + resets = <&src IMX7_RESET_MIPI_PHY_MRST>; > + reset-names = "mrst"; > + status = "disabled"; How about already declaring port@0 here too (but obviously without any endoint) ? > + }; > }; > > aips3: aips-bus@3080 { -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH v4 06/12] media: dt-bindings: add bindings for i.MX7 media driver

2019-03-10 Thread Laurent Pinchart
>> + > >> +- reg : (required) can take the values 0 or 1, > >> where 0 is the > >> + related sink port and port 1 should be > >> the source one; > >> + > >> +endpoint node > >> +- >

Re: [PATCH] staging: media: omap4iss: Added SPDX license identifiers

2018-06-25 Thread Laurent Pinchart
7;m aware that that identifier has been deprecated by the FSF in favour of the GPL-2.0-or-later identifier, but until Documentation/process/license-rules.rst gets updated, please use GPL-2.0+. > /* > * TI OMAP4 ISS V4L2 Driver > * Could you please remove the boilerplate license

Re: [PATCH 3/8] [media] v4l: rcar_fdp1: Change platform dependency to ARCH_RENESAS

2018-04-22 Thread Laurent Pinchart
Hi Geert, On Saturday, 21 April 2018 11:07:11 EEST Laurent Pinchart wrote: > On Friday, 20 April 2018 16:28:29 EEST Geert Uytterhoeven wrote: > > The Renesas Fine Display Processor driver is used on Renesas R-Car SoCs > > only. Since commit 9b5ba0df4ea4f940 ("ARM:

Re: [PATCH 3/8] [media] v4l: rcar_fdp1: Change platform dependency to ARCH_RENESAS

2018-04-21 Thread Laurent Pinchart
a more appropriate platform dependency > than the legacy ARCH_SHMOBILE, hence use the former. > > This will allow to drop ARCH_SHMOBILE on ARM and ARM64 in the near > future. > > Signed-off-by: Geert Uytterhoeven Acked-by: Laurent Pinchart How would you like to get this merg

Re: [PATCH v2 17/19] media: omap4iss: make it build with COMPILE_TEST

2018-04-05 Thread Laurent Pinchart
Hi Mauro, Thank you for the patch. On Thursday, 5 April 2018 23:29:44 EEST Mauro Carvalho Chehab wrote: > This driver compile as-is with COMPILE_TEST. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Laurent Pinchart I don't have patches pending for the omap4iss driver, c

Re: [PATCH] [media] staging: media: davinci_vpfe: fix spelling mistake in variable

2017-07-13 Thread Laurent Pinchart
xtraneous space. > > Signed-off-by: Colin Ian King Reviewed-by: Laurent Pinchart > --- > drivers/staging/media/davinci_vpfe/dm365_resizer.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/media/davinci_vpfe/dm365_resizer.c &g

Re: [Linaro-mm-sig] [PATCHv4 12/12] staging/android: Update Ion TODO list

2017-04-19 Thread Laurent Pinchart
here's a lot of api and overview stuff already around, would be great to > make this more accessible. > > But I wouldn't put this as a de-staging blocker, just an idea. > > On the series: Acked-by: Daniel Vetter > > No full review since a bunch of stuff I'm

Re: [PATCHv3 13/22] staging: android: ion: Use CMA APIs directly

2017-04-10 Thread Laurent Pinchart
a_unmap_kernel(struct ion_heap *heap, > - struct ion_buffer *buffer) > -{ > + sg_free_table(buffer->sg_table); > + kfree(buffer->sg_table); > } > > static struct ion_heap_ops ion_cma_ops = { > .allocate = ion_cma_alloca

Re: [PATCH v2] staging: media: omap4iss: Replace a bit shift by a use of BIT.

2017-03-26 Thread Laurent Pinchart
Hi Arushi, Thank you for the patch. On Friday 24 Mar 2017 21:31:45 Arushi Singhal wrote: > This patch replaces bit shifting on 1 with the BIT(x) macro. > This was done with coccinelle: > @@ > constant c; > @@ > > -1 << c > +BIT(c) > > Signed-off-by: Arushi

Re: [PATCH v4 14/36] [media] v4l2-mc: add a function to inherit controls from a pipeline

2017-03-26 Thread Laurent Pinchart
end-users of these complex devices don't really care > about a plugin: they want full control and won't typically use generic > applications. If they would need support for that, we'd have seen much more > interest. The main re

Re: [PATCH v4 14/36] [media] v4l2-mc: add a function to inherit controls from a pipeline

2017-03-26 Thread Laurent Pinchart
d" data suitable for display, then > it wants to use "ISP Resizer output". Once application knows what > output it wants, there's just one path through the system. So being > able to tell the ENT_T_DEVNODEs apart does not seem to be critical. > > OTOH, for useful camera application, different paths are needed at > different phases. -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [RFC PATCH 00/12] Ion cleanup in preparation for moving out of staging

2017-03-06 Thread Laurent Pinchart
Hi Daniel, On Monday 06 Mar 2017 11:38:20 Daniel Vetter wrote: > On Fri, Mar 03, 2017 at 06:45:40PM +0200, Laurent Pinchart wrote: > > - I haven't seen any proposal how a heap-based solution could be used in a > > generic distribution. This needs to be figured out before commi

Re: [RFC PATCH 10/12] staging: android: ion: Use CMA APIs directly

2017-03-06 Thread Laurent Pinchart
Hi Daniel, On Monday 06 Mar 2017 11:32:04 Daniel Vetter wrote: > On Fri, Mar 03, 2017 at 10:50:20AM -0800, Laura Abbott wrote: > > On 03/03/2017 08:41 AM, Laurent Pinchart wrote: > >> On Thursday 02 Mar 2017 13:44:42 Laura Abbott wrote: > >>> When CMA was first intro

Re: [RFC PATCH 00/12] Ion cleanup in preparation for moving out of staging

2017-03-03 Thread Laurent Pinchart
ed, 312 insertions(+), 958 deletions(-) > > delete mode 100644 drivers/staging/android/ion/hisilicon/Kconfig > > delete mode 100644 drivers/staging/android/ion/hisilicon/Makefile > > delete mode 100644 drivers/staging/android/ion/hisilicon/hi6220_ion.c > > delete mode 100644 drivers/staging/android/ion/ion_dummy_driver.c > > create mode 100644 drivers/staging/android/ion/ion_enumerate.c > > delete mode 100644 drivers/staging/android/ion/ion_of.c > > delete mode 100644 drivers/staging/android/ion/ion_of.h > > delete mode 100644 drivers/staging/android/ion/tegra/Makefile > > delete mode 100644 drivers/staging/android/ion/tegra/tegra_ion.c -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [RFC PATCH 10/12] staging: android: ion: Use CMA APIs directly

2017-03-03 Thread Laurent Pinchart
ion_cma_allocate, > .free = ion_cma_free, > - .map_user = ion_cma_mmap, > - .map_kernel = ion_cma_map_kernel, > - .unmap_kernel = ion_cma_unmap_kernel, > + .map_user = ion_heap_map_user, > + .map_kernel = ion_heap_map_kernel, > + .unmap_kernel = ion_heap_unmap_kernel, > }; > > struct ion_heap *ion_cma_heap_create(struct ion_platform_heap *data) > @@ -147,7 +102,7 @@ struct ion_heap *ion_cma_heap_create(struct > ion_platform_heap *data) * get device from private heaps data, later it > will be >* used to make the link with reserved CMA memory >*/ > - cma_heap->dev = data->priv; > + cma_heap->cma = data->priv; > cma_heap->heap.type = ION_HEAP_TYPE_DMA; > return &cma_heap->heap; > } -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [RFC PATCH 06/12] staging: android: ion: Remove crufty cache support

2017-03-03 Thread Laurent Pinchart
rs/staging/android/ion/ion_page_pool.c > > @@ -30,9 +30,6 @@ static void *ion_page_pool_alloc_pages(struct > > ion_page_pool *pool)> > > if (!page) > > > > return NULL; > > > > - if (!pool->cached) > > - ion_pages_sync_for_device(NULL, page, PAGE_SIZE << pool- >order, > > - DMA_BIDIRECTIONAL); > > > > return page; > > > > } > > > > diff --git a/drivers/staging/android/ion/ion_system_heap.c > > b/drivers/staging/android/ion/ion_system_heap.c index 6cb2fe7..a1b > > 100644 > > --- a/drivers/staging/android/ion/ion_system_heap.c > > +++ b/drivers/staging/android/ion/ion_system_heap.c > > @@ -75,9 +75,6 @@ static struct page *alloc_buffer_page(struct > > ion_system_heap *heap,> > > page = ion_page_pool_alloc(pool); > > > > - if (cached) > > - ion_pages_sync_for_device(NULL, page, PAGE_SIZE << order, > > - DMA_BIDIRECTIONAL); > > > > return page; > > > > } > > > > @@ -401,8 +398,6 @@ static int ion_system_contig_heap_allocate(struct > > ion_heap *heap,> > > buffer->sg_table = table; > > > > - ion_pages_sync_for_device(NULL, page, len, DMA_BIDIRECTIONAL); > > - > > > > return 0; > > > > free_table: -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [RFC PATCH 04/12] staging: android: ion: Call dma_map_sg for syncing and mapping

2017-03-03 Thread Laurent Pinchart
end_cpu_access(struct dma_buf *dmabuf, > @@ -1031,9 +1024,15 @@ static int ion_dma_buf_end_cpu_access(struct dma_buf > *dmabuf, { > struct ion_buffer *buffer = dmabuf->priv; > > - mutex_lock(&buffer->lock); > - ion_buffer_kmap_put(buffer); > - mutex_unlock(&buffer->lock); > + if (buffer->heap->ops->map_kernel) { > + mutex_lock(&buffer->lock); > + ion_buffer_kmap_put(buffer); > + mutex_unlock(&buffer->lock); > + } > + > + dma_unmap_sg(buffer->dev->dev.this_device, buffer->sg_table->sgl, > + buffer->sg_table->nents, > + DMA_BIDIRECTIONAL); > > return 0; > } -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [RFC PATCH 00/12] Ion cleanup in preparation for moving out of staging

2017-03-03 Thread Laurent Pinchart
ndroid/ion/hisilicon/Kconfig > delete mode 100644 drivers/staging/android/ion/hisilicon/Makefile > delete mode 100644 drivers/staging/android/ion/hisilicon/hi6220_ion.c > delete mode 100644 drivers/staging/android/ion/ion_dummy_driver.c > create mode 100644 drivers/s

Re: [PATCH v4 1/2] staging: omap4iss: fix multiline comment style

2017-02-09 Thread Laurent Pinchart
Hi Avraham, Thank you for the patches. On Thursday 09 Feb 2017 18:57:55 Avraham Shukron wrote: > Fixed multi-line comments to their preferred style (First line empty) > > Signed-off-by: Avraham Shukron For both of them, Acked-by: Laurent Pinchart I've applied the patches

Re: [PATCH v3 13/24] platform: add video-multiplexer subdevice driver

2017-02-08 Thread Laurent Pinchart
7;s some discussion here: > > > > http://www.spinics.net/lists/linux-media/msg109493.html> > > [Added Sebastian do Cc:] > > Yes, this is essentially the same driver, except that this driver also > handles MMIO-bitfield controlled muxes, and that

Re: [PATCH v3 13/24] platform: add video-multiplexer subdevice driver

2017-02-07 Thread Laurent Pinchart
Hi Benoit, On Tuesday 07 Feb 2017 07:36:48 Benoit Parrot wrote: > Laurent Pinchart wrote on Tue [2017-Feb-07 12:26:32 +0200]: > > On Monday 06 Feb 2017 15:10:46 Steve Longerbeam wrote: > >> On 02/06/2017 02:33 PM, Laurent Pinchart wrote: > >>> On Monday 06 Feb 20

Re: [PATCH v3 13/24] platform: add video-multiplexer subdevice driver

2017-02-07 Thread Laurent Pinchart
Hi Philipp, On Tuesday 07 Feb 2017 11:41:30 Philipp Zabel wrote: > On Tue, 2017-02-07 at 12:26 +0200, Laurent Pinchart wrote: > > On Monday 06 Feb 2017 15:10:46 Steve Longerbeam wrote: > >> On 02/06/2017 02:33 PM, Laurent Pinchart wrote: > >>> On Monday 06 Feb 20

Re: [PATCH v3 13/24] platform: add video-multiplexer subdevice driver

2017-02-07 Thread Laurent Pinchart
Hi Steve, On Monday 06 Feb 2017 15:10:46 Steve Longerbeam wrote: > On 02/06/2017 02:33 PM, Laurent Pinchart wrote: > > On Monday 06 Feb 2017 10:50:22 Hans Verkuil wrote: > >> On 02/05/2017 04:48 PM, Laurent Pinchart wrote: > >>> On Tuesday 24 Jan 2017 18:07:55 Steve

Re: [PATCH v3 13/24] platform: add video-multiplexer subdevice driver

2017-02-06 Thread Laurent Pinchart
Hi Hans, (CC'ing Sakari) On Monday 06 Feb 2017 10:50:22 Hans Verkuil wrote: > On 02/05/2017 04:48 PM, Laurent Pinchart wrote: > > On Tuesday 24 Jan 2017 18:07:55 Steve Longerbeam wrote: > >> On 01/24/2017 04:02 AM, Philipp Zabel wrote: > >>> On Fri, 2017-01-20

Re: [PATCH v3 15/24] media: Add userspace header file for i.MX

2017-02-05 Thread Laurent Pinchart
I would think > > there have to be other capture IP cores that can signal aborted frames > > or frame timeouts. > > Yes, agreed. A frame capture timeout, or frame interval error, are > both generic concepts. At some point it would be great to make the > Frame Interval Mon

Re: [PATCH v3 13/24] platform: add video-multiplexer subdevice driver

2017-02-05 Thread Laurent Pinchart
channel 0, > otherwise no data is received from the MIPI CSI-2 sensor, regardless > of the virtual channel the sensor is transmitting over. > > So it seems the info on the 8-bit mct_di buses generated by the CSI2IPU > gasket are ignored by the CSI's, at least the virtual channel

Re: [PATCH v3 12/24] add mux and video interface bridge entity functions

2017-02-05 Thread Laurent Pinchart
_BASE + 0x5001) > +#define MEDIA_ENT_F_VID_IF_BRIDGE(MEDIA_ENT_F_BASE + 0x5002) > + > +/* > * Connectors > */ > /* It is a responsibility of the entity drivers to add connectors and links > */ -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH v3 06/24] ARM: dts: imx6-sabrelite: add OV5642 and OV5640 camera sensors

2017-02-05 Thread Laurent Pinchart
property is > valid for serial busses only (e.g. MIPI CSI-2). Note that for the MIPI > CSI-2 bus this array contains only one entry. > > So I think you need to have a good reason to make the clock lane non-zero. The purpose of the data-lanes

Re: [PATCH v3 06/24] ARM: dts: imx6-sabrelite: add OV5642 and OV5640 camera sensors

2017-02-05 Thread Laurent Pinchart
e ov5640 and ov5642 drivers should retrieve the clock rate and compute register values accordingly (PLL configuration parameters for instance, but most probably other values as well). Unfortunately, as usual with Omnivision, the lack of public and even non-public information results in drivers hardcoding large lists of register/value pairs that have been computed for a specific clock frequency. The drivers will thus not operate correctly if the clock is running at a different rate. Until that can be fixed, the best option is probably to assign the rate in the device tree as Philipp proposed, and to use clk_get_rate() in the driver to reject any rate other than 22MHz. -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH v3 00/24] i.MX Media Driver

2017-02-03 Thread Laurent Pinchart
nse and > makes it easier on the user. To be precise, userspace is responsible for propagating formats *between* subdevs (source to sink, over a link) and drivers for propagating formats *in* subdevs (sink to source, inside the subdev). > >>> v4l2-ctl

Re: [PATCH v3 22/24] media: imx: Add MIPI CSI-2 OV5640 sensor subdev driver

2017-02-02 Thread Laurent Pinchart
Hi Steve, Thank you for the patch. Many of the comments below apply to the ov5642 driver too, please take them into account when reworking patch 23/24. On Friday 06 Jan 2017 18:11:40 Steve Longerbeam wrote: > This driver is based on ov5640_mipi.c from Freescale imx_3.10.17_1.0.0_beta > branch, m

Re: [PATCH] V4l: omap4iss: Clean up file handle in open() and release().

2016-12-01 Thread Laurent Pinchart
v4l2_fh_exit(&handle->vfh); > kfree(handle); > } > > @@ -1162,6 +1163,7 @@ static int iss_video_release(struct file *file) > vb2_queue_release(&handle->queue); > > v4l2_fh_del(vfh); > + v4l2_fh_e

Re: [PATCH] Staging: media: davinci_vpfe: - Fix for memory leak if

2016-11-22 Thread Laurent Pinchart
ry here you will get a crash pretty soon afterwards. > return -ENODEV; > } > /* Increment device users counter */ -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH] Staging: media: davinci_vpfe: fix indentation issue in vpfe_video.c

2016-11-22 Thread Laurent Pinchart
Hi Leo, Thank you for the patch, and sorry for the late reply. On Sunday 23 Oct 2016 14:02:23 Leo Sperling wrote: > This is a patch to the vpfe_video.c file that fixes an indentation > warning reported by checkpatch.pl > > Signed-off-by: Leo Sperling Acked-by: Laurent Pinchart

Re: [PATCH] [media] staging: davinci_vpfe: fix W=1 build warnings

2016-11-22 Thread Laurent Pinchart
static const" is interpreted the same as "const static", > and VPFE_RSZ_INTP_CUBIC is defined as zero, so the initializations > are not really needed. > > Signed-off-by: Arnd Bergmann Acked-by: Laurent Pinchart and applied to my tree. I will send a pull request for v4.11

Re: [PATCH] Staging: media: davinci_vpfe: Fix spelling error on a comment

2016-11-22 Thread Laurent Pinchart
Hi Manuel, Thank you for the patch and sorry for the late reply. On Tuesday 08 Mar 2016 01:16:06 Manuel Rodriguez wrote: > Fix spelling error on a comment, change 'wether' to 'whether' > > Signed-off-by: Manuel Rodriguez Acked-by: Laurent Pinchart and applied t

Re: [PATCH] drivers: staging: media: davinci_vpfe: dm365_resizer: fixed some spelling mistakes

2016-11-22 Thread Laurent Pinchart
zer_b.output = RESIZER_OUPUT_MEMORY; > + resizer->resizer_b.output = RESIZER_OUTPUT_MEMORY; > break; > > default: > diff --git a/drivers/staging/media/davinci_vpfe/dm365_resizer.h > b/drivers/staging/media/davinci_vpfe/dm365_re

Re: Greybus Future

2016-10-31 Thread Laurent Pinchart
-Alex > > PS I have addressed this message to a set of interested people > whose e-mail addresses I knew; the set is definitely incomplete. > This will form the initial membership of the mailing list. If > you do not want to be on tha

Re: [PATCH] Staging: media: omap4iss: fixed coding style issues

2016-10-16 Thread Laurent Pinchart
the driver. > + How does adding a blank line here fix a coding style issue ? > sdsel.pad = pad; > ret = v4l2_subdev_call(subdev, pad, get_selection, NULL, &sdsel); > if (!ret) -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH] [media] : Removing warnings caught by checkpatch.pl

2016-10-04 Thread Laurent Pinchart
tion operation first and > > +* fallback to get format if not implemented. > > > > */ > > This comment style is discouraged so this is at lease not perfect. > Doesn't checkpatch complain with this change? If it doesn't

Re: [PATCH] [media] v4l: omap4iss: Fix using BIT macro

2016-10-03 Thread Laurent Pinchart
ISS_CTRL_INPUT_SEL_CSI2BBIT(2) > > Yet, not sure if I would like such patch, as this kind of change > could easily break the driver if you make any typo at the GENMASK > parameters. It would be best to automate such a change with a script than performing it manually. -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH] [media] v4l: omap4iss: Fix using BIT macro

2016-10-03 Thread Laurent Pinchart
IPIPE_SRC_COL_OO_GR BIT(6) > #define IPIPE_SRC_COL_OO_B (3 << 6) > #define IPIPE_SRC_COL_OO_GB (2 << 6) > #define IPIPE_SRC_COL_OE_R (0 << 4) > -#define IPIPE_SRC_COL_OE_GR (1 << 4) > +#define IPIPE_SRC_COL_OE_GR BIT(4) > #define IPIPE_SRC_COL_OE_B (3 << 4) > #define IPIPE_SRC_COL_OE_GB (2 << 4) > #define IPIPE_SRC_COL_EO_R (0 << 2) > -#define IPIPE_SRC_COL_EO_GR (1 << 2) > +#define IPIPE_SRC_COL_EO_GR BIT(2) > #define IPIPE_SRC_COL_EO_B (3 << 2) > #define IPIPE_SRC_COL_EO_GB (2 << 2) > #define IPIPE_SRC_COL_EE_R (0 << 0) > -#define IPIPE_SRC_COL_EE_GR (1 << 0) > +#define IPIPE_SRC_COL_EE_GR BIT(0) > #define IPIPE_SRC_COL_EE_B (3 << 0) > #define IPIPE_SRC_COL_EE_GB (2 << 0) -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH] [media] : Removing warnings caught by checkpatch.pl

2016-10-03 Thread Laurent Pinchart
* implemented. > + /* Try the get selection operation first and > + * fallback to get format if not implemented. Lines can be up to 80 characters long, there's no need to wrap them after 52 characters only. >*/ > sdsel.pad = pad; >

Re: [PATCH] staging: media: omap4iss: mark omap4iss_flush() static

2016-09-05 Thread Laurent Pinchart
ct, this function is only used in the file in which it is > declared and don't need a declaration, but can be made static. > so this patch marks this function with 'static'. > > Signed-off-by: Baoyou Xie Acked-by: Laurent Pinchart > --- > drivers/staging/media/

Re: [PATCH 1/2] [media] v4l: vsp1: Split pad operations between rpf and wpf

2016-06-22 Thread Laurent Pinchart
_ops once s_stream is > moved. > > Suggested-by: Laurent Pinchart > Signed-off-by: Niklas Söderlund > --- > drivers/media/platform/vsp1/vsp1_rpf.c | 12 +- > drivers/media/platform/vsp1/vsp1_rwpf.c | 40 +++-- > drivers/med

Re: [PATCH v8 02/55] [media] staging: omap4iss: get entity ID using media_entity_id()

2015-12-05 Thread Laurent Pinchart
ch will remove the .id field from > struct media_entity . > > So, get rid of it, otherwise the omap4iss driver will fail to build. > > Signed-off-by: Javier Martinez Canillas > Acked-by: Hans Verkuil > Signed-off-by: Mauro Carvalho Chehab With the typo fixed, Acked-by

Re: [PATCH 1/5] [media] staging: omap4iss: separate links creation from entities init

2015-12-05 Thread Laurent Pinchart
076ddd412201 > 100644 > --- a/drivers/staging/media/omap4iss/iss.c > +++ b/drivers/staging/media/omap4iss/iss.c > @@ -1272,6 +1272,68 @@ done: > return ret; > } > > +/* > + * iss_create_pads_links() - Pads links creation for the subdevices Could you please s/pads_link

Re: [PATCH v8 32/55] [media] media: use macros to check for V4L2 subdev entities

2015-12-05 Thread Laurent Pinchart
A_ENT_T_V4L2_SUBDEV) { > + if (is_media_entity_v4l2_subdev(pad->entity)) { > struct v4l2_subdev *sd = > media_entity_to_v4l2_subdev(pad->entity); > > diff --git a/drivers/staging/media/davinci_vpfe/vpfe_video.c > b/drivers/st

Re: [PATCH v8 33/55] [media] omap3/omap4/davinci: get rid of MEDIA_ENT_T_V4L2_SUBDEV abuse

2015-12-05 Thread Laurent Pinchart
,7 @@ static int ipipeif_link_setup(struct media_entity > *entity, > > break; > > - case IPIPEIF_PAD_SOURCE_ISIF_SF | MEDIA_ENT_T_DEVNODE: > + case IPIPEIF_PAD_SOURCE_ISIF_SF: > /* Write to memory */ > if (flags & MEDIA

Re: [PATCH v8 36/55] [media] davinci_vbpe: stop MEDIA_ENT_T_V4L2_SUBDEV abuse

2015-12-05 Thread Laurent Pinchart
== NULL || > - pad->entity->type != MEDIA_ENT_T_V4L2_SUBDEV) > + if (!pad || !is_media_entity_v4l2_subdev(pad->entity)) > break; > > subdev = media_entity_to_v4l2_subdev(pad->entity); -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH v8 37/55] [media] omap4iss: stop MEDIA_ENT_T_V4L2_SUBDEV abuse

2015-12-05 Thread Laurent Pinchart
; - case IPIPE_PAD_SOURCE_VP | MEDIA_ENT_T_V4L2_SUBDEV: > + case IPIPE_PAD_SOURCE_VP: > /* Send to RESIZER */ > if (flags & MEDIA_LNK_FL_ENABLED) { > if (ipipe->output & ~IPIPE_OUTPUT_VP) -- Regards, Laurent Pinchart _

Re: [PATCH 25/38] staging: media: davinci_vpfe: fix ipipe_mode type

2015-11-09 Thread Laurent Pinchart
t; > [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 > > Signed-off-by: Andrzej Hajda Acked-by: Laurent Pinchart and applied to my tree. > --- > drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --g

Re: [PATCH] /media/davinci_vpfe/dm365_resizer.c:Bug containing more than 80 characters in a line is fixed.

2015-11-09 Thread Laurent Pinchart
> - fmt) > + struct v4l2_subdev_pad_config *cfg, > + struct v4l2_subdev_format *fmt) > { > struct v4l2_mbus_framefmt *format; -- Regards, Laurent Pinchart ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH 1/9] drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c: use correct structure type name in sizeof

2015-11-09 Thread Laurent Pinchart
sizeof(struct clk *), GFP_KERNEL); I'd use sizeof(*vpfe_dev->clks) to avoid such issues. Apart from that, Acked-by: Laurent Pinchart I've applied the patch to my tree with the above change, there's no need to resubmit if you agree with the proposal. >

Re: [PATCHv2 2/3] devicetree: Add new ANX7814 SlimPort transmitter binding.

2015-09-10 Thread Laurent Pinchart
reset-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>; > > > > No ports needed for describing data connections? > > IMHO I'm not sure if this is applicable here, in this case the bridge > is transparent so it's not required another device node. For example, &g

  1   2   >