All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] clk: imx: imx8mm: Fix the first root clock in imx8mm_ahb_sels[]
@ 2019-10-23 16:36 Schrempf Frieder
  2019-10-23 19:29 ` Fabio Estevam
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Schrempf Frieder @ 2019-10-23 16:36 UTC (permalink / raw)
  To: u-boot

From: Frieder Schrempf <frieder.schrempf@kontron.de>

The 24MHz oscillator clock is referenced by "clock-osc-24m" and not
"osc_24m".

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
---
 drivers/clk/imx/clk-imx8mm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/imx/clk-imx8mm.c b/drivers/clk/imx/clk-imx8mm.c
index 091b092bbb..a05dac7c7a 100644
--- a/drivers/clk/imx/clk-imx8mm.c
+++ b/drivers/clk/imx/clk-imx8mm.c
@@ -74,7 +74,7 @@ static const char *sys_pll3_bypass_sels[] = {"sys_pll3", "sys_pll3_ref_sel", };
 static const char *imx8mm_a53_sels[] = {"clock-osc-24m", "arm_pll_out", "sys_pll2_500m", "sys_pll2_1000m",
 					"sys_pll1_800m", "sys_pll1_400m", "audio_pll1_out", "sys_pll3_out", };
 
-static const char *imx8mm_ahb_sels[] = {"osc_24m", "sys_pll1_133m", "sys_pll1_800m", "sys_pll1_400m",
+static const char *imx8mm_ahb_sels[] = {"clock-osc-24m", "sys_pll1_133m", "sys_pll1_800m", "sys_pll1_400m",
 					"sys_pll2_125m", "sys_pll3_out", "audio_pll1_out", "video_pll1_out", };
 
 static const char *imx8mm_enet_axi_sels[] = {"clock-osc-24m", "sys_pll1_266m", "sys_pll1_800m", "sys_pll2_250m",
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [U-Boot] [PATCH] clk: imx: imx8mm: Fix the first root clock in imx8mm_ahb_sels[]
  2019-10-23 16:36 [U-Boot] [PATCH] clk: imx: imx8mm: Fix the first root clock in imx8mm_ahb_sels[] Schrempf Frieder
@ 2019-10-23 19:29 ` Fabio Estevam
  2019-10-24  1:11   ` Peng Fan
  2019-10-24  1:11 ` [U-Boot] " Peng Fan
  2019-10-24  6:44 ` Schrempf Frieder
  2 siblings, 1 reply; 8+ messages in thread
From: Fabio Estevam @ 2019-10-23 19:29 UTC (permalink / raw)
  To: u-boot

Hi Frieder,

On Wed, Oct 23, 2019 at 1:36 PM Schrempf Frieder
<frieder.schrempf@kontron.de> wrote:
>
> From: Frieder Schrempf <frieder.schrempf@kontron.de>
>
> The 24MHz oscillator clock is referenced by "clock-osc-24m" and not
> "osc_24m".

Is the kernel clock driver also wrong then?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot] [PATCH] clk: imx: imx8mm: Fix the first root clock in imx8mm_ahb_sels[]
  2019-10-23 19:29 ` Fabio Estevam
@ 2019-10-24  1:11   ` Peng Fan
  2019-10-24 12:55     ` Fabio Estevam
  0 siblings, 1 reply; 8+ messages in thread
From: Peng Fan @ 2019-10-24  1:11 UTC (permalink / raw)
  To: u-boot

> Subject: Re: [PATCH] clk: imx: imx8mm: Fix the first root clock in
> imx8mm_ahb_sels[]
> 
> Hi Frieder,
> 
> On Wed, Oct 23, 2019 at 1:36 PM Schrempf Frieder
> <frieder.schrempf@kontron.de> wrote:
> >
> > From: Frieder Schrempf <frieder.schrempf@kontron.de>
> >
> > The 24MHz oscillator clock is referenced by "clock-osc-24m" and not
> > "osc_24m".
> 
> Is the kernel clock driver also wrong then?

No, kernel is right. It is U-Boot CCF specific.

Regards,
Peng.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot] [PATCH] clk: imx: imx8mm: Fix the first root clock in imx8mm_ahb_sels[]
  2019-10-23 16:36 [U-Boot] [PATCH] clk: imx: imx8mm: Fix the first root clock in imx8mm_ahb_sels[] Schrempf Frieder
  2019-10-23 19:29 ` Fabio Estevam
@ 2019-10-24  1:11 ` Peng Fan
  2019-10-24  6:44 ` Schrempf Frieder
  2 siblings, 0 replies; 8+ messages in thread
From: Peng Fan @ 2019-10-24  1:11 UTC (permalink / raw)
  To: u-boot

> Subject: [PATCH] clk: imx: imx8mm: Fix the first root clock in
> imx8mm_ahb_sels[]
> 
> From: Frieder Schrempf <frieder.schrempf@kontron.de>
> 
> The 24MHz oscillator clock is referenced by "clock-osc-24m" and not
> "osc_24m".
> 
> Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
> ---
>  drivers/clk/imx/clk-imx8mm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clk/imx/clk-imx8mm.c b/drivers/clk/imx/clk-imx8mm.c
> index 091b092bbb..a05dac7c7a 100644
> --- a/drivers/clk/imx/clk-imx8mm.c
> +++ b/drivers/clk/imx/clk-imx8mm.c
> @@ -74,7 +74,7 @@ static const char *sys_pll3_bypass_sels[] = {"sys_pll3",
> "sys_pll3_ref_sel", };  static const char *imx8mm_a53_sels[] =
> {"clock-osc-24m", "arm_pll_out", "sys_pll2_500m", "sys_pll2_1000m",
>  					"sys_pll1_800m", "sys_pll1_400m", "audio_pll1_out",
> "sys_pll3_out", };
> 
> -static const char *imx8mm_ahb_sels[] = {"osc_24m", "sys_pll1_133m",
> "sys_pll1_800m", "sys_pll1_400m",
> +static const char *imx8mm_ahb_sels[] = {"clock-osc-24m",
> +"sys_pll1_133m", "sys_pll1_800m", "sys_pll1_400m",
>  					"sys_pll2_125m", "sys_pll3_out", "audio_pll1_out",
> "video_pll1_out", };
> 
>  static const char *imx8mm_enet_axi_sels[] = {"clock-osc-24m",
> "sys_pll1_266m", "sys_pll1_800m", "sys_pll2_250m",

Reviewed-by: Peng Fan <peng.fan@nxp.com>

> --
> 2.17.1

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot] [PATCH] clk: imx: imx8mm: Fix the first root clock in imx8mm_ahb_sels[]
  2019-10-23 16:36 [U-Boot] [PATCH] clk: imx: imx8mm: Fix the first root clock in imx8mm_ahb_sels[] Schrempf Frieder
  2019-10-23 19:29 ` Fabio Estevam
  2019-10-24  1:11 ` [U-Boot] " Peng Fan
@ 2019-10-24  6:44 ` Schrempf Frieder
  2 siblings, 0 replies; 8+ messages in thread
From: Schrempf Frieder @ 2019-10-24  6:44 UTC (permalink / raw)
  To: u-boot

On 23.10.19 18:36, Schrempf Frieder wrote:
> From: Frieder Schrempf <frieder.schrempf@kontron.de>
> 
> The 24MHz oscillator clock is referenced by "clock-osc-24m" and not
> "osc_24m".
> 
> Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>

Just for completeness:
Fixes: f62ec5c4bba2 ("clk: imx: add i.MX8MM clk driver")

> ---
>   drivers/clk/imx/clk-imx8mm.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clk/imx/clk-imx8mm.c b/drivers/clk/imx/clk-imx8mm.c
> index 091b092bbb..a05dac7c7a 100644
> --- a/drivers/clk/imx/clk-imx8mm.c
> +++ b/drivers/clk/imx/clk-imx8mm.c
> @@ -74,7 +74,7 @@ static const char *sys_pll3_bypass_sels[] = {"sys_pll3", "sys_pll3_ref_sel", };
>   static const char *imx8mm_a53_sels[] = {"clock-osc-24m", "arm_pll_out", "sys_pll2_500m", "sys_pll2_1000m",
>   					"sys_pll1_800m", "sys_pll1_400m", "audio_pll1_out", "sys_pll3_out", };
>   
> -static const char *imx8mm_ahb_sels[] = {"osc_24m", "sys_pll1_133m", "sys_pll1_800m", "sys_pll1_400m",
> +static const char *imx8mm_ahb_sels[] = {"clock-osc-24m", "sys_pll1_133m", "sys_pll1_800m", "sys_pll1_400m",
>   					"sys_pll2_125m", "sys_pll3_out", "audio_pll1_out", "video_pll1_out", };
>   
>   static const char *imx8mm_enet_axi_sels[] = {"clock-osc-24m", "sys_pll1_266m", "sys_pll1_800m", "sys_pll2_250m",
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot] [PATCH] clk: imx: imx8mm: Fix the first root clock in imx8mm_ahb_sels[]
  2019-10-24  1:11   ` Peng Fan
@ 2019-10-24 12:55     ` Fabio Estevam
  2019-10-25  1:39       ` Peng Fan
  0 siblings, 1 reply; 8+ messages in thread
From: Fabio Estevam @ 2019-10-24 12:55 UTC (permalink / raw)
  To: u-boot

On Wed, Oct 23, 2019 at 10:11 PM Peng Fan <peng.fan@nxp.com> wrote:

> No, kernel is right. It is U-Boot CCF specific.

Can we make U-Boot to handle the same clock name as in kernel?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot] [PATCH] clk: imx: imx8mm: Fix the first root clock in imx8mm_ahb_sels[]
  2019-10-24 12:55     ` Fabio Estevam
@ 2019-10-25  1:39       ` Peng Fan
  2019-12-06 11:13         ` Stefano Babic
  0 siblings, 1 reply; 8+ messages in thread
From: Peng Fan @ 2019-10-25  1:39 UTC (permalink / raw)
  To: u-boot

> Subject: Re: [PATCH] clk: imx: imx8mm: Fix the first root clock in
> imx8mm_ahb_sels[]
> 
> On Wed, Oct 23, 2019 at 10:11 PM Peng Fan <peng.fan@nxp.com> wrote:
> 
> > No, kernel is right. It is U-Boot CCF specific.
> 
> Can we make U-Boot to handle the same clock name as in kernel?

Let's try. But this patch is bug fix, so need first in.

Regards,
Peng.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH] clk: imx: imx8mm: Fix the first root clock in imx8mm_ahb_sels[]
  2019-10-25  1:39       ` Peng Fan
@ 2019-12-06 11:13         ` Stefano Babic
  0 siblings, 0 replies; 8+ messages in thread
From: Stefano Babic @ 2019-12-06 11:13 UTC (permalink / raw)
  To: u-boot

On 25/10/19 03:39, Peng Fan wrote:
>> Subject: Re: [PATCH] clk: imx: imx8mm: Fix the first root clock in
>> imx8mm_ahb_sels[]
>>
>> On Wed, Oct 23, 2019 at 10:11 PM Peng Fan <peng.fan@nxp.com> wrote:
>>
>>> No, kernel is right. It is U-Boot CCF specific.
>>
>> Can we make U-Boot to handle the same clock name as in kernel?
> 
> Let's try. But this patch is bug fix, so need first in.
> 

Agree, I pick it up for 2020.01

Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-12-06 11:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-23 16:36 [U-Boot] [PATCH] clk: imx: imx8mm: Fix the first root clock in imx8mm_ahb_sels[] Schrempf Frieder
2019-10-23 19:29 ` Fabio Estevam
2019-10-24  1:11   ` Peng Fan
2019-10-24 12:55     ` Fabio Estevam
2019-10-25  1:39       ` Peng Fan
2019-12-06 11:13         ` Stefano Babic
2019-10-24  1:11 ` [U-Boot] " Peng Fan
2019-10-24  6:44 ` Schrempf Frieder

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.