All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imxrt10{20|50}
@ 2022-01-30  6:38 Heiko Thiery
  2022-01-30  6:38 ` [PATCH 2/2] configs/*imxrt10*: remove [SPL_]CLK_COMPOSITE_CCF Heiko Thiery
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Heiko Thiery @ 2022-01-30  6:38 UTC (permalink / raw)
  To: u-boot; +Cc: Giulio Benetti, Lukasz Majewski, Sean Anderson, Heiko Thiery

The clock composite is required when using the clock framework. So
select it automatically.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
---
 drivers/clk/imx/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig
index a2cd0347c3..cdd348020b 100644
--- a/drivers/clk/imx/Kconfig
+++ b/drivers/clk/imx/Kconfig
@@ -76,6 +76,7 @@ config SPL_CLK_IMXRT1020
 	depends on ARCH_IMXRT && SPL
 	select SPL_CLK
 	select SPL_CLK_CCF
+	select SPL_CLK_COMPOSITE_CCF
 	help
 	  This enables SPL DM/DTS support for clock driver in i.MXRT1020
 
@@ -84,6 +85,7 @@ config CLK_IMXRT1020
 	depends on ARCH_IMXRT
 	select CLK
 	select CLK_CCF
+	select CLK_COMPOSITE_CCF
 	help
 	  This enables support clock driver for i.MXRT1020 platforms.
 
@@ -92,6 +94,7 @@ config SPL_CLK_IMXRT1050
 	depends on ARCH_IMXRT && SPL
 	select SPL_CLK
 	select SPL_CLK_CCF
+	select SPL_CLK_COMPOSITE_CCF
 	help
 	  This enables SPL DM/DTS support for clock driver in i.MXRT1050
 
@@ -100,5 +103,6 @@ config CLK_IMXRT1050
 	depends on ARCH_IMXRT
 	select CLK
 	select CLK_CCF
+	select CLK_COMPOSITE_CCF
 	help
 	  This enables support clock driver for i.MXRT1050 platforms.
-- 
2.30.2


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

* [PATCH 2/2] configs/*imxrt10*: remove [SPL_]CLK_COMPOSITE_CCF
  2022-01-30  6:38 [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imxrt10{20|50} Heiko Thiery
@ 2022-01-30  6:38 ` Heiko Thiery
  2022-01-30 11:28   ` Giulio Benetti
  2022-02-05 16:43   ` sbabic
  2022-01-30 11:29 ` [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imxrt10{20|50} Giulio Benetti
  2022-02-05 16:41 ` sbabic
  2 siblings, 2 replies; 6+ messages in thread
From: Heiko Thiery @ 2022-01-30  6:38 UTC (permalink / raw)
  To: u-boot; +Cc: Giulio Benetti, Lukasz Majewski, Sean Anderson, Heiko Thiery

This option is selected implicitly when [SPL_]CLK_IMXRT10{20|50} is selected.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
---
 configs/imxrt1020-evk_defconfig | 2 --
 configs/imxrt1050-evk_defconfig | 2 --
 2 files changed, 4 deletions(-)

diff --git a/configs/imxrt1020-evk_defconfig b/configs/imxrt1020-evk_defconfig
index 22cb5cbea7..dafa4a505a 100644
--- a/configs/imxrt1020-evk_defconfig
+++ b/configs/imxrt1020-evk_defconfig
@@ -45,8 +45,6 @@ CONFIG_TFTP_BLOCKSIZE=512
 CONFIG_SPL_DM=y
 CONFIG_SPL_DM_SEQ_ALIAS=y
 # CONFIG_OF_TRANSLATE is not set
-CONFIG_SPL_CLK_COMPOSITE_CCF=y
-CONFIG_CLK_COMPOSITE_CCF=y
 CONFIG_SPL_CLK_IMXRT1020=y
 CONFIG_CLK_IMXRT1020=y
 # CONFIG_SPL_DM_GPIO is not set
diff --git a/configs/imxrt1050-evk_defconfig b/configs/imxrt1050-evk_defconfig
index 044b984f14..09dcc9e6e3 100644
--- a/configs/imxrt1050-evk_defconfig
+++ b/configs/imxrt1050-evk_defconfig
@@ -49,8 +49,6 @@ CONFIG_TFTP_BLOCKSIZE=512
 CONFIG_SPL_DM=y
 CONFIG_SPL_DM_SEQ_ALIAS=y
 # CONFIG_OF_TRANSLATE is not set
-CONFIG_SPL_CLK_COMPOSITE_CCF=y
-CONFIG_CLK_COMPOSITE_CCF=y
 CONFIG_SPL_CLK_IMXRT1050=y
 CONFIG_CLK_IMXRT1050=y
 # CONFIG_SPL_DM_GPIO is not set
-- 
2.30.2


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

* Re: [PATCH 2/2] configs/*imxrt10*: remove [SPL_]CLK_COMPOSITE_CCF
  2022-01-30  6:38 ` [PATCH 2/2] configs/*imxrt10*: remove [SPL_]CLK_COMPOSITE_CCF Heiko Thiery
@ 2022-01-30 11:28   ` Giulio Benetti
  2022-02-05 16:43   ` sbabic
  1 sibling, 0 replies; 6+ messages in thread
From: Giulio Benetti @ 2022-01-30 11:28 UTC (permalink / raw)
  To: Heiko Thiery; +Cc: u-boot, Lukasz Majewski, Sean Anderson

Hi Heiko,

> Il giorno 30 gen 2022, alle ore 07:39, Heiko Thiery <heiko.thiery@gmail.com> ha scritto:
> 
> This option is selected implicitly when [SPL_]CLK_IMXRT10{20|50} is selected.
> 
> Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>

Thank you
Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>

Best regards
—-
Giulio Benetti
Benetti Engineering sas

> ---
> configs/imxrt1020-evk_defconfig | 2 --
> configs/imxrt1050-evk_defconfig | 2 --
> 2 files changed, 4 deletions(-)
> 
> diff --git a/configs/imxrt1020-evk_defconfig b/configs/imxrt1020-evk_defconfig
> index 22cb5cbea7..dafa4a505a 100644
> --- a/configs/imxrt1020-evk_defconfig
> +++ b/configs/imxrt1020-evk_defconfig
> @@ -45,8 +45,6 @@ CONFIG_TFTP_BLOCKSIZE=512
> CONFIG_SPL_DM=y
> CONFIG_SPL_DM_SEQ_ALIAS=y
> # CONFIG_OF_TRANSLATE is not set
> -CONFIG_SPL_CLK_COMPOSITE_CCF=y
> -CONFIG_CLK_COMPOSITE_CCF=y
> CONFIG_SPL_CLK_IMXRT1020=y
> CONFIG_CLK_IMXRT1020=y
> # CONFIG_SPL_DM_GPIO is not set
> diff --git a/configs/imxrt1050-evk_defconfig b/configs/imxrt1050-evk_defconfig
> index 044b984f14..09dcc9e6e3 100644
> --- a/configs/imxrt1050-evk_defconfig
> +++ b/configs/imxrt1050-evk_defconfig
> @@ -49,8 +49,6 @@ CONFIG_TFTP_BLOCKSIZE=512
> CONFIG_SPL_DM=y
> CONFIG_SPL_DM_SEQ_ALIAS=y
> # CONFIG_OF_TRANSLATE is not set
> -CONFIG_SPL_CLK_COMPOSITE_CCF=y
> -CONFIG_CLK_COMPOSITE_CCF=y
> CONFIG_SPL_CLK_IMXRT1050=y
> CONFIG_CLK_IMXRT1050=y
> # CONFIG_SPL_DM_GPIO is not set
> -- 
> 2.30.2
> 


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

* Re: [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imxrt10{20|50}
  2022-01-30  6:38 [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imxrt10{20|50} Heiko Thiery
  2022-01-30  6:38 ` [PATCH 2/2] configs/*imxrt10*: remove [SPL_]CLK_COMPOSITE_CCF Heiko Thiery
@ 2022-01-30 11:29 ` Giulio Benetti
  2022-02-05 16:41 ` sbabic
  2 siblings, 0 replies; 6+ messages in thread
From: Giulio Benetti @ 2022-01-30 11:29 UTC (permalink / raw)
  To: Heiko Thiery; +Cc: u-boot, Lukasz Majewski, Sean Anderson

Hi Heiko,

> Il giorno 30 gen 2022, alle ore 07:38, Heiko Thiery <heiko.thiery@gmail.com> ha scritto:
> 
> The clock composite is required when using the clock framework. So
> select it automatically.
> 
> Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>

Thank you
Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>

Best regards
—-
Giulio Benetti
Benetti Engineering sas

> ---
> drivers/clk/imx/Kconfig | 4 ++++
> 1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig
> index a2cd0347c3..cdd348020b 100644
> --- a/drivers/clk/imx/Kconfig
> +++ b/drivers/clk/imx/Kconfig
> @@ -76,6 +76,7 @@ config SPL_CLK_IMXRT1020
>    depends on ARCH_IMXRT && SPL
>    select SPL_CLK
>    select SPL_CLK_CCF
> +    select SPL_CLK_COMPOSITE_CCF
>    help
>      This enables SPL DM/DTS support for clock driver in i.MXRT1020
> 
> @@ -84,6 +85,7 @@ config CLK_IMXRT1020
>    depends on ARCH_IMXRT
>    select CLK
>    select CLK_CCF
> +    select CLK_COMPOSITE_CCF
>    help
>      This enables support clock driver for i.MXRT1020 platforms.
> 
> @@ -92,6 +94,7 @@ config SPL_CLK_IMXRT1050
>    depends on ARCH_IMXRT && SPL
>    select SPL_CLK
>    select SPL_CLK_CCF
> +    select SPL_CLK_COMPOSITE_CCF
>    help
>      This enables SPL DM/DTS support for clock driver in i.MXRT1050
> 
> @@ -100,5 +103,6 @@ config CLK_IMXRT1050
>    depends on ARCH_IMXRT
>    select CLK
>    select CLK_CCF
> +    select CLK_COMPOSITE_CCF
>    help
>      This enables support clock driver for i.MXRT1050 platforms.
> -- 
> 2.30.2
> 


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

* [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imxrt10{20|50}
  2022-01-30  6:38 [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imxrt10{20|50} Heiko Thiery
  2022-01-30  6:38 ` [PATCH 2/2] configs/*imxrt10*: remove [SPL_]CLK_COMPOSITE_CCF Heiko Thiery
  2022-01-30 11:29 ` [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imxrt10{20|50} Giulio Benetti
@ 2022-02-05 16:41 ` sbabic
  2 siblings, 0 replies; 6+ messages in thread
From: sbabic @ 2022-02-05 16:41 UTC (permalink / raw)
  To: Heiko Thiery, u-boot

> The clock composite is required when using the clock framework. So
> select it automatically.
> Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
> Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
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@denx.de
=====================================================================

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

* [PATCH 2/2] configs/*imxrt10*: remove [SPL_]CLK_COMPOSITE_CCF
  2022-01-30  6:38 ` [PATCH 2/2] configs/*imxrt10*: remove [SPL_]CLK_COMPOSITE_CCF Heiko Thiery
  2022-01-30 11:28   ` Giulio Benetti
@ 2022-02-05 16:43   ` sbabic
  1 sibling, 0 replies; 6+ messages in thread
From: sbabic @ 2022-02-05 16:43 UTC (permalink / raw)
  To: Heiko Thiery, u-boot

> This option is selected implicitly when [SPL_]CLK_IMXRT10{20|50} is selected.
> Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
> Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
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@denx.de
=====================================================================

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

end of thread, other threads:[~2022-02-05 16:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-30  6:38 [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imxrt10{20|50} Heiko Thiery
2022-01-30  6:38 ` [PATCH 2/2] configs/*imxrt10*: remove [SPL_]CLK_COMPOSITE_CCF Heiko Thiery
2022-01-30 11:28   ` Giulio Benetti
2022-02-05 16:43   ` sbabic
2022-01-30 11:29 ` [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imxrt10{20|50} Giulio Benetti
2022-02-05 16:41 ` sbabic

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.