arm: nxp_kinetis: Enable the mcux adc16 driver for all Kinetis SoCs

If the adc driver configuration is enabled (CONFIG_ADC=y), then enable
the mcux shim driver by default for all Kinetis SoCs.

Jira: ZEP-1396

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
Maureen Helm 2017-06-05 15:37:22 -05:00 committed by Kumar Gala
commit db3891fc23
7 changed files with 32 additions and 0 deletions

View file

@ -12,6 +12,13 @@ config SOC
string string
default mk64f12 default mk64f12
if ADC
config ADC_MCUX_ADC16
def_bool y
endif # ADC
if PINMUX if PINMUX
config PINMUX_MCUX config PINMUX_MCUX

View file

@ -15,6 +15,7 @@ config SOC_MK64F12
select HAS_OSC select HAS_OSC
select HAS_MCG select HAS_MCG
select HAS_RNGA select HAS_RNGA
select HAS_ADC16
select CPU_HAS_FPU select CPU_HAS_FPU
endchoice endchoice

View file

@ -15,6 +15,13 @@ config NUM_IRQS
int int
default 32 default 32
if ADC
config ADC_MCUX_ADC16
def_bool y
endif # ADC
if PINMUX if PINMUX
config PINMUX_MCUX config PINMUX_MCUX

View file

@ -16,6 +16,7 @@ config SOC_MKL25Z4
select HAS_OSC select HAS_OSC
select HAS_MCG select HAS_MCG
select HAS_LPSCI select HAS_LPSCI
select HAS_ADC16
endchoice endchoice

View file

@ -15,6 +15,13 @@ config NUM_IRQS
int int
default 32 default 32
if ADC
config ADC_MCUX_ADC16
def_bool y
endif # ADC
if PINMUX if PINMUX
config PINMUX_MCUX config PINMUX_MCUX

View file

@ -15,6 +15,13 @@ config NUM_IRQS
int int
default 32 default 32
if ADC
config ADC_MCUX_ADC16
def_bool y
endif # ADC
if PINMUX if PINMUX
config PINMUX_MCUX config PINMUX_MCUX

View file

@ -16,6 +16,7 @@ config SOC_MKW40Z4
select HAS_OSC select HAS_OSC
select HAS_MCG select HAS_MCG
select HAS_LPUART select HAS_LPUART
select HAS_ADC16
select HAS_TRNG select HAS_TRNG
select HAS_SEGGER_RTT select HAS_SEGGER_RTT
@ -26,6 +27,7 @@ config SOC_MKW41Z4
select HAS_OSC select HAS_OSC
select HAS_MCG select HAS_MCG
select HAS_LPUART select HAS_LPUART
select HAS_ADC16
select HAS_TRNG select HAS_TRNG
endchoice endchoice