From patchwork Mon Aug 19 03:43:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongchun Zhu X-Patchwork-Id: 58266 Received: from vger.kernel.org ([209.132.180.67]) by www.linuxtv.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hzYaU-0005DR-PX; Mon, 19 Aug 2019 03:44:07 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726312AbfHSDoD (ORCPT + 1 other); Sun, 18 Aug 2019 23:44:03 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:17369 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726254AbfHSDoD (ORCPT ); Sun, 18 Aug 2019 23:44:03 -0400 X-UUID: 0d89e8c0a10f46e0a0e4b5219d79e0fe-20190819 X-UUID: 0d89e8c0a10f46e0a0e4b5219d79e0fe-20190819 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0707 with TLS) with ESMTP id 1044046273; Mon, 19 Aug 2019 11:43:53 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 19 Aug 2019 11:43:53 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 19 Aug 2019 11:43:52 +0800 From: To: , , , , , , , CC: , , , , , , , , Subject: [V3, 0/2] media: Add support for OV02A10 sensor Date: Mon, 19 Aug 2019 11:43:29 +0800 Message-ID: <20190819034331.13098-1-dongchun.zhu@mediatek.com> X-Mailer: git-send-email 2.9.2 MIME-Version: 1.0 X-MTK: N Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Dongchun Zhu Hello, This patch adds driver and bindings for Omnivision's OV02A10 2 megapixel CMOS 1/5" sensor, which has a single MIPI lane interface and output format of 10-bit Raw. The driver is implemented wth V4L2 framework. 1. Async registered as a V4L2 I2C sub-device. 2. A media entity that can provide several source pads and sink pads to link with other device like Seninf, ISP one after another to create a default overall camera topology, image frame or meta-data from sensor can flow through particular path to output preview or capture image or 3A info. Changes of v3 are mainly addressing comments from Rob, Sakari, Bingbu. - Fix coding style errors in dt-bindings - Use macro flag to describle basic line 1224 when updating v-blanking - Remove unnecessary debug log in driver Mainly changes of v2 are addressing the comments from Nicolas, Bingbu, Sakari, Rob, including, - Put dt binding before driver in series - Add MAINTAINERS entries - Squash the MAINTAINERS entry and Kconfig to driver patch - Add rotation support for driver - Fix other reviewed issues in v1 Dongchun Zhu (2): media: dt-bindings: media: i2c: Add bindings for OV02A10 media: i2c: Add Omnivision OV02A10 camera sensor driver .../devicetree/bindings/media/i2c/ov02a10.txt | 54 ++ MAINTAINERS | 8 + drivers/media/i2c/Kconfig | 11 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ov02a10.c | 1018 ++++++++++++++++++++ 5 files changed, 1092 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/ov02a10.txt create mode 100644 drivers/media/i2c/ov02a10.c