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: 9470715 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 27231607D6 for ; Mon, 12 Dec 2016 13:06:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2639528491 for ; Mon, 12 Dec 2016 13:06:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1ADD72849E; Mon, 12 Dec 2016 13:06:23 +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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 98DA628496 for ; Mon, 12 Dec 2016 13:06:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A56606E342; Mon, 12 Dec 2016 13:06:20 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wj0-x235.google.com (mail-wj0-x235.google.com [IPv6:2a00:1450:400c:c01::235]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6D4696E2CD for ; Mon, 12 Dec 2016 13:05:53 +0000 (UTC) Received: by mail-wj0-x235.google.com with SMTP id tk12so71245843wjb.3 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=aVMRDA02ZEsU9dHZgW/eBXWeFW1BGO+HkAGe/5bPVX40a0dhwsb9Qd04UQjE6Dx3kZ 4GqsIIDVxMGVLYpPLqbPiaUj8pcUOsNuf8o9MNZeA8nWnJsG9fS5xmpl3A1wCPS5+Z+u G4nrrfD+i/4YZPiytVvipcK7wGpbSR0FQsCrFy89/I/baW5Yk1w4DBzk3hpqH21RrJ2j 8+isNuDOTA0brLLBKJkXzPX34Q2+L919xpWM1Nu5/wBBsQS+3waeFrzB0qbGPL3j34dU M0dw6xc0L8SAap5MRKsdZYocxC6LOEOkKtQpHLNjNUhB4ySFvofk3rJZP8KfZwZoByww 9QPQ== X-Gm-Message-State: AKaTC01UEaM0ctccrRo4E/fb2KRHFUk3B2ucC9c6CIFx5UmI31LbRsCxv0nkzK6JV97y4NdN 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> Cc: linux-devicetree , linux-drm , LKML , arm-soc , Bartosz Golaszewski X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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>; + }; + }; + }; +};