summaryrefslogtreecommitdiff
path: root/io-module/mtcdt.c
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2016-10-04 12:51:39 -0500
committerJohn Klug <john.klug@multitech.com>2016-10-04 12:51:39 -0500
commit88a9d639901dc37df7bddf13657bb0ca18c6be3c (patch)
treea2b4ac7d5ade6b8cb38bb4aa7719ded1ea53ab56 /io-module/mtcdt.c
parentcf9e2ae0c4193f784138e098c929a36a9aaa8854 (diff)
downloadmts-io-88a9d639901dc37df7bddf13657bb0ca18c6be3c.tar.gz
mts-io-88a9d639901dc37df7bddf13657bb0ca18c6be3c.tar.bz2
mts-io-88a9d639901dc37df7bddf13657bb0ca18c6be3c.zip
Suppress unused pins to make chip detection easier.
Diffstat (limited to 'io-module/mtcdt.c')
-rw-r--r--io-module/mtcdt.c21
1 files changed, 14 insertions, 7 deletions
diff --git a/io-module/mtcdt.c b/io-module/mtcdt.c
index 21edcfe..d8ea8b9 100644
--- a/io-module/mtcdt.c
+++ b/io-module/mtcdt.c
@@ -723,18 +723,25 @@ static struct attribute *mtcdt_0_1_platform_attributes[] = {
&dev_attr_led_c_gpio.attr,
&dev_attr_led_d_gpio.attr,
- &dev_attr_wifi_bt_lpwkup.attr,
- &dev_attr_wifi_bt_ulpwkup.attr,
- &dev_attr_wifi_bt_reset.attr,
- &dev_attr_wifi_bt_lpmode.attr,
- &dev_attr_wifi_bt_int,
- &dev_attr_gnss_reset.attr,
- &dev_attr_gnss_int.attr,
&dev_attr_usbhub_reset.attr,
&dev_attr_eth_reset.attr,
NULL,
};
+static struct attribute *mtcdt_0_1_wifi_bt_attributes[] = {
+ &dev_attr_wifi_bt_lpwkup.attr,
+ &dev_attr_wifi_bt_ulpwkup.attr,
+ &dev_attr_wifi_bt_reset.attr,
+ &dev_attr_wifi_bt_lpmode.attr,
+ &dev_attr_wifi_bt_int,
+};
+
+static struct attribute *mtcdt_0_1_gnss_attributes[] = {
+ &dev_attr_gnss_reset.attr,
+ &dev_attr_gnss_int.attr,
+};
+
+
static struct attribute_group mtcdt_platform_attribute_group = {
.attrs = mtcdt_platform_attributes
};