[PATCH v4 7/8] pmdomain: renesas: r8a78000: Add SCMI remapping support

Wolfram Sang wsa+renesas at sang-engineering.com
Mon Nov 16 00:22:48 PST 2026


On Fri, Oct 16, 2026 at 05:55:46PM +0200, Geert Uytterhoeven wrote:
> Extend the Module Controller driver for R-Car X5H with SCMI support, to
> remap hardware power domain, module, and reset IDs to abstractions
> (power domains, clocks, and resets) offered by the SCMI firmware when
> running on a system with SCMI, and SCMI support is enabled.  Take into
> account some peculiarities of the current SCMI firmware implementations,
> like missing handling of gateable functional clock parents.
> Support for power domains, and module clocks and resets used by serial,
> I2C, and SPI devices is included.
> 
> Note that SCMI clocks representing hardware modules expose access to
> Module Standby control: they are fake clocks, with a zero clock rate,
> that can just be enabled and disabled.  Hence they are controlled from
> the clock domain's start/stop callbacks, together with gateable
> functional clock parents.
> 
> This lets us avoid putting SCMI IDs in DT, and allows us to use the same
> hardware description in SoC DTS for systems with and without SCMI
> firmware.
> 
> For now, it is assumed SCMI power domain, clock, and reset IDs are
> stable, and match SCP FW SDKv4.31.0 and later.
> 
> Suggested-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
> Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>

Tested-by: Wolfram Sang <wsa+renesas at sang-engineering.com>




More information about the linux-arm-kernel mailing list