public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: "Aguirre Rodriguez, Sergio Alberto" <saaguirre@ti.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"Hiremath, Vaibhav" <hvaibhav@ti.com>
Subject: Re: Calling an I2C camera sensor with SMBUS API?
Date: Thu, 11 Dec 2008 15:24:56 -0800	[thread overview]
Message-ID: <200812111524.57050.david-b@pacbell.net> (raw)
In-Reply-To: <A24693684029E5489D1D202277BE894415E6E3C1@dlee02.ent.ti.com>

On Thursday 11 December 2008, Aguirre Rodriguez, Sergio Alberto wrote:
> 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) 

There's the "proc call" which gives 16 bits in each direction;
I think the Linux call for that got removed because it had no
users, but could be restored if needed.

Probably best to take this question up on the I2C list.

- Dave




  reply	other threads:[~2008-12-11 23:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-11 23:10 Calling an I2C camera sensor with SMBUS API? Aguirre Rodriguez, Sergio Alberto
2008-12-11 23:24 ` David Brownell [this message]
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

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=200812111524.57050.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=hvaibhav@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=saaguirre@ti.com \
    /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