Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754756AbdFWKZz (ORCPT ); Fri, 23 Jun 2017 06:25:55 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.216]:15789 "EHLO mo4-p00-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754587AbdFWKZx (ORCPT ); Fri, 23 Jun 2017 06:25:53 -0400 X-RZG-AUTH: :JGIXVUS7cutRB/49FwqZ7WcecEarQROEYabkiUo6mSAGQ+qKID8yPJCLgHE= X-RZG-CLASS-ID: mo00 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [PATCH v1 0/6] Add support of OV9655 camera From: "H. Nikolaus Schaller" In-Reply-To: <385A82AC-CC23-41BD-9F57-0232F713FED9@goldelico.com> Date: Fri, 23 Jun 2017 12:25:09 +0200 Cc: Mark Rutland , devicetree , Benjamin Gaignard , Alexandre Torgue , LKML , Hans Verkuil , Rob Herring , Maxime Coquelin , Yannick Fertre , Sylwester Nawrocki , Mauro Carvalho Chehab , Guennadi Liakhovetski , linux-arm-kernel , linux-media@vger.kernel.org, Discussions about the Letux Kernel Message-Id: <1E453955-0C1A-414B-BBB2-C64B6D0EF378@goldelico.com> References: <1498143942-12682-1-git-send-email-hugues.fruchet@st.com> <385A82AC-CC23-41BD-9F57-0232F713FED9@goldelico.com> To: Hugues Fruchet X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id v5NAPxsW004349 Content-Length: 2275 Lines: 49 Hi Hugues, > Am 22.06.2017 um 17:41 schrieb H. Nikolaus Schaller : > > >> Am 22.06.2017 um 17:05 schrieb Hugues Fruchet : >> >> This patchset enables OV9655 camera support. >> >> OV9655 support has been tested using STM32F4DIS-CAM extension board >> plugged on connector P1 of STM32F746G-DISCO board. >> Due to lack of OV9650/52 hardware support, the modified related code >> could not have been checked for non-regression. >> >> First patches upgrade current support of OV9650/52 to prepare then >> introduction of OV9655 variant patch. >> Because of OV9655 register set slightly different from OV9650/9652, >> not all of the driver features are supported (controls). Supported >> resolutions are limited to VGA, QVGA, QQVGA. >> Supported format is limited to RGB565. >> Controls are limited to color bar test pattern for test purpose. >> >> OV9655 initial support is based on a driver written by H. Nikolaus Schaller [1]. > > Great! Thanks again for picking up or work and trying to get it upstream. > > I will test as soon as possible. I have tried and had to fix some issues first: * gpio properties have a different name than in our approach (but that is something maintainers have to decide and is easy to follow this or that way) * there is no clock-frequency property which makes the driver request a clock frequency (something our camera interface expects this way) * there is no vana-supply regulator and we need that to power on/off the camera on demand (reset and pwdn isn't enough in our hardware) * for some unknown reason the driver does not load automatically from DT compatibility string and needs to be explicitly modprobed * unfortunately we still get no image :( The latter is likely a setup issue of our camera interface (OMAP3 ISP = Image Signal Processor) which we were not yet able to solve. Oscilloscoping signals on the interface indicated that signals and sync are correct. But we do not know since mplayer only shows a green screen. Therefore we had not submitted anything upstream ourselves, because our driver setup isn't finished and completely working. I have written some more specific comments linked to proposals for patches as answer to your [PATCH v1 1/6] BR and thanks, Nikolaus