[PATCH v7 04/14] clk: renesas: r8a78000: Add clk_hw to clk_map
Wolfram Sang
wsa+renesas at sang-engineering.com
Wed Dec 2 01:38:17 PST 2026
On Mon, Nov 30, 2026 at 02:12:35PM +0100, Geert Uytterhoeven wrote:
> From: Geert Uytterhoeven <geert+renesas at glider.be>
>
> Prepare for mapping to other than fixed-rate clocks by adding an array
> of clk_hw pointers, indexed by the clock map entry index, and populating
> it up-front.
>
> Move r8a78000_cpg_priv.fixed_hws into get_hws(), as it is no longer
> needed afterwards, and drop NUM_FIXED_CLKS.
This one I didn't really get, but I trust you and Marek. Just some
namespace issues I discovered now...
> Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
> Tested-by: Wolfram Sang <wsa+renesas at sang-engineering.com>
This one still stands. It works fine for me.
> Reviewed-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
> -static const unsigned long fixed_clk_rates[NUM_FIXED_CLKS] = {
> +static const unsigned long fixed_clk_rates[] = {
r8a78000_fixed_clk_rates?
> +static int clk_id_map_find(const struct clk_id_map *map, u32 dt_id)
r8a78000_clk_id_map_find?
> +static struct clk_hw **register_fixed_clks(struct device *dev)
r8a78000_ prefix?
> +static struct clk_hw **get_hws(struct r8a78000_cpg_priv *priv)
r8a78000_ prefix?
More information about the linux-arm-kernel
mailing list