Re: [PATCH v5 01/11] media: ov5640: Adjust the clock based on the expected rate

2018-11-14 Thread Adam Ford
ra is talking at 60fps, but my imx6 is only capturing at 30, but I don't think it's the fault of the ov5640 driver. Tested-by: Adam Ford #imx6dq adam > --- > drivers/media/i2c/ov5640.c | 366 - > 1 file changed, 365 insertions(+), 1 d

Re: [PATCH v4 00/22] i.MX media mem2mem scaler

2018-11-14 Thread Adam Ford
On Fri, Oct 19, 2018 at 7:16 AM Philipp Zabel wrote: > > Hi, > > this is the fourth version of the i.MX mem2mem scaler series. > > An alignment issue with 24-bit RGB formats has been corrected in the > seam position selection patch and a few new fixes by Steve have been > added. If there are no mo

Re: [PATCH v5 01/11] media: ov5640: Adjust the clock based on the expected rate

2018-11-19 Thread Adam Ford
On Wed, Nov 14, 2018 at 7:20 AM Adam Ford wrote: > > On Tue, Nov 13, 2018 at 7:04 AM Maxime Ripard > wrote: > > > > The clock structure for the PCLK is quite obscure in the documentation, and > > was hardcoded through the bytes array of each and every mode. > >

Re: [PATCH 0/2] media: ov5640: MIPI fixes on top of Maxime's v5

2018-11-29 Thread Adam Ford
On Thu, Nov 29, 2018 at 8:48 AM Jacopo Mondi wrote: > > Hello ov5640-ers, >these two patches should be applied on top of Maxime's clock tree rework v5 > and 'fix' MIPI CSI-2 clock tree configuration. > > The first patch is a fix that appeard in various forms on the list several > times: if the

Re: [PATCH 2/2] media: ov5640: make MIPI clock depend on mode

2018-12-03 Thread Adam Ford
On Thu, Nov 29, 2018 at 8:49 AM Jacopo Mondi wrote: > > The MIPI clock generation tree uses the MIPI_DIV divider to generate both the > MIPI SCALER CLOCK and the PIXEL_CLOCK. It seems the MIPI BIT CLK frequency is > generated by either the MIPI SCALER or the PIXEL CLOCK, depending if the > current

Re: [PATCH 1/2] media: ov5640: Fix set format regression

2018-12-03 Thread Adam Ford
;media: ov5640: do not change mode if format or frame > interval is unchanged") > Signed-off-by: Jacopo Mondi For patch 1 of 2 only, Tested-by: Adam Ford #imx6d with CSI2 interface on 4.19.6 and 4.20-RC5 It would be great if this could be applied to 4.19+ adam > --- > driver

Re: [PATCH 2/2] media: ov5640: make MIPI clock depend on mode

2018-12-03 Thread Adam Ford
On Mon, Dec 3, 2018 at 10:28 AM Adam Ford wrote: > > On Thu, Nov 29, 2018 at 8:49 AM Jacopo Mondi > wrote: > > > > The MIPI clock generation tree uses the MIPI_DIV divider to generate both > > the > > MIPI SCALER CLOCK and the PIXEL_CLOCK. It seems t

Re: [PATCH v6 01/12] media: ov5640: Fix set format regression

2018-12-03 Thread Adam Ford
; Fixes: 6949d864776e ("media: ov5640: do not change mode if format or frame > interval is unchanged") > Signed-off-by: Jacopo Mondi > Signed-off-by: Maxime Ripard Tested-by: Adam Ford #imx6 w/ CSI2 interface on 4.19.6 and 4.20-RC5 > --- > drivers/media/i2c/ov5640.c

Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux

2018-10-16 Thread Adam Ford
On Thu, Sep 20, 2018 at 9:58 AM jacopo mondi wrote: > > Hi imx6 people, > > On Thu, May 31, 2018 at 08:39:20PM +0530, Jagan Teki wrote: > > Hi All, > > > > I'm trying to verify MIPI-CSI2 OV5640 camera on i.MX6 platform with > > Mainline Linux. > > Sorry to resurect this, but before diving deep int

Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux

2018-10-19 Thread Adam Ford
On Wed, Oct 17, 2018 at 3:01 AM jacopo mondi wrote: > > Hi Adam, Seve, > > On Tue, Oct 16, 2018 at 05:13:24PM -0700, Steve Longerbeam wrote: > > Hi Adam, > > > > > > On 10/16/18 12:46 PM, Adam Ford wrote: > > >On Thu, Sep 20, 2018 at 9:58

Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux

2018-10-19 Thread Adam Ford
On Fri, Oct 19, 2018 at 8:45 AM Adam Ford wrote: > > On Wed, Oct 17, 2018 at 3:01 AM jacopo mondi wrote: > > > > Hi Adam, Seve, > > > > On Tue, Oct 16, 2018 at 05:13:24PM -0700, Steve Longerbeam wrote: > > > Hi Adam, > > > > > > > >

Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux

2018-10-22 Thread Adam Ford
On Mon, Oct 22, 2018 at 6:33 AM jacopo mondi wrote: > > Hi Adam, > > On Fri, Oct 19, 2018 at 02:42:56PM -0500, Adam Ford wrote: > > On Fri, Oct 19, 2018 at 8:45 AM Adam Ford wrote: > > > > > > On Wed, Oct 17, 2018 at 3:01 AM jacopo mondi wrote: > > >

Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux

2018-10-23 Thread Adam Ford
On Mon, Oct 22, 2018 at 7:40 AM Fabio Estevam wrote: > > Hi Adam, > > On Mon, Oct 22, 2018 at 9:37 AM Adam Ford wrote: > > > Thank you! This tutorial web site is exactly what I need. The > > documentation page in Linux touched on the media-ctl links, but it > >

Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux

2018-10-23 Thread Adam Ford
On Tue, Oct 23, 2018 at 11:36 AM Steve Longerbeam wrote: > > Hi Adam, > > On 10/23/18 8:19 AM, Adam Ford wrote: > > On Mon, Oct 22, 2018 at 7:40 AM Fabio Estevam wrote: > >> Hi Adam, > >> > >> On Mon, Oct 22, 2018 at 9:37 AM Adam Ford wrote: >

Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux

2018-10-23 Thread Adam Ford
On Tue, Oct 23, 2018 at 12:39 PM Steve Longerbeam wrote: > > > On 10/23/18 10:34 AM, Adam Ford wrote: > > On Tue, Oct 23, 2018 at 11:36 AM Steve Longerbeam > > wrote: > >> Hi Adam, > >> > >> On 10/23/18 8:19 AM, Adam Ford wrote: > >&

Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux

2018-10-24 Thread Adam Ford
On Tue, Oct 23, 2018 at 6:03 PM jacopo mondi wrote: > > Hi Adam, > > On Tue, Oct 23, 2018 at 12:54:12PM -0500, Adam Ford wrote: > > On Tue, Oct 23, 2018 at 12:39 PM Steve Longerbeam > > wrote: > > > > > > > > > On 10/23/18 10:34 AM, Adam Ford wr

Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux

2018-10-24 Thread Adam Ford
On Wed, Oct 24, 2018 at 9:08 AM jacopo mondi wrote: > > Hi Adam, > > On Wed, Oct 24, 2018 at 08:53:41AM -0500, Adam Ford wrote: > > On Tue, Oct 23, 2018 at 6:03 PM jacopo mondi wrote: > > > > > > Hi Adam, > > > > > > On Tue, Oct 23, 2018 at

Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux

2018-10-28 Thread Adam Ford
On Wed, Oct 24, 2018 at 9:17 AM Adam Ford wrote: > > On Wed, Oct 24, 2018 at 9:08 AM jacopo mondi wrote: > > > > Hi Adam, > > > > On Wed, Oct 24, 2018 at 08:53:41AM -0500, Adam Ford wrote: > > > On Tue, Oct 23, 2018 at 6:03 PM jacopo mondi wrote: > >

Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux

2018-11-05 Thread Adam Ford
On Mon, Oct 29, 2018 at 8:49 AM Fabio Estevam wrote: > > Hi Adam, > > On Sun, Oct 28, 2018 at 3:58 PM Adam Ford wrote: > > > Does anyone know when the media branch get's merged into the mainline > > kernel? I assume we're in the merge window with 4.19 just

Re: [PATCH 01/14] ARM: dts: LogicPD Torpedo: Add WiLink UART node

2018-12-21 Thread Adam Ford
On Thu, Dec 20, 2018 at 7:18 PM Sebastian Reichel wrote: > > From: Sebastian Reichel > > Add a node for the UART part of WiLink chip. > > Cc: Adam Ford > Signed-off-by: Sebastian Reichel > --- > This is compile tested only! I have tried this a few times, unfo

Re: [PATCH 14/14] misc: ti-st: Drop superseded driver

2018-12-21 Thread Adam Ford
On Fri, Dec 21, 2018 at 2:13 AM Sebastian Reichel wrote: > > From: Sebastian Reichel > > This driver has been superseded by the serdev based Bluetooth > hci_ll driver, which is initialized from DT. All mainline users > have been converted and this driver can be safely dropped. There seems to be

Re: [PATCH 14/14] misc: ti-st: Drop superseded driver

2018-12-22 Thread Adam Ford
On Fri, Dec 21, 2018 at 9:00 PM Sebastian Reichel wrote: > > Hi, > > On Fri, Dec 21, 2018 at 03:10:52PM -0600, Adam Ford wrote: > > On Fri, Dec 21, 2018 at 2:13 AM Sebastian Reichel wrote: > > > > > > From: Sebastian Reichel > > > > > &g

Re: [PATCH 00/14] Add support for FM radio in hcill and kill TI_ST

2018-12-22 Thread Adam Ford
On Sat, Dec 22, 2018 at 11:09 AM Tony Lindgren wrote: > > * Sebastian Reichel [181221 01:18]: > > The new code has been tested on the Motorola Droid 4. For testing the audio > > should be configured to route Ext to Speaker or Headphone. Then you need to > > plug headphone, since its cable is used

i.MX6Q + ov5640 CSI-2 Framerate (on 5.4-rc3)

2019-10-14 Thread Adam Ford
I have an i.MX6Q with an ov5640 connected to the mipi-csi2 interface. I am routing ov5640 -> ipu1_csi0_mux -> ip1_csi0 -> ip1_csi0 capture. I am trying to go through the steps to attempt to get 60fps at 640x480, but the best I can appear to acheive is 30fps. v4l2-ctl --all Streaming Parameters

OMAP3 ISP v4l2 inconsistency on DM3730

2019-10-18 Thread Adam Ford
I have a DM3730 with a parallel mt9p031 sensor attached. I am trying to troubleshoot some issues with streaming video with G-streamer, but I I think the issue is in how the ISP driver reports the video info. I have the pipeline to grab from the resizer: media-ctl -v -V '"mt9p031 1-0048":0 [SGRBG

Re: OMAP3 ISP v4l2 inconsistency on DM3730

2019-10-18 Thread Adam Ford
On Fri, Oct 18, 2019 at 4:00 PM Sakari Ailus wrote: > > HI Adam, > > On Fri, Oct 18, 2019 at 02:38:57PM -0500, Adam Ford wrote: > > I have a DM3730 with a parallel mt9p031 sensor attached. I am trying > > to troubleshoot some issues with streaming video with G-streame

Re: OMAP3 ISP v4l2 inconsistency on DM3730

2019-10-19 Thread Adam Ford
On Fri, Oct 18, 2019 at 4:17 PM Sakari Ailus wrote: > > On Fri, Oct 18, 2019 at 04:10:23PM -0500, Adam Ford wrote: > > On Fri, Oct 18, 2019 at 4:00 PM Sakari Ailus wrote: > > > > > > HI Adam, > > > > > > On Fri, Oct 18, 2019 at 02:38:57PM -0500,

Re: OMAP3 ISP v4l2 inconsistency on DM3730

2019-10-20 Thread Adam Ford
On Sun, Oct 20, 2019 at 12:35 AM Laurent Pinchart wrote: > > Hi Adam, > > On Sat, Oct 19, 2019 at 11:14:03AM -0500, Adam Ford wrote: > > On Fri, Oct 18, 2019 at 4:17 PM Sakari Ailus wrote: > > > On Fri, Oct 18, 2019 at 04:10:23PM -0500, Adam Ford wrote: > > &

V4L2 runs out of memory when OMAP3 ISP parallel pixel clock is high

2019-10-20 Thread Adam Ford
I am running a DM3730 connected to an mt9p031 sensor, and the ISP is running in 8-bit parallel mode. I have the sensor endpoint configured as: mt9p031_out: endpoint { input-clock-frequency = <2400>; pixel-clock-frequency = <7200>; remote-endpoint = <&ccdc_ep>; }; I was loo

Re: OMAP3 ISP v4l2 inconsistency on DM3730

2019-10-20 Thread Adam Ford
On Sun, Oct 20, 2019 at 12:39 PM Laurent Pinchart wrote: > > Hi Hans, > > On Sun, Oct 20, 2019 at 07:26:20PM +0200, Hans Verkuil wrote: > > On 10/20/19 7:35 AM, Laurent Pinchart wrote: > > > On Sat, Oct 19, 2019 at 11:14:03AM -0500, Adam Ford wrote: > > >>

Re: V4L2 runs out of memory when OMAP3 ISP parallel pixel clock is high

2019-10-20 Thread Adam Ford
On Sun, Oct 20, 2019 at 1:02 PM Laurent Pinchart wrote: > > Hi Adam, > > On Sun, Oct 20, 2019 at 09:45:25AM -0500, Adam Ford wrote: > > I am running a DM3730 connected to an mt9p031 sensor, and the ISP is > > running in 8-bit parallel mode. > > > > I ha

Re: i.MX6Q + ov5640 CSI-2 Framerate (on 5.4-rc3)

2019-10-22 Thread Adam Ford
On Mon, Oct 21, 2019 at 3:48 AM Philipp Zabel wrote: > > Hi Adam, Fabio, > > On Fri, 2019-10-18 at 16:00 -0300, Fabio Estevam wrote: > > Hi Adam, > > > > Adding Steve and Philipp in case they can help. > > > > On Tue, Oct 15, 2019 at 1:52 AM Adam Ford wr

Re: V4L2 runs out of memory when OMAP3 ISP parallel pixel clock is high

2019-10-23 Thread Adam Ford
On Sun, Oct 20, 2019 at 2:16 PM Adam Ford wrote: > > On Sun, Oct 20, 2019 at 1:02 PM Laurent Pinchart > wrote: > > > > Hi Adam, > > > > On Sun, Oct 20, 2019 at 09:45:25AM -0500, Adam Ford wrote: > > > I am running a DM3730 connected to an mt9p031 sen

OMAP3630 ISP V4L2 Camera Not Streaming to LCD

2017-06-21 Thread Adam Ford
I have a Leopard Imaging LI-5M03 camera attached in 8-bit mode, and I am trying to capture an image on camera and stream it to the LCD (/dev/fb0) without using the DSP or proprietary codecs. I was hoping to do it with either gstreamer (preferrably 1.0) or ffpeg. My board has mainline device tree

[RFC PATCH] media: i2c: mt9p031: Add 8-bit support

2017-07-18 Thread Adam Ford
From: Adam Ford By default the camera driver only supports monochrome or color at 12-bit. This patch will allow the camera to choose between 12-bit or 8-bit resolution. Tested on Logic PD DM3730 Torpedo Development Kit. Signed-off-by: Adam Ford diff --git a/Documentation/devicetree/bindings