atsamd: Enable ADC support for samd51 devices (#1204)

* adc: Enable ADC support for samd51 devices

Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
This commit is contained in:
Florian Heilmann
2019-02-08 18:02:32 +01:00
committed by KevinOConnor
parent f1c804907c
commit af0d292e23
3 changed files with 100 additions and 19 deletions

View File

@@ -6,7 +6,7 @@ config ATSAMD_SELECT
bool
default y
select HAVE_GPIO
select HAVE_GPIO_ADC if MACH_SAMD21
select HAVE_GPIO_ADC
select HAVE_GPIO_I2C
select HAVE_GPIO_SPI if MACH_SAMD21
select HAVE_GPIO_HARD_PWM if MACH_SAMD21