[Ilugc] I2C Driver development
sureshkumarr.s at gmail.com
Tue Oct 6 14:28:13 IST 2009
I am develping i2c driver for temperature sensor.
I guess two methods of available for driver development.
legacy method using i2c.h header file & using the legacy functuions like
i2c_detect(adapter, &addr_data, detect),i2c_smbus_read_byte_data(client, reg)
another method is bitwise operations which internally uses the legacy
method using i2c-algo-bit.h header file & using the functions like
I just want to understand the difference of these two, and require some
guidelines for develope the driver.
Date: Tue, 6 Oct 2009 12:31:27 +0530
From: Girish Venkatachalam <girishvenkatachalam at gmail.com>
Subject: Re: [Ilugc] I2C Driver development
To: ILUG-C <ilugc at ae.iitm.ac.in>
<7938ae610910060001s4a2c5cf2p34d3670f22798a8b at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
On Tue, Oct 6, 2009 at 12:25 PM, Suresh Kumar <sureshkumarr.s at gmail.com>
> Hi All,
> I am just practing the I2c driver development. surfed the net and read
> tutorials and most of them refered i2c.h header file for i2c driver
> But i came to know, there is another method for developing the i2c driver
> using i2c-algo-bit.h header file.
> Can some one help to understand the difference in the I2c driver
> using i2c.h & i2c-algo-bit.h?
> and detailed functionalities of each?
Your question is too hard for me.
How do you develop using a header file?
What is it that you mean? Can you phrase your question better?
What do you want to do with i2c bus?
You want to develop a driver for what? TV card?
More information about the ilugc