From: Lars-Peter Clausen <lars@metafoo.de>
To: Denis Ciocca <denis.ciocca@gmail.com>
Cc: jic23@kernel.org,
"linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>
Subject: Re: question about driver for different sensors in the same ASIC
Date: Wed, 12 Dec 2012 20:45:16 +0100 [thread overview]
Message-ID: <50C8DECC.7010706@metafoo.de> (raw)
In-Reply-To: <3BE6D37A-6EDA-4E4C-808F-1DEAEDE86DA3@gmail.com>
On 12/12/2012 08:19 PM, Denis Ciocca wrote:
> Ho guys,
>
> I have a question for you!
> If I have two sensors (accelerometer and gyroscope for example) in the same ASIC with the same I2C address, I have to do only one driver (only probe I think) for the devices or it is possible execute two different probes (one for accelerometer and the other one for gyroscope) keeping separate the drivers?
> Thanks,
>
> Denis
Usually you'd want to be able to sample both the accelerometer and gyro sensors
at the same time, so just one driver should be fine.
Or have the gyro and accelerometer sensors completely separated register maps
and don't share any functionality?
- Lars
next prev parent reply other threads:[~2012-12-12 19:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-12 19:19 question about driver for different sensors in the same ASIC Denis Ciocca
2012-12-12 19:45 ` Lars-Peter Clausen [this message]
[not found] ` <CAEE_umopjN7C_jXhozc5r+uyCbO32E3NoLF=REvwtvPXYaR54w@mail.gmail.com>
[not found] ` <50C8E7A7.2030901@metafoo.de>
2012-12-12 21:09 ` Alexander Holler
2012-12-13 8:28 ` Jonathan Cameron
2012-12-13 8:48 ` Jonathan Cameron
2012-12-13 8:57 ` Jonathan Cameron
2012-12-13 9:07 ` Jonathan Cameron
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=50C8DECC.7010706@metafoo.de \
--to=lars@metafoo.de \
--cc=denis.ciocca@gmail.com \
--cc=jic23@kernel.org \
--cc=linux-iio@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.