devicetree.vger.kernel.org archive mirror
 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@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2 1/4] dt-bindings: display/msm: add core clock to the mdss bindings
Date: Mon, 9 Jan 2023 12:51:13 +0200	[thread overview]
Message-ID: <5a58eabc-08ba-57da-290d-b432f3f99268@linaro.org> (raw)
In-Reply-To: <3414e686-9f8d-a29d-6cc1-f073b70a9f1c@linaro.org>

On 09/01/2023 12:35, Krzysztof Kozlowski wrote:
> On 09/01/2023 01:52, Dmitry Baryshkov wrote:
>> Add (optional) core clock to the mdss bindings to let the MDSS driver
>> access harware registers before MDP driver probes.
>>
>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>> ---
>>   .../bindings/display/msm/qcom,mdss.yaml       | 34 ++++++++++++++-----
>>   1 file changed, 26 insertions(+), 8 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml b/Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml
>> index ba0460268731..0647fc5a7d94 100644
>> --- a/Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml
>> +++ b/Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml
>> @@ -45,17 +45,11 @@ properties:
>>   
>>     clocks:
>>       minItems: 1
>> -    items:
>> -      - description: Display abh clock
>> -      - description: Display axi clock
> 
> Not related to this patch, but it is a bit surprising to see AXI clock
> optional.

Hmm, There is one defined downstream. Probably we should fix that (but 
yes, it's a separate issue).

>> -      - description: Display vsync clock
>> +    maxItems: 4
>>   
>>     clock-names:
>>       minItems: 1
>> -    items:
>> -      - const: iface
>> -      - const: bus
>> -      - const: vsync
>> +    maxItems: 4
>>   
>>     "#address-cells":
>>       const: 1
>> @@ -69,6 +63,30 @@ properties:
>>       items:
>>         - description: MDSS_CORE reset
>>   
>> +oneOf:
>> +  - properties:
>> +      clocks:
>> +        minItems: 3
>> +        maxItems: 4
>> +
>> +      clock-names:
>> +        minItems: 3
>> +        items:
>> +          - const: iface
>> +          - const: bus
> 
> BTW, sc7180-mdss uses here ahb name and calls it "AHB clock from dispcc".
> 
> SM8250 won't match here either. Maybe this should be reworked to specify
> limits here but not the names and actual clocks? IOW, drop entire oneOf?

SC7180 and SM8250 use platform-specific bindings (qcom,sc7180-mdss.yaml 
and qcom,sm8250-mdss.yaml). This file is used only for older platforms 
(msm8916, msm8996, etc).

> 
> There were a lot, a lot of changes to MDSS/DPU bindings recently, so I
> am really loosing track what is done where and when.
> 
> There are also few separate patchsets from you on the lists. Could they
> be combined into one cleanup?

Ack, I'll merge them into a single patchset.

> I understand that sometimes new cleanup is needed after old cleanup
> finished (I had the same with pinctrl), so it is not a complain.
> 
> Another problem (and this time I complain) is that several of your
> patchsets were sent, discussed and then without any notice applied. No
> message that a patchset was applied to some tree. Look:
> 
> https://lore.kernel.org/all/20221124001708.25720-2-a39.skl@gmail.com/
> https://lore.kernel.org/all/09ed16e1-4af2-8fce-dab4-f6c0f09e688c@linaro.org/
> 
> Nothing. Silent application. If you are the maintainer which picks up
> the patch, please always, always send message that they are applied.
> Patchwork does it automatically, b4 can do it easily as well. If you use
> other tools - use other tools for sending it. Otherwise things are
> discussed on mailing lists, receive several comments and there is never
> a resubmit but instead they show in the tree.

Unfortunately freedreno uses patchwork-fdo, which doesn't send 
notifications. And the fdo fork is not supported by b4. I checked what 
would be necessary to enable support in b4. Unfortunately several API 
changes would be necessary. So this is a long process. But we are open 
to any suggestions on how to improve the process. Currently all three 
maintainers (Rob, Abhinav and me) keep the patch status in the 
patchwork, but that's all.

-- 
With best wishes
Dmitry


  reply	other threads:[~2023-01-09 10:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-09  0:52 [PATCH v2 0/4] drm/msm/mdss: enable access to hw_rev from MDSS driver Dmitry Baryshkov
2023-01-09  0:52 ` [PATCH v2 1/4] dt-bindings: display/msm: add core clock to the mdss bindings Dmitry Baryshkov
2023-01-09 10:35   ` Krzysztof Kozlowski
2023-01-09 10:51     ` Dmitry Baryshkov [this message]
2023-01-09 11:20       ` Krzysztof Kozlowski
2023-01-09 12:06         ` Dmitry Baryshkov
2023-01-09 12:28       ` Dmitry Baryshkov
2023-01-09 14:30   ` Rob Herring
2023-01-09  0:52 ` [PATCH v2 2/4] drm/msm/mdss: enable optional core clock for MDP5 MDSS Dmitry Baryshkov
2023-01-09  0:52 ` [PATCH v2 3/4] drm/msm/mdss: check for core clk before accessing HW_REV Dmitry Baryshkov
2023-01-09  0:52 ` [PATCH v2 4/4] drm/msm/mdss: move is_mdp5 condition to msm_mdss_init Dmitry Baryshkov

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=5a58eabc-08ba-57da-290d-b432f3f99268@linaro.org \
    --to=dmitry.baryshkov@linaro.org \
    --cc=agross@kernel.org \
    --cc=andersson@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=robh+dt@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).