Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753792AbdCFLVa (ORCPT ); Mon, 6 Mar 2017 06:21:30 -0500 Received: from smtprelay.synopsys.com ([198.182.60.111]:41337 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753511AbdCFLVZ (ORCPT ); Mon, 6 Mar 2017 06:21:25 -0500 From: Ramiro Oliveira To: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org Cc: vladimir_zapolskiy@mentor.com, CARLOS.PALMINHA@synopsys.com, Ramiro Oliveira , Andrew Morton , Arnd Bergmann , "David S. Miller" , Geert Uytterhoeven , Greg Kroah-Hartman , Guenter Roeck , Hans Verkuil , Mark Rutland , Mauro Carvalho Chehab , Pavel Machek , Robert Jarzmik , Rob Herring , Sakari Ailus , Steve Longerbeam Subject: [PATCH v10 0/2] Add support for Omnivision OV5647 Date: Mon, 6 Mar 2017 11:16:32 +0000 Message-Id: X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2649 Lines: 91 Hello, This patchset adds support for the Omnivision OV5647 sensor. At the moment it only supports 640x480 in RAW 8. This is the tenth version of the OV5647 camera driver patchset. v10: - Add more error info to model check - Remove empty callback Suggested-by: Sakari Ailus - Change error message in read function - Change clock handling - Add error checking where it was missing - Remove debug messages - Remove the need for clock name Suggested-by: Vladimir Zapolskiy - Code refactoring v9: - Remove unused struct - Remove comments - Refactor error handling in i2c r/w functions - Change declarations to single line. - Remove value assignment in variable declarion - Refactor configurion write loop - Change the variable type that received ov5647_read() read value - Remove print from probe function - Remove unused device struct - Remove OF dependency from Kconfig Suggested-by: Vladimir Zapolskiy v8: - Remove a part of the initialization procedure which wasn't doing anything - Check for i2c read/writes return values - Add stream_on/off functions Suggested-by: Sakari Ailus v7: - Remove "0x" and leading 0 from DT documentation examples v6: - Add example to DT documentation - Remove data-lanes and clock-lane property from DT - Add external clock property to DT - Order includes - Remove unused variables and functions - Add external clock handling - Add power on counter - Change from g/s_parm to g/s_frame_interval v5: - Refactor code - Change comments - Add missing error handling in some functions v4: - Add correct license - Revert debugging info to generic infrastructure - Turn defines into enums - Correct code style issues - Remove unused defines - Make sure all errors where being handled - Rename some functions to make code more readable - Add some debugging info v3: - No changes. Re-submitted due to lack of responses v2: - Corrections in DT documentation Ramiro Oliveira (2): Documentation: DT: Add OV5647 bindings media: i2c: Add support for OV5647 sensor. .../devicetree/bindings/media/i2c/ov5647.txt | 35 ++ MAINTAINERS | 7 + drivers/media/i2c/Kconfig | 11 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ov5647.c | 636 +++++++++++++++++++++ 5 files changed, 690 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/ov5647.txt create mode 100644 drivers/media/i2c/ov5647.c -- 2.11.0