From 27a24df1a2c713b070559fc5404258d7b691c833 Mon Sep 17 00:00:00 2001 From: John Klug Date: Mon, 21 May 2018 17:43:24 -0500 Subject: No pull up on the radio-power or radio-reset -- MTR code says open drain --- io-module/mths.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/io-module/mths.c b/io-module/mths.c index 18af942..b323e2b 100644 --- a/io-module/mths.c +++ b/io-module/mths.c @@ -12,7 +12,7 @@ static struct gpio_pin gpio_pins_mths_0_0[] = { .name = "RADIO_RESET", .pin = { .gpio = AT91_PIN_PA22, - .flags = GPIOF_OUT_INIT_HIGH | GPIOF_PULLUP, + .flags = GPIOF_OUT_INIT_HIGH | GPIOF_OPEN_DRAIN, .label = "radio-reset", }, .active_low = 0, @@ -21,7 +21,7 @@ static struct gpio_pin gpio_pins_mths_0_0[] = { .name = "RADIO_POWER", .pin = { .gpio = AT91_PIN_PA21, - .flags = GPIOF_OUT_INIT_HIGH | GPIOF_PULLUP, + .flags = GPIOF_OUT_INIT_HIGH | GPIOF_OPEN_DRAIN, .label = "radio-power", }, .active_low = 0, -- cgit v1.2.3