linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: andrew may <acmay@acmay.homeip.net>
To: Kenneth Johansson <kenneth.johansson@inn.ericsson.se>
Cc: andrew may <acmay@acmay.homeip.net>,
	Kenneth Johansson <kenneth.johansson@etx.ericsson.se>,
	Linuxppc embedded <linuxppc-embedded@lists.linuxppc.org>,
	Armin Kuster <akuster@mvista.com>
Subject: Re: [PATCH] ibm ocp gpio
Date: Tue, 21 May 2002 11:26:17 -0700	[thread overview]
Message-ID: <20020521112617.C20012@ecam.san.rr.com> (raw)
In-Reply-To: <1021998521.7266.46.camel@swb11>


On Tue, May 21, 2002 at 06:28:41PM +0200, Kenneth Johansson wrote:
> On Tue, 2002-05-21 at 18:08, andrew may wrote:
>
> > Well no it doesn't need to be in the driver, but you then are forced with
> > having every other driver doing there own timer to turn off the bit rather
> > than having one timer take care of them all. And do you really want to
>
> Well I don't think that would be a problem and if we are talking led's
> its not going to happen more than a few time a second you have to see
> the thing flash. I don't want more code in the kernel than absolutely
> necessary all it takes is one bug.
>
> If you really want to make something that can't be done other than in
> the driver it's some type of streaming mode and then you have to have
> timers to control the speed. Think any card that needs to program sram
> based FPGA it would probably go many times faster than todays interface.

Look at the code and stop the hand-waving generalities.

The other motto of the kernel is do it once right. If this code is not
there every thing that just wants to turn on a LED for a half second needs
to do their own timer. I have a couple drivers where I use some LED's on the
GPIO pins and I don't want to do a timer in each one of them.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2002-05-21 18:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-21  1:26 [PATCH] ibm ocp gpio andrew may
2002-05-21  9:11 ` Kenneth Johansson
2002-05-21 16:08   ` andrew may
2002-05-21 16:28     ` Kenneth Johansson
2002-05-21 18:26       ` andrew may [this message]
2002-05-22 10:58         ` Kenneth Johansson

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=20020521112617.C20012@ecam.san.rr.com \
    --to=acmay@acmay.homeip.net \
    --cc=akuster@mvista.com \
    --cc=kenneth.johansson@etx.ericsson.se \
    --cc=kenneth.johansson@inn.ericsson.se \
    --cc=linuxppc-embedded@lists.linuxppc.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).