Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2485771pxa; Mon, 24 Aug 2020 15:58:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3V85y0ix5ITyVYch83Vt2ozM3EAg7W3Dz2Azsh0JaV7mXcKZV5iEtILMa6a1z/fyJGIqq X-Received: by 2002:a17:906:c18d:: with SMTP id g13mr7518054ejz.239.1598309883096; Mon, 24 Aug 2020 15:58:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598309883; cv=none; d=google.com; s=arc-20160816; b=DJmlxHJFOH0Z4Fu8EhKIYM/tUZB9Fc6MHKpgOPnhp/3Ui5SEgybHjjBqB2n7ZtUhkS rr2aNe5+GflfYlDT+CxwoLEa2i3lawCMNrDZk2rOwvRp4MsPw8crxBTFrrdUsiJwS+Ap lhcBtngc/uOLGSc+8mzjUzV+0ndRCNtTN5isvjzFQhVLcXDkhAL6oWgnrTmQNC9rixm3 qWJxhyWHKGGDHULf9r7WJ7qu3Ako6OjiWWiwZOE59XLHSIk9pVaabktbLxymlTVbrsAK V/8Ip/2tjtPzJSSz3lpIFzHeUPzl7+Jl0xsv0TowDf0wCSJ0pnEmFC/ofjYQYhu2Sbug 4ZVg== 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=xVGE6rEY1RUDdQNh7SGiTq/hwvuBPw98UGPGdGtkR3s=; b=UfUodYcN04yYjvdJArXn7/TMVCY4EqPjQ54rzQl6uzlfhBR+M5oMTEpS+ikMsvP9M+ FUgLSI8n++Hs2k0nZQpX6ku+p945cL4IfeJrLCrpVo2UMlxbXUOMWNe1X1G2POwK0Rvu HjWSG5we4xleu+XQN+VTEjsJZDLMkcBAV74oXwNe0sy+9QmfRz4NXtwNJgJe8Np2T5NG ViFdKOpr3vwdRLxBVkyGr+iAwYLW5CZta1U9RpOq6lpyzoOs9VMvLsFfx9QSTeIRKEZe 31BLOLo/Z17GzAYwzXAcL07lEOhefrDxx/szl6d2nAkOYhMwVOV5lS/IeZVEAtVUmxo5 elLw== 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 i17si1337026ejz.186.2020.08.24.15.57.39; Mon, 24 Aug 2020 15:58:03 -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 S1728067AbgHXW5H (ORCPT + 99 others); Mon, 24 Aug 2020 18:57:07 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:37367 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726531AbgHXW5G (ORCPT ); Mon, 24 Aug 2020 18:57:06 -0400 Received: by mail-io1-f65.google.com with SMTP id b16so10533646ioj.4; Mon, 24 Aug 2020 15:57:04 -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=xVGE6rEY1RUDdQNh7SGiTq/hwvuBPw98UGPGdGtkR3s=; b=lQvqzcs3mkwd5VVG3w+U7rs2eFkOK8Vle0sjfYsOfa9VwJckgtOE5XMv2oIifCyMKv w/fOZJgu18iUo8waE5X+tQGOld9pzegHgDXl4jo3OJsFBU6VxVbcLG8Iwd1WraJjXf++ NYovcS0CtYqL+FKVLHutecS31xk/L/gdg1DksZYp0su5OjWTVDHn68+IQ/a37CMyzzWU mZ9dc8nWon+1H228Ovx1ttCpa3crUNH8vg4uYseiXYG9w0+igXYZvfh27/3msRXmgAg1 jq40fvQIx9awLG5f+YraZuOR8QWxj1sd+PduNKhuExdWWe8ICeDhrYQfnUnknLEyp+I6 vbJA== X-Gm-Message-State: AOAM530QWX/gXK+vILJxcypfRQzrJv+DY4NsJCX+0trptgbqjlSs6PTo PE/Y2v+xyMezCAHnV9uuWQ== X-Received: by 2002:a6b:6204:: with SMTP id f4mr6678058iog.56.1598309824569; Mon, 24 Aug 2020 15:57:04 -0700 (PDT) Received: from xps15 ([64.188.179.249]) by smtp.gmail.com with ESMTPSA id i11sm7909593ilr.47.2020.08.24.15.57.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Aug 2020 15:57:03 -0700 (PDT) Received: (nullmailer pid 3486301 invoked by uid 1000); Mon, 24 Aug 2020 22:57:02 -0000 Date: Mon, 24 Aug 2020 16:57:02 -0600 From: Rob Herring 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, robdclark@gmail.com, seanpaul@chromium.org, hoegsberg@chromium.org, kalyan_t@codeaurora.org, nganji@codeaurora.org Subject: Re: [PATCH 1/2] dt-bindings: msm: disp: add yaml schemas for DPU and DSI bindings Message-ID: <20200824225702.GA3460018@bogus> References: <1597066683-6044-1-git-send-email-mkrishn@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1597066683-6044-1-git-send-email-mkrishn@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 10, 2020 at 07:08:02PM +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 > > Changes in v2: > - Changed dpu to DPU (Sam Ravnborg) > - Fixed indentation issues (Sam Ravnborg) > - Added empty line between different properties (Sam Ravnborg) > - Replaced reference txt files with their corresponding > yaml files (Sam Ravnborg) > - Modified the file to use "|" only when it is > necessary (Sam Ravnborg) > > Changes in v3: > - Corrected the license used (Rob Herring) > - Added maxItems for properties (Rob Herring) > - Dropped generic descriptions (Rob Herring) > - Added ranges property (Rob Herring) > - Corrected the indendation (Rob Herring) > - Added additionalProperties (Rob Herring) > - Split dsi file into two, one for dsi controller > and another one for dsi phy per target (Rob Herring) > - Corrected description for pinctrl-names (Rob Herring) > - Corrected the examples used in yaml file (Rob Herring) > - Delete dsi.txt and dpu.txt (Rob Herring) > > Changes in v4: > - Move schema up by one level (Rob Herring) > - Add patternProperties for mdp node (Rob Herring) > - Corrected description of some properties (Rob Herring) > > Changes in v5: > - Correct the indentation (Rob Herring) > - Remove unnecessary description from properties (Rob Herring) > - Correct the number of interconnect entries (Rob Herring) > - Add interconnect names for sc7180 (Rob Herring) > - Add description for ports (Rob Herring) > - Remove common properties (Rob Herring) > - Add unevalutatedProperties (Rob Herring) > - Reference existing dsi controller yaml in the common > dsi controller file (Rob Herring) > - Correct the description of clock names to include only the > clocks that are required (Rob Herring) > - Remove properties which are already covered under the common > binding (Rob Herring) > - Add dsi phy supply nodes which are required for sc7180 and > sdm845 targets (Rob Herring) > - Add type ref for syscon-sfpb (Rob Herring) > > Changes in v6: > - Fixed errors during dt_binding_check (Rob Herring) > - Add maxItems for phys and phys-names (Rob Herring) > - Use unevaluatedProperties wherever required (Rob Herring) > - Removed interrupt controller from required properties for > dsi controller (Rob Herring) > - Add constraints for dsi-phy reg-names based on the compatible > phy version (Rob Herring) > - Add constraints for dsi-phy supply nodes based on the > compatible phy version (Rob Herring) > > Changes in v7: > - Add default value for qcom,mdss-mdp-transfer-time-us (Rob Herring) > - Modify the schema for data-lanes (Rob Herring) > - Split the phy schema into separate schemas based on > the phy version (Rob Herring) > > Changes in v8: > - Resolve merge conflicts with latest dsi.txt file > - Include dp yaml change also in the same series I'm done reviewing this because I'm tired of repeating myself and you're just throwing crap at the wall and seeing what sticks. Get someone else working on QCom stuff to review because I'm done until someone I know and trust reviews it. > --- > .../bindings/display/msm/dpu-sc7180.yaml | 236 +++++++++++++++++++ > .../bindings/display/msm/dpu-sdm845.yaml | 216 ++++++++++++++++++ > .../devicetree/bindings/display/msm/dpu.txt | 141 ------------ > .../display/msm/dsi-common-controller.yaml | 249 +++++++++++++++++++++ > .../display/msm/dsi-controller-sc7180.yaml | 120 ++++++++++ > .../display/msm/dsi-controller-sdm845.yaml | 120 ++++++++++ Once again, what's the difference between dsi-controller-sc7180.yaml and dsi-controller-sdm845.yaml? I don't see one. If there's not a difference, why do we have msm/dsi-common-controller.yaml? If there is a difference dsi-controller-sc7180.yaml and dsi-controller-sdm845.yaml should *only* have what's different because msm/dsi-common-controller.yaml should have everything that is the same. > .../bindings/display/msm/dsi-phy-10nm.yaml | 62 +++++ > .../bindings/display/msm/dsi-phy-14nm.yaml | 62 +++++ > .../bindings/display/msm/dsi-phy-20nm.yaml | 66 ++++++ > .../bindings/display/msm/dsi-phy-28nm.yaml | 62 +++++ > .../bindings/display/msm/dsi-phy-sc7180.yaml | 80 +++++++ > .../bindings/display/msm/dsi-phy-sdm845.yaml | 82 +++++++ > .../devicetree/bindings/display/msm/dsi.txt | 247 -------------------- > 13 files changed, 1355 insertions(+), 388 deletions(-) > create mode 100644 Documentation/devicetree/bindings/display/msm/dpu-sc7180.yaml > create mode 100644 Documentation/devicetree/bindings/display/msm/dpu-sdm845.yaml > delete mode 100644 Documentation/devicetree/bindings/display/msm/dpu.txt > create mode 100644 Documentation/devicetree/bindings/display/msm/dsi-common-controller.yaml > create mode 100644 Documentation/devicetree/bindings/display/msm/dsi-controller-sc7180.yaml > create mode 100644 Documentation/devicetree/bindings/display/msm/dsi-controller-sdm845.yaml > create mode 100644 Documentation/devicetree/bindings/display/msm/dsi-phy-10nm.yaml > create mode 100644 Documentation/devicetree/bindings/display/msm/dsi-phy-14nm.yaml > create mode 100644 Documentation/devicetree/bindings/display/msm/dsi-phy-20nm.yaml > create mode 100644 Documentation/devicetree/bindings/display/msm/dsi-phy-28nm.yaml > create mode 100644 Documentation/devicetree/bindings/display/msm/dsi-phy-sc7180.yaml > create mode 100644 Documentation/devicetree/bindings/display/msm/dsi-phy-sdm845.yaml > delete mode 100644 Documentation/devicetree/bindings/display/msm/dsi.txt