[lkml]   [2009]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] gpio sysfs: add a "toggle" value
    On Thu, Jun 4, 2009 at 05:48, David Brownell wrote:
    > On Thursday 04 June 2009, Mike Frysinger wrote:
    >> > I don't like the idea of embedding any kind of interpreter
    >> > in the sysfs interface, but that's the direction you seem
    >> > to be heading ...
    >> i dont view the userspace GPIO interface as a simple "i want to wiggle
    >> pins for fun and testing".  i see it as a dynamic method for building
    >> userspace drivers for simple devices.
    > I don't.  I see it as an adjunct to real drivers.  Or maybe
    > we just differ on what "simple" means here.
    >> as such, having a very simple
    >> "command language" for optimizing the interaction provides a pretty
    >> good trade off between kernel complexity and lowering overhead imo.
    > If that's what you want, why don't you write a custom driver
    > that provides the kind of command interpreter you want?

    i had "simple-gpio" but it was rejected as it duplicated too much with
    the gpio sysfs interface

    does vectored writes (writve) work with sysfs ? if so, then that
    should work for back-to-back commands rather than having sysfs do
    stream parsing.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2009-06-04 12:09    [W:0.044 / U:4.260 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site