Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758943AbdCVMej (ORCPT ); Wed, 22 Mar 2017 08:34:39 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:41919 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759293AbdCVMeY (ORCPT ); Wed, 22 Mar 2017 08:34:24 -0400 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 , "David S. Miller" , Geert Uytterhoeven , Greg Kroah-Hartman , Guenter Roeck , Hans Verkuil , Ivaylo Dimitrov , Mark Rutland , Mauro Carvalho Chehab , Pavel Machek , Robert Jarzmik , Rob Herring , Sakari Ailus , Steve Longerbeam Subject: [PATCH v11 0/2] Add support for Omnivision OV5647 Date: Wed, 22 Mar 2017 12:30:25 +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: 2763 Lines: 94 Hello, This patchset adds support for the Omnivision OV5647 sensor. At the moment it only supports 640x480 in RAW 8. This is the eleventh version of the OV5647 camera driver patchset. v11: - Remove leftover debug code Suggested-by: Sakari Ailus 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 | 634 +++++++++++++++++++++ 5 files changed, 688 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/ov5647.txt create mode 100644 drivers/media/i2c/ov5647.c -- 2.11.0