From 428dde8988efa7b41ee199e455d4e9a26e1dacad Mon Sep 17 00:00:00 2001 From: John Klug Date: Thu, 23 May 2019 11:14:30 -0500 Subject: GNSS Reset Boot Hold patch -- mtr, mths, mtcdt, not mtcdt3 with no EXAR on GNSS. --- io-module/machine/mtcdt.c | 2 +- io-module/machine/mths.c | 2 +- io-module/machine/mtr.c | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/io-module/machine/mtcdt.c b/io-module/machine/mtcdt.c index 69f87f7..095a120 100644 --- a/io-module/machine/mtcdt.c +++ b/io-module/machine/mtcdt.c @@ -302,7 +302,7 @@ static struct gpio_pin gpio_pins_mtcdt_0_1[] = { .name = "GNSS_RESET", .pin = { .gpio = AT91_PIN_PD15, - .flags = GPIOF_OUT_INIT_LOW, /* Keep GPS quiet during boot */ + .flags = GPIOF_OUT_INIT_LOW, /* Keep GPS quiet during boot for EXAR */ .label = "gnss-reset", }, .capability = CAPA_GPS, diff --git a/io-module/machine/mths.c b/io-module/machine/mths.c index a51380c..1261ae8 100644 --- a/io-module/machine/mths.c +++ b/io-module/machine/mths.c @@ -230,7 +230,7 @@ static struct gpio_pin gpio_pins_mths_0_0[] = { .name = "GNSS_RESET", .pin = { .gpio = AT91_PIN_PC6, - .flags = GPIOF_OUT_INIT_HIGH, + .flags = GPIOF_OUT_INIT_LOW, .label = "gnss-reset", } }, diff --git a/io-module/machine/mtr.c b/io-module/machine/mtr.c index e47beae..c12eacf 100644 --- a/io-module/machine/mtr.c +++ b/io-module/machine/mtr.c @@ -885,7 +885,7 @@ static struct gpio_pin gpio_pins_mtrv1_0_1[] = { .name = "GNSS_RESET", .pin = { .gpio = AT91_PIN_PD15, - .flags = GPIOF_OUT_INIT_HIGH, + .flags = GPIOF_OUT_INIT_LOW, .label = "gnss-reset", } }, @@ -1158,7 +1158,7 @@ static struct gpio_pin gpio_pins_mtrv1_0_2[] = { .name = "GNSS_RESET", .pin = { .gpio = AT91_PIN_PD15, - .flags = GPIOF_OUT_INIT_HIGH, + .flags = GPIOF_OUT_INIT_LOW, .label = "gnss-reset", } }, @@ -1412,7 +1412,7 @@ static struct gpio_pin gpio_pins_mtrv1_0_3[] = { .name = "GNSS_RESET", .pin = { .gpio = AT91_PIN_PD15, - .flags = GPIOF_OUT_INIT_HIGH, + .flags = GPIOF_OUT_INIT_LOW, .label = "gnss-reset", } }, -- cgit v1.2.3