clk: meson: g12a: fix gp0 and hifi ranges
Jerome Brunet
maintainerPATCH 1/1 clk: meson: g12a: fix gp0 and hifi ranges
While some SoC samples are able to lock with a PLL factor of 55, others samples can't. ATM, a minimum of 60 appears to work on all the samples I have tried, so lets use this value until we have a good reason to put something else.
--- drivers/clk/meson/g12a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/meson/g12a.c +1 -1
@@ -151,7 +151,7 @@ static struct clk_regmap g12a_sys_pll = { };static const struct pll_mult_range g12a_gp0_pll_mult_range = { - .min =55 , + .min =60 , .max =255 , };
Signature · 1 line
2.20.1
Quoted 17 lines · Jerome Brunet
While some SoC samples are able to lock with a PLL factor of 55, others samples can't. ATM, a minimum of 60 appears to work on all the samples I have tried, so lets use this value until we have a good reason to put something else.
Fixes 085a4ea93d54 ("clk: meson: g12a: add peripheral clock controller")Signed-off-by Jerome Brunet <[email protected]>--- drivers/clk/meson/g12a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/clk/meson/g12a.c +0
-0
drivers/clk/meson/g12a.c static struct clk_regmap g12a_sys_pll = { · line 157
Quoted 8 lines
drivers/clk/meson/g12a.c +1
-1@@ -151,7 +151,7 @@ static struct clk_regmap g12a_sys_pll = { };static const struct pll_mult_range g12a_gp0_pll_mult_range = { - .min =55 , + .min =60 , .max =255 , };
And applied to fixes/drivers !
Neil
Quoted 29 lines · Neil Armstrong
Quoted 17 lines · Jerome Brunet
While some SoC samples are able to lock with a PLL factor of 55, others samples can't. ATM, a minimum of 60 appears to work on all the samples I have tried, so lets use this value until we have a good reason to put something else.
Fixes 085a4ea93d54 ("clk: meson: g12a: add peripheral clock controller")Signed-off-by Jerome Brunet <[email protected]>--- drivers/clk/meson/g12a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/clk/meson/g12a.c +0
-0drivers/clk/meson/g12a.c static struct clk_regmap g12a_sys_pll = { · line 157
Quoted 8 lines
drivers/clk/meson/g12a.c +1
-1@@ -151,7 +151,7 @@ static struct clk_regmap g12a_sys_pll = { };static const struct pll_mult_range g12a_gp0_pll_mult_range = { - .min =55 , + .min =60 , .max =255 , };Acked-by Neil Armstrong <[email protected]>
Quoted 4 lines
And applied to fixes/drivers !
Neil
Seems this will need more work,
unapplied from fixes/drivers
Neil