From: Tabi Timur-B04825 <B04825@freescale.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: "arnd@arndb.de" <arnd@arndb.de>,
"grant.likely@secretlab.ca" <grant.likely@secretlab.ca>,
"linuxppc-dev@ozlabs.org" <linuxppc-dev@ozlabs.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] drivers/misc: introduce Freescale Data Collection Manager driver
Date: Tue, 2 Aug 2011 01:57:45 +0000 [thread overview]
Message-ID: <4E375998.1020901@freescale.com> (raw)
In-Reply-To: <20110802015050.GA17286@opensource.wolfsonmicro.com>
Mark Brown wrote:
> I'd expect that things like the _lowest, _highest and _average
> attributes which a number of drivers have are what you're looking for.
Yes, but then all I'm doing is presenting numbers that don't change to an
interface, simply on the basis that the numbers represent sensor values.
If I'm running a sensor application, I'm doing it to get real-time
monitoring of the sensors in my system. The DCM on our boards is not
capable of real-time results. So you're not actually "monitoring" the
hardware. The data from the DCM is available only *after* you stop
running the background process.
> At the very least it seems obvious how you might extend the interface if
> some features you need are missing. The subsystem has fairly extensive
> documentation in Documentation/hwmon.
I just don't see how it fits. Yes, I could do it, but then I'd end up
with something that doesn't make any sense. I would have to use a custom
interface to start monitoring and then another interface to stop it. Then
I would query the results use the hwmon interface, but the results would
be static. That just seems silly.
--
Timur Tabi
Linux kernel developer at Freescale
next prev parent reply other threads:[~2011-08-02 1:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-01 21:48 [PATCH] drivers/misc: introduce Freescale Data Collection Manager driver Timur Tabi
2011-08-01 23:46 ` Mark Brown
2011-08-01 23:58 ` Tabi Timur-B04825
2011-08-02 1:50 ` Mark Brown
2011-08-02 1:57 ` Tabi Timur-B04825 [this message]
2011-08-02 2:26 ` Mark Brown
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=4E375998.1020901@freescale.com \
--to=b04825@freescale.com \
--cc=arnd@arndb.de \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=grant.likely@secretlab.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox