Messages in this thread |  | | | Date | Tue, 27 May 2008 12:20:09 +0530 | | From | "Veda N" <> | | Subject | i2c writes different sizes | |
Hi,
I am writing a kernel module that makes lots of i2c writes.
Each write is different. Some writes need only device command and data.
Some need device command, <some more paramters> <data>
there are different ways of doing this. but i want to know how it is done
in standard way. if it is simple read/write of 8 or 16 bit register write.
it is easy. but in my case instead of register address it is command
and command takes lots of parameters. which is different for different
commands. i am a newbie and i dont know how to do it.
Are there any drivers that implement such a mechanism.
I want help so that i can see how it is done in standard way
and implement it in my own module.
Thanks you.
Regards,
vedan
|  |