diff mbox series

clk: meson: g12a: fix gp0 and hifi ranges

Message ID 20190325104230.11245-1-jbrunet@baylibre.com
State Accepted
Commit bc794f8c56abddf709f1f84fcb2a3c9e7d9cc9b4
Headers show
Series clk: meson: g12a: fix gp0 and hifi ranges | expand

Commit Message

Jerome Brunet March 25, 2019, 10:42 a.m. UTC
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 <jbrunet@baylibre.com>

---
 drivers/clk/meson/g12a.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.20.1

Comments

Neil Armstrong March 25, 2019, 12:18 p.m. UTC | #1
On 25/03/2019 11:42, Jerome Brunet wrote:
> 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 <jbrunet@baylibre.com>

> ---

>  drivers/clk/meson/g12a.c | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/drivers/clk/meson/g12a.c b/drivers/clk/meson/g12a.c

> index 0e1ce8c03259..d3f53a9b97dc 100644

> --- a/drivers/clk/meson/g12a.c

> +++ b/drivers/clk/meson/g12a.c

> @@ -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 <narmstrong@baylibre.com>


And applied to fixes/drivers !

Neil
Neil Armstrong March 29, 2019, 8:39 a.m. UTC | #2
On 25/03/2019 13:18, Neil Armstrong wrote:
> On 25/03/2019 11:42, Jerome Brunet wrote:

>> 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 <jbrunet@baylibre.com>

>> ---

>>  drivers/clk/meson/g12a.c | 2 +-

>>  1 file changed, 1 insertion(+), 1 deletion(-)

>>

>> diff --git a/drivers/clk/meson/g12a.c b/drivers/clk/meson/g12a.c

>> index 0e1ce8c03259..d3f53a9b97dc 100644

>> --- a/drivers/clk/meson/g12a.c

>> +++ b/drivers/clk/meson/g12a.c

>> @@ -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 <narmstrong@baylibre.com>

> 

> And applied to fixes/drivers !

> 

> Neil

> 


Seems this will need more work,
unapplied from fixes/drivers

Neil
diff mbox series

Patch

diff --git a/drivers/clk/meson/g12a.c b/drivers/clk/meson/g12a.c
index 0e1ce8c03259..d3f53a9b97dc 100644
--- a/drivers/clk/meson/g12a.c
+++ b/drivers/clk/meson/g12a.c
@@ -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,
 };