All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Mike Frysinger <vapier.adi@gmail.com>
Cc: David Brownell <david-b@pacbell.net>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] gpio sysfs: add a "toggle" value
Date: Thu, 4 Jun 2009 02:05:01 -0700	[thread overview]
Message-ID: <20090604020501.cdeb8f10.akpm@linux-foundation.org> (raw)
In-Reply-To: <8bd0f97a0906040152h1fa57f5crd96faa37322a1b40@mail.gmail.com>

On Thu, 4 Jun 2009 04:52:35 -0400 Mike Frysinger <vapier.adi@gmail.com> wrote:

> my next request was for a 1 letter command set and chaining
> operations.  say you want to toggle a gpio line 4 times, having to go
> between kernel and userspace for that seems kind of heavy.
> echo TTTT > value

I was wondering whether "t" would be better than "toggle".

If you're going to do that, wouldn't you need a "d"(elay) too?  To
prevent large variations in interval between different platforms.  1
millisec, perhaps.

0d1dd0d1ddd0d1, too.

This could be fun.

  reply	other threads:[~2009-06-04  9:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-03  8:16 [PATCH] gpio sysfs: add a "toggle" value Mike Frysinger
2009-06-04  7:54 ` Andrew Morton
2009-06-04  8:16   ` Mike Frysinger
2009-06-04  8:27     ` David Brownell
2009-06-04  8:52       ` Mike Frysinger
2009-06-04  9:05         ` Andrew Morton [this message]
2009-06-04  9:06         ` David Brownell
2009-06-04  9:09           ` Mike Frysinger
2009-06-04  9:15             ` David Brownell
2009-06-04  9:20               ` Mike Frysinger
2009-06-04  9:48                 ` David Brownell
2009-06-04 10:06                   ` Mike Frysinger
2009-06-04  8:36     ` Andrew Morton

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=20090604020501.cdeb8f10.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=david-b@pacbell.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vapier.adi@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.