Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2701569ybh; Mon, 16 Mar 2020 08:08:06 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsPecKSSThzu3GcvkT8QoyZOUeVDwncIG6znx+wL4uAkF2GsvJTNVdJ3S+pMhDpS834EFmu X-Received: by 2002:a9d:798d:: with SMTP id h13mr23711320otm.25.1584371286820; Mon, 16 Mar 2020 08:08:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584371286; cv=none; d=google.com; s=arc-20160816; b=dfIQMpavpbnie23p01y5moI6OKfc060ytZ4IsjSttCI/wAUcggJ6zTY7AP4SuqV23n 6b7EB7srIBSRQ8xwQAU6LJBMywgaHqXuSydq+mxtvmGNS7qwNckKVmIBme/D3322U+O+ wbm04ST+2IJ2WonqomtlVhyKo+inr4OqAvQoYTCXFqLL5g1xVGuXsMweIstvQp49hzdm wY3jVKvlbp82PG40Qcll1i0eR6DS5dEKscRhCkcRJD+aMK5jz7g0RJoIabTkLWrQNEzr yuuVP0yxVPybVzBlUNllHXdNATOpaEBYjCO/6SVurk/Cblg2kY8I7sIYDboiwJBUGWm6 15Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=wWN4Dc96HBbX9TbqMBFSIyyJGmPGaLxS0BAy0DVm2TQ=; b=J4PynMHLq7zMNJDuOBCSvb/oikOSmHo/JeOb2jsre2arBNpdu7o567Oqm89PwjtoQk ABWwWDfWXil70Z/xQD3uSh71blhMLoGAg4Y5nJQhYcCzBplf0Di2V9CJWONAOFNZGyUH 0g2IsW6peEGRz/V0qUlicHVv6wUaZGzVZMfvR98LVcb4tME/lmbcSHJr992uf6uTJqYO qs2EpYV45JQF3YulSsN3UoABWUt3k8Iq9eRTIUGgwqMOhfUoawXVQ6NsFHlJTeuH4UHA J+/lB+ecjojgK6InOaetatmaaQrL7EZVNW/HUS2tIJuBeS3LLSmPIz1BI7hX0veSCpfV VzsQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t205si147571oib.49.2020.03.16.08.07.54; Mon, 16 Mar 2020 08:08:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731716AbgCPPF6 (ORCPT + 99 others); Mon, 16 Mar 2020 11:05:58 -0400 Received: from asavdk3.altibox.net ([109.247.116.14]:43744 "EHLO asavdk3.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731647AbgCPPF6 (ORCPT ); Mon, 16 Mar 2020 11:05:58 -0400 Received: from ravnborg.org (unknown [158.248.194.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk3.altibox.net (Postfix) with ESMTPS id AFEF32003B; Mon, 16 Mar 2020 16:05:50 +0100 (CET) Date: Mon, 16 Mar 2020 16:05:48 +0100 From: Sam Ravnborg To: Eugeniy Paltsev Cc: dri-devel@lists.freedesktop.org, Alexey Brodkin , devicetree@vger.kernel.org, David Airlie , linux-kernel@vger.kernel.org, Rob Herring , linux-snps-arc@lists.infradead.org Subject: Re: [PATCH 2/2] dt-bindings: Document the Synopsys ARC HDMI TX bindings Message-ID: <20200316150548.GA25294@ravnborg.org> References: <20200316144647.10416-1-Eugeniy.Paltsev@synopsys.com> <20200316144647.10416-3-Eugeniy.Paltsev@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200316144647.10416-3-Eugeniy.Paltsev@synopsys.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=eMA9ckh1 c=1 sm=1 tr=0 a=UWs3HLbX/2nnQ3s7vZ42gw==:117 a=UWs3HLbX/2nnQ3s7vZ42gw==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=jIQo8A4GAAAA:8 a=e5mUnYsNAAAA:8 a=M7aO59fNJ6i23PoMEtIA:9 a=OoSG_5CIhO75MOo9:21 a=GlqmvLfQ7YiL8mw-:21 a=CjuIK1q_8ugA:10 a=Lf5xNeLK5dgiOs8hzIjU:22 a=Vxmtnl_E_bksehYqCbjh:22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Eugeniy. On Mon, Mar 16, 2020 at 05:46:47PM +0300, Eugeniy Paltsev wrote: > This patch adds documentation of device tree bindings for the Synopsys > HDMI 2.0 TX encoder driver for ARC SoCs. > > Signed-off-by: Eugeniy Paltsev > --- > .../display/bridge/snps,arc-dw-hdmi.txt | 73 +++++++++++++++++++ New bindings in DT Schema format please (.yaml files). We are working on migrating all bindings to DT Schema format. Sam > 1 file changed, 73 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/bridge/snps,arc-dw-hdmi.txt > > diff --git a/Documentation/devicetree/bindings/display/bridge/snps,arc-dw-hdmi.txt b/Documentation/devicetree/bindings/display/bridge/snps,arc-dw-hdmi.txt > new file mode 100644 > index 000000000000..d5e006b392cc > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/snps,arc-dw-hdmi.txt > @@ -0,0 +1,73 @@ > +Synopsys DesignWare HDMI 2.0 TX encoder driver for ARC SoCs > +================================ > + > +The HDMI transmitter is a Synopsys DesignWare HDMI 2.0 TX controller IP > +with a companion of Synopsys DesignWare HDMI 2.0 TX PHY IP. > + > +These DT bindings follow the Synopsys DWC HDMI TX bindings defined in > +Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt > +with the following device-specific properties. > + > + > +Required properties: > + > +- compatible : Shall contain > + - "snps,dw-hdmi-hsdk" for HSDK4xD compatible HDMI TX > + > +- reg: See dw_hdmi.txt. > +- interrupts: HDMI interrupt number. > +- clocks: See dw_hdmi.txt. > +- clock-names: Must contain "iahb" and "isfr" as defined in dw_hdmi.txt. > +- ports: See dw_hdmi.txt. The DWC HDMI shall have one port numbered 0 > + corresponding to the video input of the controller and one port numbered 1 > + corresponding to its HDMI output. > + > +Example: > + > +hdmi: hdmi@0x10000 { > + compatible = "snps,dw-hdmi-hsdk"; > + reg = <0x10000 0x10000>; > + reg-io-width = <4>; > + interrupts = <14>; > + clocks = <&apbclk>, <&hdmi_pix_clk>; > + clock-names = "iahb", "isfr"; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + hdmi_enc_input: endpoint { > + remote-endpoint = <&pgu_output>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + hdmi_enc_out: endpoint { > + remote-endpoint = <&hdmi_con>; > + }; > + }; > + }; > +}; > + > +hdmi-out { > + ... > + > + port { > + hdmi_con: endpoint { > + remote-endpoint = <&hdmi_enc_out>; > + }; > + }; > +}; > + > +pgu { > + ... > + > + port_o: port { > + pgu_output: endpoint { > + remote-endpoint = <&hdmi_enc_input>; > + }; > + }; > +}; > -- > 2.21.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel