Re: [PATCH] clk: nuvoton: ma35d1: Use clk_hw pointers as mux parents

From: Miquel Raynal

Date: Mon Sep 14 2026 - 10:58:58 EST


Hello,

On 13/08/2026 at 09:28:10 +02, Miquel Raynal <miquel.raynal@xxxxxxxxxxx> wrote:

> The MA35D1 clock provider registers its muxes with parent data
> structures filling .fw_name. This is not the ideal approach since that
> would require a massive amount of internal clock names declaration in
> the DT. Since the DT does not play the game of exposing all these names,
> none of the parent lookups performed when instantiating the muxes
> succeed. As a result, these muxes get registered as root clocks, leading
> to a sadly flat clock tree and no frequency assigned to most of the
> peripheral clocks:

Jacky, this is an actual fix which is a month old now, the SPI
controller (and maybe other blocks as well) does not work without this
patch. Would you mind giving this a bit of feedback?

> Fixes: f50a000b4219 ("clk: nuvoton: Use clk_parent_data instead of string for parent clock")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>

Thanks,
Miquèl