zephyr/drivers/clock_control/Kconfig.si32
Michael Zimmermann d49cc8a56f drivers: clock_control: Add initial SiM3U1xx support
This serves two main purposes:
- change the CPU clock via devicetree nodes
- provide the APB frequency to device drivers via the clock driver
  interface

Theoretically this could also support choosing between the available
clock sources, but right now we only support LPOSC0 going into PLL0,
going into AHB.

Turning the PLL back off is also not supported since the only current
use case is to set the PLL frequency, turn it on, and switch the AHB
over to it.

Signed-off-by: Michael Zimmermann <michael.zimmermann@grandcentrix.net>
2024-08-26 18:51:36 +02:00

19 lines
422 B
Plaintext

# Copyright (c) 2024 GARDENA GmbH
#
# SPDX-License-Identifier: Apache-2.0
config CLOCK_CONTROL_SI32_PLL
bool "SI32 PLL clock control"
default y
depends on DT_HAS_SILABS_SI32_PLL_ENABLED
config CLOCK_CONTROL_SI32_AHB
bool "SI32 AHB clock control"
default y
depends on DT_HAS_SILABS_SI32_AHB_ENABLED
config CLOCK_CONTROL_SI32_APB
bool "SI32 APB clock control"
default y
depends on DT_HAS_SILABS_SI32_APB_ENABLED