From e027530dfdba0c40330f93fcd7ebd343b84cc23c Mon Sep 17 00:00:00 2001 From: Jesse Gilles Date: Tue, 2 Jul 2013 15:30:15 -0500 Subject: mtcdp,mt100eocg: disable pullup on ADC pins --- io-module/mts_io.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/io-module/mts_io.c b/io-module/mts_io.c index b0b09e7..e532fca 100644 --- a/io-module/mts_io.c +++ b/io-module/mts_io.c @@ -282,6 +282,34 @@ static struct gpio_pin gpio_pins_mtcdp_1_0[] = { .output_value = 1, .use_pullup = 0, }, + { + .name = "ADC0", + .pin = AT91_PIN_PC0, + .direction = GPIO_DIR_INPUT, + .output_value = 0, + .use_pullup = 0, + }, + { + .name = "ADC1", + .pin = AT91_PIN_PC1, + .direction = GPIO_DIR_INPUT, + .output_value = 0, + .use_pullup = 0, + }, + { + .name = "ADC2", + .pin = AT91_PIN_PC2, + .direction = GPIO_DIR_INPUT, + .output_value = 0, + .use_pullup = 0, + }, + { + .name = "ADC3", + .pin = AT91_PIN_PC3, + .direction = GPIO_DIR_INPUT, + .output_value = 0, + .use_pullup = 0, + }, { }, }; @@ -390,6 +418,34 @@ static struct gpio_pin gpio_pins_mt100eocg_0_0[] = { .output_value = 1, .use_pullup = 1, }, + { + .name = "ADC0", + .pin = AT91_PIN_PC0, + .direction = GPIO_DIR_INPUT, + .output_value = 0, + .use_pullup = 0, + }, + { + .name = "ADC1", + .pin = AT91_PIN_PC1, + .direction = GPIO_DIR_INPUT, + .output_value = 0, + .use_pullup = 0, + }, + { + .name = "ADC2", + .pin = AT91_PIN_PC2, + .direction = GPIO_DIR_INPUT, + .output_value = 0, + .use_pullup = 0, + }, + { + .name = "ADC3", + .pin = AT91_PIN_PC3, + .direction = GPIO_DIR_INPUT, + .output_value = 0, + .use_pullup = 0, + }, { }, }; -- cgit v1.2.3