From: Hector Martin <marcan@marcan.st>
To: Krzysztof Kozlowski <krzk@kernel.org>,
Sasha Finkelstein <fnkl.kernel@gmail.com>
Cc: Sven Peter <sven@svenpeter.dev>,
Alyssa Rosenzweig <alyssa@rosenzweig.io>,
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>,
Neil Armstrong <neil.armstrong@linaro.org>,
Jessica Zhang <quic_jesszhan@quicinc.com>,
asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/5] dt-bindings: display: Add Apple pre-DCP display controller bindings
Date: Wed, 27 Nov 2024 03:24:09 +0900 [thread overview]
Message-ID: <3906a62b-3fb0-4ff7-bf0f-ae72009d3bc3@marcan.st> (raw)
In-Reply-To: <e5b9ad58-ab31-4485-a2fe-d622f8e0f31b@kernel.org>
On 2024/11/27 2:20, Krzysztof Kozlowski wrote:
> On 26/11/2024 18:00, Sasha Finkelstein wrote:
>> On Tue, 26 Nov 2024 at 17:46, Krzysztof Kozlowski <krzk@kernel.org> wrote:
>>>> +properties:
>>>> + compatible:
>>>> + items:
>>>> + - enum:
>>>> + - apple,j293-summit
>>>> + - apple,j493-summit
>>>> + - const: apple,summit
>>>
>>> Summit tells me nothing - no description, title repeats it, so I suggest
>>> using device specific compatible.
>>
>> The j293/j493 are the device-specific compatibles, those are chassis names
>> for the specific laptops the panel is present in.
>
> This does not address my comment. Use specific compatibles as fallback,
> just like we recommend for every device. This should not be different.
> If you do not know the hardware details, using generic is even less
> appropriate.
The panel is codenamed "summit", and that tells you everything. It's a
panel sold and marketed by Apple. It is used on two devices, which are
specifically referred to as the device names "j293" and "j493". There is
no further information to be added here, the names chosen already
contain 100% of the available information and are completely and fully
specific as to what devices are involved here. There is no more specific
or appropriate compatible possible. "summit" literally comes from
Apple's own device tree compatible in the macOS world, which is
"lcd,summit". If Apple uses it as a DT compatible, then it's a good bet
it is precisely what it needs to be to identify a device. The
chassis-specific versions are something we added on top of that and
likely aren't even necessary since it's almost certainly precisely the
same exact panel in both laptops, but as you know, it's best to be
specific with DT compatibles just in case.
There is plenty of prior art for compatibles that don't look like random
product code gobbledygook (which I think is what you were expecting?),
e.g. these panels:
ti,nspire-cx-lcd-panel
ste,mcde-dsi
raspberrypi,7inch-touchscreen-panel
olimex,lcd-olinuxino
focaltech,gpt3
So yeah, the correct compatible is in fact "apple,summit". Anything else
would be making things up for no reason. The vendor has chosen to call
this panel "summit", so "summit" it is. We're not in the business of
gratuitously assigning our own product names/codes when a suitable one
already exists here.
- Hector
next prev parent reply other threads:[~2024-11-26 18:24 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-26 16:34 [PATCH v2 0/5] Driver for pre-DCP apple display controller Sasha Finkelstein via B4 Relay
2024-11-26 16:34 ` [PATCH v2 1/5] dt-bindings: display: Add Apple pre-DCP display controller bindings Sasha Finkelstein via B4 Relay
2024-11-26 16:46 ` Krzysztof Kozlowski
2024-11-26 16:54 ` Krzysztof Kozlowski
2024-11-26 17:00 ` Sasha Finkelstein
2024-11-26 17:20 ` Krzysztof Kozlowski
2024-11-26 18:24 ` Hector Martin [this message]
2024-11-26 18:33 ` Sasha Finkelstein
2024-11-26 18:25 ` Nick Chan
2024-11-26 16:34 ` [PATCH v2 2/5] drm: adp: Add Apple Display Pipe driver Sasha Finkelstein via B4 Relay
2024-11-26 21:00 ` Alyssa Ross
2024-11-26 16:34 ` [PATCH v2 3/5] drm: panel: Add a panel driver for the Summit display Sasha Finkelstein via B4 Relay
2024-11-30 9:29 ` Dmitry Baryshkov
2024-11-30 11:15 ` Sasha Finkelstein
2024-11-30 11:36 ` Dmitry Baryshkov
2025-01-12 20:27 ` Sasha Finkelstein
2024-11-26 16:34 ` [PATCH v2 4/5] arm64: dts: apple: Add touchbar screen nodes Sasha Finkelstein via B4 Relay
2024-11-26 16:47 ` Krzysztof Kozlowski
2024-11-26 16:34 ` [PATCH v2 5/5] MAINTAINERS: Add entries for touchbar display driver Sasha Finkelstein via B4 Relay
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=3906a62b-3fb0-4ff7-bf0f-ae72009d3bc3@marcan.st \
--to=marcan@marcan.st \
--cc=airlied@gmail.com \
--cc=alyssa@rosenzweig.io \
--cc=asahi@lists.linux.dev \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=fnkl.kernel@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=quic_jesszhan@quicinc.com \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
--cc=sven@svenpeter.dev \
--cc=tzimmermann@suse.de \
/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