Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa16eefd authored by Till Harbaum's avatar Till Harbaum Committed by Jean Delvare
Browse files

i2c-tiny-usb: New VID/PID pair



I have recently bought some USB PIDs from EZPrototypes for my USB projects
and one will be for the i2c-tiny-usb. I have not yet started to use the new 
one in the official i2c-tiny-usb firmware since i think it makes sense to get 
the change into the kernel before releasing a modified firmware.

This patch adds support for the EZPrototypes USB vid/pid pair used in later
i2c-tiny-usb firmware versions (avrusb v1.06 and up, usbtiny v2.06 and up).

Signed-off-by: default avatarTill Harbaum <Till@Harbaum.org>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent b73a9aec
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -131,10 +131,14 @@ static const struct i2c_algorithm usb_algorithm = {

/* ----- begin of usb layer ---------------------------------------------- */

/* The usb i2c interface uses a vid/pid pair donated by */
/* Future Technology Devices International Ltd. */
/*
 * Initially the usb i2c interface uses a vid/pid pair donated by
 * Future Technology Devices International Ltd., later a pair was
 * bought from EZPrototypes
 */
static struct usb_device_id i2c_tiny_usb_table [] = {
	{ USB_DEVICE(0x0403, 0xc631) },
	{ USB_DEVICE(0x0403, 0xc631) },   /* FTDI */
	{ USB_DEVICE(0x1c40, 0x0534) },   /* EZPrototypes */
	{ }                               /* Terminating entry */
};