From patchwork Thu Jul 3 13:39:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 4473381 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C1120BEEAA for ; Thu, 3 Jul 2014 13:42:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0A7FD20394 for ; Thu, 3 Jul 2014 13:42:40 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1D2B12038F for ; Thu, 3 Jul 2014 13:42:39 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1X2hFj-00054X-C5; Thu, 03 Jul 2014 13:40:43 +0000 Received: from arroyo.ext.ti.com ([192.94.94.40]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X2hFa-00051m-VF for linux-arm-kernel@lists.infradead.org; Thu, 03 Jul 2014 13:40:35 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s63DeGIu002447; Thu, 3 Jul 2014 08:40:16 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s63DeGLA026619; Thu, 3 Jul 2014 08:40:16 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Thu, 3 Jul 2014 08:40:15 -0500 Received: from deskari.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s63DeA9h007295; Thu, 3 Jul 2014 08:40:14 -0500 From: Tomi Valkeinen To: Archit Taneja , , , Subject: [PATCH 2/4] Doc/DT: Add SiI9022 binding documentation Date: Thu, 3 Jul 2014 16:39:58 +0300 Message-ID: <1404394800-18138-3-git-send-email-tomi.valkeinen@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1404394800-18138-1-git-send-email-tomi.valkeinen@ti.com> References: <1404394800-18138-1-git-send-email-tomi.valkeinen@ti.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140703_064035_098043_BE6555F0 X-CRM114-Status: UNSURE ( 8.29 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: devicetree@vger.kernel.org, Tomi Valkeinen X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add DT binding documentation for Silicon Image SiI9022 HDMI encoder. Signed-off-by: Tomi Valkeinen Cc: devicetree@vger.kernel.org --- .../devicetree/bindings/video/sil,sii9022.txt | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/video/sil,sii9022.txt diff --git a/Documentation/devicetree/bindings/video/sil,sii9022.txt b/Documentation/devicetree/bindings/video/sil,sii9022.txt new file mode 100644 index 000000000000..0cd926636998 --- /dev/null +++ b/Documentation/devicetree/bindings/video/sil,sii9022.txt @@ -0,0 +1,53 @@ +Silicon Image SiI9022 HDMI Encoder +================================== + +Silicon Image SiI9022 is an HDMI encoder that encodes parallel RGB +signal to HDMI signal. The SiI9022 is controlled with i2c command, and +it has a single reset pin and single interrupt pin. + +Required properties: +- compatible: "sil,sii9022" + +Optional properties: +- reset-gpio: reset gpio +- interrupts: interrupt line + +Required nodes: +- Video port 0 for parallel video input +- Video port 1 for HDMI output + +Example +------- + +&i2c2 { + sii9022: sii9022@3b { + compatible = "sil,sii9022"; + reg = <0x3b>; + + reset-gpio = <&gpio2 1 GPIO_ACTIVE_LOW>; + + interrupt-parent = <&gpio1>; + interrupts = <18 IRQ_TYPE_LEVEL_LOW>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + sii9022_in: endpoint { + remote-endpoint = <&dpi_out>; + }; + }; + + port@1 { + reg = <1>; + + sii9022_out: endpoint { + remote-endpoint = <&hdmi_connector_in>; + }; + }; + }; + }; +};