public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imx8mm
@ 2022-01-28 10:18 Heiko Thiery
  2022-01-28 10:18 ` [PATCH 2/2] configs/*imx8mm*: remove [SPL_]CLK_COMPOSITE_CCF Heiko Thiery
  2022-01-28 11:05 ` [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imx8mm Marcel Ziswiler
  0 siblings, 2 replies; 4+ messages in thread
From: Heiko Thiery @ 2022-01-28 10:18 UTC (permalink / raw)
  To: u-boot
  Cc: Ying-Chun Liu, Jagan Teki, Matteo Lisi, Adam Ford, Peng Fan,
	Tim Harvey, Frieder Schrempf, Teresa Remmet, Marcel Ziswiler,
	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..1800b1860b 100644
--- a/drivers/clk/imx/Kconfig
+++ b/drivers/clk/imx/Kconfig
@@ -26,6 +26,7 @@ config SPL_CLK_IMX8MM
 	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.MX8MM
 
@@ -34,6 +35,7 @@ config CLK_IMX8MM
 	depends on ARCH_IMX8M
 	select CLK
 	select CLK_CCF
+	select CLK_COMPOSITE_CCF
 	help
 	  This enables support clock driver for i.MX8MM platforms.
 
-- 
2.30.2


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

* [PATCH 2/2] configs/*imx8mm*: remove [SPL_]CLK_COMPOSITE_CCF
  2022-01-28 10:18 [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imx8mm Heiko Thiery
@ 2022-01-28 10:18 ` Heiko Thiery
  2022-01-28 11:06   ` Marcel Ziswiler
  2022-01-28 11:05 ` [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imx8mm Marcel Ziswiler
  1 sibling, 1 reply; 4+ messages in thread
From: Heiko Thiery @ 2022-01-28 10:18 UTC (permalink / raw)
  To: u-boot
  Cc: Ying-Chun Liu, Jagan Teki, Matteo Lisi, Adam Ford, Peng Fan,
	Tim Harvey, Frieder Schrempf, Teresa Remmet, Marcel Ziswiler,
	Lukasz Majewski, Sean Anderson, Heiko Thiery

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

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
---
 configs/imx8mm-cl-iot-gate-optee_defconfig    | 2 --
 configs/imx8mm-cl-iot-gate_defconfig          | 2 --
 configs/imx8mm-icore-mx8mm-ctouch2_defconfig  | 2 --
 configs/imx8mm-icore-mx8mm-edimm2.2_defconfig | 2 --
 configs/imx8mm_beacon_defconfig               | 2 --
 configs/imx8mm_evk_defconfig                  | 2 --
 configs/imx8mm_venice_defconfig               | 2 --
 configs/imx8mn_beacon_2g_defconfig            | 2 --
 configs/imx8mn_beacon_defconfig               | 2 --
 configs/imx8mn_ddr4_evk_defconfig             | 2 --
 configs/imx8mn_evk_defconfig                  | 2 --
 configs/kontron-sl-mx8mm_defconfig            | 2 --
 configs/phycore-imx8mm_defconfig              | 2 --
 configs/verdin-imx8mm_defconfig               | 2 --
 14 files changed, 28 deletions(-)

diff --git a/configs/imx8mm-cl-iot-gate-optee_defconfig b/configs/imx8mm-cl-iot-gate-optee_defconfig
index 777d452ce4..cb5d396a30 100644
--- a/configs/imx8mm-cl-iot-gate-optee_defconfig
+++ b/configs/imx8mm-cl-iot-gate-optee_defconfig
@@ -65,8 +65,6 @@ CONFIG_SYS_MMC_ENV_DEV=2
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_DM=y
-CONFIG_SPL_CLK_COMPOSITE_CCF=y
-CONFIG_CLK_COMPOSITE_CCF=y
 CONFIG_SPL_CLK_IMX8MM=y
 CONFIG_CLK_IMX8MM=y
 CONFIG_DFU_TFTP=y
diff --git a/configs/imx8mm-cl-iot-gate_defconfig b/configs/imx8mm-cl-iot-gate_defconfig
index b72f219c78..0fb47bdbea 100644
--- a/configs/imx8mm-cl-iot-gate_defconfig
+++ b/configs/imx8mm-cl-iot-gate_defconfig
@@ -68,8 +68,6 @@ CONFIG_SYS_MMC_ENV_DEV=2
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_DM=y
-CONFIG_SPL_CLK_COMPOSITE_CCF=y
-CONFIG_CLK_COMPOSITE_CCF=y
 CONFIG_SPL_CLK_IMX8MM=y
 CONFIG_CLK_IMX8MM=y
 CONFIG_DFU_TFTP=y
diff --git a/configs/imx8mm-icore-mx8mm-ctouch2_defconfig b/configs/imx8mm-icore-mx8mm-ctouch2_defconfig
index 9c8dd246a5..fc0fd88281 100644
--- a/configs/imx8mm-icore-mx8mm-ctouch2_defconfig
+++ b/configs/imx8mm-icore-mx8mm-ctouch2_defconfig
@@ -52,8 +52,6 @@ CONFIG_SYS_MMC_ENV_DEV=2
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_DM=y
-CONFIG_SPL_CLK_COMPOSITE_CCF=y
-CONFIG_CLK_COMPOSITE_CCF=y
 CONFIG_SPL_CLK_IMX8MM=y
 CONFIG_CLK_IMX8MM=y
 CONFIG_MXC_GPIO=y
diff --git a/configs/imx8mm-icore-mx8mm-edimm2.2_defconfig b/configs/imx8mm-icore-mx8mm-edimm2.2_defconfig
index 98ac1c32b1..17eeba0c74 100644
--- a/configs/imx8mm-icore-mx8mm-edimm2.2_defconfig
+++ b/configs/imx8mm-icore-mx8mm-edimm2.2_defconfig
@@ -52,8 +52,6 @@ CONFIG_SYS_MMC_ENV_DEV=2
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_DM=y
-CONFIG_SPL_CLK_COMPOSITE_CCF=y
-CONFIG_CLK_COMPOSITE_CCF=y
 CONFIG_SPL_CLK_IMX8MM=y
 CONFIG_CLK_IMX8MM=y
 CONFIG_MXC_GPIO=y
diff --git a/configs/imx8mm_beacon_defconfig b/configs/imx8mm_beacon_defconfig
index ba9c9a3ee0..5889fc7bce 100644
--- a/configs/imx8mm_beacon_defconfig
+++ b/configs/imx8mm_beacon_defconfig
@@ -64,8 +64,6 @@ CONFIG_SYS_MMC_ENV_DEV=1
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_DM=y
-CONFIG_SPL_CLK_COMPOSITE_CCF=y
-CONFIG_CLK_COMPOSITE_CCF=y
 CONFIG_SPL_CLK_IMX8MM=y
 CONFIG_CLK_IMX8MM=y
 CONFIG_MXC_GPIO=y
diff --git a/configs/imx8mm_evk_defconfig b/configs/imx8mm_evk_defconfig
index 01395fc7eb..6ed53682bc 100644
--- a/configs/imx8mm_evk_defconfig
+++ b/configs/imx8mm_evk_defconfig
@@ -51,8 +51,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_IMX8MM=y
 CONFIG_CLK_IMX8MM=y
 CONFIG_MXC_GPIO=y
diff --git a/configs/imx8mm_venice_defconfig b/configs/imx8mm_venice_defconfig
index 02a65c5abf..41792ad817 100644
--- a/configs/imx8mm_venice_defconfig
+++ b/configs/imx8mm_venice_defconfig
@@ -66,8 +66,6 @@ CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_IP_DEFRAG=y
 CONFIG_TFTP_BLOCKSIZE=4096
 CONFIG_SPL_DM=y
-CONFIG_SPL_CLK_COMPOSITE_CCF=y
-CONFIG_CLK_COMPOSITE_CCF=y
 CONFIG_SPL_CLK_IMX8MM=y
 CONFIG_CLK_IMX8MM=y
 CONFIG_MXC_GPIO=y
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
diff --git a/configs/kontron-sl-mx8mm_defconfig b/configs/kontron-sl-mx8mm_defconfig
index 35d12fca32..3057c4f6ae 100644
--- a/configs/kontron-sl-mx8mm_defconfig
+++ b/configs/kontron-sl-mx8mm_defconfig
@@ -63,8 +63,6 @@ CONFIG_SPL_DM=y
 CONFIG_SPL_DM_SEQ_ALIAS=y
 CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_ENV=y
-CONFIG_SPL_CLK_COMPOSITE_CCF=y
-CONFIG_CLK_COMPOSITE_CCF=y
 CONFIG_SPL_CLK_IMX8MM=y
 CONFIG_CLK_IMX8MM=y
 CONFIG_DFU_SF=y
diff --git a/configs/phycore-imx8mm_defconfig b/configs/phycore-imx8mm_defconfig
index c6b2719350..128306c2c3 100644
--- a/configs/phycore-imx8mm_defconfig
+++ b/configs/phycore-imx8mm_defconfig
@@ -69,8 +69,6 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_SYS_MMC_ENV_DEV=2
 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_IMX8MM=y
 CONFIG_CLK_IMX8MM=y
 CONFIG_MXC_GPIO=y
diff --git a/configs/verdin-imx8mm_defconfig b/configs/verdin-imx8mm_defconfig
index f2da12e92f..5605ad036c 100644
--- a/configs/verdin-imx8mm_defconfig
+++ b/configs/verdin-imx8mm_defconfig
@@ -68,8 +68,6 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_IP_DEFRAG=y
 CONFIG_TFTP_BLOCKSIZE=4096
 CONFIG_SPL_DM=y
-CONFIG_SPL_CLK_COMPOSITE_CCF=y
-CONFIG_CLK_COMPOSITE_CCF=y
 CONFIG_SPL_CLK_IMX8MM=y
 CONFIG_CLK_IMX8MM=y
 CONFIG_GPIO_HOG=y
-- 
2.30.2


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

* Re: [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imx8mm
  2022-01-28 10:18 [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imx8mm Heiko Thiery
  2022-01-28 10:18 ` [PATCH 2/2] configs/*imx8mm*: remove [SPL_]CLK_COMPOSITE_CCF Heiko Thiery
@ 2022-01-28 11:05 ` Marcel Ziswiler
  1 sibling, 0 replies; 4+ messages in thread
From: Marcel Ziswiler @ 2022-01-28 11:05 UTC (permalink / raw)
  To: u-boot@lists.denx.de, heiko.thiery@gmail.com
  Cc: paul.liu@linaro.org, lukma@denx.de, peng.fan@nxp.com,
	jagan@amarulasolutions.com, aford173@gmail.com,
	tharvey@gateworks.com, frieder.schrempf@kontron.de,
	t.remmet@phytec.de, matteo.lisi@engicam.com, seanga2@gmail.com

On Fri, 2022-01-28 at 11:18 +0100, Heiko Thiery wrote:
> 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: Marcel Ziswiler <marcel.ziswiler@toradex.com>

[snip]

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

* Re: [PATCH 2/2] configs/*imx8mm*: remove [SPL_]CLK_COMPOSITE_CCF
  2022-01-28 10:18 ` [PATCH 2/2] configs/*imx8mm*: remove [SPL_]CLK_COMPOSITE_CCF Heiko Thiery
@ 2022-01-28 11:06   ` Marcel Ziswiler
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Ziswiler @ 2022-01-28 11:06 UTC (permalink / raw)
  To: u-boot@lists.denx.de, heiko.thiery@gmail.com
  Cc: paul.liu@linaro.org, lukma@denx.de, peng.fan@nxp.com,
	jagan@amarulasolutions.com, aford173@gmail.com,
	tharvey@gateworks.com, frieder.schrempf@kontron.de,
	t.remmet@phytec.de, matteo.lisi@engicam.com, seanga2@gmail.com

On Fri, 2022-01-28 at 11:18 +0100, Heiko Thiery wrote:
> This option is selected implicitly when [SPL_]CLK_IMX8MM is selected.
> 
> Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>

Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>

[snip]

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

end of thread, other threads:[~2022-01-28 11:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-28 10:18 [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imx8mm Heiko Thiery
2022-01-28 10:18 ` [PATCH 2/2] configs/*imx8mm*: remove [SPL_]CLK_COMPOSITE_CCF Heiko Thiery
2022-01-28 11:06   ` Marcel Ziswiler
2022-01-28 11:05 ` [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imx8mm Marcel Ziswiler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox