adc: add soc config for adc
update k8x series to support edma and pit Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
This commit is contained in:
parent
b336579cbb
commit
0062372af1
2 changed files with 38 additions and 0 deletions
|
@ -23,5 +23,7 @@ config SOC_SERIES_KINETIS_K8X
|
||||||
select HAS_MCUX_TRNG
|
select HAS_MCUX_TRNG
|
||||||
select HAS_OSC
|
select HAS_OSC
|
||||||
select HAS_MCG
|
select HAS_MCG
|
||||||
|
select HAS_MCUX_EDMA
|
||||||
|
select HAS_MCUX_PIT
|
||||||
help
|
help
|
||||||
Enable support for Kinetis K8x MCU series
|
Enable support for Kinetis K8x MCU series
|
||||||
|
|
|
@ -41,4 +41,40 @@ config SOC_PART_NUMBER_KINETIS_K8X
|
||||||
number selection choice defines the default value for this
|
number selection choice defines the default value for this
|
||||||
string.
|
string.
|
||||||
|
|
||||||
|
config K8X_CORE_CLOCK_DIVIDER
|
||||||
|
int "Freescale K8x core clock divider"
|
||||||
|
default 1
|
||||||
|
help
|
||||||
|
This option specifies the divide value for the K8x processor core clock
|
||||||
|
from the system clock.
|
||||||
|
|
||||||
|
config K8X_BUS_CLOCK_DIVIDER
|
||||||
|
int "Freescale K8x bus clock divider"
|
||||||
|
default 2
|
||||||
|
help
|
||||||
|
This option specifies the divide value for the K8x bus clock from the
|
||||||
|
system clock.
|
||||||
|
|
||||||
|
config K8X_FLEXBUS_CLOCK_DIVIDER
|
||||||
|
int "Freescale K8x FlexBus clock divider"
|
||||||
|
default 2
|
||||||
|
help
|
||||||
|
This option specifies the divide value for the K8x FlexBus clock from the
|
||||||
|
system clock.
|
||||||
|
|
||||||
|
config K8X_FLASH_CLOCK_DIVIDER
|
||||||
|
int "Freescale K8x flash clock divider"
|
||||||
|
default 5
|
||||||
|
help
|
||||||
|
This option specifies the divide value for the K8x flash clock from the
|
||||||
|
system clock.
|
||||||
|
|
||||||
|
config DMA_MCUX_EDMA
|
||||||
|
default y if HAS_MCUX_EDMA
|
||||||
|
depends on DMA
|
||||||
|
|
||||||
|
config COUNTER_MCUX_PIT
|
||||||
|
default y if HAS_MCUX_PIT
|
||||||
|
depends on COUNTER
|
||||||
|
|
||||||
endif # SOC_SERIES_KINETIS_K8X
|
endif # SOC_SERIES_KINETIS_K8X
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue