diff options
author | Jesse Gilles <jgilles@multitech.com> | 2013-02-28 16:26:43 -0600 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2013-02-28 16:26:43 -0600 |
commit | 4c3ee8ef4c442a4946e726fc0b221874f20da263 (patch) | |
tree | 145b2c748f4b8675d85a2e970b875d2bc6b974c2 /io-module/mts_io.h | |
parent | 179f87cf87c48e82f7e74b747fd9acbf9c1f8d3a (diff) | |
download | mts-io-4c3ee8ef4c442a4946e726fc0b221874f20da263.tar.gz mts-io-4c3ee8ef4c442a4946e726fc0b221874f20da263.tar.bz2 mts-io-4c3ee8ef4c442a4946e726fc0b221874f20da263.zip |
more code clean up, rename platform to "mts-io", add mtocgd3 hardware
* add active_low to gpio struct, remove inverted gpio funcs
* rename platform to "mts-io", add symlink to "mtcdp" for compatbility
* add MTOCGD3 hardware
Diffstat (limited to 'io-module/mts_io.h')
-rw-r--r-- | io-module/mts_io.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/io-module/mts_io.h b/io-module/mts_io.h index 5f2235c..4d6a1bd 100644 --- a/io-module/mts_io.h +++ b/io-module/mts_io.h @@ -30,6 +30,7 @@ struct device_attribute _dev_name = { \ #define PRODUCT_ID_MT100EOCG "MT100EOCG" #define PRODUCT_ID_MTR2 "MTR2" #define PRODUCT_ID_MTR "MTR" +#define PRODUCT_ID_MTOCGD3 "MTOCGD3" #define HW_VERSION_MTCBA2_2_0 "MTCBA2-2.0" #define HW_VERSION_MTCDP_0_0 "MTCDP-0.0" @@ -37,6 +38,7 @@ struct device_attribute _dev_name = { \ #define HW_VERSION_MT100EOCG_0_0 "MT100EOCG-0.0" #define HW_VERSION_MTR2_0_0 "MTR2-0.0" #define HW_VERSION_MTR_0_0 "MTR-0.0" +#define HW_VERSION_MTOCGD3_0_0 "MTOCGD3-0.0" enum { MTCDP_E1_DK_0_0, @@ -44,6 +46,7 @@ enum { MT100EOCG_0_0, MTR2_0_0, MTR_0_0, + MTOCGD3_0_0, }; #define DEVICE_CAPA_INDEX(c) (((c) & 0xFF) >> 3) @@ -98,6 +101,7 @@ struct gpio_pin { int direction; int output_value; int use_pullup; + int active_low; }; enum { |