From patchwork Thu Apr 30 08:09:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongchun Zhu X-Patchwork-Id: 210005 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MIME_BASE64_TEXT, SPF_HELO_NONE, SPF_PASS, UNPARSEABLE_RELAY, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7A7AC83009 for ; Thu, 30 Apr 2020 08:10:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 977CF2186A for ; Thu, 30 Apr 2020 08:10:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="MOsOj+mO" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726476AbgD3IKX (ORCPT ); Thu, 30 Apr 2020 04:10:23 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:54299 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726420AbgD3IKW (ORCPT ); Thu, 30 Apr 2020 04:10:22 -0400 X-UUID: cbe1aa01cbce4d3497b8755b156760ab-20200430 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=OkjZA2Q16Y2OmU712BHLCUtFHRvElOB0/IOIcZcoXc0=; b=MOsOj+mO36UD2gW/IoesPdcv7Eukm/LXZ67JSnGV14P4SkjHUeyMjbfJOJJsyC+RXX0g4yC7yPWBKOXbcUTWYBrLvF3qlhw4t6NGyTL7RmIhJPXUaVsMiZ+MhWx9geFkwn3HQGLSBR19vBzf0klIAt5CehEjlx9ljm5baNXUTd0=; X-UUID: cbe1aa01cbce4d3497b8755b156760ab-20200430 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 213971226; Thu, 30 Apr 2020 16:10:21 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 30 Apr 2020 16:10:19 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 30 Apr 2020 16:10:18 +0800 From: Dongchun Zhu To: , , , , , , , , , , CC: , , , , , , , , Subject: [V7, 0/2] media: i2c: Add support for OV02A10 sensor Date: Thu, 30 Apr 2020 16:09:22 +0800 Message-ID: <20200430080924.1140-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. Changes of v7 mainly address comments from Rob, Tomasz, Andy, Sakari. - Rebase onto 5.7-rc1 - Use DT bindings in YAML to replace of old text documentation - Document optional property "ovti,mipi-tx-speed" and "rotation" - Refine driver more simply Previous versions of this patch-set can be found here: 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 v7 mainly address comments from Rob, Tomasz, Andy, Sakari. - Rebase onto 5.7-rc1 - Use DT bindings in YAML to replace of old text documentation - Document optional property "ovti,mipi-tx-speed" and "rotation" - Refine driver more simply 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 | 148 +++ MAINTAINERS | 8 + drivers/media/i2c/Kconfig | 11 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ov02a10.c | 1090 ++++++++++++++++++++ 5 files changed, 1258 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml create mode 100644 drivers/media/i2c/ov02a10.c -- 2.9.2