mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-03 07:41:55 +00:00
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>
19 lines
422 B
Plaintext
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
|