mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Veda N" <veda74@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: i2c writes different sizes
Date: Tue, 27 May 2008 12:20:09 +0530	[thread overview]
Message-ID: <a5eaedfa0805262350w75f5eaa0s9d4ae29a2b7b15d8@mail.gmail.com> (raw)

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

                 reply	other threads:[~2008-05-27  6:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a5eaedfa0805262350w75f5eaa0s9d4ae29a2b7b15d8@mail.gmail.com \
    --to=veda74@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®