From: Thomas Zimmermann <tzimmermann@suse.de>
To: Hans de Goede <hdegoede@redhat.com>,
Krzysztof Kozlowski <krzk@kernel.org>,
Luca Weiss <luca.weiss@fairphone.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
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 09:46:44 +0200 [thread overview]
Message-ID: <fd06aed1-bbb5-4b63-80e2-6b7465a45dae@suse.de> (raw)
In-Reply-To: <72aab355-263c-4f63-8818-3d76bd3f6826@redhat.com>
Hi
Am 30.06.25 um 09:26 schrieb Hans de Goede:
> Hi,
>
> On 30-Jun-25 8:34 AM, Thomas Zimmermann wrote:
>> Hi
>>
>> Am 28.06.25 um 13:50 schrieb Krzysztof Kozlowski:
>>> On 27/06/2025 13:34, Thomas Zimmermann wrote:
>>>> Hi
>>>>
>>>> Am 27.06.25 um 10:08 schrieb Krzysztof Kozlowski:
>>>>> 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.
>>>> In this context, 'simple' means that this device cannot change display
>>>> modes or do graphics acceleration. The hardware itself is not
>>>> necessarily simple. As Javier pointed out, it's initialized by firmware
>>> If hardware is not simple, then it needs specific bindings.
>>>
>>>> on the actual hardware. Think of 'VGA-for-ARM'. We need these resources
>>>> to keep the display working.
>>> I don't claim you do not need these resources. I claim device is not
>>> simple thus does not suit rules for generic bindings. Generic bindings
>>> are in general not allowed and we have them only for very, very simple
>>> devices.
>>>
>>> You say this is not simple device, so there you go - specific binding
>>> for this complex (not-simple) device.
>> No, I didn't. I said that the device is simple. I did not say that the device's hardware is simple. Sounds nonsensical, but makes sense here. The simple-framebuffer is just the range of display memory that the firmware configured for printing boot-up messages. We use it for the kernel's output as well. Being generic and simple is the exact raison d'etre for simple-framebuffer. (The display property points to the actual hardware, but we don't need it.)
> I believe part of the problem here is the simple part of the simplefb
> name in hindsight that is a mistake and we should have called the thing
> firmware-framebuffer since its goal is to pass along a firmware setup
> framebuffer to the OS for displaying stuff.
I totally feel you. In DRM land, we've also been upset about the naming.
But well...
>
> As for the argument for having a firmware-framebuffer not being allowed
> because framebuffers are to complex to have a generic binding, that
> ship has long sailed since we already have the simplefb binding.
>
> And since we already have the binding I do not find this not being
> simple a valid technical argument. That is an argument to allow
> having a generic binding at all or to not have it at all, but here
> we already have the binding and this is just about evolving the binding
> with changing hw needs.
Exactly my point.
>
> And again this reminds me very much of the whole clocks / regulators
> addition to simplefb discussion we had over a decade ago. Back then
> we had a huge thread, almost a flamefest with in my memory over
> a 100 emails and back then the only argument against adding them
> was also "it is not simple", which IMHO really is a non argument for
> an already existing binding. Certainly it is not a good technical
> argument.
>
> During the last decade, after clocks and regulators were added to
> the binding. simplefb has been used successfully on millions (billions?)
> handover the firmware framebuffer to the OS for bootsplash use,
> replacing various vendor hacks for this. Disallowing the addition of
> interconnect support to the simplefb binding will only result in
> various vendor hacks appearing in vendor kernels for this, which
> I believe is something which we should try to avoid.
Exactly. And I'd also add that the current way of handling the situation
is the only feasible one. Simple-framebuffer needs to be generic and
compatible with existing and future hardware at minimal cost. The way of
doing so, is to have a few properties, such as clocks, regulators and
now interconnects, that the firmware clearly tells us about. If we go
with per-hardware/per-vendor nodes, simple-framebuffer loses its usefulness.
>
> So as the maintainer of the simplefb kernel driver for over a decade
> I strongly advice the DT maintainers to accept this bindings patch
As the maintainer of the simpledrm driver, I second this.
Best regards
Thomas
> and from my my side this still is:
>
> Reviewed-by: Hans de Goede <hansg@kernel.org>
>
> Regards,
>
> Hans
>
>
--
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
next prev parent reply other threads:[~2025-06-30 7:46 UTC|newest]
Thread overview: 49+ 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
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 [this message]
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-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=fd06aed1-bbb5-4b63-80e2-6b7465a45dae@suse.de \
--to=tzimmermann@suse.de \
--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=krzk@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 \
/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).