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: 9471989 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 E008560476 for ; Tue, 13 Dec 2016 10:09:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6715284D8 for ; Tue, 13 Dec 2016 10:09:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A82E7284F3; Tue, 13 Dec 2016 10:09:59 +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 57D45284D8 for ; Tue, 13 Dec 2016 10:09:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C01FE6E555; Tue, 13 Dec 2016 10:09:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wj0-x234.google.com (mail-wj0-x234.google.com [IPv6:2a00:1450:400c:c01::234]) by gabe.freedesktop.org (Postfix) with ESMTPS id E81846E544 for ; Tue, 13 Dec 2016 10:09:34 +0000 (UTC) Received: by mail-wj0-x234.google.com with SMTP id tg4so95923851wjb.1 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=fRYzpbPWj9QoExrGcvbu7mnDbq/rqQuwRit5TbKu318Btn9Ogm6LqHNDAUVqFl1t18 Gbzq10xYy7hOdkNMnNczR5XLA/CgFM/oy7ezxRGpvArhzJNMwfeSMHvlmg8jCuqEJybK VQoXvUMz9zZIBT3c2LQ0+JrnOOWx+/Q6xxzMqbJNfVEZXBih8joK9TCxM1UmuenJbX8S +bHIVdRxTeU/Yy8+Yr+IFyrWnJKeK8csWG6QwJyiUTq/2FEoKyXh7PUVzZUSh6W8oEYb +UctGPCnuMIahbwpw+8Rmy9GkSnZmC3s/zPQr9l3bSTORHvKokY6ZSBg1igdzxtKFMrc QYvA== X-Gm-Message-State: AKaTC02qPWh6S3AzOqXvS4Cm9MiFcG8Bs8rloO+IDd0qP3kcMkggYW9jLTi20dY06CKdVAIv 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> 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 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>; + }; + }; + }; +};