From patchwork Wed Sep 2 12:01:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongchun Zhu X-Patchwork-Id: 66709 Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from ) id 1kDROq-00BeQu-BX; Wed, 02 Sep 2020 11:58:04 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726678AbgIBMDv (ORCPT + 1 other); Wed, 2 Sep 2020 08:03:51 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:45907 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726177AbgIBMDr (ORCPT ); Wed, 2 Sep 2020 08:03:47 -0400 X-UUID: 1b8ccfd47a7c409192883d82bb490922-20200902 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=DMolEQgcko1Hi3JfFgntu1uI44EPYKHXW5wUFW7a+48=; b=SMr3bXOu9PWhs1WeLiZD8aOIYVrLc4096OxzB9UIVGCCONXuOogWRk1fa83SCR4UraUODQgn47tEVMNUFdZOqAauyNBkVFpAPl35okKFwu7msPrjY7pgFbBT4iT3QA0EMJZpT2gr1VbU+QqAo8zpY8JZ9fpW68Zs0wf4hvaGaes=; X-UUID: 1b8ccfd47a7c409192883d82bb490922-20200902 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1855598811; Wed, 02 Sep 2020 20:03:41 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 2 Sep 2020 20:03:38 +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; Wed, 2 Sep 2020 20:03:37 +0800 From: Dongchun Zhu To: , , , , , , , , CC: , , , , , , , , Subject: [PATCH v14 0/2] media: i2c: Add support for OV02A10 sensor Date: Wed, 2 Sep 2020 20:01:20 +0800 Message-ID: <20200902120122.24456-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 X-LSpam-Score: -0.8 (/) X-LSpam-Report: No, score=-0.8 required=5.0 tests=BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1,MIME_BASE64_TEXT=1.741,UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no Hello, This series adds YAML DT binding and V4L2 sub-device driver for Omnivision's OV02A10 2-megapixel 10-bit RAW CMOS 1/5" sensor, which has a single MIPI lane interface and uses the I2C bus for control and the CSI-2 bus for data. 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. Also this driver supports following features: - Manual exposure and analog gain control support - Vertical blanking control support - Test pattern support - Media controller support - Runtime PM support - Support resolution: 1600x1200 at 30FPS Previous versions of this patch-set can be found here: v13: https://lore.kernel.org/linux-media/20200710101850.4604-1-dongchun.zhu@mediatek.com/ v12: https://lore.kernel.org/linux-media/20200702115223.21507-1-dongchun.zhu@mediatek.com/ v11: https://lore.kernel.org/linux-media/20200630024942.20891-1-dongchun.zhu@mediatek.com/ v10: https://lore.kernel.org/linux-media/20200615122937.18965-3-dongchun.zhu@mediatek.com/ v09: https://lore.kernel.org/linux-media/20200523084103.31276-1-dongchun.zhu@mediatek.com/ v08: https://lore.kernel.org/linux-media/20200509080627.23222-1-dongchun.zhu@mediatek.com/ v07: https://lore.kernel.org/linux-media/20200430080924.1140-1-dongchun.zhu@mediatek.com/ v06: https://lore.kernel.org/linux-media/20191211112849.16705-1-dongchun.zhu@mediatek.com/ v05: https://lore.kernel.org/linux-media/20191104105713.24311-1-dongchun.zhu@mediatek.com/ v04: https://lore.kernel.org/linux-media/20190907092728.23897-1-dongchun.zhu@mediatek.com/ v03: https://lore.kernel.org/linux-media/20190819034331.13098-1-dongchun.zhu@mediatek.com/ v02: https://lore.kernel.org/linux-media/20190704084651.3105-1-dongchun.zhu@mediatek.com/ v01: https://lore.kernel.org/linux-media/20190523102204.24112-1-dongchun.zhu@mediatek.com/ Changes of v14 mainly address comments from Tomasz and Sakari. Compared to v13: - Fix imperfections in DT - Use an array property "ovti,mipi-clock-voltage" to indicate MIPI TX speed - Add the handler to the optional property "ovti,mipi-clock-voltage" in driver Please help to review this patch. Thanks. Dongchun Zhu (2): media: dt-bindings: media: i2c: Document OV02A10 bindings media: i2c: Add OV02A10 image sensor driver .../bindings/media/i2c/ovti,ov02a10.yaml | 161 +++ MAINTAINERS | 8 + drivers/media/i2c/Kconfig | 13 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ov02a10.c | 1083 ++++++++++++++++++++ 5 files changed, 1266 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml create mode 100644 drivers/media/i2c/ov02a10.c