Request for I2C IDs
Quoted 2 lines
I hope you're the right person to contact about this. I sent this to the I2C mailing list a few months ago, but got no response.
That was the correct address. I see your previous post. Sorry we had no time to answer then. Greg KH must know about it too.
Quoted 33 lines
I'd like to request the following I2C IDs for the OVCam driver project
<http://alpha.dyndns.org/ov511/>:
I2C_DRIVERID_OVCAMCHIP
Chips: OmniVision OV6130, OV6630, OV7110, OV7610, OV76BE, OV7120,
OV7620, and OV7620AE CMOS image sensors
Address:0x60(OV6xxx),0x21(OV7xxx)
Driver: ovcamchip (formerly ovsensor)
Driver status: Preparing for 2.4 and 2.6 kernel inclusion
I2C_DRIVERID_TDA7313
Chips: SGS-Thomson TDA7313 and Princeton Technology PT2313L audio
processors
Address:0x44
Driver: tda7313
Driver status: Minimally functional
I2C_HW_SMBUS_OV511
Chips: OmniVision OV511 and OV511+ USB 1.1 webcam ICs
Driver: ov511
Driver status: In 2.4/2.6 kernel (I2C support under development)
I2C_HW_SMBUS_OV518
Chips: OmniVision OV518 and OV518+ USB 1.1 webcam ICs
Driver: ov511 (not a typo; the drivers are in the same module) Driver status: In 2.4/2.6 kernel (I2C support under development)
I2C_HW_SMBUS_OV519
Chips: OmniVision OV519 USB 1.1 webcam IC
Driver: ov519
Driver status: Under development
Quoted 4 lines
I2C_HW_SMBUS_OVFX2
Chips: Cypress Ez-USB FX2 with OmniVision USB 2.0 webcam firmware
Driver: ovfx2
Driver status: Experimental
One preliminary note: our authority on I2C IDs isn't unquestionable. Sometimes people submit patches to the Linux kernel and use whatever ID they want. It's a shame but it works. So, if someone is quicker than you to use the following IDs, we may have to concede and have you change your IDs.
Another note: you shouldn't expect to see any of your drivers accepted into Linux 2.4 anymore.
Here we go anyway:
#define I2C_DRIVERID_OVCAMCHIP 61 /* OmniVision CMOS image sens. */
#define I2C_DRIVERID_TDA7313 62 /* TDA7313 audio processor */
#define I2C_HW_SMBUS_OV511 0x0e /* OV511(+) USB 1.1 webcam ICs */
#define I2C_HW_SMBUS_OV518 0x0f /* OV518(+) USB 1.1 webcam ICs */
#define I2C_HW_SMBUS_OV519 0x10 /* OV519 USB 1.1 webcam IC */
#define I2C_HW_SMBUS_OVFX2 0x11 /* Cypress Ez-USB FX2 USB 2.0 */
Greg, should I send a patch to you with these?
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 4 lines
Quoted 1 line
#define
I2C_HW_SMBUS_OVFX20x11/* Cypress Ez-USB FX2 USB 2.0 */You should change that last comment to "Cypress/OmniVision FX2 webcam", since lots of other (non-webcam) devices utilize the FX2.
Done.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 9 lines · Jean Delvare
Quoted 4 lines
I hope you're the right person to contact about this. I sent this to the I2C mailing list a few months ago, but got no response.
That was the correct address. I see your previous post. Sorry we had no time to answer then. Greg KH must know about it too.
Not a problem. I've been using temporary IDs in the meantime (outside the kernel only).
Quoted 4 lines
Quoted 4 lines
I'd like to request the following I2C IDs for the OVCam driver project
<http://alpha.dyndns.org/ov511/>:
<snip>
Quoted 7 lines
One preliminary note: our authority on I2C IDs isn't unquestionable. Sometimes people submit patches to the Linux kernel and use whatever ID they want. It's a shame but it works. So, if someone is quicker than you to use the following IDs, we may have to concede and have you change your IDs.
Understood. Not a problem.
Quoted 4 lines
Another note: you shouldn't expect to see any of your drivers accepted into Linux 2.4 anymore.
You're probably right, but I'll try anyway. It would be a shame if it didn't go in, since the already-merged W9967CF driver depends on ovcamchip.
Quoted 11 lines
Here we go anyway:
#define
I2C_DRIVERID_OVCAMCHIP61 /* OmniVision CMOS image sens. */
#defineI2C_DRIVERID_TDA731362 /* TDA7313 audio processor */#define
I2C_HW_SMBUS_OV5110x0e/* OV511(+) USB 1.1 webcam ICs */
#defineI2C_HW_SMBUS_OV5180x0f/* OV518(+) USB 1.1 webcam ICs */
#defineI2C_HW_SMBUS_OV5190x10/* OV519 USB 1.1 webcam IC */
#defineI2C_HW_SMBUS_OVFX20x11/* Cypress Ez-USB FX2 USB 2.0 */
You should change that last comment to "Cypress/OmniVision FX2 webcam", since lots of other (non-webcam) devices utilize the FX2.
Anyway, the rest look good. Thanks for your assistance with this!
Signature · 2 lines
Mark McClelland [email protected]
Quoted 2 lines · Jean Delvare
Greg, should I send a patch to you with these?
Sure, if it's needed.
thanks,
greg k-h
Quoted 3 lines
Quoted 1 line
Greg, should I send a patch to you with these?
Sure, if it's needed.
Just noticed that I never sent the promised patch. Here it is. I also added a few other IDs, since we have them in our (2.4) i2c CVS repository. Having them in 2.6 as well will at least prevent collisions.
Thanks.
include/linux/i2c-id.h renamed from include/linux/i2c-id.h.orig +12 -0
@@ -101,6 +101,14 @@#define I2C_DRIVERID_UDA1342 53/* UDA1342 audio codec */ #define I2C_DRIVERID_ADV7170 54/* video encoder */ #define I2C_DRIVERID_RADEON 55/* I2C bus on Radeon boards */ +#define I2C_DRIVERID_MAX1617 56/* temp sensor */ +#define I2C_DRIVERID_SAA7191 57/* video encoder */ +#define I2C_DRIVERID_INDYCAM 58/* SGI IndyCam */ +#define I2C_DRIVERID_BT832 59/* CMOS camera video processor */ +#define I2C_DRIVERID_TDA9887 60/* TDA988x IF-PLL demodulator */ +#define I2C_DRIVERID_OVCAMCHIP 61/* OmniVision CMOS image sens. */ +#define I2C_DRIVERID_TDA7313 62/* TDA7313 audio processor */ +#define I2C_DRIVERID_MAX6900 63/* MAX6900 real-time clock */ #define I2C_DRIVERID_EXP0 0xF0/* experimental use id's */
@@ -264,6 +272,10 @@#define I2C_HW_SMBUS_SCX200 0x0b#define I2C_HW_SMBUS_NFORCE2 0x0c#define I2C_HW_SMBUS_W9968CF 0x0d +#define I2C_HW_SMBUS_OV511 0x0e/* OV511(+) USB 1.1 webcam ICs */ +#define I2C_HW_SMBUS_OV518 0x0f/* OV518(+) USB 1.1 webcam ICs */ +#define I2C_HW_SMBUS_OV519 0x10/* OV519 USB 1.1 webcam IC */ +#define I2C_HW_SMBUS_OVFX2 0x11/* Cypress/OmniVision FX2 webcam */ /* --- ISA pseudo-adapter */ #define I2C_HW_ISA 0x00
Signature · 2 lines
Jean Delvare http://khali.linux-fr.org/
Greg KH
AppliedQuoted 7 lines · Jean Delvare
Quoted 3 lines
Quoted 1 line
Greg, should I send a patch to you with these?
Sure, if it's needed.
Just noticed that I never sent the promised patch. Here it is. I also added a few other IDs, since we have them in our (2.4) i2c CVS repository. Having them in 2.6 as well will at least prevent collisions.
Applied, thanks.
greg k-h