From patchwork Mon Dec 12 13:05:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 9470727 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 C410360760 for ; Mon, 12 Dec 2016 13:08:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C417728426 for ; Mon, 12 Dec 2016 13:08:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B8F9028494; Mon, 12 Dec 2016 13:08:13 +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 577BB28426 for ; Mon, 12 Dec 2016 13:08:13 +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 1cGQJc-00015S-PD; Mon, 12 Dec 2016 13:06:48 +0000 Received: from mail-wj0-x22e.google.com ([2a00:1450:400c:c01::22e]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cGQJ4-0000uN-74 for linux-arm-kernel@lists.infradead.org; Mon, 12 Dec 2016 13:06:15 +0000 Received: by mail-wj0-x22e.google.com with SMTP id v7so71269387wjy.2 for ; Mon, 12 Dec 2016 05:05:53 -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=n6mu7UsNigeU0TCZcvLTCUTd7R+CB/OWlOq4Tb1mdpQ=; b=Ulm19qce/CCB0BXCHmz0SwSAEggqrMlBIncQm5TDjCSaE9sT5LKRoRMdEcO/oqjImx As0Vyu2DLB6CQIEvKIuEe9DbH+KgAzwt3+yVgwFw+V5WIQhgauL30bgRsXaY2fs/SUKs dHZ0UsMyPXofjOhuevQa9XUS5L7T3dn9+8Y7OeUnyHP04PVUs2TS1UjTxom8JbKfgKSe zmZdI7l+k4FeSjCV0xVC/tTl3ViQm+rm9kz30tcgedE/A+mCil15AwzDt3PfUxj/xIYt 42QoyEjzxf5lofvblvkcuSN8NZoDcx0T3ndAQzSB+KcNalojWoc5f3pEGQOWiyTJBIPF MJRA== 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=n6mu7UsNigeU0TCZcvLTCUTd7R+CB/OWlOq4Tb1mdpQ=; b=bcAfTuo6ZZDtd6iBzTUMAmYR0noc7eBgFaqEzNXSwfDlsgQrxCBrTO2OqpZ2Hwp2h3 zXetOCi2sg/0Meyt3+gIjIKfvtG1FtoDcTrBI0as9IbB/tB1eYpdL4/DkaNgFRQb8MxS bTbo1fpS1Pb9syjK5pi0ue/FK6XGEiZVaVUqScMvBx4W3eeb4DSB1t22mGt7n2X+AKqm rn1abTj/e8Lw9S2ANK+4A+DuxMs9UOAadlu0uk5p0aPm43CKOBNOHVWPvy8l8u97Th83 cHv6NgzqATG8JKTFqdR0qvRh6IweyDocNHDz9HorZE0sII1TbMpvBKVdpWhMYZc3g4K1 z7Wg== X-Gm-Message-State: AKaTC00hQuScx4mI9+Wzw2tz1rD7nBuFbHKzA17naQD5gtn8sdZu32NxDXkPbzU4c/GjXrfI X-Received: by 10.194.71.69 with SMTP id s5mr79979936wju.197.1481547951785; Mon, 12 Dec 2016 05:05:51 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id a13sm35512620wma.18.2016.12.12.05.05.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Dec 2016 05:05:51 -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 Subject: [PATCH v6 2/5] drm: bridge: add DT bindings for TI ths8135 Date: Mon, 12 Dec 2016 14:05:39 +0100 Message-Id: <1481547942-24775-3-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1481547942-24775-1-git-send-email-bgolaszewski@baylibre.com> References: <1481547942-24775-1-git-send-email-bgolaszewski@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161212_050614_530949_C13D0187 X-CRM114-Status: GOOD ( 12.51 ) 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 --- .../bindings/display/bridge/ti,ths8135.txt | 52 ++++++++++++++++++++++ 1 file changed, 52 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..87aff90 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/ti,ths8135.txt @@ -0,0 +1,52 @@ +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 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + vga_bridge_in: endpoint { + reg = <0>; + remote-endpoint = <&lcdc_out_vga>; + }; + }; + + port@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + + vga_bridge_out: endpoint { + reg = <0>; + remote-endpoint = <&vga_con_in>; + }; + }; + }; +};