From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: neil.armstrong@linaro.org,
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
Rob Clark <robdclark@gmail.com>,
Abhinav Kumar <quic_abhinavk@quicinc.com>,
Sean Paul <sean@poorly.run>, David Airlie <airlied@gmail.com>,
Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Kuogee Hsieh <quic_khsieh@quicinc.com>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>
Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
freedreno@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 1/5] dt-bindings: display: msm: dp-controller: document SM8450 compatible
Date: Sat, 11 Feb 2023 12:38:26 +0100 [thread overview]
Message-ID: <bde0a2fd-b1e4-61bd-2cca-a1d1c60570bd@linaro.org> (raw)
In-Reply-To: <b16921bb-409e-3591-d5fb-69212ef4e192@linaro.org>
On 10/02/2023 16:27, Neil Armstrong wrote:
> On 10/02/2023 16:16, Dmitry Baryshkov wrote:
>> On 10/02/2023 16:44, Neil Armstrong wrote:
>>> The SM8450 & SM350 shares the same DT TX IP version, use the
>>> SM8350 compatible as fallback for SM8450.
>>>
>>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>>> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
>>> ---
>>> .../bindings/display/msm/dp-controller.yaml | 25 +++++++++++++---------
>>> 1 file changed, 15 insertions(+), 10 deletions(-)
>>>
>>> diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
>>> index 0e8d8df686dc..f0c2237d5f82 100644
>>> --- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
>>> +++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
>>> @@ -15,16 +15,21 @@ description: |
>>> properties:
>>> compatible:
>>> - enum:
>>> - - qcom,sc7180-dp
>>> - - qcom,sc7280-dp
>>> - - qcom,sc7280-edp
>>> - - qcom,sc8180x-dp
>>> - - qcom,sc8180x-edp
>>> - - qcom,sc8280xp-dp
>>> - - qcom,sc8280xp-edp
>>> - - qcom,sdm845-dp
>>> - - qcom,sm8350-dp
>>> + oneOf:
>>> + - enum:
>>> + - qcom,sc7180-dp
>>> + - qcom,sc7280-dp
>>> + - qcom,sc7280-edp
>>> + - qcom,sc8180x-dp
>>> + - qcom,sc8180x-edp
>>> + - qcom,sc8280xp-dp
>>> + - qcom,sc8280xp-edp
>>> + - qcom,sdm845-dp
>>> + - qcom,sm8350-dp
>>> + - items:
>>> + - enum:
>>> + - qcom,sm8450-dp
>>> + - const: qcom,sm8350-dp
>>
>> Neil, Krzysztof, I'm not convinced that this is worth all the troubles. I think it would be easier to have a flat list of compatibles and handle all the differences inside the driver. For example, for sdm845 we simply reused sc7180 config internally, while keeping separate compatible strings.
>
> Sure, but the doc reports the SM8350, SM8450 and SM550 has the exact same IP version, isn't fallback for that cat ?
Exactly.
What's the trouble with the list Neil created?
Best regards,
Krzysztof
next prev parent reply other threads:[~2023-02-11 11:38 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-10 14:44 [PATCH v3 0/5] arm64: dts: qcom: add DP Controller to SM8350 & SM8450 DTS Neil Armstrong
2023-02-10 14:44 ` [PATCH v3 1/5] dt-bindings: display: msm: dp-controller: document SM8450 compatible Neil Armstrong
2023-02-10 15:16 ` Dmitry Baryshkov
2023-02-10 15:27 ` Neil Armstrong
2023-02-11 11:38 ` Krzysztof Kozlowski [this message]
2023-02-11 12:58 ` Dmitry Baryshkov
2023-02-10 14:44 ` [PATCH v3 2/5] arm64: dts: qcom: sm8350: switch to combo usb3/dp phy Neil Armstrong
2023-02-10 14:44 ` [PATCH v3 3/5] arm64: dts: qcom: sm8350: add dp controller Neil Armstrong
2023-02-10 15:18 ` Dmitry Baryshkov
2023-02-10 14:44 ` [PATCH v3 4/5] arm64: dts: qcom: sm8450: switch to usb3/dp combo phy Neil Armstrong
2023-02-10 15:18 ` Dmitry Baryshkov
2023-02-10 14:44 ` [PATCH v3 5/5] arm64: dts: qcom: sm8450: add dp controller Neil Armstrong
2023-02-10 15:24 ` Dmitry Baryshkov
2023-02-10 15:28 ` Neil Armstrong
2023-02-10 15:54 ` Dmitry Baryshkov
2023-02-13 12:32 ` neil.armstrong
2023-02-13 13:56 ` Neil Armstrong
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=bde0a2fd-b1e4-61bd-2cca-a1d1c60570bd@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=agross@kernel.org \
--cc=airlied@gmail.com \
--cc=andersson@kernel.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@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=quic_abhinavk@quicinc.com \
--cc=quic_khsieh@quicinc.com \
--cc=robdclark@gmail.com \
--cc=robh+dt@kernel.org \
--cc=sean@poorly.run \
/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
all inboxes | Powered by JetHome®