Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935396AbdCLUFO (ORCPT ); Sun, 12 Mar 2017 16:05:14 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:35554 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935168AbdCLUFL (ORCPT ); Sun, 12 Mar 2017 16:05:11 -0400 Subject: Re: [PATCH v5 00/39] i.MX Media Driver To: Russell King - ARM Linux References: <1489121599-23206-1-git-send-email-steve_longerbeam@mentor.com> <20170310201356.GA21222@n2100.armlinux.org.uk> <47542ef8-3e91-b4cd-cc65-95000105f172@gmail.com> <20170312195741.GS21222@n2100.armlinux.org.uk> Cc: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, kernel@pengutronix.de, fabio.estevam@nxp.com, mchehab@kernel.org, hverkuil@xs4all.nl, nick@shmanahar.org, markus.heiser@darmarIT.de, p.zabel@pengutronix.de, laurent.pinchart+renesas@ideasonboard.com, bparrot@ti.com, geert@linux-m68k.org, arnd@arndb.de, sudipm.mukherjee@gmail.com, minghsiu.tsai@mediatek.com, tiffany.lin@mediatek.com, jean-christophe.trotin@st.com, horms+renesas@verge.net.au, niklas.soderlund+renesas@ragnatech.se, robert.jarzmik@free.fr, songjun.wu@microchip.com, andrew-ct.chen@mediatek.com, gregkh@linuxfoundation.org, shuah@kernel.org, sakari.ailus@linux.intel.com, pavel@ucw.cz, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, devel@driverdev.osuosl.org, Steve Longerbeam From: Steve Longerbeam Message-ID: Date: Sun, 12 Mar 2017 13:05:06 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170312195741.GS21222@n2100.armlinux.org.uk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1467 Lines: 36 On 03/12/2017 12:57 PM, Russell King - ARM Linux wrote: > On Sat, Mar 11, 2017 at 04:30:53PM -0800, Steve Longerbeam wrote: >> If it's too difficult to get the imx219 csi-2 transmitter into the >> LP-11 state on power on, perhaps the csi-2 receiver can be a little >> more lenient on the transmitter and make the LP-11 timeout a warning >> instead of error-out. >> >> Can you try the attached change on top of the version 5 patchset? >> >> If that doesn't work then you're just going to have to fix the bug >> in imx219. > > That patch gets me past that hurdle, only to reveal that there's another > issue: Yeah, ipu_cpmem_set_image() failed because it doesn't recognize the bayer formats. Wait, didn't we fix this already? I've lost track. Ah, right, we were going to move this support into the IPUv3 driver, but in the meantime I think you had some patches to get around this. Steve > > imx6-mipi-csi2: LP-11 timeout, phy_state = 0x00000200 > imx219 0-0010: VT: pixclk 139200000Hz line 80742Hz frame 30.0Hz > imx219 0-0010: VT: line period 12385ns > imx219 0-0010: OP: pixclk 38500000Hz, 2 lanes, 308Mbps peak each > imx219 0-0010: OP: 3288 bits/line/lane act=10675ns lp/idle=1710ns > ipu1_csi0: csi_idmac_setup failed: -22 > ipu1_csi0: pipeline start failed with -22 > ------------[ cut here ]------------ > WARNING: CPU: 0 PID: 1860 at /home/rmk/git/linux-rmk/drivers/media/v4l2-core/videobuf2-core.c:1340 vb2_start_streaming+0x124/0x1b4 [videobuf2_core] >