From patchwork Wed Jul 25 15:46:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 10544197 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DEC589093 for ; Wed, 25 Jul 2018 15:47:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE9312A508 for ; Wed, 25 Jul 2018 15:47:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C266C2A510; Wed, 25 Jul 2018 15:47:04 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 59D222A50F for ; Wed, 25 Jul 2018 15:47:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728612AbeGYQ7R (ORCPT ); Wed, 25 Jul 2018 12:59:17 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:50570 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728557AbeGYQ7R (ORCPT ); Wed, 25 Jul 2018 12:59:17 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180725154702euoutp02a7f86bb73cb4888c0164366f85e28f96~EpzW4Xy340353903539euoutp02g; Wed, 25 Jul 2018 15:47:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180725154702euoutp02a7f86bb73cb4888c0164366f85e28f96~EpzW4Xy340353903539euoutp02g DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1532533622; bh=7AvimsPQ6cOZfNhmwsjMJKCjQgRM0ICuV5XuiWtspGo=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=jtF2J5CAvAmYXbM09TqC+9twyP62Z47ytSDrvF0+8Z7UxoZSVZe5XEbw9CsJz2Q6h v2jURgIX7UAYcTK9VlZ3okknVLJ1SNV5h9oRCKmPyePcYm6doT0/CaW04vcnJX3AdI zeiGR4SZiD6mU2q3dw4SRLe3oxuGs7B1mGZH9UOQ= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180725154701eucas1p2bca4715d8675653bf10043f7b85bebea~EpzWVRtGX1189511895eucas1p2C; Wed, 25 Jul 2018 15:47:01 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id EA.40.05751.57B985B5; Wed, 25 Jul 2018 16:47:01 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180725154700eucas1p148d715003b77bc3686e25ebd22a3e57a~EpzVcN2KC1465114651eucas1p1f; Wed, 25 Jul 2018 15:47:00 +0000 (GMT) X-AuditID: cbfec7f4-c2dff70000001677-a8-5b589b7598d5 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 7B.B1.04183.47B985B5; Wed, 25 Jul 2018 16:47:00 +0100 (BST) Received: from AMDC2768.DIGITAL.local ([106.120.43.17]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PCF00M07IIAVC60@eusync4.samsung.com>; Wed, 25 Jul 2018 16:47:00 +0100 (BST) From: Andrzej Hajda To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org, Inki Dae Cc: Andrzej Hajda , Bartlomiej Zolnierkiewicz , Marek Szyprowski , Maciej Purski , Rob Herring , Thierry Reding , Krzysztof Kozlowski , Archit Taneja , Laurent Pinchart Subject: [PATCH v5 4/9] dt-bindings: tc358754: add DT bindings Date: Wed, 25 Jul 2018 17:46:39 +0200 Message-id: <20180725154644.25412-5-a.hajda@samsung.com> X-Mailer: git-send-email 2.18.0 In-reply-to: <20180725154644.25412-1-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFIsWRmVeSWpSXmKPExsWy7djPc7qlsyOiDS79k7O4te4cq0VTx1tW i40z1rNaXPn6ns1i0v0JLBbnz29gt+icuITdYsb5fUwWC17eYrFYe+Quu0Xr3iPsFj93zWNx 4PG43NfL5LFz1l12j9kdM1k9Nq3qZPO4332cyaNvyypGj8+b5ALYo7hsUlJzMstSi/TtErgy 5qzdx1xwhK/i0FmLBsYOni5GTg4JAROJV1s6mboYuTiEBFYwSrx9eZAZwvnMKNHx5gcLTNW7 HzNZIBLLGCWOdT+CavnPKHHu5VomkCo2AU2Jv5tvsoHYIgKZEhsOLmQHKWIW6GGWWLV8KVhC WMBOYnHjEzCbRUBVYs3VZsYuRg4OXgELiQnrkyG2yUs8PN7OCGJzClhKXNl/iA1kjoTAFjaJ U5c/sEMUuUj8mbUZ6jxhiVfHt0DFZSQuT+6GitdLNM28wgzR3MEocWLxcjaIhLXE4eMXWUFs ZgE+iUnbpjODHCEhwCvR0SYEYXpIXPooAFIhJNDDKLFoGvMERskFjAyrGMVTS4tz01OLjfJS y/WKE3OLS/PS9ZLzczcxAmP49L/jX3Yw7vqTdIhRgINRiYf3o114tBBrYllxZe4hRgkOZiUR XpfDQCHelMTKqtSi/Pii0pzU4kOM0hwsSuK80j4R0UIC6YklqdmpqQWpRTBZJg5OqQbGaMnH ZYedpk9xPuaXw31PwV14lqrQjNQ5LoUz+wydJq7ZOinDxsd6hkH64m0PL/xy+l4QLvkr6ALv 9U2cnAKdj2P2fC8r3aI9NUDSNKaAZY+DsPsy7h6eY+UtCuuncsz6vvfbtafLQwLrGr5Y+7hO iE+12lMUdP74hTtKlzn3JrJMkWPs2+ysxFKckWioxVxUnAgAXfDMTd0CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrBLMWRmVeSWpSXmKPExsVy+t/xa7olsyOiDe4dMLC4te4cq0VTx1tW i40z1rNaXPn6ns1i0v0JLBbnz29gt+icuITdYsb5fUwWC17eYrFYe+Quu0Xr3iPsFj93zWNx 4PG43NfL5LFz1l12j9kdM1k9Nq3qZPO4332cyaNvyypGj8+b5ALYo7hsUlJzMstSi/TtErgy 5qzdx1xwhK/i0FmLBsYOni5GTg4JAROJdz9msnQxcnEICSxhlHi+fysbhNPIJHF0/TdmkCo2 AU2Jv5tvsoHYIgKZEpfWtoLFmQX6mCVWHFQDsYUF7CQWNz4Bq2ERUJVYc7WZsYuRg4NXwEJi wvpkiGXyEg+PtzOC2JwClhJX9h8CKxcCKjmwcR3bBEaeBYwMqxhFUkuLc9Nzi430ihNzi0vz 0vWS83M3MQLDb9uxn1t2MHa9Cz7EKMDBqMTDe2FmRLQQa2JZcWXuIUYJDmYlEV6Xw+HRQrwp iZVVqUX58UWlOanFhxilOViUxHnPG1RGCQmkJ5akZqemFqQWwWSZODilGhj1u95ERz8KkJZ7 03FojdmqSTM8a1c2hOqq2jYqmegHVbu/9Tnn3sV3PTS49dYRfubuI0ur7WZK/L5ZM+Hc5W9f o9w3cSlxpZo+9/BV7fysc73rp/Hd1p6gIP25VwRV0zskDE8+fWv4NGWyx++OSpF9FgcKu705 eEQ6nbIYjcvFVSs550+5pMRSnJFoqMVcVJwIADTqmGY7AgAA X-CMS-MailID: 20180725154700eucas1p148d715003b77bc3686e25ebd22a3e57a X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180725154700eucas1p148d715003b77bc3686e25ebd22a3e57a References: <20180725154644.25412-1-a.hajda@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The patch adds bindings to Toshiba DSI/LVDS bridge TC358764. Bindings describe power supplies, reset gpio and video interfaces. Signed-off-by: Andrzej Hajda Signed-off-by: Maciej Purski Reviewed-by: Rob Herring --- .../display/bridge/toshiba,tc358764.txt | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/toshiba,tc358764.txt diff --git a/Documentation/devicetree/bindings/display/bridge/toshiba,tc358764.txt b/Documentation/devicetree/bindings/display/bridge/toshiba,tc358764.txt new file mode 100644 index 000000000000..8f9abf28a8fa --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/toshiba,tc358764.txt @@ -0,0 +1,35 @@ +TC358764 MIPI-DSI to LVDS panel bridge + +Required properties: + - compatible: "toshiba,tc358764" + - reg: the virtual channel number of a DSI peripheral + - vddc-supply: core voltage supply, 1.2V + - vddio-supply: I/O voltage supply, 1.8V or 3.3V + - vddlvds-supply: LVDS1/2 voltage supply, 3.3V + - reset-gpios: a GPIO spec for the reset pin + +The device node can contain following 'port' child nodes, +according to the OF graph bindings defined in [1]: + 0: DSI Input, not required, if the bridge is DSI controlled + 1: LVDS Output, mandatory + +[1]: Documentation/devicetree/bindings/media/video-interfaces.txt + +Example: + + bridge@0 { + reg = <0>; + compatible = "toshiba,tc358764"; + vddc-supply = <&vcc_1v2_reg>; + vddio-supply = <&vcc_1v8_reg>; + vddlvds-supply = <&vcc_3v3_reg>; + reset-gpios = <&gpd1 6 GPIO_ACTIVE_LOW>; + #address-cells = <1>; + #size-cells = <0>; + port@1 { + reg = <1>; + lvds_ep: endpoint { + remote-endpoint = <&panel_ep>; + }; + }; + };