summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-05-11 09:14:00 -0500
committerJohn Klug <john.klug@multitech.com>2018-05-15 11:16:15 -0500
commitf9fbe930ef527eed0c0e339037ddfa3695381589 (patch)
tree86addf780ddc127dc9e4e896c2b587cbd761d42e
parentd2e50f45b999d4f3f5b3bb676f6742ed4cb81c38 (diff)
downloadmts-io-2.0.3.tar.gz
mts-io-2.0.3.tar.bz2
mts-io-2.0.3.zip
Fix MTR to match MTCDT, MTCAP2.0.3
-rw-r--r--io-module/mtr.c22
-rw-r--r--io-module/mts_io.c2
2 files changed, 12 insertions, 12 deletions
diff --git a/io-module/mtr.c b/io-module/mtr.c
index 15c295f..fd50e78 100644
--- a/io-module/mtr.c
+++ b/io-module/mtr.c
@@ -1,10 +1,10 @@
static struct gpio_pin gpio_pins_mtr_0_0[] = {
{
- .name = "ETH_EN",
+ .name = "ETH_RESET",
.pin = {
.gpio = AT91_PIN_PC6,
.flags = GPIOF_OUT_INIT_HIGH,
- .label = "eth-enabled",
+ .label = "eth-reset",
},
.active_low = 0,
},
@@ -215,11 +215,11 @@ static struct gpio_pin gpio_pins_mtr_0_0[] = {
static struct gpio_pin gpio_pins_mtr_0_1[] = {
{
- .name = "ETH_EN",
+ .name = "ETH_RESET",
.pin = {
.gpio = AT91_PIN_PC6,
.flags = GPIOF_OUT_INIT_HIGH,
- .label = "eth-enabled",
+ .label = "eth-reset",
},
.active_low = 0,
},
@@ -430,11 +430,11 @@ static struct gpio_pin gpio_pins_mtr_0_1[] = {
static struct gpio_pin gpio_pins_mtrv1_0_0[] = {
{
- .name = "ETH_EN",
+ .name = "ETH_RESET",
.pin = {
.gpio = AT91_PIN_PC6,
.flags = GPIOF_OUT_INIT_HIGH | GPIOF_OPEN_DRAIN, /* without GPIOF_OPEN_DRAIN causes issues with the Micrel KSZ8091RNBCA (RMII) PHY */
- .label = "eth-enabled",
+ .label = "eth-reset",
},
.active_low = 0,
},
@@ -646,11 +646,11 @@ static struct gpio_pin gpio_pins_mtrv1_0_0[] = {
static struct gpio_pin gpio_pins_mtrv1_0_1[] = {
{
- .name = "ETH_EN",
+ .name = "ETH_RESET",
.pin = {
.gpio = AT91_PIN_PC6,
.flags = GPIOF_OUT_INIT_HIGH | GPIOF_OPEN_DRAIN, /* without GPIOF_OPEN_DRAIN causes issues with the Micrel KSZ8091RNBCA (RMII) PHY */
- .label = "eth-enabled",
+ .label = "eth-reset",
},
.active_low = 0,
},
@@ -1137,7 +1137,7 @@ static DEVICE_ATTR_MTS(dev_attr_radio_power_mtr, "radio-power",
static DEVICE_ATTR_MTS(dev_attr_radio_reset_mtr, "radio-reset",
mts_attr_show_gpio_pin, mts_attr_store_radio_reset_mtr);
-static DEVICE_ATTR_MTS(dev_attr_eth_enabled_mtr, "eth-enabled",
+static DEVICE_ATTR_MTS(dev_attr_eth_reset_mtr, "eth-reset",
mts_attr_show_gpio_pin, mts_attr_store_gpio_pin);
static DEVICE_ATTR_MTS(dev_attr_bt_enabled_mtr, "bt-enabled",
@@ -1216,7 +1216,7 @@ static struct attribute *mtr_platform_attributes[] = {
&dev_attr_extserial_dsr_gpio_mtr.attr,
&dev_attr_extserial_dcd_gpio_mtr.attr,
- &dev_attr_eth_enabled_mtr.attr,
+ &dev_attr_eth_reset_mtr.attr,
&dev_attr_bt_enabled_mtr.attr,
&dev_attr_wlan_enabled_mtr.attr,
@@ -1276,7 +1276,7 @@ static struct attribute *mtrv1_0_1_platform_attributes[] = {
&dev_attr_extserial_dsr_gpio_mtr.attr,
&dev_attr_extserial_dcd_gpio_mtr.attr,
- &dev_attr_eth_enabled_mtr.attr,
+ &dev_attr_eth_reset_mtr.attr,
&dev_attr_wifi_bt_lpwkup_mtr.attr,
&dev_attr_wifi_bt_ulpwkup_mtr.attr,
&dev_attr_wifi_bt_reset_mtr.attr,
diff --git a/io-module/mts_io.c b/io-module/mts_io.c
index 1f12b86..3310208 100644
--- a/io-module/mts_io.c
+++ b/io-module/mts_io.c
@@ -47,7 +47,7 @@
#include "mts_io.h"
-#define DRIVER_VERSION "v2.0.1"
+#define DRIVER_VERSION "v2.0.3"
#define DRIVER_AUTHOR "James Maki <jmaki@multitech.com>"
#define DRIVER_DESC "MTS-IO Controller"
#define DRIVER_NAME "mts-io"