Received: by 10.192.165.148 with SMTP id m20csp544950imm; Wed, 25 Apr 2018 04:02:22 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+sV1ze/H2UQ6o5nXs4/ssGaWdhJ6Q+SHe5nFqVjirF1zIq00hBRbXYaw1RQi4dZmIwC/27 X-Received: by 2002:a17:902:683:: with SMTP id 3-v6mr28792772plh.206.1524654142485; Wed, 25 Apr 2018 04:02:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524654142; cv=none; d=google.com; s=arc-20160816; b=FO3oCli239vC3cGVaqC0toReM7lHOCVoqceHRxybImSdSAUD3iYa/Z2IYBZ1hEsPHi fzeN2Q2niQw994k9gEPwTtk0xKVNUCn/PvEqh6Ec+q1X9+8Y/AAbGLPZH7Qy4gFPHQIg VwcH5cxDmuHQnLKxAtbMGxeLnKXfAEoJsIxITncEBnEA6zeA+zICj1Lr281O2KSzVKVH pgAkrFSsJsw1YwTj5qVwchQMsOhUTH1RUBZmeIA6RtoKzAjrLkOozbD2EAw4wgJ3Ks6t 2ZCxAq2ijqFOU+TRiyEphXh935mOW8iyv0d2biMevRQMyr9kzS8z6jJugz+dK1Vmlg1a bkAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=eljKX4HP1GGY2TOkkVGrTp1rERhCX53LoZXUql4t7Uw=; b=l3jQhpDWJMYOCN9ZyBaoBnmq0VWNUnYbaqIb6JSA/pOYnJcnhM3xgjWUYgkeoSWQdm 1saUq/xytx4qniS5egCBZ+XAVrMamk+dP0n37Fm2cHHNSpmeVo6Bsx9LJbVZ77ksQzwh ppeo6R3eFwdoh74vT7JfNt8WWMu/EtBTtw5VPlBe8yOGP6wjlCUKIh7LBdiK997fJ+j9 lByvu25Vx1weAsUGPZIXP9L8IKCBX6QZgqyYiVx1fs8JQUulj7McQSN7L70Jysg0O3tT AAIWVWCLpcyMmNEovHbOv7ncwLjiiy0jnXHWV3SeT0O4g45Who0lNC/e82eFqrpp9tZI 2VTw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 92-v6si15857140pli.354.2018.04.25.04.02.08; Wed, 25 Apr 2018 04:02:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754289AbeDYLBE (ORCPT + 99 others); Wed, 25 Apr 2018 07:01:04 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:33921 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752856AbeDYLA1 (ORCPT ); Wed, 25 Apr 2018 07:00:27 -0400 Received: from w540.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay11.mail.gandi.net (Postfix) with ESMTPSA id B3261100013; Wed, 25 Apr 2018 13:00:24 +0200 (CEST) From: Jacopo Mondi To: hans.verkuil@cisco.com, mchehab@kernel.org, robh+dt@kernel.org Cc: Jacopo Mondi , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: media: i2c: Add mt9t111 image sensor Date: Wed, 25 Apr 2018 13:00:13 +0200 Message-Id: <1524654014-17852-2-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524654014-17852-1-git-send-email-jacopo+renesas@jmondi.org> References: <1524654014-17852-1-git-send-email-jacopo+renesas@jmondi.org> X-Spam-Level: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device tree bindings documentation for Micron MT9T111/MT9T112 image sensors. Signed-off-by: Jacopo Mondi --- Documentation/devicetree/bindings/mt9t112.txt | 41 +++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/mt9t112.txt diff --git a/Documentation/devicetree/bindings/mt9t112.txt b/Documentation/devicetree/bindings/mt9t112.txt new file mode 100644 index 0000000..cbad475 --- /dev/null +++ b/Documentation/devicetree/bindings/mt9t112.txt @@ -0,0 +1,41 @@ +Micron 3.1Mp CMOS Digital Image Sensor +-------------------------------------- + +The Micron MT9T111 and MT9T112 are 1/4 inch 3.1Mp System-On-A-Chip (SOC) CMOS +digital image sensors which support up to QXGA (2048x1536) image resolution in +4/3 format. + +The sensors can be programmed through a two-wire serial interface and can +work both in parallel data output mode as well as in MIPI CSI-2 mode. + +Required Properties: +- compatible: shall be one of the following values + "micron,mt9t111" for MT9T111 sensors + "micron,mt9t112" for MT9T112 sensors + +Optional properties: +- powerdown-gpios: reference to powerdown input GPIO signal. Pin name "STANDBY". + Active level is high. + +The device node shall contain one 'port' sub-node with one 'endpoint' child +node, modeled accordingly to bindings described in: +Documentation/devicetree/bindings/media/video-interfaces.txt + +Example: +-------- + + mt9t112@3d { + compatible = "micron,mt9t112"; + reg = <0x3d>; + + powerdown-gpios = <&gpio4 2 GPIO_ACTIVE_HIGH>; + + port { + mt9t112_out: endpoint { + pclk-sample = <1>; + remote-endpoint = <&ceu_in>; + }; + }; + }; + + -- 2.7.4