From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <bjorn.andersson@linaro.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 2/4] dt-bindings: display/msm/gpu: document using the amd,imageon adreno too
Date: Wed, 6 Jul 2022 19:00:51 +0300 [thread overview]
Message-ID: <c6c06a9e-8b06-cb15-ae81-07053bbf80a7@linaro.org> (raw)
In-Reply-To: <088c1863-ad44-61b6-8757-bc3097369335@linaro.org>
On 06/07/2022 18:50, Krzysztof Kozlowski wrote:
> On 06/07/2022 16:52, Dmitry Baryshkov wrote:
>> The DT binding desribes using amd,imageon only for Imageon 2xx GPUs. We
>> have been using amd,imageon with newer (Adreno) GPUs to describe the
>> headless setup, when the platform does not (yet) have the display DT
>
> Does not have "yet"? So later it will have and you drop a compatible?
Yes. For example see the arch/arm64/boot/dts/qcom/8150.dtsi, which
currently has only GPU node. Once we add MDSS/DPU/DSI/etc. nodes, we are
going to drop the compat string.
>
>> nodes (and no display support). Document this trick in the schema.
>>
>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>> ---
>> Documentation/devicetree/bindings/display/msm/gpu.yaml | 6 ++++++
>> 1 file changed, 6 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/display/msm/gpu.yaml b/Documentation/devicetree/bindings/display/msm/gpu.yaml
>> index 346aabdccf7b..e006da95462c 100644
>> --- a/Documentation/devicetree/bindings/display/msm/gpu.yaml
>> +++ b/Documentation/devicetree/bindings/display/msm/gpu.yaml
>> @@ -16,9 +16,13 @@ properties:
>> - description: |
>> The driver is parsing the compat string for Adreno to
>> figure out the gpu-id and patch level.
>> + Optional amd,imageon compatibility string enables using Adreno
>> + without the display node.
>> items:
>> - pattern: '^qcom,adreno-[3-6][0-9][0-9]\.[0-9]$'
>> - const: qcom,adreno
>> + - const: amd,imageon
>> + minItems: 2
>
> This is too unspecific. You allow any device to be and not to be
> compatible with amd,imageon.
Yes, this is expected (kind of). Would you have any
alternatives/suggestions?
>
>> - description: |
>> The driver is parsing the compat string for Imageon to
>> figure out the gpu-id and patch level.
>> @@ -148,6 +152,8 @@ allOf:
>> description: GPU 3D engine clock
>> - const: rbbmtimer
>> description: GPU RBBM Timer for Adreno 5xx series
>> + - const: rbcpr
>> + description: GPU RB CPR clock
>> minItems: 2
>> maxItems: 7
>
> Do 8 items work with maxItems:7?
You would have guessed, yes, they do.
--
With best wishes
Dmitry
next prev parent reply other threads:[~2022-07-06 16:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-06 14:52 [PATCH 0/4] dt-bindings: display/msm: schema fixes for gpu, gmu and mdp4 Dmitry Baryshkov
2022-07-06 14:52 ` [PATCH 1/4] dt-bindings: display/msm/gpu: allow specifying several IOMMU nodes Dmitry Baryshkov
2022-07-06 15:46 ` Krzysztof Kozlowski
2022-07-06 14:52 ` [PATCH 2/4] dt-bindings: display/msm/gpu: document using the amd,imageon adreno too Dmitry Baryshkov
2022-07-06 15:50 ` Krzysztof Kozlowski
2022-07-06 16:00 ` Dmitry Baryshkov [this message]
2022-07-06 16:19 ` Krzysztof Kozlowski
2022-07-06 16:58 ` Dmitry Baryshkov
2022-07-06 14:52 ` [PATCH 3/4] dt-bindings: display/msm/gmu: account for different GMU variants Dmitry Baryshkov
2022-07-06 15:52 ` Krzysztof Kozlowski
2022-08-22 17:58 ` Dmitry Baryshkov
2022-08-23 10:26 ` Krzysztof Kozlowski
2022-07-06 14:52 ` [PATCH 4/4] dt-bindings: display/msm/mdp4: require 4 IOMMUs Dmitry Baryshkov
2022-07-06 15:53 ` 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=c6c06a9e-8b06-cb15-ae81-07053bbf80a7@linaro.org \
--to=dmitry.baryshkov@linaro.org \
--cc=agross@kernel.org \
--cc=airlied@linux.ie \
--cc=bjorn.andersson@linaro.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 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).