[PATCH v5 00/15] R-Car X5H Ironhide CPG/MDLC SCMI remapping support
Clément Le Goffic
clegoffic at baylibre.com
Mon Nov 23 11:09:05 PST 2026
On 11/23/26 5:05 PM, Laurent Pinchart wrote:
> v5 supports one firmware version at the moment, and the driver would get
> support for new firmware versions when/if needed.
This is where I disagree: I don't think a SoC driver should follow the SDK versions.
> 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.
I agree that while an SCMI firmware is in development, its ids can change between versions.
To keep the ids of a released firmware stable, I see three rules:
- an id always names the same resource, ids are never swapped,
- an id is never dropped: when a resource goes away, the firmware keeps its id reserved and denies access to it, as SCMI 4.0 section 3.2.1 describes,
- new ids are only added at the end
I think upstream should only support a firmware that follows these rules, with its ids in the DT.
For firmware still in development, I agree with what Cristian wrote on the RFC[1]: "fix your firmwares AND/OR apply quirks in the meantime".
Any other view on this is welcome.
> We can agree to disagree on this, no issue.
Sure, I think we both already know we disagree on this :-)
Thanks for taking the time to discuss it
[1] https://lore.kernel.org/r/aekXUvIPb8nkhdKu@pluto
Best regards,
Clément
More information about the linux-arm-kernel
mailing list