devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kuogee Hsieh <quic_khsieh@quicinc.com>
To: Abhinav Kumar <quic_abhinavk@quicinc.com>,
	Stephen Boyd <swboyd@chromium.org>,
	Andy Gross <agross@kernel.org>,
	Bjorn Andersson <bjorn.andersson@linaro.org>,
	Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
	Konrad Dybcio <konrad.dybcio@somainline.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Rob Clark <robdclark@gmail.com>,
	"Rob Herring" <robh+dt@kernel.org>, Sean Paul <sean@poorly.run>
Cc: 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 1/9] dt-bindings: msm/dp: drop extra p1 region
Date: Fri, 8 Jul 2022 12:47:10 -0700	[thread overview]
Message-ID: <a7f2e673-a732-d06c-e17e-746cedf42c7a@quicinc.com> (raw)
In-Reply-To: <eb22ae44-b347-1566-939a-4ca840688f07@quicinc.com>


On 7/8/2022 12:38 PM, Abhinav Kumar wrote:
> + kuogee
>
> On 7/8/2022 12:27 PM, Stephen Boyd wrote:
>> Quoting Dmitry Baryshkov (2022-07-07 20:46:43)
>>> On 08/07/2022 04:28, Stephen Boyd wrote:
>>>> Quoting Dmitry Baryshkov (2022-07-07 14:31:56)
>>>>> The p1 region was probably added by mistake, none of the DTS files
>>>>> provides one (and the driver source code also doesn't use one). 
>>>>> Drop it
>>>>> now.
>>>>
>>>> Yes, looks like the driver doesn't use it.
>>>>
>>>>>
>>>>> Fixes: 687825c402f1 ("dt-bindings: msm/dp: Change reg definition")
>>>>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>>>>> ---
>>>>> Documentation/devicetree/bindings/display/msm/dp-controller.yaml | 
>>>>> 1 -
>>>>>    1 file changed, 1 deletion(-)
>>>>>
>>>>> diff --git 
>>>>> a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml 
>>>>> b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
>>>>> index 94bc6e1b6451..d6bbe58ef9e8 100644
>>>>> --- 
>>>>> a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
>>>>> +++ 
>>>>> b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
>>>>> @@ -29,7 +29,6 @@ properties:
>>>>>          - description: aux register block
>>>>>          - description: link register block
>>>>>          - description: p0 register block
>>>>> -      - description: p1 register block
>>>>
>>>> The p1 registers exist on sc7180. They start where the example starts,
>>>> at 0xae91400.
>>>
>>> Do they exist on e.g. sc7280? In other words, should we add the region
>>> to the DTS? For now I'm going to mark it as optional.
>>>
>>
>> Yes I see the same address for P1 on sc7280. Maybe it's a typo? Abhinav,
>> can you confirm?
>
> P1 block does exist on sc7280 and yes its address is same as the 
> address mentioned in sc7180. So its not a typo.
>
> Yes, we are not programming this today but I would prefer to keep this 
> as optional.
>
> I did sync up with Kuogee on this change this morning, we will check a 
> few things internally on the P1 block's usage as to which use-cases we 
> need to program it for and update here.
>
P1 block is for dp MST application.  This allow two dp streams can be 
mux into same DP phy.

We should keep it since we may support MST later.

> The idea behind having this register space listed in the yaml is thats 
> how the software documents have the blocks listed so dropping P1 block 
> just because its unused seemed wrong to me. Optional seems more 
> appropriate.
>
> Thanks
>
> Abhinav

  reply	other threads:[~2022-07-08 19:47 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-07 21:31 [PATCH 0/9] dt-bindings: msm/dp: cleanup Qualcomm DP and eDP bidndings Dmitry Baryshkov
2022-07-07 21:31 ` [PATCH 1/9] dt-bindings: msm/dp: drop extra p1 region Dmitry Baryshkov
2022-07-08  1:28   ` Stephen Boyd
2022-07-08  3:46     ` Dmitry Baryshkov
2022-07-08 19:27       ` Stephen Boyd
2022-07-08 19:38         ` Abhinav Kumar
2022-07-08 19:47           ` Kuogee Hsieh [this message]
2022-07-11  8:40             ` Dmitry Baryshkov
2022-07-08 19:51           ` Stephen Boyd
2022-07-08 19:58             ` Abhinav Kumar
2022-07-08 21:32   ` Rob Herring
2022-07-07 21:31 ` [PATCH 2/9] dt-bindings: msm/dp: bring back support for legacy DP reg property Dmitry Baryshkov
2022-07-08  1:29   ` Stephen Boyd
2022-07-08  3:56     ` Dmitry Baryshkov
2022-07-07 21:31 ` [PATCH 3/9] dt-bindings: msm/dp: mark vdda supplies as deprecated Dmitry Baryshkov
2022-07-07 21:31 ` [PATCH 4/9] dt-bindings: msm/dp: add missing properties Dmitry Baryshkov
2022-07-08  1:30   ` Stephen Boyd
2022-07-07 21:32 ` [PATCH 5/9] dt-bindings: msm/dp: account for clocks specific for qcom,sc7280-edp Dmitry Baryshkov
2022-07-08  1:32   ` Stephen Boyd
2022-07-08  3:59     ` Dmitry Baryshkov
2022-07-08 19:24       ` Stephen Boyd
2022-07-07 21:32 ` [PATCH 6/9] dt-bindings: msm/dp: handle DP vs eDP difference Dmitry Baryshkov
2022-07-08  1:33   ` Stephen Boyd
2022-07-07 21:32 ` [PATCH 7/9] arm64: dts: qcom: sc7180: drop #clock-cells from displayport-controller Dmitry Baryshkov
2022-07-08  1:34   ` Stephen Boyd
2022-07-07 21:32 ` [PATCH 8/9] arm64: dts: qcom: sc7280: " Dmitry Baryshkov
2022-07-08  1:34   ` Stephen Boyd
2022-07-07 21:32 ` [PATCH 9/9] arm64: dts: qcom: sc7280: drop address/size-cells from eDP node Dmitry Baryshkov
2022-07-08  1:34   ` Stephen Boyd

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=a7f2e673-a732-d06c-e17e-746cedf42c7a@quicinc.com \
    --to=quic_khsieh@quicinc.com \
    --cc=agross@kernel.org \
    --cc=airlied@linux.ie \
    --cc=bjorn.andersson@linaro.org \
    --cc=daniel@ffwll.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=freedreno@lists.freedesktop.org \
    --cc=konrad.dybcio@somainline.org \
    --cc=krzysztof.kozlowski+dt@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 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).