From: "Luca Weiss" <luca.weiss@fairphone.com>
To: "Krzysztof Kozlowski" <krzk@kernel.org>,
"Luca Weiss" <luca.weiss@fairphone.com>,
"Conor Dooley" <conor@kernel.org>
Cc: "Neil Armstrong" <neil.armstrong@linaro.org>,
"Jessica Zhang" <jesszhan0024@gmail.com>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Bjorn Andersson" <andersson@kernel.org>,
"Konrad Dybcio" <konradybcio@kernel.org>,
<~postmarketos/upstreaming@lists.sr.ht>,
<phone-devel@vger.kernel.org>, <dri-devel@lists.freedesktop.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-arm-msm@vger.kernel.org>
Subject: Re: [PATCH 1/4] dt-bindings: display: panel: Add Novatek NT37705
Date: Fri, 08 May 2026 09:44:41 +0200 [thread overview]
Message-ID: <DID4LW3GMLDV.338VDV2L2IPL@fairphone.com> (raw)
In-Reply-To: <dd7ebb25-014c-4983-ae31-6a6cbd24e628@kernel.org>
Hi Krzysztof,
On Tue May 5, 2026 at 9:25 AM CEST, Krzysztof Kozlowski wrote:
> On 05/05/2026 08:40, Luca Weiss wrote:
>>>>>> + compatible:
>>>>>> + contains:
>>>>>> + const: boe,bj631jhm-t71-d900
>>>>>
>>>>> Compatible doesn't match the filename, nor does the commit message match
>>>>> what you've got here. Sounds like you're missing a fallback to
>>>>> $filename.
>>>>
>>>> The last times I was upstreaming panel drivers (Feb 2024 and June 2025),
>>>> this was the requested way of doing things.
>>>
>>> So this was requested that time and is requested now. What is here
>>> uncertain?
>>>
>>>>
>>>> Compatible being the company and model number making the actual panel
>>>> assembly (driver IC + touchscreen + glass etc), while the rest being
>>>> named after the driver IC manufacturer & number.
>>>
>>> So exactly what was asked for...
>>
>> I don't quite understand what is asked for now, that's my issue.
>>
>> 1. Change the filename to boe,bj631jhm-t71-d900.yaml and leave the rest
>> as-is.
>>
>> 2. Add a fallback compatible for novatek,nt37705. IIRC last time it was
>> argued that a "generic" nt37705 driver will never be correct for a
>> specific panel since it's missing a bunch of panel-specific init. So
>> that's why there should not be a fallback to nt37705.
>
> To my limited knowledge the (2) with fallback describing the specific IC
> is preferred, because that compatible although not currently usable is
> still specific and describes actual IC used. I imagine that such
> fallback still could be useful to some SW implementation to determine
> the IC and act based on that.
>
> If you have sources of other preference, please share, but I just gave
> same review to Neil for his ayaneo,wt0600-2k panels.
I found the discussion from 2024 for the Fairphone 4 panel:
https://lore.kernel.org/lkml/f9164049-6529-42c1-a35a-e91132c823b9@linaro.org/
(quoting)
'''
Not sure if "himax,hx83112a" is needed here, the "djn,9a-3r063-1102b"
is enough to know the IC is hx83112a.
I don't think you'll ever find a "djn,9a-3r063-1102b" with another
controller IC ?
And "himax,hx83112a" alone as fallback is not enough to describe the
panel hardware, so I think it should be dropped.
'''
With Konrad replying "+1" to that.
Regards
Luca
next prev parent reply other threads:[~2026-05-08 7:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260501-fp6-panel-v1-0-e09cb05651cc@fairphone.com>
[not found] ` <20260501-fp6-panel-v1-1-e09cb05651cc@fairphone.com>
[not found] ` <20260501-yogurt-wise-2a2884e3ec59@spud>
2026-05-04 13:36 ` [PATCH 1/4] dt-bindings: display: panel: Add Novatek NT37705 Luca Weiss
2026-05-04 20:45 ` Krzysztof Kozlowski
2026-05-04 20:47 ` Krzysztof Kozlowski
2026-05-05 6:40 ` Luca Weiss
2026-05-05 7:25 ` Krzysztof Kozlowski
2026-05-08 7:44 ` Luca Weiss [this message]
[not found] ` <20260501-fp6-panel-v1-4-e09cb05651cc@fairphone.com>
2026-05-04 22:40 ` [PATCH 4/4] arm64: dts: qcom: milos-fairphone-fp6: Enable display Dmitry Baryshkov
[not found] ` <20260501-fp6-panel-v1-3-e09cb05651cc@fairphone.com>
2026-05-04 22:41 ` [PATCH 3/4] arm64: defconfig: Enable Novatek NT37705 panel Dmitry Baryshkov
[not found] ` <20260501-fp6-panel-v1-2-e09cb05651cc@fairphone.com>
2026-05-08 8:06 ` [PATCH 2/4] drm/panel: Add driver for " Thomas Zimmermann
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=DID4LW3GMLDV.338VDV2L2IPL@fairphone.com \
--to=luca.weiss@fairphone.com \
--cc=airlied@gmail.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=conor@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jesszhan0024@gmail.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=phone-devel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/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