From patchwork Wed Jul 25 15:46:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 10544209 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 77B50139A for ; Wed, 25 Jul 2018 15:47:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 662542A508 for ; Wed, 25 Jul 2018 15:47:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5AC7B2A510; Wed, 25 Jul 2018 15:47:07 +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 F196C2A508 for ; Wed, 25 Jul 2018 15:47:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728568AbeGYQ7U (ORCPT ); Wed, 25 Jul 2018 12:59:20 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:50591 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728557AbeGYQ7U (ORCPT ); Wed, 25 Jul 2018 12:59:20 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180725154705euoutp021906dd87ae7c671b6b62ed64953c5b2e~EpzZ1qPtL0392203922euoutp02S; Wed, 25 Jul 2018 15:47:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180725154705euoutp021906dd87ae7c671b6b62ed64953c5b2e~EpzZ1qPtL0392203922euoutp02S DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1532533625; bh=naMMtgwl93iKhktvtaYjx+Sd3YyMEvZB5hqhgx4R/ko=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=FYTrN2n8lVmlu0RaeMF+8PIDE/o8EFJWZml72e2OkBBGKVBzZCQG3vhYrcEc7BL2Y tDW6HaFPTP+g5uvrTAAhfz5O6YxFoZHb8NhMH+ARSOFZVVoltuQIc+bWgl9A+GNYWJ RdSOsBWjaIpnjGe4oNQq00RnKX/MnbLMj/fLVb4A= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180725154704eucas1p167fa9fbd0985876875d681807fe04db5~EpzYwV9HW2317223172eucas1p1M; Wed, 25 Jul 2018 15:47:04 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 2D.40.05751.87B985B5; Wed, 25 Jul 2018 16:47:04 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180725154703eucas1p1602a2f9aecfa0acadd80524e2341dede~EpzX9KpGq1246612466eucas1p13; Wed, 25 Jul 2018 15:47:03 +0000 (GMT) X-AuditID: cbfec7f4-c2dff70000001677-b0-5b589b780d4d Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id DE.B1.04183.77B985B5; Wed, 25 Jul 2018 16:47:03 +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:03 +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 9/9] dt-bindings: exynos_dsim: update of graph bindings Date: Wed, 25 Jul 2018 17:46:44 +0200 Message-id: <20180725154644.25412-10-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+NgFjrNIsWRmVeSWpSXmKPExsWy7djP87oVsyOiDdqfsFvcWneO1aKp4y2r xcYZ61ktrnx9z2Yx6f4EFovz5zewW3ROXMJuMeP8PiaLBS9vsVisPXKX3aJ17xF2i5+75rE4 8Hhc7utl8tg56y67x+yOmawem1Z1snnc7z7O5NG3ZRWjx+dNcgHsUVw2Kak5mWWpRfp2CVwZ Zzo2sRVsE6mYclq+gfGMQBcjJ4eEgInEpFW/2LsYuTiEBFYwSsxpuMoGkhAS+Mwoseu3BkzR 37ev2CCKljFKnO09D+X8Z5RYuKmJBaSKTUBT4u/mm2DdIgKZEhsOLgQbyyzQwyyxavlSsISw gJfEmrOHwBpYBFQl9p6bxQ5i8wpYSiy59J4dYp28xMPj7YwgNidQ/Mr+Q2DbJAR2sEnsnNQE VMQB5LhI/PhSA1EvLPHq+BaoXhmJy5O7WSDseommmVeYIXo7GCVOLF7OBpGwljh8/CIriM0s wCcxadt0ZoiZvBIdbUIQJR4Sk7/cYIL4sodRYu7GpSwTGCUXMDKsYhRPLS3OTU8tNspLLdcr TswtLs1L10vOz93ECIzi0/+Of9nBuOtP0iFGAQ5GJR7ej3bh0UKsiWXFlbmHGCU4mJVEeF0O A4V4UxIrq1KL8uOLSnNSiw8xSnOwKInzSvtERAsJpCeWpGanphakFsFkmTg4pRoYi0z3eeb9 3Xfp08M4KQm2eraVmu92X6ut1+G2kJB1WXKHe23vrJ+ZNkE/uT0VD79f4+p/XbvTatGivd3f IqSeZlSWplekHr16+faMay5/+jMWtwUuinTOeWA+4yyv1BXuF8HhxrqTXsat3lwuc7BdIJHV 3OPfm9XFKjvadzkILmZ9dOT9rI7HSizFGYmGWsxFxYkAPfRnN94CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrJLMWRmVeSWpSXmKPExsVy+t/xa7rlsyOiDd7elba4te4cq0VTx1tW i40z1rNaXPn6ns1i0v0JLBbnz29gt+icuITdYsb5fUwWC17eYrFYe+Quu0Xr3iPsFj93zWNx 4PG43NfL5LFz1l12j9kdM1k9Nq3qZPO4332cyaNvyypGj8+b5ALYo7hsUlJzMstSi/TtErgy znRsYivYJlIx5bR8A+MZgS5GTg4JAROJv29fsXUxcnEICSxhlOjt+cEC4TQySXS1bmYCqWIT 0JT4u/kmG4gtIpApcWltKzOIzSzQxyyx4qAaiC0s4CWx5uwhFhCbRUBVYu+5WewgNq+ApcSS S+/ZIbbJSzw83s4IYnMCxa/sPwQ2U0jAQuLAxnVsExh5FjAyrGIUSS0tzk3PLTbSK07MLS7N S9dLzs/dxAgMwG3Hfm7Zwdj1LvgQowAHoxIP74WZEdFCrIllxZW5hxglOJiVRHhdDodHC/Gm JFZWpRblxxeV5qQWH2KU5mBREuc9b1AZJSSQnliSmp2aWpBaBJNl4uCUamBkm28ySzbk5ru3 BzKtv3B/Fb63e+fyPb8mh1Wv11ReHNJ9ZW1siGKwZ0hK+2ameete7du8t67rV0Oe98zj3yoC GbdX/BV3nJiUP9/nxAQn7Yx8q+L/Em9eRxvqvw25+u9ccfTB4qJ/wZvEl4synZ6xKCZRrTyc /ZuwdQnblct7zB7WyEz9X96kxFKckWioxVxUnAgAIIdtjjwCAAA= X-CMS-MailID: 20180725154703eucas1p1602a2f9aecfa0acadd80524e2341dede X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180725154703eucas1p1602a2f9aecfa0acadd80524e2341dede 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 Of-graph bindings should describe ports present in the device, not the devices it can be connected to. The patch replaces verbose description with shorter but more precise one. While at it clock related properties are moved to the main node as it is their actual location. Signed-off-by: Andrzej Hajda --- .../bindings/display/exynos/exynos_dsim.txt | 25 +++++-------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/Documentation/devicetree/bindings/display/exynos/exynos_dsim.txt b/Documentation/devicetree/bindings/display/exynos/exynos_dsim.txt index 2fff8b406f4c..be377786e8cd 100644 --- a/Documentation/devicetree/bindings/display/exynos/exynos_dsim.txt +++ b/Documentation/devicetree/bindings/display/exynos/exynos_dsim.txt @@ -21,6 +21,9 @@ Required properties: - samsung,pll-clock-frequency: specifies frequency of the oscillator clock - #address-cells, #size-cells: should be set respectively to <1> and <0> according to DSI host bindings (see MIPI DSI bindings [1]) + - samsung,burst-clock-frequency: specifies DSI frequency in high-speed burst + mode + - samsung,esc-clock-frequency: specifies DSI frequency in escape mode Optional properties: - power-domains: a phandle to DSIM power domain node @@ -29,25 +32,9 @@ Child nodes: Should contain DSI peripheral nodes (see MIPI DSI bindings [1]). Video interfaces: - Device node can contain video interface port nodes according to [2]. - The following are properties specific to those nodes: - - port node inbound: - - reg: (required) must be 0. - port node outbound: - - reg: (required) must be 1. - - endpoint node connected from mic node (reg = 0): - - remote-endpoint: specifies the endpoint in mic node. This node is required - for Exynos5433 mipi dsi. So mic can access to panel node - throughout this dsi node. - endpoint node connected to panel node (reg = 1): - - remote-endpoint: specifies the endpoint in panel node. This node is - required in all kinds of exynos mipi dsi to represent - the connection between mipi dsi and panel. - - samsung,burst-clock-frequency: specifies DSI frequency in high-speed burst - mode - - samsung,esc-clock-frequency: specifies DSI frequency in escape mode + Device node can contain following video interface port nodes according to [2]: + 0: RGB input, + 1: DSI output [1]: Documentation/devicetree/bindings/display/mipi-dsi-bus.txt [2]: Documentation/devicetree/bindings/media/video-interfaces.txt