public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Calling an I2C camera sensor with SMBUS API?
@ 2008-12-11 23:10 Aguirre Rodriguez, Sergio Alberto
  2008-12-11 23:24 ` David Brownell
  0 siblings, 1 reply; 9+ messages in thread
From: Aguirre Rodriguez, Sergio Alberto @ 2008-12-11 23:10 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org; +Cc: David Brownell, Hiremath, Vaibhav

Hi,

Some days back, Vaibhav Hiremat submitted patches for an I2C chip, and somebody (I think David Brownell) suggested to use SMBUS API instead of manually constructing i2c messages and sending using i2c_transfer API.

So I attempted to do the same for a camera sensor I've been working on.

But one thing I noticed is that my sensor needs to access 16-bit register addresses in the device, and I saw in SMBUS spec 2.0 that the equivalent thing (SMBUS commands) are only 8-bit length.

So, should this automatically discard using SMBUS api for my case, or am I missing something else? (like a SMBUS 16-bit expansion or so)

Regards,
Sergio

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-12-17 13:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-11 23:10 Calling an I2C camera sensor with SMBUS API? Aguirre Rodriguez, Sergio Alberto
2008-12-11 23:24 ` David Brownell
2008-12-11 23:58   ` Aguirre Rodriguez, Sergio Alberto
2008-12-16 20:23   ` Issue: TWL4030-USB Pandita, Vikram
2008-12-16 20:36     ` David Brownell
2008-12-16 20:55       ` Pandita, Vikram
2008-12-16 21:09         ` Felipe Balbi
2008-12-17 13:43           ` Pandita, Vikram
2008-12-16 21:24         ` David Brownell

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