All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [PATCH] Support for Barco LTP->DVI parport I2C adapter
@ 2005-11-21 21:26 Peter Korsgaard
  2005-11-22 21:42 ` [lm-sensors] [PATCH] Support for Barco LTP->DVI parport I2C Jean Delvare
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Peter Korsgaard @ 2005-11-21 21:26 UTC (permalink / raw)
  To: lm-sensors

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [lm-sensors] [PATCH] Support for Barco LTP->DVI parport I2C
  2005-11-21 21:26 [lm-sensors] [PATCH] Support for Barco LTP->DVI parport I2C adapter Peter Korsgaard
@ 2005-11-22 21:42 ` Jean Delvare
  2005-11-22 21:54 ` Peter Korsgaard
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Jean Delvare @ 2005-11-22 21:42 UTC (permalink / raw)
  To: lm-sensors

Hi Peter,

> The following patch adds support for the Barco LTP->DVI I2C adapter to
> the i2c-parport driver.

Looks good except for the extra blank line.

Can you please tell more about that device? I googled for K5800236 but
no match. I also don't understand how a LTP->DVI converter is possible
at all. Please enlighten us.

Thanks,
-- 
Jean Delvare

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [lm-sensors] [PATCH] Support for Barco LTP->DVI parport I2C
  2005-11-21 21:26 [lm-sensors] [PATCH] Support for Barco LTP->DVI parport I2C adapter Peter Korsgaard
  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
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Peter Korsgaard @ 2005-11-22 21:54 UTC (permalink / raw)
  To: lm-sensors

>>>>> "Jean" = Jean Delvare <khali@linux-fr.org> writes:

 Jean> Hi Peter,
 >> The following patch adds support for the Barco LTP->DVI I2C adapter to
 >> the i2c-parport driver.

 Jean> Looks good except for the extra blank line.

Good.

 Jean> Can you please tell more about that device? I googled for K5800236 but
 Jean> no match. I also don't understand how a LTP->DVI converter is possible
 Jean> at all. Please enlighten us.

Certainly. It's a parport I2C adapter with a DVI connector on it which
we use for writing the DDC eeproms during production of our Barco
displays. The reason for the DVI connector is just for easy wiring as
you can then use a standard DVI cable for it.

The K58000236 number is the internal Barco order number for the
adapter.

I can provide you the schematics if you are interested, but it's
basically just a 74128 line buffer and a few diodes and resistors.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [lm-sensors] [PATCH] Support for Barco LTP->DVI parport I2C
  2005-11-21 21:26 [lm-sensors] [PATCH] Support for Barco LTP->DVI parport I2C adapter Peter Korsgaard
  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
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Jean Delvare @ 2005-11-23 12:45 UTC (permalink / raw)
  To: lm-sensors


Hi Peter,

On 2005-11-22, Peter Korsgaard wrote:
> Certainly. It's a parport I2C adapter with a DVI connector on it which
> we use for writing the DDC eeproms during production of our Barco
> displays. The reason for the DVI connector is just for easy wiring as
> you can then use a standard DVI cable for it.
>
> The K58000236 number is the internal Barco order number for the
> adapter.

OK, I get it now. You don't really get the video signal through the
parallel port. Pfew :)

Is there any reason why someone outside of Barco would use that interface
and driver?

May I have a Barco device for free, just to test the driver? :)
Just kidding...

--
Jean Delvare

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [lm-sensors] [PATCH] Support for Barco LTP->DVI parport I2C
  2005-11-21 21:26 [lm-sensors] [PATCH] Support for Barco LTP->DVI parport I2C adapter Peter Korsgaard
                   ` (2 preceding siblings ...)
  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
  5 siblings, 0 replies; 7+ messages in thread
From: Peter Korsgaard @ 2005-11-23 21:37 UTC (permalink / raw)
  To: lm-sensors

>>>>> "Jean" = Jean Delvare <khali@linux-fr.org> writes:

Hi Jean,

 Jean> OK, I get it now. You don't really get the video signal through the
 Jean> parallel port. Pfew :)

No - that would have been kinda cool though ;)

 Jean> Is there any reason why someone outside of Barco would use that
 Jean> interface and driver?

Realistically no. I could provide the schematics and someone could
make their own prints, but as all of the parport boards are pretty
much the same anyway, it doesn't really have any advantages compared
to the one in Documentation/i2c/busses/i2c-parport.

The reason why I would like it included is simply that it doesn't
harm anyone and it would make it easier for us since it's used by
several people - some without much Linux mojo, so having it in the
mainline kernel would be nice instead of having to patch the kernels.

 Jean> May I have a Barco device for free, just to test the driver? :)
 Jean> Just kidding...

I'll see what I can do..

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [lm-sensors] [PATCH] Support for Barco LTP->DVI parport I2C
  2005-11-21 21:26 [lm-sensors] [PATCH] Support for Barco LTP->DVI parport I2C adapter Peter Korsgaard
                   ` (3 preceding siblings ...)
  2005-11-23 21:37 ` Peter Korsgaard
@ 2005-11-23 22:28 ` Jean Delvare
  2005-11-24  7:03 ` Peter Korsgaard
  5 siblings, 0 replies; 7+ messages in thread
From: Jean Delvare @ 2005-11-23 22:28 UTC (permalink / raw)
  To: lm-sensors

Hi Peter,

>  Jean> Is there any reason why someone outside of Barco would use that
>  Jean> interface and driver?
> 
> Realistically no. I could provide the schematics and someone could
> make their own prints, but as all of the parport boards are pretty
> much the same anyway, it doesn't really have any advantages compared
> to the one in Documentation/i2c/busses/i2c-parport.
> 
> The reason why I would like it included is simply that it doesn't
> harm anyone and it would make it easier for us since it's used by
> several people - some without much Linux mojo, so having it in the
> mainline kernel would be nice instead of having to patch the kernels.

OK, fair enough, I was thinking quite the same. The overhead is indeed
so thin it's not even worth arguing about.

>  Jean> May I have a Barco device for free, just to test the driver? :)
>  Jean> Just kidding...
> 
> I'll see what I can do..

Come on, I was *really* kidding :) You don't even need to try and
corrupt me, your patch is already accepted as far as I am concerned.

Thanks,
-- 
Jean Delvare

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [lm-sensors] [PATCH] Support for Barco LTP->DVI parport I2C
  2005-11-21 21:26 [lm-sensors] [PATCH] Support for Barco LTP->DVI parport I2C adapter Peter Korsgaard
                   ` (4 preceding siblings ...)
  2005-11-23 22:28 ` Jean Delvare
@ 2005-11-24  7:03 ` Peter Korsgaard
  5 siblings, 0 replies; 7+ messages in thread
From: Peter Korsgaard @ 2005-11-24  7:03 UTC (permalink / raw)
  To: lm-sensors

>>>>> "Jean" = Jean Delvare <khali@linux-fr.org> writes:

Hi Jean,

 Jean> OK, fair enough, I was thinking quite the same. The overhead is indeed
 Jean> so thin it's not even worth arguing about.

Great - thanks.

 >> I'll see what I can do..

 Jean> Come on, I was *really* kidding :) You don't even need to try and
 Jean> corrupt me, your patch is already accepted as far as I am concerned.

Ok ;)

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-11-24  7:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-21 21:26 [lm-sensors] [PATCH] Support for Barco LTP->DVI parport I2C adapter Peter Korsgaard
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

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.