linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: benh@kernel.crashing.org (Benjamin Herrenschmidt)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC/PATCH] dns323: Support for HW rev C1
Date: Wed, 21 Apr 2010 18:31:40 +1000	[thread overview]
Message-ID: <1271838700.2330.143.camel@pasglop> (raw)
In-Reply-To: <1271838486.2330.139.camel@pasglop>

On Wed, 2010-04-21 at 18:28 +1000, Benjamin Herrenschmidt wrote:
> This patch adds support for HW rev C1 of this critter. I have figured
> out -most- of the GPIO layout, though there are still some unknowns.
> 
> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> ---
> 
> Some of it is a tad hackish, so I'm open to suggestions as to how to do
> it better and I'm happy to split the drivers/net part upon request, this
> is really just [RFC] at this stage. 

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.

Also, it would be nice for said userspace to know the HW revision to be
able to get the right fan control method for example.

Do you have a hook in ARM for adding something to /proc/cpuinfo where I
could export the board revision ? Or a "standard" practice to do that ?

Cheers,
Ben.

  reply	other threads:[~2010-04-21  8:31 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 [this message]
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
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=1271838700.2330.143.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).