[<prev] [next>] [day] [month] [year] [list]
Message-ID: <a5eaedfa0805262350w75f5eaa0s9d4ae29a2b7b15d8@mail.gmail.com>
Date: Tue, 27 May 2008 12:20:09 +0530
From: "Veda N" <veda74@...il.com>
To: linux-kernel@...r.kernel.org
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists