[PATCH v4 1/2] cpufreq: dt-platdev: Add SpacemiT K1 SoC to the allowlist

Yixun Lan dlan at kernel.org
Sat Jul 11 00:41:39 PDT 2026


Hi Viresh,

On 10:28 Mon 29 Jun     , Viresh Kumar wrote:
> On 26-06-26, 16:10, Shuwei Wu wrote:
> > Add the compatible string for supporting the generic
> > cpufreq driver on the SpacemiT K1 SoC.
> > 
> > Signed-off-by: Shuwei Wu <shuwei.wu at mailbox.org>
> > ---
> > Changes in v4:
> > - Drop the K1-specific cpufreq driver and use cpufreq-dt again
> > - Add spacemit,k1 back to the cpufreq-dt allowlist
> > 
> > Changes in v3:
> > - Add a K1-specific cpufreq driver for the shared-rail, dual-clock topology
> > - Add spacemit,k1 to the cpufreq-dt blocklist
> > ---
> > ---
> >  drivers/cpufreq/cpufreq-dt-platdev.c | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
> > index 25fd3b191b7e..e262394b56f9 100644
> > --- a/drivers/cpufreq/cpufreq-dt-platdev.c
> > +++ b/drivers/cpufreq/cpufreq-dt-platdev.c
> > @@ -81,6 +81,8 @@ static const struct of_device_id allowlist[] __initconst = {
> >  		{ .have_governor_per_policy = true, },
> >  	},
> >  
> > +	{ .compatible = "spacemit,k1", },
> > +
> >  	{ .compatible = "st-ericsson,u8500", },
> >  	{ .compatible = "st-ericsson,u8540", },
> >  	{ .compatible = "st-ericsson,u9500", },
> 
> Please take this via arch tree.
> 

Ok, in this case, I will take it via SpacemiT SoC tree along with DT patch [2/2]

Reviewed-by: Yixun Lan <dlan at kernel.org>

> Acked-by: Viresh Kumar <viresh.kumar at linaro.org>
> 
> -- 
> viresh

-- 
Yixun Lan (dlan)



More information about the linux-riscv mailing list