Message ID | 20191211112849.16705-1-dongchun.zhu@mediatek.com (mailing list archive) |
---|---|
Headers |
Received: from vger.kernel.org ([209.132.180.67]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from <linux-media-owner@vger.kernel.org>) id 1if0Ab-008Z18-Oi; Wed, 11 Dec 2019 11:28:42 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729048AbfLKL26 (ORCPT <rfc822;mkrufky@linuxtv.org> + 1 other); Wed, 11 Dec 2019 06:28:58 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:7506 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727365AbfLKL26 (ORCPT <rfc822;linux-media@vger.kernel.org>); Wed, 11 Dec 2019 06:28:58 -0500 X-UUID: 5377831089d34fb8aa5b1a3d7d242e2f-20191211 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=E6iZNCkFCawyWjZRc34zhuu8VrWUse/gSOjQa/y+r/g=; b=HWM5xuHk3TqbXjVy/WRN4RQ1WNBaWP0zFwTpKBWTCGYAQ0iT3CRFbHTHuCsXKIddn5LPghJiV3pZ23/AzAbV32EGwIHcCF2RhswKOVH00tKV/u05DONrRPyG0fekQxfM7HWYjTEDmDy0ohl/cSTJF4RZn5kq5E/vp9j9YE5phmk=; X-UUID: 5377831089d34fb8aa5b1a3d7d242e2f-20191211 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from <dongchun.zhu@mediatek.com>) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1867455819; Wed, 11 Dec 2019 19:28:53 +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.1395.4; Wed, 11 Dec 2019 19:28:36 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 11 Dec 2019 19:28:26 +0800 From: Dongchun Zhu <dongchun.zhu@mediatek.com> To: <mchehab@kernel.org>, <andriy.shevchenko@linux.intel.com>, <robh+dt@kernel.org>, <mark.rutland@arm.com>, <sakari.ailus@linux.intel.com>, <drinkcat@chromium.org>, <tfiga@chromium.org>, <matthias.bgg@gmail.com>, <bingbu.cao@intel.com> CC: <srv_heupstream@mediatek.com>, <linux-mediatek@lists.infradead.org>, <linux-arm-kernel@lists.infradead.org>, <sj.huang@mediatek.com>, <linux-media@vger.kernel.org>, <devicetree@vger.kernel.org>, <louis.kuo@mediatek.com>, <shengnan.wang@mediatek.com>, <dongchun.zhu@mediatek.com> Subject: [V6, 0/2] media: i2c: Add support for OV02A10 sensor Date: Wed, 11 Dec 2019 19:28:47 +0800 Message-ID: <20191211112849.16705-1-dongchun.zhu@mediatek.com> X-Mailer: git-send-email 2.9.2 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org |
Series |
media: i2c: Add support for OV02A10 sensor
|
|
Message
Dongchun Zhu
Dec. 11, 2019, 11:28 a.m. UTC
Hello, This series adds DT binding and 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 wth V4L2 framework. 1. Async registered as a V4L2 I2C sub-device. 2. The first component of camera system including Seninf, ISP. 3. A media entity that can provide one source pad in common and two for dual camera. Changes compared to v5: - Rebase onto 5.5-rc1 - Remove the handler of "ovti, hs-vod-adjust" property - Define new macro HZ_PER_MHZ to describe frequency-related parameters - Fixup coding style and improve code quality - Fix other reviewed issues in v5 Changes of v5 are addressing comments from Sakari, Tomasz. - Set default orientation in dt-bindings - Move the content of power on/off directly to the resume/suspend callbacks - Move sensor id check to power on to avoid the privacy LED flash on boot - Remove unnecessary debug log in driver - Fix other reviewed issues in v4 Changes of v4 mainly address the comments from Sakari, Rob, Tomasz. - Remove data-lanes property in DT - Add link frequencies in DT to match the expect value that driver requires - Omit open callback as int_cfg is implemented - Use i2c_smbus_write_byte_data/i2c_smbus_read_byte_data instead of customed APIs - Use do_div to calculate pixel rate - Use usleep_range directly for shoter sleep case - Re-adjust sensor power up/off sequence - Re-set pd/rst GPIO inverter property according to the datasheet - Refine set_exposure/set_gain/set_vblanking/set_test_pattern functions - Fix other reviewed issues in v3 Changes of v3 are mainly addressing comments from Rob, Sakari, Bingbu. - Fix coding style errors in dt-bindings - Use macro flag to describle basic line 1224 when updating v-blanking - Remove unnecessary debug log in driver Mainly changes of v2 are addressing the comments from Nicolas, Bingbu, Sakari, Rob, including, - Put dt binding before driver in series - Add MAINTAINERS entries - Squash the MAINTAINERS entry and Kconfig to driver patch - Add rotation support for driver - Fix other reviewed issues in v1 Dongchun Zhu (2): media: dt-bindings: media: i2c: Document OV02A10 bindings media: i2c: ov02a10: Add OV02A10 image sensor driver .../devicetree/bindings/media/i2c/ov02a10.txt | 54 + MAINTAINERS | 8 + drivers/media/i2c/Kconfig | 11 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ov02a10.c | 1102 ++++++++++++++++++++ 5 files changed, 1176 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/ov02a10.txt create mode 100644 drivers/media/i2c/ov02a10.c