u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imx8mn
@ 2022-01-30  6:37 Heiko Thiery
  2022-01-30  6:37 ` [PATCH 2/2] configs/*imx8mn*: remove [SPL_]CLK_COMPOSITE_CCF Heiko Thiery
  2022-02-19 13:08 ` [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imx8mn sbabic
  0 siblings, 2 replies; 4+ messages in thread
From: Heiko Thiery @ 2022-01-30  6:37 UTC (permalink / raw)
  To: u-boot; +Cc: Adam Ford, Peng Fan, 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 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig
index 96721bcbf3..a2cd0347c3 100644
--- a/drivers/clk/imx/Kconfig
+++ b/drivers/clk/imx/Kconfig
@@ -42,6 +42,7 @@ config SPL_CLK_IMX8MN
 	depends on ARCH_IMX8M && 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.MX8MN
 
@@ -50,6 +51,7 @@ config CLK_IMX8MN
 	depends on ARCH_IMX8M
 	select CLK
 	select CLK_CCF
+	select CLK_COMPOSITE_CCF
 	help
 	  This enables support clock driver for i.MX8MN platforms.
 
-- 
2.30.2


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

* [PATCH 2/2] configs/*imx8mn*: remove [SPL_]CLK_COMPOSITE_CCF
  2022-01-30  6:37 [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imx8mn Heiko Thiery
@ 2022-01-30  6:37 ` Heiko Thiery
  2022-02-19 13:08   ` sbabic
  2022-02-19 13:08 ` [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imx8mn sbabic
  1 sibling, 1 reply; 4+ messages in thread
From: Heiko Thiery @ 2022-01-30  6:37 UTC (permalink / raw)
  To: u-boot; +Cc: Adam Ford, Peng Fan, Lukasz Majewski, Sean Anderson, Heiko Thiery

This option is selected implicitly when [SPL_]CLK_IMX8MN is selected.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
---
 configs/imx8mn_beacon_2g_defconfig | 2 --
 configs/imx8mn_beacon_defconfig    | 2 --
 configs/imx8mn_ddr4_evk_defconfig  | 2 --
 configs/imx8mn_evk_defconfig       | 2 --
 4 files changed, 8 deletions(-)

diff --git a/configs/imx8mn_beacon_2g_defconfig b/configs/imx8mn_beacon_2g_defconfig
index 8b98d687ec..98e39a3707 100644
--- a/configs/imx8mn_beacon_2g_defconfig
+++ b/configs/imx8mn_beacon_2g_defconfig
@@ -75,8 +75,6 @@ CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_DM=y
 CONFIG_REGMAP=y
 CONFIG_SYSCON=y
-CONFIG_SPL_CLK_COMPOSITE_CCF=y
-CONFIG_CLK_COMPOSITE_CCF=y
 CONFIG_SPL_CLK_IMX8MN=y
 CONFIG_CLK_IMX8MN=y
 CONFIG_USB_FUNCTION_FASTBOOT=y
diff --git a/configs/imx8mn_beacon_defconfig b/configs/imx8mn_beacon_defconfig
index a707ee664e..bd9543b415 100644
--- a/configs/imx8mn_beacon_defconfig
+++ b/configs/imx8mn_beacon_defconfig
@@ -75,8 +75,6 @@ CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_DM=y
 CONFIG_REGMAP=y
 CONFIG_SYSCON=y
-CONFIG_SPL_CLK_COMPOSITE_CCF=y
-CONFIG_CLK_COMPOSITE_CCF=y
 CONFIG_SPL_CLK_IMX8MN=y
 CONFIG_CLK_IMX8MN=y
 CONFIG_USB_FUNCTION_FASTBOOT=y
diff --git a/configs/imx8mn_ddr4_evk_defconfig b/configs/imx8mn_ddr4_evk_defconfig
index 28cc551dc4..4f943a6ba1 100644
--- a/configs/imx8mn_ddr4_evk_defconfig
+++ b/configs/imx8mn_ddr4_evk_defconfig
@@ -54,8 +54,6 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_SYS_MMC_ENV_DEV=1
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_SPL_DM=y
-CONFIG_SPL_CLK_COMPOSITE_CCF=y
-CONFIG_CLK_COMPOSITE_CCF=y
 CONFIG_SPL_CLK_IMX8MN=y
 CONFIG_CLK_IMX8MN=y
 CONFIG_MXC_GPIO=y
diff --git a/configs/imx8mn_evk_defconfig b/configs/imx8mn_evk_defconfig
index 865d657a6d..251ed0cab2 100644
--- a/configs/imx8mn_evk_defconfig
+++ b/configs/imx8mn_evk_defconfig
@@ -56,8 +56,6 @@ CONFIG_ENV_IS_IN_MMC=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_SPL_DM=y
-CONFIG_SPL_CLK_COMPOSITE_CCF=y
-CONFIG_CLK_COMPOSITE_CCF=y
 CONFIG_SPL_CLK_IMX8MN=y
 CONFIG_CLK_IMX8MN=y
 CONFIG_MXC_GPIO=y
-- 
2.30.2


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

* [PATCH 2/2] configs/*imx8mn*: remove [SPL_]CLK_COMPOSITE_CCF
  2022-01-30  6:37 ` [PATCH 2/2] configs/*imx8mn*: remove [SPL_]CLK_COMPOSITE_CCF Heiko Thiery
@ 2022-02-19 13:08   ` sbabic
  0 siblings, 0 replies; 4+ messages in thread
From: sbabic @ 2022-02-19 13:08 UTC (permalink / raw)
  To: Heiko Thiery, u-boot

> This option is selected implicitly when [SPL_]CLK_IMX8MN is selected.
> Signed-off-by: Heiko Thiery <heiko.thiery@gmail.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] 4+ messages in thread

* [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imx8mn
  2022-01-30  6:37 [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imx8mn Heiko Thiery
  2022-01-30  6:37 ` [PATCH 2/2] configs/*imx8mn*: remove [SPL_]CLK_COMPOSITE_CCF Heiko Thiery
@ 2022-02-19 13:08 ` sbabic
  1 sibling, 0 replies; 4+ messages in thread
From: sbabic @ 2022-02-19 13:08 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>
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] 4+ messages in thread

end of thread, other threads:[~2022-02-19 13:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-30  6:37 [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imx8mn Heiko Thiery
2022-01-30  6:37 ` [PATCH 2/2] configs/*imx8mn*: remove [SPL_]CLK_COMPOSITE_CCF Heiko Thiery
2022-02-19 13:08   ` sbabic
2022-02-19 13:08 ` [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imx8mn sbabic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).