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: 11519399 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 B91A7913 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 9CE052073E 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