X86 platform drivers
 help / color / mirror / Atom feed
From: Guenter Roeck <guenter.roeck@ericsson.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>,
	"platform-driver-x86@vger.kernel.org"
	<platform-driver-x86@vger.kernel.org>
Subject: Re: [PATCH RESEND] x86,mrst: Intel Medfield over-current detection patch
Date: Tue, 8 Feb 2011 07:49:16 -0800	[thread overview]
Message-ID: <20110208154916.GB13436@ericsson.com> (raw)
In-Reply-To: <20110208140800.5001fb0a@lxorguk.ukuu.org.uk>

On Tue, Feb 08, 2011 at 09:08:00AM -0500, Alan Cox wrote:
> On Tue, 8 Feb 2011 13:52:28 +0000
> Matthew Garrett <mjg59@srcf.ucam.org> wrote:
> 
> > On Tue, Feb 08, 2011 at 10:45:35AM +0000, Alan Cox wrote:
> > > On Mon, 7 Feb 2011 19:58:43 +0000
> > > Matthew Garrett <mjg59@srcf.ucam.org> wrote:
> > > 
> > > > hwmon includes support for exposing the instantaneous current draw. 
> > > > hwmon includes support for triggering events if a parameter crosses a 

Not explicitly, really. Sure, one can write a driver which triggers such an event,
but afaik there is only one hwmon driver doing that right now, and doing so
is not part of the hwmon infrastructure.

> > > > threshold. I still don't see why this isn't an hwmon driver, perhaps 
> > > > with a small platform driver for the more estoric bits of the setup.
> > > 
> > > The hwmon maintainer says its not. Explicitly so. Been there, had that
> > > discussion a while ago (in fact we had it as well in December if you
> > > remember and I pointed you at the hwmon list discussion
> > 
> > The hwmon maintainer says that it's not an hwmon driver, not that it 
> > shouldn't be an hwmon driver.
> 
> That's not how I interpret it, but he's Cc'd so I'll let him speak for
> himself, failing that I'll stuff it in arch/x86/platform/mrst I guess

Seems to me there is some hair splitting going on here. Core element of
hwmon drivers is that there are reported temperatures, voltages, current,
power, humidity, etc. I don't see any of those here. All I see is various
current limits. Those are secondary attributes from hwmon perspective.
So I don't really see how this can be made a hwmon driver.

Anyway, didn't you have this discussion before ? Does this all have to be
repeated over and over again ? I agree with everything Alan has said
in the previous exchange last December. Repeating it won't change anything.

Guenter

  reply	other threads:[~2011-02-08 15:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-25 14:35 [PATCH RESEND] x86,mrst: Intel Medfield over-current detection patch Alan Cox
2011-02-07 19:58 ` Matthew Garrett
2011-02-08 10:45   ` Alan Cox
2011-02-08 13:52     ` Matthew Garrett
2011-02-08 14:08       ` Alan Cox
2011-02-08 15:49         ` Guenter Roeck [this message]
2011-02-08 15:56           ` Matthew Garrett
2011-02-08 16:09             ` Alan Cox
2011-02-08 16:19               ` Matthew Garrett
2011-02-08 16:21             ` Guenter Roeck

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=20110208154916.GB13436@ericsson.com \
    --to=guenter.roeck@ericsson.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=mjg59@srcf.ucam.org \
    --cc=platform-driver-x86@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox