- Jan 05, 2012
-
-
Federico Vaga authored
zio_cset interface modified. You can define a channel template to apply to all new allocated channels. This replaces the sysfs attribute channel template which is not enough. Channel template includes also the sysfs attributes to apply on each channel Signed-off-by:
Federico Vaga <federico.vaga@gmail.com> Acked-by:
Alessandro Rubini <rubini@gnudd.com>
-
Federico Vaga authored
Signed-off-by:
Federico Vaga <federico.vaga@gmail.com> Acked-by:
Alessandro Rubini <rubini@gnudd.com>
-
Federico Vaga authored
Signed-off-by:
Federico Vaga <federico.vaga@gmail.com> Acked-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Dec 11, 2011
-
-
Signed-off-by:
Randy Dunlap <rdunlap@xenotime.net> Acked-by:
Alessandro Rubini <rubini@gnudd.com>
-
Federico Vaga authored
Internal cleanup: no interface change. Signed-off-by:
Federico Vaga <federico.vaga@gmail.com> Acked-by:
Alessandro Rubini <rubini@gnudd.com>
-
Federico Vaga authored
The new name is more approriate. No interface change Signed-off-by:
Federico Vaga <federico.vaga@gmail.com> Acked-by:
Alessandro Rubini <rubini@gnudd.com>
-
Federico Vaga authored
Signed-off-by:
Federico Vaga <federico.vaga@gmail.com> Acked-by:
Alessandro Rubini <rubini@gnudd.com>
-
Federico Vaga authored
Use correct names for internal consistency. No interface change. Signed-off-by:
Federico Vaga <federico.vaga@gmail.com> Acked-by:
Alessandro Rubini <rubini@gnudd.com>
-
Federico Vaga authored
This is a general change that affects triggers and buffers as well. It introduces incompatibilities but the old name was actually a bug. Signed-off-by:
Federico Vaga <federico.vaga@gmail.com> Acked-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Dec 06, 2011
-
-
Alessandro Rubini authored
New input cset, at most 8 gpio pins in 1-byte-per-sample. (Unlikely the previous one, this has been completed and tested) Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-
Alessandro Rubini authored
This reverts commit d0515205 . The input gpio driver is not ready, and it was pushed upstream in error. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
The user trigger is driven by read and write. It can support one-shot devices (those that produce or consume data only when user-space read or writes) and streaming device, with their own internal timings. It is, in some way, a transparent trigger, connecting buffer and device directly. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-
Alessandro Rubini authored
New input cset, at most 8 gpio pins in 1-byte-per-sample Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-
Alessandro Rubini authored
This introduces ZIO_PARAM_TRIGGER(_name) and ZIO_PARAM_BUFFER(_name) and uses them in zio-zero. We'd love most software-driven devices to use the buffer= and trigger= parameters to override the default, thus the centralized macros. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-
Alessandro Rubini authored
The buffer was calling trig->pull_block even for output transfers. Bug exposed by zio-trig-user.c, yet to be committed. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-
- Nov 30, 2011
-
-
Alessandro Rubini authored
This is a working implementation of an output driver. For simplicity it only registers one "analog" channel. I'm using ti with 6 leds and the timer trigger. It needs a cset with channels for each bit (so-called "digital"), support for more-than-8-bits and input gpio pins. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-
- Nov 26, 2011
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-
Alessandro Rubini authored
The field was used by the output path, but now we have active_block, so output drivers should use that field instead. We may need a trigger-private field anyways, but by now we'd better find misuses. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-
Alessandro Rubini authored
Even if checkpatch suggests kstrtol, it is not available in 2.6.38 and later ones, so I'm sticking with the previous function for now Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-
- Nov 25, 2011
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-
Alessandro Rubini authored
Signed-off-by:
Federico Vaga <federico.vaga@gmail.com> Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-
- Nov 22, 2011
-
-
Signed-off-by:
Manohar Vanga <manohar.vanga@cern.ch>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-
The standard trigger attribute 'nsamples' and the extended attribute 'ms-period' are now supported by zio-trig-timer. ms-period: is used to specify the time, in milliseconds, between trigger activations. Signed-off-by:
Federico Vaga <federico.vaga@gmail.com> Acked-by:
Alessandro Rubini <rubini@gnudd.com>
-
The standard buffer attribute 'max-buffer-len' is now supported by zio-buf-kmalloc Signed-off-by:
Federico Vaga <federico.vaga@gmail.com> Acked-by:
Alessandro Rubini <rubini@gnudd.com>
-
This patch does the following: - it adds a new header for sysfs - it changes zio-sys.c to support per-instance trig/buf attributes - it renames some functions - is simplifies sysfs handling Signed-off-by:
Federico Vaga <federico.vaga@gmail.com> Acked-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This changes some method and stuff, in order to make all input and output be cset-based. This solves a number of issues with the previous setup. Thus, even drivers must be made differentlym abd this fixes zio-zero accordingly. As a side effect, we have a data_done method in trigger ops, so the device can tell when it is done. And the fire_trigger returns void, since it cannot wait for stuff to be done. See documentation for details. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com> docs for general-cset
-
Alessandro Rubini authored
This was missing, but is part of the suggested procedure Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> Acked-by:
Federico Vaga <federico.vaga@gmail.com>
-