summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-parport.h
diff options
context:
space:
mode:
authorOndrej Zary <linux@rainbow-software.org>2015-07-13 19:31:12 +0200
committerWolfram Sang <wsa@the-dreams.de>2015-08-10 08:37:34 +0200
commit82cd5d041c8c2cdceaa6833d2f73905279d1c94f (patch)
tree8c43a44b9be2863f965485bd7ecc98a043c0e5a8 /drivers/i2c/busses/i2c-parport.h
parent63cab195bf498676619951e81ad5791e9d47c420 (diff)
downloadblackbird-op-linux-82cd5d041c8c2cdceaa6833d2f73905279d1c94f.tar.gz
blackbird-op-linux-82cd5d041c8c2cdceaa6833d2f73905279d1c94f.zip
i2c: parport: Add VCT-jig adapter
Add support for VCT-jig parallel port I2C adapter to i2c-parport. The adapter schematic can be found here (in the RAR file): http://remont-aud.net/shop/22/desc/vct-jig-komplekt-dlja-samostojatelnoj-sborki Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-parport.h')
-rw-r--r--drivers/i2c/busses/i2c-parport.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-parport.h b/drivers/i2c/busses/i2c-parport.h
index 4e1294536805..84a6616b072f 100644
--- a/drivers/i2c/busses/i2c-parport.h
+++ b/drivers/i2c/busses/i2c-parport.h
@@ -89,6 +89,13 @@ static const struct adapter_parm adapter_parm[] = {
.getsda = { 0x80, PORT_STAT, 1 },
.init = { 0x04, PORT_DATA, 1 },
},
+ /* type 8: VCT-jig */
+ {
+ .setsda = { 0x04, PORT_DATA, 1 },
+ .setscl = { 0x01, PORT_DATA, 1 },
+ .getsda = { 0x40, PORT_STAT, 0 },
+ .getscl = { 0x80, PORT_STAT, 1 },
+ },
};
static int type = -1;
@@ -103,4 +110,5 @@ MODULE_PARM_DESC(type,
" 5 = ADM1025, ADM1030 and ADM1031 evaluation boards\n"
" 6 = Barco LPT->DVI (K5800236) adapter\n"
" 7 = One For All JP1 parallel port adapter\n"
+ " 8 = VCT-jig\n"
);
OpenPOWER on IntegriCloud