Skip to contentSkip to conversation

Add ADM1025EB support to i2c-parport

PATCH New Jean Delvare 2 participants 2 messages May 19, 2005 I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add ADM1025EB support to i2c-parport

Hi Greg,

The following patch adds support for the ADM1025 evaluation board to the i2c-parport (and i2c-parport-light) driver(s). In fact, it happens that it was already supported as an ADM1032 evaluation board, so it is just a matter of documenting it correctly.

Please apply,
thanks.

drivers/i2c/busses/i2c-parport.h renamed from drivers/i2c/busses/i2c-parport.h.orig +4 -3
@@ -67,12 +67,13 @@
 		.getsda	= { 0x40, STAT, 1 },
 		.getscl	= { 0x08, STAT, 1 },
 	},
-	/* type 4: ADM 1032 evaluation board */
+	/* type 4: ADM1025 and ADM1032 evaluation boards */
 	{
 		.setsda	= { 0x02, DATA, 1 },
 		.setscl	= { 0x01, DATA, 1 },
 		.getsda	= { 0x10, STAT, 1 },
-		.init	= { 0xf0, DATA, 0 },
+		.init	= { 0xf0, DATA, 0 }, /* ADM1025 doesn't need this,
+						but it doesn't hurt */
 	},
 };
 
@@ -84,4 +85,4 @@
 	" 1 = home brew teletext adapter\n"
 	" 2 = Velleman K8000 adapter\n"
 	" 3 = ELV adapter\n"
-	" 4 = ADM 1032 evalulation board\n");
+	" 4 = ADM1025 and ADM1032 evaluation boards\n");
Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
Applied
#1 lore raw

PATCH 1/1 Add ADM1025EB support to i2c-parport

Quoted 6 lines · Jean Delvare

Hi Greg,

The following patch adds support for the ADM1025 evaluation board to the i2c-parport (and i2c-parport-light) driver(s). In fact, it happens that it was already supported as an ADM1032 evaluation board, so it is just a matter of documenting it correctly.

Applied, thanks.

greg k-h