From: Krzysztof Kozlowski <krzk@kernel.org>
To: Maxime Ripard <mripard@kernel.org>
Cc: Hans de Goede <hdegoede@redhat.com>,
Luca Weiss <luca.weiss@fairphone.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
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>,
Javier Martinez Canillas <javierm@redhat.com>,
Helge Deller <deller@gmx.de>,
linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/5] dt-bindings: display: simple-framebuffer: Add interconnects property
Date: Mon, 30 Jun 2025 11:36:51 +0200 [thread overview]
Message-ID: <b9f010ca-1564-4a3a-b004-ef179d5c90a6@kernel.org> (raw)
In-Reply-To: <20250630-stirring-kiwi-of-adventure-8f22ba@houat>
On 30/06/2025 10:38, Maxime Ripard wrote:
> On Mon, Jun 30, 2025 at 10:24:06AM +0200, Krzysztof Kozlowski wrote:
>> On 29/06/2025 14:07, Hans de Goede wrote:
>>> Hi Krzysztof,
>>>
>>> On 28-Jun-25 1:49 PM, Krzysztof Kozlowski wrote:
>>>> On 27/06/2025 11:48, Luca Weiss wrote:
>>>>> Hi Krzysztof,
>>>>>
>>>>> On Fri Jun 27, 2025 at 10:08 AM CEST, Krzysztof Kozlowski wrote:
>>>>>> On Mon, Jun 23, 2025 at 08:44:45AM +0200, Luca Weiss wrote:
>>>>>>> Document the interconnects property which is a list of interconnect
>>>>>>> paths that is used by the framebuffer and therefore needs to be kept
>>>>>>> alive when the framebuffer is being used.
>>>>>>>
>>>>>>> Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
>>>>>>> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
>>>>>>> ---
>>>>>>> Documentation/devicetree/bindings/display/simple-framebuffer.yaml | 3 +++
>>>>>>> 1 file changed, 3 insertions(+)
>>>>>>>
>>>>>>> diff --git a/Documentation/devicetree/bindings/display/simple-framebuffer.yaml b/Documentation/devicetree/bindings/display/simple-framebuffer.yaml
>>>>>>> index 296500f9da05e296dbbeec50ba5186b6b30aaffc..f0fa0ef23d91043dfb2b220c654b80e2e80850cd 100644
>>>>>>> --- a/Documentation/devicetree/bindings/display/simple-framebuffer.yaml
>>>>>>> +++ b/Documentation/devicetree/bindings/display/simple-framebuffer.yaml
>>>>>>> @@ -79,6 +79,9 @@ properties:
>>>>>>> power-domains:
>>>>>>> description: List of power domains used by the framebuffer.
>>>>>>>
>>>>>>> + interconnects:
>>>>>>> + description: List of interconnect paths used by the framebuffer.
>>>>>>> +
>>>>>>
>>>>>> maxItems: 1, or this is not a simple FB anymore. Anything which needs
>>>>>> some sort of resources in unknown way is not simple anymore. You need
>>>>>> device specific bindings.
>>>>>
>>>>> The bindings support an arbitrary number of clocks, regulators,
>>>>> power-domains. Why should I artificially limit the interconnects to only
>>>>> one?
>>>>
>>>> And IMO they should not. Bindings are not supposed to be generic.
>>>
>>> The simplefb binding is a binding to allow keeping the firmware, e.g.
>>> uboot setup framebuffer alive to e.g. show a boot splash until
>>> the native display-engine drive loads. Needing display-engine
>>> specific bindings totally contradicts the whole goal of
>>
>> No, it does not. DT is well designed for that through expressing
>> compatibility. I did not say you cannot have generic fallback for simple
>> use case.
>>
>> But this (and previous patchset) grows this into generic binding ONLY
>> and that is not correct.
>
> Can we have a proper definition of what a correct device tree binding is
> then?
>
> It's a bit surprising to have *that* discussion over a binding that is
> now well older than a decade now, and while there is definitely some
> generic bindings in ePAPR/DT spec, like the CPU ones.
Hm? In ARM world at least they are specific, e.g. they have specific
compatibles.
>
> If you don't consider that spec to be correct DT bindings, please
> provide a definition of what that is, and / or reasonable alternatives.
>
> Also, no, a device specific binding isn't reasonable here, because we
> *don't* have a device. From a technical standpoint, the firmware creates
You touch internal parts of the SoC and you list very specific SoC
parts. Interconnect is internal part of the SoC and only specific
devices are using it.
You define here generic SW construct for something which is opposite of
generic: the interconnect connecting two specific, unique components of
one, given SoC.
> the framebuffer, Linux just uses it. Just like you don't have a
> device/platform specific compatible for PSCI, SCPI, et al.
They follow some sort of spec and still they do not reference chosen
SoC-design-specific properties.
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-06-30 9:36 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-23 6:44 [PATCH v2 0/5] Add interconnent support for simpledrm/simplefb Luca Weiss
2025-06-23 6:44 ` [PATCH v2 1/5] dt-bindings: display: simple-framebuffer: Add interconnects property Luca Weiss
2025-06-27 7:40 ` Javier Martinez Canillas
2025-06-27 8:08 ` Krzysztof Kozlowski
2025-06-27 9:48 ` Luca Weiss
2025-06-27 10:06 ` Javier Martinez Canillas
2025-06-28 11:49 ` Krzysztof Kozlowski
2025-06-29 12:07 ` Hans de Goede
2025-06-30 8:24 ` Krzysztof Kozlowski
2025-06-30 8:38 ` Maxime Ripard
2025-06-30 9:36 ` Krzysztof Kozlowski [this message]
2025-06-30 10:10 ` Hans de Goede
2025-06-30 10:45 ` Maxime Ripard
2025-06-30 8:40 ` Hans de Goede
2025-07-02 20:43 ` Krzysztof Kozlowski
2025-07-03 6:47 ` Thomas Zimmermann
2025-07-03 8:34 ` Hans de Goede
2025-07-03 8:41 ` Thomas Zimmermann
2025-07-03 9:41 ` Maxime Ripard
2025-07-03 9:45 ` Krzysztof Kozlowski
2025-07-06 11:24 ` Dmitry Baryshkov
2025-07-11 7:49 ` Luca Weiss
2025-07-11 7:56 ` Krzysztof Kozlowski
2025-06-30 6:26 ` Thomas Zimmermann
2025-06-27 11:34 ` Thomas Zimmermann
2025-06-28 11:50 ` Krzysztof Kozlowski
2025-06-30 6:34 ` Thomas Zimmermann
2025-06-30 7:26 ` Hans de Goede
2025-06-30 7:46 ` Thomas Zimmermann
2025-06-23 6:44 ` [PATCH v2 2/5] drm/sysfb: simpledrm: Sort headers correctly Luca Weiss
2025-06-27 7:41 ` Javier Martinez Canillas
2025-06-27 7:41 ` Thomas Zimmermann
2025-06-23 6:44 ` [PATCH v2 3/5] drm/sysfb: simpledrm: Add support for interconnect paths Luca Weiss
2025-06-27 7:51 ` Javier Martinez Canillas
2025-07-11 7:43 ` Luca Weiss
2025-07-11 9:21 ` Javier Martinez Canillas
2025-08-27 8:42 ` Luca Weiss
2025-07-06 11:14 ` Dmitry Baryshkov
2025-07-09 11:59 ` Luca Weiss
2025-06-23 6:44 ` [PATCH v2 4/5] fbdev/simplefb: Sort headers correctly Luca Weiss
2025-06-27 7:43 ` Thomas Zimmermann
2025-06-27 7:52 ` Javier Martinez Canillas
2025-09-22 14:07 ` Luca Weiss
2025-09-23 14:04 ` Thomas Zimmermann
2025-06-23 6:44 ` [PATCH v2 5/5] fbdev/simplefb: Add support for interconnect paths Luca Weiss
2025-06-27 7:56 ` Javier Martinez Canillas
2025-06-27 9:51 ` Luca Weiss
2025-06-27 10:02 ` Javier Martinez Canillas
2025-06-27 11:36 ` Thomas Zimmermann
2025-06-27 11:43 ` Javier Martinez Canillas
2025-06-23 8:17 ` [PATCH v2 0/5] Add interconnent support for simpledrm/simplefb Hans de Goede
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=b9f010ca-1564-4a3a-b004-ef179d5c90a6@kernel.org \
--to=krzk@kernel.org \
--cc=airlied@gmail.com \
--cc=conor+dt@kernel.org \
--cc=deller@gmx.de \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=hdegoede@redhat.com \
--cc=javierm@redhat.com \
--cc=krzk+dt@kernel.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luca.weiss@fairphone.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
--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
all inboxes | Powered by JetHome®