Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp19957131ybl; Sat, 4 Jan 2020 13:30:19 -0800 (PST) X-Google-Smtp-Source: APXvYqyf5deW13W9jpjos2d5RFD/ATdQA7x6BkxFUknABY464I9+xxBQuRBbSTQcwRaEYjxgxYqx X-Received: by 2002:a9d:6481:: with SMTP id g1mr108915451otl.180.1578173419722; Sat, 04 Jan 2020 13:30:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578173419; cv=none; d=google.com; s=arc-20160816; b=Vjpcpms6WS698/IJ1BJE8gU+gfXP6qx94WuK9AoLaljI+12socLVNOasFyZOvVqHSm 7wm3gblYX9qPbCAXXElx39qhlYIAsbwMjiok/mduhft8+c339qgDD6po/O2I43YqIb2D kmDP4KQtv+bUlTvHaVzPILE7/yS/NH7RL6gcGiX9wSkwcNc5/8VVEPql8IouRrF9/Pj4 tJGZOXQaLYuVLVXkzDKa9HkmprcrxStVIqtBIv+J1Wd7ktw8lC3rly+gn6MMcknBkMV7 fs8Frx/vAsk9XisOIwZRPijFdNcrWukx+26C+4xF18x41G46vV4gNDhZjGA9+9S7L+Iv CokA== 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=acrY0+kOQM/iuVtgKfbOatR4QIHvs7UJPcpx6jaaklw=; b=i8GEYUEt/J377uJk+QwhGEplboZRcyI9CLcH/pFqU7R1xytGZZkqCuLlwaVg1GH8hQ THdtKqhoXkgGjq5IBnU4xvYABfpsgCT2oNj3iALYXk/eIG9JSR/H32+NnWrDn8Wppey7 MTEKBYc8sYN+jxLbh6Yl0hFTq8QBGYMdOtTBRAaTx0n/2is7TxXHVODU2sIIN3OJgEDG mgD8tdMQkqvhmV55qD4SqsDAYMMEmUhle388UskqMuz4sEVnc3YhZrR6VWrHA88lXrQf CNLEhr7i7wDRVTmFh8qjCrZBAUxrxJVgroFisOqRWskAhSJEitdgdN53yH1i2tpG67dB fo4Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l84si29854953oig.5.2020.01.04.13.30.06; Sat, 04 Jan 2020 13:30:19 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726260AbgADV3Q (ORCPT + 99 others); Sat, 4 Jan 2020 16:29:16 -0500 Received: from mail-il1-f193.google.com ([209.85.166.193]:40670 "EHLO mail-il1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726135AbgADV3Q (ORCPT ); Sat, 4 Jan 2020 16:29:16 -0500 Received: by mail-il1-f193.google.com with SMTP id c4so39407077ilo.7 for ; Sat, 04 Jan 2020 13:29:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=acrY0+kOQM/iuVtgKfbOatR4QIHvs7UJPcpx6jaaklw=; b=kdyI50HQpV254cjvSbysCKD0AgpF1CHZjMQFTqZTkpu5mjO6uBE6LKPx3o9w2ziQWD An7gyRFLhNdn479v9tNxdmzUe85v11h10H7j8ypz08Pg/kgrRwHNbhE68m6FYZscarUC VdUstacAe/kqNd93O0iUKXkzKE/Fm5BUpjVmaFRFTOYvExIiZjddmwnxGHcX8GmOKwvE gXM+lgdJZi2zc7IR2SilP/7j8R09iMA4izNVKXO2jLrC/PEQZAdrOt0YmYXR0MdSYl1W rLvDW8gcUH2SC8u2IMv1/3ZlhusyrdMJEDf+P2Z4xlJoQmWrK6nAMZ2ZgTE9F5U6GpJz t/tw== X-Gm-Message-State: APjAAAVVUaBizLMGRC0yaFaipqEiByjpRlS7VjccVXQd4nwWbMZcXPND Y6aYtFLCQkNOiLPjJGmsho00apk= X-Received: by 2002:a92:9184:: with SMTP id e4mr83753244ill.70.1578173355396; Sat, 04 Jan 2020 13:29:15 -0800 (PST) Received: from rob-hp-laptop ([64.188.179.251]) by smtp.gmail.com with ESMTPSA id t17sm22317120ilb.29.2020.01.04.13.29.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Jan 2020 13:29:14 -0800 (PST) Received: from rob (uid 1000) (envelope-from rob@rob-hp-laptop) id 2219b7 by rob-hp-laptop (DragonFly Mail Agent v0.11); Sat, 04 Jan 2020 14:29:13 -0700 Date: Sat, 4 Jan 2020 14:29:13 -0700 From: Rob Herring To: Yuti Amonkar Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, maxime@cerno.tech, airlied@linux.ie, daniel@ffwll.ch, mark.rutland@arm.com, a.hajda@samsung.com, narmstrong@baylibre.com, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@siol.net, praneeth@ti.com, jsarha@ti.com, tomi.valkeinen@ti.com, mparab@cadence.com, sjakhade@cadence.com Subject: Re: [PATCH v2 1/3] dt-bindings: drm/bridge: Document Cadence MHDP bridge bindings in yaml format Message-ID: <20200104212913.GA12151@bogus> References: <1577114202-15970-1-git-send-email-yamonkar@cadence.com> <1577114202-15970-2-git-send-email-yamonkar@cadence.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1577114202-15970-2-git-send-email-yamonkar@cadence.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 23, 2019 at 04:16:40PM +0100, Yuti Amonkar wrote: > Document the bindings used for the Cadence MHDP DPI/DP bridge in > yaml format. > > Signed-off-by: Yuti Amonkar > --- > .../bindings/display/bridge/cdns,mhdp.yaml | 109 +++++++++++++++++++++ > 1 file changed, 109 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp.yaml > > diff --git a/Documentation/devicetree/bindings/display/bridge/cdns,mhdp.yaml b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp.yaml > new file mode 100644 > index 0000000..aed6224 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp.yaml > @@ -0,0 +1,109 @@ > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/display/bridge/cdns,mhdp.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > + > +title: Cadence MHDP bridge > + > +maintainers: > + - Swapnil Jakhade > + - Yuti Amonkar > + > +properties: > + compatible: > + enum: > + - cdns,mhdp8546 > + - ti,j721e-mhdp8546 > + > + clocks: > + maxItems: 1 > + description: > + DP bridge clock, it's used by the IP to know how to translate a number of > + clock cycles into a time (which is used to comply with DP standard timings > + and delays). > + > + reg: > + minItems: 1 > + maxItems: 2 > + items: > + - description: > + Register block of mhdptx apb registers upto PHY mapped area(AUX_CONFIG_P). > + The AUX and PMA registers are mapped to associated phy driver. > + - description: > + Register block for DSS_EDP0_INTG_CFG_VP registers in case of TI J7 SoCs. > + > + reg-names: > + minItems: 1 > + maxItems: 2 > + items: > + - const: mhdptx > + - const: j721e-intg > + > + phys: > + description: see the Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml > + > + phy-names: > + const: dpphy > + > + ports: > + type: object > + description: > + Ports as described in Documentation/devicetree/bindings/graph.txt > + properties: > + '#address-cells': > + const: 1 > + '#size-cells': > + const: 0 > + port@0: type: object > + description: > + input port representing the DP bridge input > + > + port@1: type: object > + description: > + output port representing the DP bridge output > + required: > + - port@0 > + - port@1 > + - '#address-cells' > + - '#size-cells' > + > +required: > + - compatible > + - clocks > + - reg > + - phys > + - phy-names > + - ports > + > +additionalProperties: false > + > +examples: > + - | > + mhdp: dp-bridge@f0fb000000 { > + compatible = "cdns,mhdp8546"; > + reg = <0xf0 0xfb000000 0x0 0x1000000>, > + <0xf0 0xfc000000 0x0 0x2000000>; > + clocks = <&mhdp_clock>; > + phys = <&dp_phy>; > + phy-names = "dpphy"; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + dp_bridge_input: endpoint { > + remote-endpoint = <&xxx_dpi_output>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + dp_bridge_output: endpoint { > + remote-endpoint = <&xxx_dp_connector_input>; > + }; > + }; > + }; > + }; > +... > -- > 2.7.4 >