mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* i2c writes different sizes
@ 2008-05-27  6:50 Veda N
  0 siblings, 0 replies; only message in thread
From: Veda N @ 2008-05-27  6:50 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-27  6:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-27  6:50 i2c writes different sizes Veda N

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®