From patchwork Sat May 9 08:06:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongchun Zhu X-Patchwork-Id: 11538007 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 928B6139F for ; Sat, 9 May 2020 08:08:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7081E24953 for ; Sat, 9 May 2020 08:08:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="oypYKjAO" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727783AbgEIIID (ORCPT ); Sat, 9 May 2020 04:08:03 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:40711 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725901AbgEIIID (ORCPT ); Sat, 9 May 2020 04:08:03 -0400 X-UUID: 09f27500c2f14871b0490df84dca006f-20200509 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=Mhv6h1F1j43UMpt10ltzdfLLnRC2QJxLwaCggRjdpNs=; b=oypYKjAOdMSD9PnxbvGoNx5fj4PZxyYNOlQ6HCTUH9Vuy+HGEgPt8HUS21+1Uoj3JIob4ULJgErAEaaNyQpKX4H90h9JMnHc1NxpOo+cO4pBL5LSEmOv72mij8jmUJ3+6BkVjEQjT4kKi061LM6+gCXUZf/iqnHvX8U8HbIypHY=; X-UUID: 09f27500c2f14871b0490df84dca006f-20200509 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 560800752; Sat, 09 May 2020 16:07:58 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 9 May 2020 16:07:56 +0800 Received: from localhost.localdomain (10.17.3.153) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 9 May 2020 16:07:54 +0800 From: Dongchun Zhu To: , , , , , , , , , , CC: , , , , , , , , Subject: [V8, 0/2] media: i2c: Add support for OV02A10 sensor Date: Sat, 9 May 2020 16:06:25 +0800 Message-ID: <20200509080627.23222-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 Hello, This series adds DT bindings in YAML and V4L2 sub-device driver 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 with V4L2 framework. - Async registered as a V4L2 sub-device. - As the first component of camera system including Seninf, ISP pipeline. - A media entity that provides one source pad in common and two for dual-cam. Previous versions of this patch-set can be found here: v7: https://lore.kernel.org/linux-media/20200430080924.1140-1-dongchun.zhu@mediatek.com/ v6: https://lore.kernel.org/linux-media/20191211112849.16705-1-dongchun.zhu@mediatek.com/ v5: https://lore.kernel.org/linux-media/20191104105713.24311-1-dongchun.zhu@mediatek.com/ v4: https://lore.kernel.org/linux-media/20190907092728.23897-1-dongchun.zhu@mediatek.com/ v3: https://lore.kernel.org/linux-media/20190819034331.13098-1-dongchun.zhu@mediatek.com/ v2: https://lore.kernel.org/linux-media/20190704084651.3105-1-dongchun.zhu@mediatek.com/ v1: https://lore.kernel.org/linux-media/20190523102204.24112-1-dongchun.zhu@mediatek.com/ Changes of v8 mainly address comments from Rob, Tomasz, Sakari, Ann. - Update more details about the private DT property "ovti,mipi-tx-speed" - Drop unnecessary description of "powerdown-gpios" and "reset-gpios" - Add "data-lanes" and "clock-noncontinuous" to be present - Set P1:0xA1 to 0x04 to follow the newest DB settings Please review. Thanks. Dongchun Zhu (2): media: dt-bindings: media: i2c: Document OV02A10 bindings media: i2c: ov02a10: Add OV02A10 image sensor driver .../bindings/media/i2c/ovti,ov02a10.yaml | 184 ++++ MAINTAINERS | 8 + drivers/media/i2c/Kconfig | 13 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ov02a10.c | 1094 ++++++++++++++++++++ 5 files changed, 1300 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml create mode 100644 drivers/media/i2c/ov02a10.c