From patchwork Fri Jul 10 10:18:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongchun Zhu X-Patchwork-Id: 65369 Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from ) id 1jtq3V-009Bt0-UH; Fri, 10 Jul 2020 10:14:59 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726933AbgGJKTm (ORCPT + 1 other); Fri, 10 Jul 2020 06:19:42 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:63182 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726496AbgGJKTl (ORCPT ); Fri, 10 Jul 2020 06:19:41 -0400 X-UUID: 6556c6b5225b4e2fad2239bdccab265c-20200710 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=CqFYCV4H7t0aImWcS2mYr0/XneJOwb8BbgC6yqbQIlM=; b=Cow9P2Hfqh8FBFlc43D21u3PJDFRr5q3nqoM5OCyH8TJoVYMyEYphklqYRKvHHA8FdzPvyr6DsKoLO1mwr45hLMWd2kZU9bfJGpWc8VKR1JK71lqzCZo3j68YftsVje+Ck4TtIa+v9As6nQwKXb0i8XppGh5E+ZHhfAbo/xA6F0=; X-UUID: 6556c6b5225b4e2fad2239bdccab265c-20200710 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 754923263; Fri, 10 Jul 2020 18:19:36 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 10 Jul 2020 18:19:34 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 10 Jul 2020 18:19:33 +0800 From: Dongchun Zhu To: , , , , , , , , CC: , , , , , , , , , <1095088256@qq.com>, Subject: [PATCH v13 0/2] media: i2c: Add support for OV02A10 sensor Date: Fri, 10 Jul 2020 18:18:48 +0800 Message-ID: <20200710101850.4604-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. - Used in camera features on CrOS application. 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: 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 v13 mainly address comments from Rob. Compared to v12: - Add reviewed-by for sensor driver - Fix a build-warning and the warning when applying the patch with git am Please review. 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 | 172 ++++ MAINTAINERS | 8 + drivers/media/i2c/Kconfig | 13 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ov02a10.c | 1050 ++++++++++++++++++++ 5 files changed, 1244 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml create mode 100644 drivers/media/i2c/ov02a10.c