From: jacmet@sunsite.dk (Peter Korsgaard)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] [PATCH] Support for Barco LTP->DVI parport I2C adapter
Date: Mon, 21 Nov 2005 21:26:40 +0000 [thread overview]
Message-ID: <87oe4d4uit.fsf@48ers.dk> (raw)
Hi,
The following patch adds support for the Barco LTP->DVI I2C adapter to
the i2c-parport driver.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
diff -urpN linux-2.6.14.2.orig/Documentation/i2c/busses/i2c-parport linux-2.6.14.2/Documentation/i2c/busses/i2c-parport
--- linux-2.6.14.2.orig/Documentation/i2c/busses/i2c-parport 2005-11-21 17:51:26.000000000 +0100
+++ linux-2.6.14.2/Documentation/i2c/busses/i2c-parport 2005-11-21 17:54:37.000000000 +0100
@@ -17,6 +17,7 @@ It currently supports the following devi
* Velleman K8000 adapter
* ELV adapter
* Analog Devices evaluation boards (ADM1025, ADM1030, ADM1031, ADM1032)
+ * Barco LPT->DVI (K5800236) adapter
These devices use different pinout configurations, so you have to tell
the driver what you have, using the type module parameter. There is no
diff -urpN linux-2.6.14.2.orig/drivers/i2c/busses/i2c-parport.h linux-2.6.14.2/drivers/i2c/busses/i2c-parport.h
--- linux-2.6.14.2.orig/drivers/i2c/busses/i2c-parport.h 2005-11-21 17:51:51.000000000 +0100
+++ linux-2.6.14.2/drivers/i2c/busses/i2c-parport.h 2005-11-21 17:55:01.000000000 +0100
@@ -80,6 +80,15 @@ static struct adapter_parm adapter_parm[
.setscl = { 0x01, DATA, 1 },
.getsda = { 0x10, STAT, 1 },
},
+ /* type 6: Barco LPT->DVI (K5800236) adapter */
+ {
+ .setsda = { 0x02, DATA, 1 },
+ .setscl = { 0x01, DATA, 1 },
+ .getsda = { 0x20, STAT, 0 },
+ .getscl = { 0x40, STAT, 0 },
+ .init = { 0xfc, DATA, 0 },
+ },
+
};
static int type;
@@ -91,4 +100,5 @@ MODULE_PARM_DESC(type,
" 2 = Velleman K8000 adapter\n"
" 3 = ELV adapter\n"
" 4 = ADM1032 evaluation board\n"
- " 5 = ADM1025, ADM1030 and ADM1031 evaluation boards\n");
+ " 5 = ADM1025, ADM1030 and ADM1031 evaluation boards\n"
+ " 6 = Barco LPT->DVI (K5800236) adapter\n");
--
Bye, Peter Korsgaard
next reply other threads:[~2005-11-21 21:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-21 21:26 Peter Korsgaard [this message]
2005-11-22 21:42 ` [lm-sensors] [PATCH] Support for Barco LTP->DVI parport I2C Jean Delvare
2005-11-22 21:54 ` Peter Korsgaard
2005-11-23 12:45 ` Jean Delvare
2005-11-23 21:37 ` Peter Korsgaard
2005-11-23 22:28 ` Jean Delvare
2005-11-24 7:03 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87oe4d4uit.fsf@48ers.dk \
--to=jacmet@sunsite.dk \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.