Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp509249ybh; Sat, 7 Mar 2020 03:44:03 -0800 (PST) X-Google-Smtp-Source: ADFU+vtLuXgXNYgBUibaZ6orRi2l/EceaBdKy2vOd3s77BMqw9Dn5UppyPwnzV0XqSryERQEQvk6 X-Received: by 2002:a9d:68ce:: with SMTP id i14mr6366744oto.233.1583581443388; Sat, 07 Mar 2020 03:44:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583581443; cv=none; d=google.com; s=arc-20160816; b=bxRHvJqys9QsLg1/0r7gv5iZkqy2BBr+vefP+RnVxInNYUsahVLMIR38bCVAuirj5R zuEGrVdpGOdmQUaVlRql4SHGo7TtU9+Q5JK5UsWRBJ4epDh2cAAfrhBFGF3Pawh5e20M jH/Bt3//hP29evyG4+NY346H/MVBDM94Uh1B1R3KQAacb8n+FO6854eOJo7LUUeH4nHe bDYCv19b9egoPNFGSQN0EgvaTbfeym7M8UaIpvjlRoDSWy2BzSRJ1FUjZqBROP1h8uGG YeV29GA4F8HLDdLoHotucUWOnWHcnM9dvAVrF+5/q6sSGlSl42tKXcX0XNWdio1lfmen DojA== 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=3KuhJnYmgpyAuPt64KWwYWW24X0rOS1RIpdEJC863uY=; b=XOgBs6P1zxo/T9IhCYZWBWUWpMlOwKnh9m1JENZx0+f3+oLl32ElFfyDy7lTfHYMlq qVSegrEDXVrxLGlBNKxkrXvb5aFLJ1AhdZrC2IEH/iAUtvrGlFSJSJ3pnTTEoF8ckO0Q hEPnYpMC9DRUN0HGHdDDdpJLY76w/vxbYdhQ4/cT1ryp3bOXRFOmOWwJfAwExx8Dk/nI 11UyelGaobm53N9zk+ELs6RBy58n6J9ZQY1D03yKZIAGEdNsX51cOlC0m2aFEUzg7gNF LKr+A1Mut07jWAyU9f6d4tKUgjpDlyD2sYVyNhW7HdVouUXcDtmnJVVHgI2nQsnm8pfG f6LA== 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 e24si1096682oii.259.2020.03.07.03.43.41; Sat, 07 Mar 2020 03:44:03 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726382AbgCGLlA (ORCPT + 99 others); Sat, 7 Mar 2020 06:41:00 -0500 Received: from asavdk3.altibox.net ([109.247.116.14]:35686 "EHLO asavdk3.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726283AbgCGLk7 (ORCPT ); Sat, 7 Mar 2020 06:40:59 -0500 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 CFB902002D; Sat, 7 Mar 2020 12:40:55 +0100 (CET) Date: Sat, 7 Mar 2020 12:40:54 +0100 From: Sam Ravnborg To: Krishna Manikandan Cc: dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, seanpaul@chromium.org, kalyan_t@codeaurora.org, hoegsberg@chromium.org Subject: Re: [v1] dt-bindings: msm: disp: add yaml schemas for DPU and DSI bindings Message-ID: <20200307114054.GA564@ravnborg.org> References: <1583494560-25336-1-git-send-email-mkrishn@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1583494560-25336-1-git-send-email-mkrishn@codeaurora.org> 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=LpQP-O61AAAA:8 a=gEfo2CItAAAA:8 a=nY4iuGU7CXqHoBgY49wA:9 a=UqWAcN0MMYTXwVMZ:21 a=A81lDmqo7XWCXIhH:21 a=CjuIK1q_8ugA:10 a=pioyyrs4ZptJ924tMmac:22 a=sptkURWiP4Gy88Gu7hUp:22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Krishna. Thanks for these bindings files. On Fri, Mar 06, 2020 at 05:06:00PM +0530, Krishna Manikandan wrote: > MSM Mobile Display Subsytem(MDSS) encapsulates sub-blocks > like DPU display controller, DSI etc. Add YAML schema > for the device tree bindings for the same. > > Signed-off-by: Krishna Manikandan > --- > .../bindings/display/msm/dpu-sc7180.yaml | 269 +++++++++++++++ > .../bindings/display/msm/dpu-sdm845.yaml | 265 +++++++++++++++ > .../bindings/display/msm/dsi-sc7180.yaml | 369 +++++++++++++++++++++ > .../bindings/display/msm/dsi-sdm845.yaml | 369 +++++++++++++++++++++ > 4 files changed, 1272 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/msm/dpu-sc7180.yaml > create mode 100644 Documentation/devicetree/bindings/display/msm/dpu-sdm845.yaml > create mode 100644 Documentation/devicetree/bindings/display/msm/dsi-sc7180.yaml > create mode 100644 Documentation/devicetree/bindings/display/msm/dsi-sdm845.yaml > > diff --git a/Documentation/devicetree/bindings/display/msm/dpu-sc7180.yaml b/Documentation/devicetree/bindings/display/msm/dpu-sc7180.yaml > new file mode 100644 > index 0000000..3d1d9b8 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/msm/dpu-sc7180.yaml > @@ -0,0 +1,269 @@ > +# SPDX-License-Identifier: GPL-2.0-only > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/msm/dpu-sc7180.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Description of Qualcomm Display Dpu dt properties. Try to be cossistent in capitilization of Dpu versus DPU > + > +maintainers: > + - Krishna Manikandan > + > +description: | > + Device tree bindings for MSM Mobile Display Subsytem(MDSS) that encapsulates > + sub-blocks like DPU display controller, DSI and DP interfaces etc. Device tree > + bindings of MDSS and DPU are mentioned for SC7180 target. Bindings should use an indent of two spaces. This is what is used in the example schema and the de-facto standard. One space indent makes it very hard to follow the indent. For examples the indent varies. From 2 spaces to 8 spaces. I often use 4 spaces as 2 spaces is not enough when it spans several lines. But there is nothing fixed there. > + > +properties: > + "mdss": > + type: object > + description: | > + Node containing MDSS that encapsulated sub-blocks like DPU, DSI and DP > + interfaces. > + > + properties: > + compatible: > + items: > + - const: qcom,sc7180-mdss > + reg: > + description: | > + Physical base address and length of controller's registers. Add empty line between properties (empty line before reg:). > + > + reg-names: > + description: | > + Names for different register regions defined above. The required region > + is mentioned below. > + items: > + - const: mdss > + > + power-domains: > + description: | > + A power domain consumer specifier according to > + Documentation/devicetree/bindings/power/power_domain.txt. Should this be power-domain.yaml? > + > + clocks: > + description: | > + List of clock specifiers for clocks needed by the device. Do not use "|" unless required. Fine to have text on same line as description: . Sam