From cb05e0a0db86e620dfae9b9395634eee2df72b09 Mon Sep 17 00:00:00 2001 From: Mike Nicholson Date: Tue, 8 Jan 2019 12:16:58 -0600 Subject: Remove pull-up; now handled in pinctrl. --- io-module/mtr.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/io-module/mtr.c b/io-module/mtr.c index 5d35b83..171c182 100644 --- a/io-module/mtr.c +++ b/io-module/mtr.c @@ -1,5 +1,4 @@ #include "at91gpio.h" -#define GPIOF_PULLUP (0) static struct gpio_pin gpio_pins_mtr_0_0[] = { { .name = "ETH_RESET", @@ -238,7 +237,7 @@ static struct gpio_pin gpio_pins_mtr_0_1[] = { .name = "RADIO_RESET", .pin = { .gpio = AT91_PIN_PA22, - .flags = GPIOF_OUT_INIT_HIGH | GPIOF_PULLUP, + .flags = GPIOF_OUT_INIT_HIGH, .label = "radio-reset", }, .active_low = 0, @@ -247,7 +246,7 @@ static struct gpio_pin gpio_pins_mtr_0_1[] = { .name = "RADIO_POWER", .pin = { .gpio = AT91_PIN_PA21, - .flags = GPIOF_OUT_INIT_HIGH | GPIOF_PULLUP, + .flags = GPIOF_OUT_INIT_HIGH, .label = "radio-power", }, .active_low = 0, @@ -453,7 +452,7 @@ static struct gpio_pin gpio_pins_mtrv1_0_0[] = { .name = "RADIO_RESET", .pin = { .gpio = AT91_PIN_PA22, - .flags = GPIOF_OUT_INIT_HIGH | GPIOF_PULLUP, + .flags = GPIOF_OUT_INIT_HIGH, .label = "radio-reset", }, .active_low = 0, @@ -462,7 +461,7 @@ static struct gpio_pin gpio_pins_mtrv1_0_0[] = { .name = "RADIO_POWER", .pin = { .gpio = AT91_PIN_PA21, - .flags = GPIOF_OUT_INIT_HIGH | GPIOF_PULLUP, + .flags = GPIOF_OUT_INIT_HIGH, .label = "radio-power", }, .active_low = 0, @@ -669,7 +668,7 @@ static struct gpio_pin gpio_pins_mtrv1_0_1[] = { .name = "RADIO_RESET", .pin = { .gpio = AT91_PIN_PA22, - .flags = GPIOF_OUT_INIT_HIGH | GPIOF_PULLUP, + .flags = GPIOF_OUT_INIT_HIGH, .label = "radio-reset", }, .active_low = 0, @@ -678,7 +677,7 @@ static struct gpio_pin gpio_pins_mtrv1_0_1[] = { .name = "RADIO_POWER", .pin = { .gpio = AT91_PIN_PA21, - .flags = GPIOF_OUT_INIT_HIGH | GPIOF_PULLUP, + .flags = GPIOF_OUT_INIT_HIGH, .label = "radio-power", }, .active_low = 0, @@ -942,7 +941,7 @@ static struct gpio_pin gpio_pins_mtrv1_0_2[] = { .name = "RADIO_RESET", .pin = { .gpio = AT91_PIN_PA22, - .flags = GPIOF_OUT_INIT_HIGH | GPIOF_PULLUP, + .flags = GPIOF_OUT_INIT_HIGH, .label = "radio-reset", }, .active_low = 0, @@ -951,7 +950,7 @@ static struct gpio_pin gpio_pins_mtrv1_0_2[] = { .name = "RADIO_POWER", .pin = { .gpio = AT91_PIN_PA21, - .flags = GPIOF_OUT_INIT_HIGH | GPIOF_PULLUP, + .flags = GPIOF_OUT_INIT_HIGH, .label = "radio-power", }, .active_low = 0, -- cgit v1.2.3