summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-05-23 11:14:30 -0500
committerJohn Klug <john.klug@multitech.com>2019-07-24 17:10:24 -0500
commit428dde8988efa7b41ee199e455d4e9a26e1dacad (patch)
tree728d02744f989744440830c6297b89818094e9e7
parenta0c2b0390d8a92d89fcda252f9e09275446d01dd (diff)
downloadmts-io-428dde8988efa7b41ee199e455d4e9a26e1dacad.tar.gz
mts-io-428dde8988efa7b41ee199e455d4e9a26e1dacad.tar.bz2
mts-io-428dde8988efa7b41ee199e455d4e9a26e1dacad.zip
GNSS Reset Boot Hold patch -- mtr, mths, mtcdt, not mtcdt3 with no EXAR on GNSS.
-rw-r--r--io-module/machine/mtcdt.c2
-rw-r--r--io-module/machine/mths.c2
-rw-r--r--io-module/machine/mtr.c6
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",
}
},