[PATCH v5 05/15] clk: renesas: r8a78000: Add SCMI remapping support

Marek Vasut marek.vasut at mailbox.org
Thu Nov 19 19:45:10 PST 2026


On 11/18/26 8:44 PM, Geert Uytterhoeven wrote:
> Extend the Clock Pulse Generator driver for R-Car X5H with SCMI support,
> to remap DT clock IDs to abstractions (clocks) 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, and fall-back to fixed-rate clocks as
> replacements for SCMI clocks that are not available.
> Support for bus clocks used by serial, I2C, and SPI devices is included.
> 
> 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 clock 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>
> ---
> v5:
>    - Add Tested-by,
>    - Rebase,
>    - Shrink firmware clock IDs to 16 bits,

This technically did happen in 3/15 already .

Reviewed-by: Marek Vasut <marek.vasut+renesas at mailbox.org>



More information about the linux-arm-kernel mailing list