From: Jonathan Cameron <Jonathan.Cameron@gmail.com>
To: Mike Frysinger <vapier.adi@gmail.com>
Cc: Jonathan Cameron <jic23@cam.ac.uk>,
Chris Verges <chrisv@cyberswitching.com>,
linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org,
Michael Hennerich <michael.hennerich@analog.com>,
Robin Getz <rgetz@blackfin.uclinux.org>
Subject: Re: [lm-sensors] [PATCH] adxl345 accelerometer hwmon driver
Date: Thu, 02 Jul 2009 17:59:35 +0000 [thread overview]
Message-ID: <4A4CF587.1030202@gmail.com> (raw)
In-Reply-To: <8bd0f97a0907021043l30a34e6dh581ea5e96130d7eb@mail.gmail.com>
Mike Frysinger wrote:
> On Thu, Jul 2, 2009 at 13:38, Jonathan Cameron wrote:
>
>> One interesting thing I just came across whilst searching lkml for
>> your post to reply to, was that Mike Frysinger submited a patch
>> adding some board support for an adx34x driver to bf548-ezkit.
>> I've not seen any sign of this anywhere else as yet (it hasn't
>> hit the input list which would be the obvious place) I've copied in
>> both people who signed off. Michael or Mike able to give us more info?
>>
>
> that's because we're still in the process of making sure it is stable.
> I2C is a pita to work with.
> http://git.kernel.org/?p=linux/kernel/git/vapier/blackfin.git;a=commitdiff;hCd4cabbdeb5c24f84b159c5dc369c1a60844a48
>
> the advantage here is that we have been testing our driver with actual
> hardware ...
>
Cheat ;)
Looks like a nice driver, see what you mean about the i2c fun and games
you are having
though.
I'm particularly interested in your use of the fifo:
I've only had a quick look, but assuming I read it right, you are using
the fifo
with a watermark of 0 then spitting out 3 separate events for every
element in it.
Basically a data ready response unless you fail to read in time. Seems
like a sensible
approach with this particular chip in input type applications.
Does this work well even at the higher rates? Seems a fair bit of
overhead but I guess
if everything is quick enough it doesn't really matter. Does this act as
a clean means
of ensuring you get a consistent set of values?
Thanks,
Jonathan
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
WARNING: multiple messages have this Message-ID (diff)
From: Jonathan Cameron <Jonathan.Cameron@gmail.com>
To: Mike Frysinger <vapier.adi@gmail.com>
Cc: Jonathan Cameron <jic23@cam.ac.uk>,
Chris Verges <chrisv@cyberswitching.com>,
linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org,
Michael Hennerich <michael.hennerich@analog.com>,
Robin Getz <rgetz@blackfin.uclinux.org>
Subject: Re: [lm-sensors] [PATCH] adxl345 accelerometer hwmon driver
Date: Thu, 02 Jul 2009 17:59:35 +0000 [thread overview]
Message-ID: <4A4CF587.1030202@gmail.com> (raw)
In-Reply-To: <8bd0f97a0907021043l30a34e6dh581ea5e96130d7eb@mail.gmail.com>
Mike Frysinger wrote:
> On Thu, Jul 2, 2009 at 13:38, Jonathan Cameron wrote:
>
>> One interesting thing I just came across whilst searching lkml for
>> your post to reply to, was that Mike Frysinger submited a patch
>> adding some board support for an adx34x driver to bf548-ezkit.
>> I've not seen any sign of this anywhere else as yet (it hasn't
>> hit the input list which would be the obvious place) I've copied in
>> both people who signed off. Michael or Mike able to give us more info?
>>
>
> that's because we're still in the process of making sure it is stable.
> I2C is a pita to work with.
> http://git.kernel.org/?p=linux/kernel/git/vapier/blackfin.git;a=commitdiff;h=43d4cabbdeb5c24f84b159c5dc369c1a60844a48
>
> the advantage here is that we have been testing our driver with actual
> hardware ...
>
Cheat ;)
Looks like a nice driver, see what you mean about the i2c fun and games
you are having
though.
I'm particularly interested in your use of the fifo:
I've only had a quick look, but assuming I read it right, you are using
the fifo
with a watermark of 0 then spitting out 3 separate events for every
element in it.
Basically a data ready response unless you fail to read in time. Seems
like a sensible
approach with this particular chip in input type applications.
Does this work well even at the higher rates? Seems a fair bit of
overhead but I guess
if everything is quick enough it doesn't really matter. Does this act as
a clean means
of ensuring you get a consistent set of values?
Thanks,
Jonathan
next prev parent reply other threads:[~2009-07-02 17:59 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Acn6eDhBoTUmzVqOSVGG9a2LiwqVrA==>
2009-07-01 18:17 ` [lm-sensors] [PATCH] adxl345 accelerometer hwmon driver Chris Verges
2009-07-01 18:17 ` Chris Verges
2009-07-01 19:10 ` [lm-sensors] " Jonathan Cameron
2009-07-01 19:10 ` Jonathan Cameron
2009-07-01 19:19 ` Chris Verges
2009-07-01 19:19 ` Chris Verges
2009-07-01 20:13 ` Jean Delvare
2009-07-01 20:13 ` Jean Delvare
2009-07-01 20:52 ` [lm-sensors] " Chris Verges
2009-07-01 20:52 ` Chris Verges
2009-07-02 11:25 ` [lm-sensors] " Jean Delvare
2009-07-02 11:25 ` Jean Delvare
2009-07-02 13:55 ` [lm-sensors] " Jonathan Cameron
2009-07-02 13:55 ` Jonathan Cameron
2009-07-02 8:04 ` [lm-sensors] " Éric Piel
2009-07-02 8:04 ` Éric Piel
2009-07-01 19:33 ` [lm-sensors] " Jean Delvare
2009-07-01 19:33 ` Jean Delvare
2009-07-02 14:15 ` Chris Verges
2009-07-02 17:38 ` Jonathan Cameron
2009-07-02 17:38 ` Jonathan Cameron
2009-07-02 17:43 ` Mike Frysinger
2009-07-02 17:43 ` Mike Frysinger
2009-07-02 17:59 ` Jonathan Cameron [this message]
2009-07-02 17:59 ` Jonathan Cameron
2009-07-02 18:12 ` Hennerich, Michael
2009-07-02 18:12 ` Hennerich, Michael
2009-07-02 18:15 ` Mike Frysinger
2009-07-02 18:15 ` Mike Frysinger
2009-07-02 17:59 ` Hennerich, Michael
2009-07-02 17:59 ` Hennerich, Michael
2009-08-14 11:05 ` XingChao Wang
2009-08-14 11:05 ` XingChao Wang
2009-08-14 13:48 ` [lm-sensors] " Chris Verges
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=4A4CF587.1030202@gmail.com \
--to=jonathan.cameron@gmail.com \
--cc=chrisv@cyberswitching.com \
--cc=jic23@cam.ac.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=lm-sensors@lm-sensors.org \
--cc=michael.hennerich@analog.com \
--cc=rgetz@blackfin.uclinux.org \
--cc=vapier.adi@gmail.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 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.