From: benh@kernel.crashing.org (Benjamin Herrenschmidt)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC/PATCH] dns323: Support for HW rev C1
Date: Thu, 22 Apr 2010 07:11:34 +1000 [thread overview]
Message-ID: <1271884294.2330.160.camel@pasglop> (raw)
In-Reply-To: <alpine.LFD.2.00.1004211030510.7232@xanadu.home>
On Wed, 2010-04-21 at 10:32 -0400, Nicolas Pitre wrote:
> > Oh a couple more things...
> >
> > The fans are controlled via 2 GPIOs on this (see the explanation in
> the
> > patch). Do you guys think I should create some kind of pseudo hwmon
> > device so it can be controlled with one file where you write "off",
> > "low", "high", or should I just let userspace cope.
>
> If you fancy doing such thing then that would be more user friendly.
> And that could provide a common abstraction for all models.
Well, other models have an i2c fan controller that is supported by
hwmon, so I'm not sure it's necessarily -that- a good idea to change
that (but then I've never been a fan of hwmon either :-)
I'm half tempted to actually stick a thermal control kernel thread in
there and leave userspace out of the game too, like I do on most macs.
I'll think about it. No time right now anyways.
Cheers,
Ben.
next prev parent reply other threads:[~2010-04-21 21:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-21 8:28 [RFC/PATCH] dns323: Support for HW rev C1 Benjamin Herrenschmidt
2010-04-21 8:31 ` Benjamin Herrenschmidt
2010-04-21 8:37 ` Russell King - ARM Linux
2010-04-21 8:41 ` Benjamin Herrenschmidt
2010-04-21 14:32 ` Nicolas Pitre
2010-04-21 21:11 ` Benjamin Herrenschmidt [this message]
2010-04-21 18:07 ` Lennert Buytenhek
2010-04-21 20:15 ` Russell King - ARM Linux
2010-04-21 21:26 ` Benjamin Herrenschmidt
2010-04-21 21:23 ` Benjamin Herrenschmidt
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=1271884294.2330.160.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).