Message ID | 20190808092215.5608-1-dongchun.zhu@mediatek.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org> 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 69AD314DB for <patchwork-linux-mediatek@patchwork.kernel.org>; Thu, 8 Aug 2019 09:23:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5440E28608 for <patchwork-linux-mediatek@patchwork.kernel.org>; Thu, 8 Aug 2019 09:23:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 43A9C28AAE; Thu, 8 Aug 2019 09:23:16 +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 E66A528608 for <patchwork-linux-mediatek@patchwork.kernel.org>; Thu, 8 Aug 2019 09:23:15 +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=3gVz54kAU121cMrjLFdt0jSboqjJ+z4lJQODyoktCnA=; b=Fqj/Y7DXxA99it wHp3FxNPOd1AOry9qYtiwBoXkbqL6LtLede5DBod6szN32S+wBZZu141UKz7P5+q+Vq6sFKAYtobs vOXvEEEP2Wdvg9pIDLtc3fSNPD8j8clMHSFNlvXICKD19iscQmQLcoYu2enE6NBCrRhJjfZOBFSG4 YXjf9oQxGGA5kfN2/HZy2anYKuSuLbdfkB5wzbd8Wj+g74T4T/7dA9VEnRZ4j6bnyUNwNJO2e+N3+ TYxQttnx8F+hySABasxFTPUgN0Q0hp0V3ss4T4pNvnmiB/ysqyjWd4NGAmAbxo450rhUHV7YSgbEE RVCZJkektme5GCgfgg0A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hvedf-0001XQ-4A; Thu, 08 Aug 2019 09:23:15 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hved7-00012c-IW; Thu, 08 Aug 2019 09:22:42 +0000 X-UUID: bdcad89be76949b0a1d3ab7afab56b10-20190808 X-UUID: bdcad89be76949b0a1d3ab7afab56b10-20190808 Received: from mtkcas68.mediatek.inc [(172.29.94.19)] by mailgw02.mediatek.com (envelope-from <dongchun.zhu@mediatek.com>) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 479943235; Thu, 08 Aug 2019 01:22:28 -0800 Received: from MTKMBS07N2.mediatek.inc (172.21.101.141) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 8 Aug 2019 02:22:26 -0700 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 8 Aug 2019 17:22:25 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 8 Aug 2019 17:22:24 +0800 From: <dongchun.zhu@mediatek.com> To: <mchehab@kernel.org>, <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> Subject: [V1, 0/2] media: ov8856: DT bindings and sensor mode improvements Date: Thu, 8 Aug 2019 17:22:13 +0800 Message-ID: <20190808092215.5608-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-20190808_022241_619375_8915D5EC X-CRM114-Status: UNSURE ( 8.04 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-mediatek.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mediatek>, <mailto:linux-mediatek-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mediatek/> List-Post: <mailto:linux-mediatek@lists.infradead.org> List-Help: <mailto:linux-mediatek-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mediatek>, <mailto:linux-mediatek-request@lists.infradead.org?subject=subscribe> Cc: devicetree@vger.kernel.org, srv_heupstream@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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" <linux-mediatek-bounces@lists.infradead.org> Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
media: ov8856: DT bindings and sensor mode improvements
|
expand
|
From: Dongchun Zhu <dongchun.zhu@mediatek.com> Hello, This series adds DT bindings and some more sensor modes for users to use. From the latest ov8856 datasheet, it is proposed to adopt the resolution of 1632*1224 and 3264*2448, together with Bayer Order of BGGR. Thus here we provide two more scenarios. In addition, the hardware version of ov8856 is also distinguished from one OTP SRAM register R700F. PLL register R3614 requires to be correspondingly updated. For instance, 0x20 is suggested for 1B camera module. It is emphasized that I2C still actives while device is to runtime suspended. This makes ov8856_suspend function need to remove the operation of stoping streaming. Finally, ARM and device tree matching were added as an alternative. Dongchun Zhu (2): media: dt-bindings: media: i2c: Add bindings for OV8856 media: i2c: Add more sensor mode for OV8856 camera sensor .../devicetree/bindings/media/i2c/ov8856.txt | 41 ++ MAINTAINERS | 1 + drivers/media/i2c/ov8856.c | 624 ++++++++++++++++++++- 3 files changed, 663 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/i2c/ov8856.txt