From patchwork Tue Dec 13 10:09:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 9472011 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 975FA607F0 for ; Tue, 13 Dec 2016 10:13:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 78611284D2 for ; Tue, 13 Dec 2016 10:13:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6D4EB284FE; Tue, 13 Dec 2016 10:13:09 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 28D69284D8 for ; Tue, 13 Dec 2016 10:13:09 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cGk2W-0003IL-5Q; Tue, 13 Dec 2016 10:10:28 +0000 Received: from mail-wj0-x22b.google.com ([2a00:1450:400c:c01::22b]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cGk1z-00024z-8u for linux-arm-kernel@lists.infradead.org; Tue, 13 Dec 2016 10:09:56 +0000 Received: by mail-wj0-x22b.google.com with SMTP id xy5so95849899wjc.0 for ; Tue, 13 Dec 2016 02:09:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=t+RPNo0Nfkb9NvexAXbRrqb6R5ZnJoOeBwsUaqdqpZQ=; b=EOfCenCXQDw9fFyIw0wXHo6t92yyuEkyfwjmhS3lMyHUb2u+Ez99rp4wn6uJbKpc9l yOmI0Ut3EPHKytOw9Cow5Kz3mZMexnbOzQW2rwlU+5oIX1cGIDCsWAKuXSwCOqmNrBu+ BIzZtueqadeilMzoq3RKVlbi4U0XcRidz551shIFRt3LfkMc1D27OK5zY38PynVbTqtd tT27gura0JgkUX/jRPslCn7cCNDH3HNCXLxjKLr9Z1mdTUefaRPR5ISMxO6yI0g8dPhj RBRFoI6vmgn9l7zHmmp6skC3YgbTtFlGcV3PC1COfOKeQRQC17nDJRyq39fRmszZ7tEj z8tA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=t+RPNo0Nfkb9NvexAXbRrqb6R5ZnJoOeBwsUaqdqpZQ=; b=mDaqcFI1CE2plJ29gI4cvOQHmOL12f88tMu2JicWxyaWa/Vk2ZUvrP/0Yel6jOXEbN SL6peoiek6iyMjPzOZAX2+Rvj809hIZGeD/WqGVLJgCR8IaUSYaQZKscDuS3sTZiNstn rONqGA/37ChyKTIQvQW4ADSGtSoTC41AxIh3H9vlBY2DGEkAmuPn6j7d8weorxGLBclL 05bUHSipubmo3+CVlmE9/r/+BLAikbH6ZqIMOQPo/up3Q+ixQeZmr1ZA20zjDf6yu8pZ 39p3YkNGMMZ8pb4srEuXVUVcaybLNiaZITYsOLg/0avbt9LYKxSc49hg3TQkvJJQIQZ/ FWdw== X-Gm-Message-State: AKaTC027QuBTtCBS+/vZyO9ZSAnV31pCj8l9GCufvA7/fXBlRY2Z4lWa8dDza4hE5+bbDz0X X-Received: by 10.194.236.135 with SMTP id uu7mr84919127wjc.195.1481623773259; Tue, 13 Dec 2016 02:09:33 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id 138sm1808513wms.20.2016.12.13.02.09.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 13 Dec 2016 02:09:32 -0800 (PST) From: Bartosz Golaszewski To: Jyri Sarha , Tomi Valkeinen , David Airlie , Kevin Hilman , Michael Turquette , Sekhar Nori , Rob Herring , Frank Rowand , Mark Rutland , Laurent Pinchart , Peter Ujfalusi , Russell King , Maxime Ripard Subject: [PATCH v7 2/5] drm: bridge: add DT bindings for TI ths8135 Date: Tue, 13 Dec 2016 11:09:16 +0100 Message-Id: <1481623759-12786-3-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1481623759-12786-1-git-send-email-bgolaszewski@baylibre.com> References: <1481623759-12786-1-git-send-email-bgolaszewski@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161213_020955_509606_0D1EDEDF X-CRM114-Status: GOOD ( 12.91 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-devicetree , linux-drm , LKML , arm-soc , Bartosz Golaszewski MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP THS8135 is a configurable video DAC. Add DT bindings for this chip. Signed-off-by: Bartosz Golaszewski Reviewed-by: Laurent Pinchart Acked-by: Rob Herring --- .../bindings/display/bridge/ti,ths8135.txt | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/ti,ths8135.txt diff --git a/Documentation/devicetree/bindings/display/bridge/ti,ths8135.txt b/Documentation/devicetree/bindings/display/bridge/ti,ths8135.txt new file mode 100644 index 0000000..6ec1a88 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/ti,ths8135.txt @@ -0,0 +1,46 @@ +THS8135 Video DAC +----------------- + +This is the binding for Texas Instruments THS8135 Video DAC bridge. + +Required properties: + +- compatible: Must be "ti,ths8135" + +Required nodes: + +This device has two video ports. Their connections are modelled using the OF +graph bindings specified in Documentation/devicetree/bindings/graph.txt. + +- Video port 0 for RGB input +- Video port 1 for VGA output + +Example +------- + +vga-bridge { + compatible = "ti,ths8135"; + #address-cells = <1>; + #size-cells = <0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + vga_bridge_in: endpoint { + remote-endpoint = <&lcdc_out_vga>; + }; + }; + + port@1 { + reg = <1>; + + vga_bridge_out: endpoint { + remote-endpoint = <&vga_con_in>; + }; + }; + }; +};