Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1424277ybh; Thu, 23 Jul 2020 08:34:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyH/m2cntP1Jd30zWpived2RAfOLgAavxOORhSbbP93kH3kSzfbAURwrd+LWwktayu8fWfQ X-Received: by 2002:a17:906:6499:: with SMTP id e25mr4853918ejm.352.1595518444119; Thu, 23 Jul 2020 08:34:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595518444; cv=none; d=google.com; s=arc-20160816; b=GJehUhnzIKWscBWAxGDfA7AcFBhZMnihdqGNkg2a95sqdglsMTNhNGxRBBHYLBGHy4 BAjTQ8KQnHNqle6SxBSsLLB5/t6xEfCx2pyz7zQHSV5uMjfv78CPguhQcxHVtHlixsV4 1yrmOq9T/7yuARVyG5BLpH+RamVnKG4/0o1ezoX7rggThFtW+YlJfqb7OO811rQjYvuz N3hBu/GsviUqjpUuXMWOyigPQPfCgCHna5dFeTqsBX5y56gwKoIEab4IRpGAWsh39PmD m22bbn+eMFwXfoYXZlQqD/U36+9eiQER8pby/xrsMgV4uiKM46GTTXIgaUTbomJps6Vd lEVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=LM6+liSSw+7zYWXhgHdp4eA8X4EaVz+GpXnsgH9vTZo=; b=Fc7+Pttym+dKyiIL+eTchiP97Es9ehDIWDwv9rwCYq9LWGzaJfRZFbyhnT7fRgoMpr zPs7SegiymFCd+zNG9Mm9xGRMmQbJdpfefXqcTWdZIi0t23iFRmqe0IrwWUmZQ3r8MNX iAaivau0bVDyXYjX6dwyVRrYAbNdaSWAVjllDuBEW8r2Y4QG5MnuRufHe7F81eFx0/4G NXR/OZ1ZlfeMXPZPRiyzeD4Y/afKUs2rmbErWlen3vUoMZneFjlxQJQo4dGFbvpryndL HynyNCsmAXubxPHcn+MxUptcUaojwUvwEgZL8JEQcXFjGlaqc266hIF1AfyZoyTVqUPL U+6Q== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b11si2298678ejg.42.2020.07.23.08.33.39; Thu, 23 Jul 2020 08:34:04 -0700 (PDT) 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; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728134AbgGWPdc (ORCPT + 99 others); Thu, 23 Jul 2020 11:33:32 -0400 Received: from mail-il1-f196.google.com ([209.85.166.196]:46159 "EHLO mail-il1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726761AbgGWPdb (ORCPT ); Thu, 23 Jul 2020 11:33:31 -0400 Received: by mail-il1-f196.google.com with SMTP id p15so4629557ilh.13; Thu, 23 Jul 2020 08:33:30 -0700 (PDT) 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; bh=LM6+liSSw+7zYWXhgHdp4eA8X4EaVz+GpXnsgH9vTZo=; b=bxlDAdqMteW4gGBMJ4aZ66nCrDKreTizhZsggh2ResBX2PP/+eQ/0tZBdVwGCF57TN rcqvtI8G1gZQW7NRItBRt+qV8IuQi6wh3hhZMaJ8++VYfe2MCj/TXpcwQK7UdPN92Nzz X9RMjIPHmSjUgpAM/yI01TYay2Q+4GiAuomgNmuqUBrdSKsk92AyCRmCBQcB/RRjxwLS PxY+A9dPyXFrJ800PQSrmUhvbZuI17Nz+bcwA9Pgh5mHG2WDMIus+TQM5he0+E+Zj57Z bGi4xg+0u3lqQai6e8u4Jcqo+m3wH33baUq47j50l3w5b+zEnq2Z8k8Qk+RiYZH5ik2a 6Aug== X-Gm-Message-State: AOAM531FBBWQ1uaUmwhrXcciioT785YgOKEC3vxRPMYySFsh1rLbMMwf X5SjS2zn8uynqnwfW1SB8b2zwlHB1w== X-Received: by 2002:a05:6e02:1253:: with SMTP id j19mr5586422ilq.145.1595518410158; Thu, 23 Jul 2020 08:33:30 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id j17sm1593887ilq.7.2020.07.23.08.33.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jul 2020 08:33:29 -0700 (PDT) Received: (nullmailer pid 412465 invoked by uid 1000); Thu, 23 Jul 2020 15:33:26 -0000 Date: Thu, 23 Jul 2020 09:33:26 -0600 From: Rob Herring To: Swapnil Jakhade Cc: airlied@linux.ie, daniel@ffwll.ch, Laurent.pinchart@ideasonboard.com, a.hajda@samsung.com, narmstrong@baylibre.com, jonas@kwiboo.se, jernej.skrabec@siol.net, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, mparab@cadence.com, yamonkar@cadence.com, tomi.valkeinen@ti.com, jsarha@ti.com, nsekhar@ti.com, praneeth@ti.com Subject: Re: [PATCH v7 1/3] dt-bindings: drm/bridge: Document Cadence MHDP bridge bindings Message-ID: <20200723153326.GA407329@bogus> References: <1595403640-12816-1-git-send-email-sjakhade@cadence.com> <1595403640-12816-2-git-send-email-sjakhade@cadence.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1595403640-12816-2-git-send-email-sjakhade@cadence.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 22, 2020 at 09:40:38AM +0200, Swapnil Jakhade wrote: > From: Yuti Amonkar > > Document the bindings used for the Cadence MHDP DPI/DP bridge in > yaml format. > > Signed-off-by: Yuti Amonkar > Signed-off-by: Swapnil Jakhade > Reviewed-by: Rob Herring > Reviewed-by: Laurent Pinchart > --- > .../bindings/display/bridge/cdns,mhdp.yaml | 127 ++++++++++++++++++ > 1 file changed, 127 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 000000000000..cdf5760d4ec5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp.yaml > @@ -0,0 +1,127 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%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 > + > + reg: > + minItems: 1 > + maxItems: 2 > + items: > + - description: > + Register block of mhdptx apb registers up to PHY mapped area (AUX_CONFIG_P). > + The AUX and PMA registers are not part of this range, they are instead > + included in the associated PHY. > + - 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 > + > + clocks: > + maxItems: 1 > + description: > + DP bridge clock, 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). > + > + phys: maxItems: 1 > + description: > + phandle to the DisplayPort PHY. > + > + 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' > + > +allOf: > + - if: > + properties: > + compatible: > + contains: > + const: ti,j721e-mhdp8546 > + then: > + properties: > + reg: > + minItems: 2 > + reg-names: > + minItems: 2 else: properties: reg: maxItems: 1 reg-names: maxItems: 1 > + > +required: > + - compatible > + - clocks > + - reg > + - reg-names > + - phys > + - ports > + > +additionalProperties: false > + > +examples: > + - | > + mhdp: dp-bridge@f0fb000000 { > + compatible = "cdns,mhdp8546"; > + reg = <0xf0 0xfb000000 0x0 0x1000000>; > + reg-names = "mhdptx"; > + clocks = <&mhdp_clock>; > + phys = <&dp_phy>; > + > + 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.26.1 >