From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56FB4C0650F for ; Thu, 8 Aug 2019 09:22:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2700C2186A for ; Thu, 8 Aug 2019 09:22:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732098AbfHHJWd (ORCPT ); Thu, 8 Aug 2019 05:22:33 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:18711 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1731955AbfHHJWd (ORCPT ); Thu, 8 Aug 2019 05:22:33 -0400 X-UUID: 293a75625e4944979a3483e8beb6bada-20190808 X-UUID: 293a75625e4944979a3483e8beb6bada-20190808 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0707 with TLS) with ESMTP id 1359669213; Thu, 08 Aug 2019 17:22:23 +0800 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: To: , , , , , , , CC: , , , , , , , , 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 Content-Type: text/plain X-MTK: N Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Dongchun Zhu 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 -- 2.9.2