soc: silabs: Hide clock options for Series-2

Silabs Series-2 (all the EFR32xg2x chips) use the new clock driver
introduced in commit bda8ae8c3f ("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 <jerome.pouiller@silabs.com>
This commit is contained in:
Jérôme Pouiller 2024-12-17 11:32:10 +01:00 committed by Benjamin Cabé
commit 05578ab51f

View file

@ -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