blob: 7f5cb3e653e6b59b55a7c952c0a2cf7b5dcc293e [file]
# Copyright (c) 2025 Microchip Technology Inc.
# SPDX-License-Identifier: Apache-2.0
config CLOCK_CONTROL_MCHP_COMMON
bool
help
Common options for Microchip clock control drivers.
config CLOCK_CONTROL_MCHP_SAM_D5X_E5X
bool
depends on DT_HAS_MICROCHIP_SAM_D5X_E5X_CLOCK_ENABLED
default y
select CLOCK_CONTROL_MCHP_COMMON
help
Enable clock controller driver for Microchip SAM D5X/E5X SoC family.
config CLOCK_CONTROL_MCHP_PIC32CM_JH
bool
default y
depends on DT_HAS_MICROCHIP_PIC32CM_JH_CLOCK_ENABLED
select CLOCK_CONTROL_MCHP_COMMON
help
Enable clock controller driver for Microchip PIC32CM_JH family.
if CLOCK_CONTROL_MCHP_COMMON
config CLOCK_CONTROL_MCHP_CONFIG_BOOTUP
bool "Bootup clock configuration"
default y
help
This option enables bootup clock configuration from device tree node.
config CLOCK_CONTROL_MCHP_CONFIG_RUNTIME
bool "Runtime clock configuration"
default y
help
This option enables runtime clock configuration using API.
config CLOCK_CONTROL_MCHP_ASYNC_ON
bool "Async clock on"
default n
help
This option enables async on API.
config CLOCK_CONTROL_MCHP_GET_RATE
bool "Get clock rate"
default y
help
Enable support for retrieving the clock rate. This may increase
code size, depending on the depth of clock source hierarchy.
config CLOCK_CONTROL_MCHP_SET_RATE
bool "Set clock rate"
default n
depends on CLOCK_CONTROL_MCHP_GET_RATE
help
This option enables set rate API. This may increase
code size, depending on the depth of clock source hierarchy.
endif # CLOCK_CONTROL_MCHP_COMMON