[PATCH v5 00/15] R-Car X5H Ironhide CPG/MDLC SCMI remapping support
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Mon Nov 23 08:05:50 PST 2026
On Mon, Nov 23, 2026 at 04:46:49PM +0100, Clément Le Goffic wrote:
> On 11/23/26 11:36 AM, Laurent Pinchart wrote:
> >> I know several SDK versions exist, and supporting several of them is work for a vendor tree.
> >> As Geert's cover says, "While upstream Linux must only support sufficiently mature firmware versions, vendor trees (e.g. renesas-lts) may still want to support development firmware versions".
> >> Each SDK version can then have its own DT there.
> >
> > That's not how DT works. Please be gentle with Krzysztof and avoid
> > increasing his blood pressure :-)
>
> These DTs would stay in the vendor tree, so they would not reach Krzysztof :-)
> Upstream would have one SCMI DT, as v5 has one table.
>
> >> If a release that changes ids is already out, it needs a new DT, or a quirk for that one release when the DT cannot be updated.
> >
> > So you're proposing that, with any new firmware that introduces an ABI
> > breakage, every single DTB on all boards in the wild get updated ? That
> > just doesn't scale, sorry. Let's forget about that bad idea, and focus
> > on finding a good solution.
>
> I think the v5 tables have the same problem.
v5 supports one firmware version at the moment, and the driver would get
support for new firmware versions when/if needed.
> As Wolfram said, "the driver is then tied to a specific firmware version", so the same ABI breakage needs a new kernel on every board in the wild.
> Either way every board needs an update, so I think the fix belong in the firmware.
It's much easier to update one kernel than thousands of different DTBs.
> I also see technical weaknesses in the remapping:
> It adds a second layer of ids on top of the SCMI ids, so each new device needs entries in the kernel tables as well as its DT node.
> And Zephyr already uses the SCMI ids in its DT for this chip, without such a layer.
>
> With the SDK DTs only in the vendor tree, what technical weakness do you see in the solution I proposed?
I have yet to see any vendor who can provide 100% stability guarantees
for SCMI firmware interfaces. In theory, sure. In real life, I just
don't buy it.
And even if that were to be the case, the situation we see today with
vendors shipping BSPs that require different DTs for different SCMI
firmware versions (I'm thinking about ST in particular) is absolutely
horrible. There are SoCs I don't want to touch with a 10-foot pole
because of that. It's a model we need to push back *against*.
> I still think it is a good one ^^
We can agree to disagree on this, no issue.
--
Regards,
Laurent Pinchart
More information about the linux-arm-kernel
mailing list