From patchwork Mon Jun 15 12:29:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongchun Zhu X-Patchwork-Id: 64640 Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from ) id 1jkoDi-00DQr5-Jq; Mon, 15 Jun 2020 12:28:12 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729893AbgFOMcO (ORCPT + 1 other); Mon, 15 Jun 2020 08:32:14 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:39610 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728598AbgFOMcN (ORCPT ); Mon, 15 Jun 2020 08:32:13 -0400 X-UUID: 32c6cc40a1ec4f3fa397f2de588ad28b-20200615 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=LempUdXCCkO3XMmtbxe09boDlc3IHyauHMUqUrdhizc=; b=j7wAmmAKRJXfgQFfYQ+3SVjF+ALdXZnS6Z5lYLs33HzRB4KTZ0lhtxWevNYtz+Ypt4ezh6W4GeYcnhil34lH5oztHKm0pz0MOdpivdVb4+DWGTzWVd40jrbYBEZRjn+uVYLEXgH+uccEDpkjQrtbRjLQzca5Ul2dzM58f/Yhbx0=; X-UUID: 32c6cc40a1ec4f3fa397f2de588ad28b-20200615 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1609515663; Mon, 15 Jun 2020 20:32:09 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 15 Jun 2020 20:32:06 +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; Mon, 15 Jun 2020 20:32:06 +0800 From: Dongchun Zhu To: , , , , , , , , , , CC: , , , , , , , , Subject: [PATCH V10 0/2] media: i2c: Add support for OV02A10 sensor Date: Mon, 15 Jun 2020 20:29:35 +0800 Message-ID: <20200615122937.18965-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 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: v9: https://lore.kernel.org/linux-media/20200523084103.31276-1-dongchun.zhu@mediatek.com/ v8: https://lore.kernel.org/linux-media/20200509080627.23222-1-dongchun.zhu@mediatek.com/ 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 v10 are addressing comments from Rob, Sakari, Tomasz. Compared to v9: - Add maxItems constraint to powerdown-gpios and reset-gpios - Add a description of the data that sensor port node shall have - Remove 'data-lanes' property as it provides no information to the receiver - Refine 'err_power_off' error handling section after async register sub-device - Handle the case when fmt->which is V4L2_SUBDEV_FORMAT_TRY - Rollback the controls of HBLANK and VBLANK as userspace may need them - Use 'Eight Vertical Color Bars' to normalize standard name of test pattern - Fix other review comments in v9 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 | 171 ++++ MAINTAINERS | 8 + drivers/media/i2c/Kconfig | 13 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ov02a10.c | 1042 ++++++++++++++++++++ 5 files changed, 1235 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml create mode 100644 drivers/media/i2c/ov02a10.c