From 05578ab51f418205f5ffcab492a4f174e7533993 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Pouiller?= Date: Tue, 17 Dec 2024 11:32:10 +0100 Subject: [PATCH] soc: silabs: Hide clock options for Series-2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Silabs Series-2 (all the EFR32xg2x chips) use the new clock driver introduced in commit bda8ae8c3f0 ("drivers: clock_control: silabs: Add clock control driver"). This driver get all the configuration from the Device Tree. The CMU (Clock Management Unit) options (CMU_HFXO_FREQ, CMU_HFRCO_FREQ, CMU_NEED_LFXO, CMU_HFCLK_HFXO, etc...) are now only used for Series-0 and Series-1. It does not make sense to bother the users with them. Signed-off-by: Jérôme Pouiller --- soc/silabs/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soc/silabs/Kconfig b/soc/silabs/Kconfig index dd2553d8d23..dbdda491926 100644 --- a/soc/silabs/Kconfig +++ b/soc/silabs/Kconfig @@ -208,7 +208,7 @@ config SOC_GECKO_CMU help Set if the clock management unit (CMU) is present in the SoC. -if SOC_GECKO_CMU +if SOC_GECKO_CMU && (SOC_FAMILY_SILABS_S0 || SOC_FAMILY_SILABS_S1) config CMU_NEED_LFXO bool