|
2 | 2 | # SPDX-License-Identifier: Apache-2.0 |
3 | 3 |
|
4 | 4 | config CLOCK_CONTROL_MCHP_COMMON |
5 | | - bool |
| 5 | + bool "Microchip clock controller" |
6 | 6 | help |
7 | 7 | Common options for Microchip clock control drivers. |
8 | 8 |
|
9 | 9 | config CLOCK_CONTROL_MCHP_SAM_D5X_E5X |
10 | | - bool "Microchip SAM D5X/E5X clock controller Support" |
| 10 | + bool |
11 | 11 | depends on DT_HAS_MICROCHIP_SAM_D5X_E5X_CLOCK_ENABLED |
12 | 12 | default y |
13 | 13 | select CLOCK_CONTROL_MCHP_COMMON |
14 | 14 | help |
15 | 15 | Enable clock controller driver for Microchip SAM D5X/E5X SoC family. |
16 | 16 |
|
| 17 | +config CLOCK_CONTROL_MCHP_PIC32CM_JH |
| 18 | + bool |
| 19 | + default y |
| 20 | + depends on DT_HAS_MICROCHIP_PIC32CM_JH_CLOCK_ENABLED |
| 21 | + select CLOCK_CONTROL_MCHP_COMMON |
| 22 | + help |
| 23 | + Enable clock controller driver for Microchip PIC32CM_JH family. |
| 24 | + |
17 | 25 | if CLOCK_CONTROL_MCHP_COMMON |
18 | 26 |
|
| 27 | +config CLOCK_CONTROL_MCHP_CONFIG_BOOTUP |
| 28 | + bool "Bootup clock configuration" |
| 29 | + default y |
| 30 | + help |
| 31 | + This option enables bootup clock configuration from device tree node. |
| 32 | + |
| 33 | +config CLOCK_CONTROL_MCHP_CONFIG_RUNTIME |
| 34 | + bool "Runtime clock configuration" |
| 35 | + default y |
| 36 | + help |
| 37 | + This option enables runtime clock configuration using API. |
| 38 | + |
| 39 | +config CLOCK_CONTROL_MCHP_ASYNC_ON |
| 40 | + bool "Async clock on" |
| 41 | + default n |
| 42 | + help |
| 43 | + This option enables async on API. |
| 44 | + |
19 | 45 | config CLOCK_CONTROL_MCHP_GET_RATE |
20 | 46 | bool "Get clock rate" |
21 | 47 | default y |
22 | 48 | help |
23 | 49 | Enable support for retrieving the clock rate. This may increase |
24 | 50 | code size, depending on the depth of clock source hierarchy. |
25 | 51 |
|
| 52 | +config CLOCK_CONTROL_MCHP_SET_RATE |
| 53 | + bool "Set clock rate" |
| 54 | + default n |
| 55 | + depends on CLOCK_CONTROL_MCHP_GET_RATE |
| 56 | + help |
| 57 | + This option enables set rate API. This may increase |
| 58 | + code size, depending on the depth of clock source hierarchy. |
| 59 | + |
26 | 60 | endif # CLOCK_CONTROL_MCHP_COMMON |
0 commit comments