Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4794457pxb; Mon, 15 Feb 2021 01:06:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJyMKpm8+rWCSEi51ah3NjO6IujRWMQG/sZZL3jph1rzJMRLLaStPlH9dpum2uPTexek5x1E X-Received: by 2002:aa7:c95a:: with SMTP id h26mr14716457edt.166.1613379998302; Mon, 15 Feb 2021 01:06:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613379998; cv=none; d=google.com; s=arc-20160816; b=GRID9MJbEDWum3ouZrB0K8/M9OhZNy8bx2WyQNPT259Q5M1BevN+g6Pqg5ze+On8AJ OHKZ+PA9zQVjXKkJjh8zqTyVwHWj5cwkZHu+HfwtZhhfM9DX54E893/kmkgytM0iTMVU +tfCBJveDoNw8LukOUu5UbD31toiaYYhM1csOuL3BySpgh2E3wI45EBz9S1h9ikZcKsw LqrNr5PsERKNpny2nQ6p6vrcCT2RUkrtorWV7UyY79ez8MfcD6Otp7VZR6C/qosy8f36 ZmKD8vxwKO8a8Z9gmixNPAgjvVIBMFan8VTwA+6NKkQO5Cbau66l5XpfTQWtVkZKJnPm yV8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :autocrypt:from:references:cc:to:subject:dkim-signature; bh=oxng+iLTqqX8u5ivqtnCjUwXLDUqWJ1hcpwFjRoA3VA=; b=g2CrepAx8WTYEOxoCK0Kd7ysGnQn9rRNmU+gv1CijVCu5vIC5h63P3D883tjw6Kk1N +PJtjYR3zclGus4Dozn4oS7Zz6yGmnl4C9r4NlMPprfeU9rF/F7N3T7paU68+a5oPZf0 h2ZyurerP/b8vvUFNljwuwtIWu3Cs3Zp+JeNp3cj+ynVPF16PJ9VC077b2Rz8T6vYWt3 I4y1vknPy//ojIrNNDCEtxdkRNj212f5Kr9N0a5UZ+YYTUhDe/buEMCmCnc7iUaAeHsO sdfqkArPgmCYonpqXJs7WfrgEIR56cuWUx4Nv0QntXl8m16I2pyMgzIBCoXyHy2POs0V i1Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=ac688awf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lm22si5951858ejb.670.2021.02.15.01.06.14; Mon, 15 Feb 2021 01:06:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=ac688awf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230042AbhBOJE7 (ORCPT + 99 others); Mon, 15 Feb 2021 04:04:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230054AbhBOJEA (ORCPT ); Mon, 15 Feb 2021 04:04:00 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D50EC061756 for ; Mon, 15 Feb 2021 01:02:56 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id n6so7934465wrv.8 for ; Mon, 15 Feb 2021 01:02:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:autocrypt:organization:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=oxng+iLTqqX8u5ivqtnCjUwXLDUqWJ1hcpwFjRoA3VA=; b=ac688awfA3FPRyNpqL3gz2V/rX+S8U5zTQRtMRo6icLd2KKc2Q0vJRIGoh9eutOswf Yrq3HZUkcs8iv8oiCGSfcXjYNE+/SNK8A9RMz72KvK/2uv7PvOxRBIXriw8ojqK43u5O MxFLuwhOzZFa2Asy6mJXPBHp5Ry+81qdM1G/uF//ca4CQU66Sm49He6efgMffWH2wzV9 d3F82w2n4q6TW+eYGN6j433Jb/E0RZAGD48o56/Rw42ewbPl30JJZz48qystNsggrNm3 c0w0cj1ZRzEJIcZw/paHy0IUgb+FAPWAJBBuhKOGGho/yYY5A2AAf4RKZ1pvK8CsDLBQ H99w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:autocrypt :organization:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=oxng+iLTqqX8u5ivqtnCjUwXLDUqWJ1hcpwFjRoA3VA=; b=pepx5O3RdD5aroBpJ0QTR5ZoDx+gfq25R++HPN6VGHCaPj+YUhCYAdttfsOwumqP1d NuAIevENhgb5/34gEPEvDjYhPZK+zkgqv9EYbvbouelAY+Xx+p2yl42j0VhRESFvPqix LKw/ACtAnJBNb7jxEqurBnZoyt0NcCYtDViHd7stdLptQUG4P0YXcOtfDiWNqkvRl+mY ao6e84jSVUT5iYjWJ6dXsXaU97SiRfMyj4AkLgr2o2bYcbcUv8BBGUKWs41Ulxkf1p63 trUFv1DPP4fr/pEnkpZLjNUxLVJjddWKQ78RXvR6jtG8eXSR80ofMWs0rz3cvdHYZEyL nQMg== X-Gm-Message-State: AOAM530MdvVrvlLJVxXjqX25ny+P9ElnIBRI0Hmt5s3OxBVsJSJRLET8 NcEqxTwxiAycg+NPygJGAA3Otw== X-Received: by 2002:a5d:4651:: with SMTP id j17mr17448450wrs.64.1613379774832; Mon, 15 Feb 2021 01:02:54 -0800 (PST) Received: from ?IPv6:2a01:e0a:90c:e290:3627:e500:c425:5f5c? ([2a01:e0a:90c:e290:3627:e500:c425:5f5c]) by smtp.gmail.com with ESMTPSA id t9sm18140381wrw.76.2021.02.15.01.02.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Feb 2021 01:02:54 -0800 (PST) Subject: Re: [PATCH v3 1/2] dt-bindings: display: bridge: Add bindings for SN65DSI83/84/85 To: Jagan Teki , Rob Herring , Andrzej Hajda , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Sam Ravnborg Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-amarula@amarulasolutions.com, Marek Vasut References: <20210214174453.104616-1-jagan@amarulasolutions.com> From: Neil Armstrong Autocrypt: addr=narmstrong@baylibre.com; prefer-encrypt=mutual; keydata= mQENBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAG0KE5laWwgQXJtc3Ryb25nIDxuYXJtc3Ryb25nQGJheWxpYnJlLmNvbT6JATsEEwEKACUC GyMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheABQJXDO2CAhkBAAoJEBaat7Gkz/iubGIH/iyk RqvgB62oKOFlgOTYCMkYpm2aAOZZLf6VKHKc7DoVwuU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p0WFTdRGgMK0cZB3Xfe6sOp24PQTHAKGtjTHNP/THomkH24Fum9K3iM /4Wh4V2eqGEgpdeSp5K+LdaNyNgaqzMOtt4HYk86LYLSHfFXywdlbGrY9+TqiJ+ZVW4trmui NIJCOku8SYansq34QzYM0x3UFRwff+45zNBEVzctSnremg1mVgrzOfXU8rt+4N1b2MxorPF8 619aCwVP7U16qNSBaqiAJr4e5SNEnoAq18+1Gp8QsFG0ARY8xp+qaKBByWES7lRi3QbqAKZf yOHS6gmYo9gBmuAhc65/VtHMJtxwjpUeN4Bcs9HUpDMDVHdfeRa73wM+wY5potfQ5zkSp0Jp bxnv/cRBH6+c43stTffprd//4Hgz+nJcCgZKtCYIAPkUxABC85ID2CidzbraErVACmRoizhT KR2OiqSLW2x4xdmSiFNcIWkWJB6Qdri0Fzs2dHe8etD1HYaht1ZhZ810s7QOL7JwypO8dscN KTEkyoTGn6cWj0CX+PeP4xp8AR8ot4d0BhtUY34UPzjE1/xyrQFAdnLd0PP4wXxdIUuRs0+n WLY9Aou/vC1LAdlaGsoTVzJ2gX4fkKQIWhX0WVk41BSFeDKQ3RQ2pnuzwedLO94Bf6X0G48O VsbXrP9BZ6snXyHfebPnno/te5XRqZTL9aJOytB/1iUna+1MAwBxGFPvqeEUUyT+gx1l3Acl ZaTUOEkgIor5losDrePdPgE= Organization: Baylibre Message-ID: <8330126a-b2f4-5991-a2fa-37776cb412d0@baylibre.com> Date: Mon, 15 Feb 2021 10:02:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210214174453.104616-1-jagan@amarulasolutions.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 14/02/2021 18:44, Jagan Teki wrote: > SN65DSI83/84/85 devices are MIPI DSI to LVDS based bridge > controller IC's from Texas Instruments. > > SN65DSI83 - Single Channel DSI to Single-link LVDS bridge > SN65DSI84 - Single Channel DSI to Dual-link LVDS bridge > SN65DSI85 - Dual Channel DSI to Dual-link LVDS bridge > > Right now the bridge driver is supporting Channel A with single > link, so dt-bindings documented according to it. Shouldn't it describe Dual-link LVDS already for SN65DSI84/85 and Dual Channel DSI for SN65DSI85 even if not implemented in the driver ? Neil > > Cc: Marek Vasut > Signed-off-by: Jagan Teki > --- > Changes for v3: > - fixed Rob comments > - updated commit message and file name to support all chip variants > Changes for v2: > - none > > .../bindings/display/bridge/ti,sn65dsi8x.yaml | 122 ++++++++++++++++++ > 1 file changed, 122 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/bridge/ti,sn65dsi8x.yaml > > diff --git a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi8x.yaml b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi8x.yaml > new file mode 100644 > index 000000000000..7f9f8cd6e786 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi8x.yaml > @@ -0,0 +1,122 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/bridge/ti,sn65dsi8x.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: TI SN65DSI83/84/85 MIPI DSI to LVDS bridge bindings > + > +maintainers: > + - Jagan Teki > + > +description: | > + SN65DSI83/84/85 devices are MIPI DSI to LVDS based bridge controller > + IC's from Texas Instruments. > + > + SN65DSI83 - Single Channel DSI to Single-link LVDS bridge > + SN65DSI84 - Single Channel DSI to Dual-link LVDS bridge > + SN65DSI85 - Dual Channel DSI to Dual-link LVDS bridge > + > + Bridge decodes MIPI DSI 18bpp RGB666 and 240bpp RG888 packets and > + converts the formatted video data stream to a FlatLink compatible > + LVDS output operating at pixel clocks operating from 25 MHx to > + 154 MHz. > + > +properties: > + compatible: > + enum: > + - ti,sn65dsi83 > + - ti,sn65dsi84 > + > + reg: > + const: 0x2c > + > + enable-gpios: > + maxItems: 1 > + description: GPIO specifier for bridge enable pin (active high). > + > + ports: > + $ref: /schemas/graph.yaml#/properties/ports > + > + properties: > + port@0: > + $ref: /schemas/graph.yaml#/properties/port > + description: | > + DSI Input. The remote endpoint phandle should be a > + reference to a valid mipi_dsi_host device node. > + > + port@1: > + $ref: /schemas/graph.yaml#/properties/port > + description: | > + Video port for LVDS output (panel or connector). > + > + required: > + - port@0 > + - port@1 > + > +required: > + - compatible > + - reg > + - enable-gpios > + - ports > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + dsi { > + #address-cells = <1>; > + #size-cells = <0>; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + dsi_in: endpoint { > + remote-endpoint = <<dc_ep0_out>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + dsi_out: endpoint { > + remote-endpoint = <&bridge_in>; > + data-lanes = <0 1>; > + }; > + }; > + }; > + }; > + > + i2c6 { > + #address-cells = <1>; > + #size-cells = <0>; > + > + bridge@2c { > + compatible = "ti,sn65dsi84"; > + reg = <0x2c>; > + enable-gpios = <&gpiof 15 GPIO_ACTIVE_HIGH>; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + bridge_in: endpoint { > + remote-endpoint = <&dsi_out>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + bridge_out: endpoint { > + remote-endpoint = <&panel_in_lvds>; > + }; > + }; > + }; > + }; > + }; >