[PATCH 3/4] Added I2C IDs for OLPC XO's Display Controller (DCON).

Andres Salomon dilinger at queued.net
Thu Feb 25 07:13:30 UTC 2010


On Thu, 25 Feb 2010 14:34:40 +0800
Raymond Lai <airwave209gt at gmail.com> wrote:

> From: Raymond Lai <airwave at cinderella.(none)>
> 
> The IDs are from OLPC's kernel source tree.
> 
> Signed-off-by: Raymond Lai <airwave209gt at gmail.com>
> ---
>  include/linux/i2c-id.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/include/linux/i2c-id.h b/include/linux/i2c-id.h
> index c9087de..96ed845 100644
> --- a/include/linux/i2c-id.h
> +++ b/include/linux/i2c-id.h
> @@ -37,6 +37,7 @@
>  #define I2C_DRIVERID_TVAUDIO    29      /* Generic TV sound driver      */
>  #define I2C_DRIVERID_SAA711X	73	/* saa711x video encoders	*/
>  #define I2C_DRIVERID_INFRARED	75	/* I2C InfraRed on Video boards */
> +#define	I2C_DRIVERID_DCON	89	/* OLPC XO-1 DCON */

One of the (many) things on my TODO list was to determine if this was
actually necessary or not.  Have you tried using the DCON driver
without this?  

This stuff was originally from Jordan, btw.


>  
>  /*
>   * ---- Adapter types ----------------------------------------------------
> @@ -59,6 +60,7 @@
>  
>  /* --- SMBus only adapters						*/
>  #define I2C_HW_SMBUS_W9968CF	0x04000d
> +#define I2C_HW_SMBUS_SCX200     0x04000b
>  #define I2C_HW_SMBUS_OV511	0x04000e /* OV511(+) USB 1.1 webcam ICs */
>  #define I2C_HW_SMBUS_OV518	0x04000f /* OV518(+) USB 1.1 webcam ICs */
>  #define I2C_HW_SMBUS_CAFE	0x040012 /* Marvell 88ALP01 "CAFE" cam  */




More information about the devel mailing list