From patchwork Thu May 23 10:22:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongchun Zhu X-Patchwork-Id: 10957227 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B013616C1 for ; Thu, 23 May 2019 10:22:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 94F7D28451 for ; Thu, 23 May 2019 10:22:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 84D9928450; Thu, 23 May 2019 10:22:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 37CF928450 for ; Thu, 23 May 2019 10:22:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=HUjKuHH1E/WrE3DQ8vdkSjYfu30iTafcGpaQCXFD8NE=; b=r+y6AwFwZD9Ejd Vp98u8UMXfx8kpTeHk1vP92rh7gwhg/Tk0xkdpSEAek8v4Wt+mduqSKXN8t+cwiET4h5cj595yyzQ /e9GJ3bC2qmMwDZixmQhB5FpTp4xl+YoSbwJrPTFp2L300pI8TH6NfbC0u9EFSF0Zu0/ot7UUJ3xI G2tdH5yGCVGWaDnbDAqIa4S11s1GZWPPy0SbxVSxd2DZudSFuuLKESbR1LzKaV7ZOzoPYMG28c6fp kMsWwLZIxrAMkc1ORHMCpwfDVj1pmfQlj9IGNq1iM+3Ijc/gVmUy/eVdoSTVJtY5bY9tpygzF4iu7 DtTFCiDyiEXElFur9rAg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hTks1-0001e4-Pa; Thu, 23 May 2019 10:22:45 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hTkrl-0001MS-JA; Thu, 23 May 2019 10:22:30 +0000 X-UUID: a4690ce02dcd4bb7939a6005c77b0efb-20190523 X-UUID: a4690ce02dcd4bb7939a6005c77b0efb-20190523 Received: from mtkcas68.mediatek.inc [(172.29.94.19)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 1403006677; Thu, 23 May 2019 02:22:23 -0800 Received: from MTKMBS02N1.mediatek.inc (172.21.101.77) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 23 May 2019 03:22:21 -0700 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 23 May 2019 18:22:08 +0800 Received: from localhost.localdomain (10.17.3.153) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 23 May 2019 18:22:07 +0800 From: To: , , , , Subject: [PATCH 0/3] media: suppport ov02a10 sensor driver Date: Thu, 23 May 2019 18:22:01 +0800 Message-ID: <20190523102204.24112-1-dongchun.zhu@mediatek.com> X-Mailer: git-send-email 2.9.2 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190523_032229_631875_C21796E9 X-CRM114-Status: UNSURE ( 7.01 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, srv_heupstream@mediatek.com, menghui.lin@mediatek.com, shengnan.wang@mediatek.com, sj.huang@mediatek.com, linux-mediatek@lists.infradead.org, dongchun.zhu@mediatek.com, louis.kuo@mediatek.com, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Dongchun Zhu Hello, This is the OV02A10 sensor driver, which would be used in camera features on CrOS application. The driver is implemented wth V4L2 framework. 1. Async registered as a V4L2 I2C sub-device. 2. A media entity that can provide several source pads and sink pads to link with other device like Seninf, ISP one after another to create a default overall camera topology, image frame or meta-data from sensor can flow through particular path to output preview or capture image or 3A info. Dongchun Zhu (3): media: i2c: ov02a10: Add ov02a10 camera sensor driver media: i2c: ov02a10: Add CONFIG_VIDEO_OV02A10 media: dt-bindings: media: i2c: Add bindings for ov02a10 .../devicetree/bindings/media/i2c/ov02a10.txt | 43 + drivers/media/i2c/Kconfig | 12 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ov02a10.c | 1067 ++++++++++++++++++++ 4 files changed, 1123 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/ov02a10.txt create mode 100644 drivers/media/i2c/ov02a10.c