All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	Andy Gross <agross@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konrad.dybcio@somainline.org>,
	Rob Clark <robdclark@gmail.com>, Sean Paul <sean@poorly.run>,
	Abhinav Kumar <quic_abhinavk@quicinc.com>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: Stephen Boyd <swboyd@chromium.org>,
	David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org
Subject: Re: [PATCH v7 05/12] dt-bindings: display/msm: move common MDSS properties to mdss-common.yaml
Date: Thu, 22 Sep 2022 14:46:51 +0300	[thread overview]
Message-ID: <168a46c3-2c0e-cd5c-e6f1-1e072c67d162@linaro.org> (raw)
In-Reply-To: <02b60bf8-70ac-eb7b-33d7-1c9b7a6f0a54@linaro.org>

On 22/09/2022 10:04, Krzysztof Kozlowski wrote:
> On 15/09/2022 15:37, Dmitry Baryshkov wrote:
>> Move properties common to all MDSS DT nodes to the mdss-common.yaml.
>>
>> This extends qcom,msm8998-mdss schema to allow interconnect nodes, which
>> will be added later, once msm8998 gains interconnect support.
>>
>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>> ---
> 
> (...)
> 
>> -  "#interrupt-cells":
>> -    const: 1
>> -
>>     iommus:
>> -    items:
>> -      - description: Phandle to apps_smmu node with SID mask for Hard-Fail port0
>> -      - description: Phandle to apps_smmu node with SID mask for Hard-Fail port1
>> -
>> -  ranges: true
>> +    maxItems: 2
>>   
>>     interconnects:
>> -    items:
>> -      - description: Interconnect path from mdp0 port to the data bus
>> -      - description: Interconnect path from mdp1 port to the data bus
>> +    maxItems: 2
> 
> I think this is not equivalent now, because you have in total minItems:1
> and maxItems:2, while in past minItems was 2.

This means that I should have minItems:2, maxItems:2, which, if I got it 
right, is frowned upon. Let me doublecheck though if it works as expected.

> 
> The same might apply to iommus. clocks look good.

-- 
With best wishes
Dmitry


WARNING: multiple messages have this Message-ID (diff)
From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	Andy Gross <agross@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konrad.dybcio@somainline.org>,
	Rob Clark <robdclark@gmail.com>, Sean Paul <sean@poorly.run>,
	Abhinav Kumar <quic_abhinavk@quicinc.com>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: devicetree@vger.kernel.org, David Airlie <airlied@linux.ie>,
	linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
	Stephen Boyd <swboyd@chromium.org>,
	freedreno@lists.freedesktop.org
Subject: Re: [PATCH v7 05/12] dt-bindings: display/msm: move common MDSS properties to mdss-common.yaml
Date: Thu, 22 Sep 2022 14:46:51 +0300	[thread overview]
Message-ID: <168a46c3-2c0e-cd5c-e6f1-1e072c67d162@linaro.org> (raw)
In-Reply-To: <02b60bf8-70ac-eb7b-33d7-1c9b7a6f0a54@linaro.org>

On 22/09/2022 10:04, Krzysztof Kozlowski wrote:
> On 15/09/2022 15:37, Dmitry Baryshkov wrote:
>> Move properties common to all MDSS DT nodes to the mdss-common.yaml.
>>
>> This extends qcom,msm8998-mdss schema to allow interconnect nodes, which
>> will be added later, once msm8998 gains interconnect support.
>>
>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>> ---
> 
> (...)
> 
>> -  "#interrupt-cells":
>> -    const: 1
>> -
>>     iommus:
>> -    items:
>> -      - description: Phandle to apps_smmu node with SID mask for Hard-Fail port0
>> -      - description: Phandle to apps_smmu node with SID mask for Hard-Fail port1
>> -
>> -  ranges: true
>> +    maxItems: 2
>>   
>>     interconnects:
>> -    items:
>> -      - description: Interconnect path from mdp0 port to the data bus
>> -      - description: Interconnect path from mdp1 port to the data bus
>> +    maxItems: 2
> 
> I think this is not equivalent now, because you have in total minItems:1
> and maxItems:2, while in past minItems was 2.

This means that I should have minItems:2, maxItems:2, which, if I got it 
right, is frowned upon. Let me doublecheck though if it works as expected.

> 
> The same might apply to iommus. clocks look good.

-- 
With best wishes
Dmitry


  reply	other threads:[~2022-09-22 11:47 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-15 13:37 [PATCH v7 00/12] dt-bindings: display/msm: rework MDSS and DPU bindings Dmitry Baryshkov
2022-09-15 13:37 ` Dmitry Baryshkov
2022-09-15 13:37 ` [PATCH v7 01/12] dt-bindings: display/msm: split qcom,mdss bindings Dmitry Baryshkov
2022-09-15 13:37   ` Dmitry Baryshkov
2022-09-15 13:37 ` [PATCH v7 02/12] dt-bindings: display/msm: add gcc-bus clock to dpu-smd845 Dmitry Baryshkov
2022-09-15 13:37   ` Dmitry Baryshkov
2022-09-15 13:37 ` [PATCH v7 03/12] dt-bindings: display/msm: add interconnects property to qcom,mdss-smd845 Dmitry Baryshkov
2022-09-15 13:37   ` [PATCH v7 03/12] dt-bindings: display/msm: add interconnects property to qcom, mdss-smd845 Dmitry Baryshkov
2022-09-22  7:00   ` [PATCH v7 03/12] dt-bindings: display/msm: add interconnects property to qcom,mdss-smd845 Krzysztof Kozlowski
2022-09-22  7:00     ` Krzysztof Kozlowski
2022-09-15 13:37 ` [PATCH v7 04/12] dt-bindings: display/msm: move common DPU properties to dpu-common.yaml Dmitry Baryshkov
2022-09-15 13:37   ` Dmitry Baryshkov
2022-09-22  7:02   ` Krzysztof Kozlowski
2022-09-22  7:02     ` Krzysztof Kozlowski
2022-09-22  7:50     ` Dmitry Baryshkov
2022-09-22  7:50       ` Dmitry Baryshkov
2022-09-22 11:41       ` Krzysztof Kozlowski
2022-09-22 11:41         ` Krzysztof Kozlowski
2022-09-15 13:37 ` [PATCH v7 05/12] dt-bindings: display/msm: move common MDSS properties to mdss-common.yaml Dmitry Baryshkov
2022-09-15 13:37   ` Dmitry Baryshkov
2022-09-22  7:04   ` Krzysztof Kozlowski
2022-09-22  7:04     ` Krzysztof Kozlowski
2022-09-22 11:46     ` Dmitry Baryshkov [this message]
2022-09-22 11:46       ` Dmitry Baryshkov
2022-09-22 12:28       ` Krzysztof Kozlowski
2022-09-22 12:28         ` Krzysztof Kozlowski
2022-09-23 20:32         ` Dmitry Baryshkov
2022-09-23 20:32           ` Dmitry Baryshkov
2022-10-03  7:55           ` Krzysztof Kozlowski
2022-10-03  7:55             ` Krzysztof Kozlowski
2022-09-22  7:05   ` Krzysztof Kozlowski
2022-09-22  7:05     ` Krzysztof Kozlowski
2022-09-22  7:53     ` Dmitry Baryshkov
2022-09-22  7:53       ` Dmitry Baryshkov
2022-09-22 11:43       ` Krzysztof Kozlowski
2022-09-22 11:43         ` Krzysztof Kozlowski
2022-09-22 11:47         ` Dmitry Baryshkov
2022-09-22 11:47           ` Dmitry Baryshkov
2022-09-22 12:27           ` Krzysztof Kozlowski
2022-09-22 12:27             ` Krzysztof Kozlowski
2022-09-15 13:37 ` [PATCH v7 06/12] dt-bindings: display/msm: split dpu-sc7180 into DPU and MDSS parts Dmitry Baryshkov
2022-09-15 13:37   ` Dmitry Baryshkov
2022-09-22  7:08   ` Krzysztof Kozlowski
2022-09-22  7:08     ` Krzysztof Kozlowski
2022-09-22 10:30     ` Dmitry Baryshkov
2022-09-22 10:30       ` Dmitry Baryshkov
2022-09-22 12:19       ` Krzysztof Kozlowski
2022-09-22 12:19         ` Krzysztof Kozlowski
2022-09-15 13:37 ` [PATCH v7 07/12] dt-bindings: display/msm: split dpu-sc7280 " Dmitry Baryshkov
2022-09-15 13:37   ` Dmitry Baryshkov
2022-09-15 13:37 ` [PATCH v7 08/12] dt-bindings: display/msm: split dpu-sdm845 " Dmitry Baryshkov
2022-09-15 13:37   ` Dmitry Baryshkov
2022-09-15 13:37 ` [PATCH v7 09/12] dt-bindings: display/msm: split dpu-msm8998 " Dmitry Baryshkov
2022-09-15 13:37   ` Dmitry Baryshkov
2022-09-15 13:37 ` [PATCH v7 10/12] dt-bindings: display/msm: split dpu-qcm2290 " Dmitry Baryshkov
2022-09-15 13:37   ` Dmitry Baryshkov
2022-09-15 13:37 ` [PATCH v7 11/12] dt-bindings: display/msm: add missing device nodes to mdss-* schemas Dmitry Baryshkov
2022-09-15 13:37   ` Dmitry Baryshkov
2022-09-22  7:09   ` Krzysztof Kozlowski
2022-09-22  7:09     ` Krzysztof Kozlowski
2022-09-15 13:37 ` [PATCH v7 12/12] dt-bindings: display/msm: add support for the display on SM8250 Dmitry Baryshkov
2022-09-15 13:37   ` Dmitry Baryshkov
2022-09-22  7:10   ` Krzysztof Kozlowski
2022-09-22  7:10     ` Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=168a46c3-2c0e-cd5c-e6f1-1e072c67d162@linaro.org \
    --to=dmitry.baryshkov@linaro.org \
    --cc=agross@kernel.org \
    --cc=airlied@linux.ie \
    --cc=andersson@kernel.org \
    --cc=daniel@ffwll.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=freedreno@lists.freedesktop.org \
    --cc=konrad.dybcio@somainline.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=quic_abhinavk@quicinc.com \
    --cc=robdclark@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=sean@poorly.run \
    --cc=swboyd@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.