[go: nahoru, domu]

  • Home
  • History
  • Annotate
  • only in /drivers/staging/iio/Documentation/
History log of /drivers/staging/iio/Documentation/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
49f681fab6a1e8e9d354bba692ba17cdcaa1fb1e 07-Jul-2014 Daniel Baluta <daniel.baluta@intel.com> staging: iio: remove duplicate case labels

Otherwise, compiling iio_event_monitor program fails:

io_event_monitor.c: In function ‘event_is_known’:
iio_event_monitor.c:125:2: error: duplicate case value
case IIO_MOD_LIGHT_BOTH:
^
iio_event_monitor.c:121:2: error: previously used here
case IIO_MOD_LIGHT_BOTH:

Fixes: da4db94 (iio staging: add recently added modifiers to iio_event_monitor)
Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
io_event_monitor.c
97b603a4e96565c3a3b09b9a4131d4107b0c6581 06-Dec-2014 Peter Meerwald <pmeerw@pmeerw.net> staging:iio: Fix error handling in generic_buffer example

read() does not return -EAGAIN
read() returns -1 and the errno value needs to be checked for -EAGAIN

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
eneric_buffer.c
723db167246ae60999699916a1563887e3adb535 06-Dec-2014 Peter Meerwald <pmeerw@pmeerw.net> staging:iio: Fix mention of INDIO_RING_TRIGGERED to INDIO_BUFFER_TRIGGERED

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
rigger.txt
f5709d5fa966cceadc41d66117d7eed52425b67e 06-Dec-2014 Peter Meerwald <pmeerw@pmeerw.net> staging:iio: Fix iio_utils.h function prototypes

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
io_utils.h
0378250b52ca3afb83257868448ef9d1efcbf607 06-Dec-2014 Peter Meerwald <pmeerw@pmeerw.net> staging:iio: Update iio_event_monitor program

add types recently added

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
io_event_monitor.c
2192c6f9496eec8b9c5c6084ee6c74f323f0297c 06-Dec-2014 Peter Meerwald <pmeerw@pmeerw.net> iio: Move documentation of iio-trig-sysfs to ABI/testing

iio-trig-sysfs has left staging with commit e64e7d5c

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
ysfs-bus-iio-trigger-sysfs
34683a5c6e0ffaa61528ff71c283efe3063cc53f 24-May-2014 Toralf Förster <toralf.foerster@gmx.de> fix format string missmatch in staging/iio/Documentation/iio_utils.h

spotted by cppcheck

Signed-off-by: Toralf Förster <toralf.foerster@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
io_utils.h
49d916ec2a62be865c727da0413b05b9e2bcbd65 02-May-2014 Manuel Stahl <manuel.stahl@iis.fraunhofer.de> staging: iio: Add tool to list IIO devices and triggers

Signed-off-by: Manuel Stahl <manuel.stahl@iis.fraunhofer.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
io_utils.h
siio.c
66c65d90db1004356281db6ead988e2e38ba9e37 01-Jan-2014 Craig Markwardt <> iio: Fix a buffer overflow in iio_utils.h example code

This was originally reported by Craig Markwardt on Zubair Lutfullah's
blog and Zubair forwarded it to linux-iio@vger.kernel.org. No email
address known.

The code first counted the number of enabled channels, then created an
array to hold information about them. The code that filled this array then
stored whether a given element was enabled inside the array. Curriously
this element was never used. Craig's patch added a local temporary variable
to avoid the buffer overrun. Jonathan then removed the original enabled
element of the structure as it was not needed at all.

Signed-off-by: Zubair Lutfullah <zubair.lutfullah@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
io_utils.h
11cb454f092397b8cb1ba478efaa5743bea604a2 07-Oct-2013 Sebastian Andrzej Siewior <bigeasy@linutronix.de> staging: iio: generic_buffer: initialize ret

The `ret´ variable is only initialized in the error case. For some reason
it was always != 0 while I played with generic_buffer so here is a patch.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
io_utils.h
7f7ce433ba17a1465a33181a085ddf8099c249d6 07-Jul-2013 Peter Meerwald <pmeerw@pmeerw.net> iio: staging: fix device.txt documentation

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
evice.txt
5034bfc976928b447cb6decd311d35161107a72f 25-Mar-2013 Lars-Peter Clausen <lars@metafoo.de> iio:trigger: Use dev_{set,get}_drvdata for private data management

Use dev_{set,get}_drvdata for managing private data attached to a trigger
instead of using a custom field in the iio_trigger struct.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
rigger.txt
ca7d1b32d2a0d4c62533b9401cf9ce4d14d183f7 08-Sep-2012 anish kumar <anish198519851985@gmail.com> iio: Documentation change for inkern interface.

This commit- 314be14bb renamed the _st_ functions to loose the bit
that was meant for staging version but forgot to change
the documentation which still have _st_ sprinkled in some of the
places.

Signed-off-by: anish kumar <anish198519851985@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
nkernel.txt
6cffc1f814b25d59ca6f0cd75b64bb159801c0fa 12-Aug-2012 Marek Vasut <marex@denx.de> IIO: Add 4-byte unsigned reads into generic-buffer example

Add unsigned 32bit-wide reads into the generic-buffer.c

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Juergen Beisert <jbe@pengutronix.de>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Wolfgang Denk <wd@denx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
eneric_buffer.c
d05b2fe037d0a6996a357af85b8e18229e534568 10-Jul-2012 Jonathan Cameron <jic23@kernel.org> iio: Trivial documentation fix to correct kernel version info in
21cd1fab058671313f7c178b640999fcd0d8de21

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Reported-by: Peter Meerwald <pmeerw@pmeerw.net>
ysfs-bus-iio-light
21cd1fab058671313f7c178b640999fcd0d8de21 16-May-2012 Jon Brenner <jbrenner@taosinc.com> IIO channel type and modifiers for CCT and RGBC data

Add iio channel type and modifiers for Correlated Color Temperature (CCT)
and RGBC (red/green/blue/clear) data.
Add CCT and RGBC descriptions to documentation.

Changes:
Revised/condensed RGBC descriptions.

Merge and trivial fix done by Jonathan Cameron.

Signed-off-by: Jon Brenner <jbrenner@taosinc.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
ysfs-bus-iio-light
da4db94080f0c54929a031f37e550001d0068930 01-Jul-2012 Peter Meerwald <pmeerw@pmeerw.net> iio staging: add recently added modifiers to iio_event_monitor

maybe iio_modifier_names and iio_chan_type_name_spec should be
exported from industrialio-core instead?

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
io_event_monitor.c
c866ffc72541296b8d31c109fbdb69643d2d18a6 01-Jul-2012 Peter Meerwald <pmeerw@pmeerw.net> iio staging: missing newline in printf

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
io_utils.h
b600c5b569c2f62eacf8d71dd9975d7a996073f3 07-Jul-2012 Greg Kroah-Hartman <gregkh@linuxfoundation.org> Merge branch 'fixes-togreg' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
ce7b04c629254b884baa338730021b01298be921 25-Jun-2012 Peter Meerwald <pmeerw@pmeerw.net> iio staging: fix resource leak in _write_sysfs_int()

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
io_utils.h
a4d429e362d873414046c78724f3d6a7978bc2fd 25-Jun-2012 Peter Meerwald <pmeerw@pmeerw.net> iio staging: fix potential memory/resource leaks in find_type_by_name()

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
io_utils.h
578f737dd36989121412cf947a5b534e7b8a0ac5 25-Jun-2012 Peter Meerwald <pmeerw@pmeerw.net> iio staging: fix potential resource leak in generic_buffer

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
io_utils.h
bb23378c0b1c9a410d40adea74276544a00fb94e 25-Jun-2012 Peter Meerwald <pmeerw@pmeerw.net> staging: iio: quell asprintf() warning, missing #includes

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
eneric_buffer.c
io_utils.h
1bcdfbcf7599a42f7aa0e41c88df178fecebc909 25-Jun-2012 Peter Meerwald <pmeerw@pmeerw.net> staging: iio: use PRId64 format specifier for int64_t

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
eneric_buffer.c
42196d396378f4e4658dbe157d78fd23bce6bbbd 25-Jun-2012 Peter Meerwald <pmeerw@pmeerw.net> staging: iio: fix warning 'static but used in inline function'

iio_utils.h:367:10: warning: ‘iioutils_break_up_name’ is static but used in inline function ‘build_channel_array’ which is not static [enabled by default]

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
io_utils.h
d8da0eeed738dbbe9d9ff793bb8f047c2cc474b7 25-Jun-2012 Peter Meerwald <pmeerw@pmeerw.net> staging: iio: generic_buffer cleanup

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
eneric_buffer.c
b42f2a0c65e7325674711dcda99c4e93ed9e4698 25-Jun-2012 Peter Meerwald <pmeerw@pmeerw.net> staging: iio: move comment

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
io_utils.h
109379210eb57a252e245363659168a1f1ab8691 25-Jun-2012 Peter Meerwald <pmeerw@pmeerw.net> staging: iio: remove unused variable

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
eneric_buffer.c
io_utils.h
1d633fd153844c8e954b0b72789279bf588cd025 25-Jun-2012 Peter Meerwald <pmeerw@pmeerw.net> staging: iio: fix generic_buffer print2byte()

drop extra argument, move cast

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
eneric_buffer.c
2a1d45ecc8cac79afe7f769f4241e4ad919c45bf 18-Jun-2012 Peter Meerwald <pmeerw@pmeerw.net> iio staging: fix spelling of suppression in isl29018

beware, does change the ABI as proximity_on_chip_ambient_infrared_supression
is changed to proximity_on_chip_ambient_infrared_suppression

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
ysfs-bus-iio-light
7695afdeb4dc6ae1ac7118c6ef9df7246f575923 18-Jun-2012 Peter Meerwald <pmeerw@pmeerw.net> iio staging: fix tsl2x7x file mode

just drop execute permission

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
ight/sysfs-bus-iio-light-tsl2583
ight/sysfs-bus-iio-light-tsl2x7x
60ba16e35b887008eececcb935c835026504cef5 15-Jun-2012 Peter Meerwald <pmeerw@pmeerw.net> staging: iio:: fix some typos

typos in comments, fix ring_sw module description

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
evice.txt
verview.txt
ing.txt
a21601463d0e542d20635b835b6c97294571b0a5 15-Jun-2012 Peter Meerwald <pmeerw@pmeerw.net> staging: iio: add IIO_ALTVOLTAGE to iio_event_monitor example

IIO_ALTVOLTAGE is used by frequency/adf4350 and frequency/ad9523

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
io_event_monitor.c
04723de09d034c1f1f871787ebbc6cc2e474dd2f 22-May-2012 Johan Hovold <jhovold@gmail.com> staging:iio: remove num_interrupt_lines from documentation

Commit 5aa9618896e0ba49 ("staging:iio: remove broken support for
multiple event interfaces.") removed the num_interrupt_lines field from
struct iio_info but the documentation was never updated.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
evice.txt
73e016ef94d801bd0278959606d2f72f07a2abab 27-Apr-2012 Michael Hennerich <michael.hennerich@analog.com> iio: frequency: Update DDS drivers to use new channel naming convention

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
ysfs-bus-iio-dds
7cbb753701d11f3c71e8543e1ae0fc0772edac06 26-Apr-2012 Lars-Peter Clausen <lars@metafoo.de> staging:iio: Streamline API function naming

Currently we use two different naming schemes in the IIO API, iio_verb_object
and iio_object_verb. E.g iio_device_register and iio_allocate_device. This
patches renames instances of the later to the former. The patch also renames allocate to
alloc as this seems to be the preferred form throughout the kernel.

In particular the following renames are performed by the patch:
iio_put_device -> iio_device_put
iio_allocate_device -> iio_device_alloc
iio_free_device -> iio_device_free
iio_get_trigger -> iio_trigger_get
iio_put_trigger -> iio_trigger_put
iio_allocate_trigger -> iio_trigger_alloc
iio_free_trigger -> iio_trigger_free

The conversion was done with the following coccinelle patch with manual fixes to
comments and documentation.

<smpl>
@@
@@
-iio_put_device
+iio_device_put
@@
@@
-iio_allocate_device
+iio_device_alloc
@@
@@
-iio_free_device
+iio_device_free
@@
@@
-iio_get_trigger
+iio_trigger_get
@@
@@
-iio_put_trigger
+iio_trigger_put
@@
@@
-iio_allocate_trigger
+iio_trigger_alloc
@@
@@
-iio_free_trigger
+iio_trigger_free
</smpl>

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
evice.txt
rigger.txt
8af2c75a328355c23d68d3f8651ad52af3c7979d 25-Apr-2012 Jonathan Cameron <jic23@kernel.org> IIO: Move the core abi documentation from staging

This file contains only the most generic elements. Other
class specific and device specific ABI documents will follow
over time.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
ysfs-bus-iio
06458e277eac2b8761b0a04d3c808d57be281a2e 25-Apr-2012 Jonathan Cameron <jic23@kernel.org> IIO: Move core headers to include/linux/iio

Step 1 in moving the IIO core out of staging.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
io_event_monitor.c
68284a12923f9f8f2741efca10c045e179f2e753 25-Apr-2012 Jonathan Cameron <jic23@kernel.org> staging:iio:Documentation Trivial typo fixes.

Just a couple of things I came across whilst reviewing this file for
moving out of staging. I doubt anyone cares, but seemed sensible to fix
them now!

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
ysfs-bus-iio
49c36dffbd4624fef306162f7ff7458abfc22e1d 25-Apr-2012 Jonathan Cameron <jic23@kernel.org> staging:iio:documentation pull a few sysfs entries out of main docs.

These two attributes are only used in the one driver. Whilst they
are fairly general I'm not entirely happy committing to them at
this stage.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
ysfs-bus-iio
ysfs-bus-iio-ad7192
3c97c08b5735ac05ebc0cbd0aa7722393f50b846 24-Apr-2012 Jon Brenner <jbrenner@taosinc.com> staging: iio: add TAOS tsl2x7x driver

TAOS device driver (version 9) for the tsl/tmd 2771 and 2772 device families (inc. all variants).

Update:
Removed bonus lines.

Signed-off-by: Jon Brenner <jbrenner@taosinc.com>
Acked-by: Jonathan Cameron<jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
ight/sysfs-bus-iio-light-tsl2583
ight/sysfs-bus-iio-light-tsl2x7x
ysfs-bus-iio
ysfs-bus-iio-light
a7322fc2fa6417a5bc4f0a40e6e79608505416e2 13-Apr-2012 Jonathan Cameron <jic23@kernel.org> staging:iio:Documentation: Fix a cut and paste error.

falling is repeated in some entries instead of 1x falling and 1x rising
for the entry.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
ysfs-bus-iio
09f78be78afbdc8b164905e9a19698922fa45edb 10-Apr-2012 Jonathan Cameron <jic23@kernel.org> staging:iio:buffer example fix typos

I have no idea how I managed to munge the previous
patch related to this. Sorry all.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
eneric_buffer.c
4abf6f8b29e37f492078173a9d4cb808ce327ec0 01-Mar-2012 Justin P. Mattock <justinmattock@gmail.com> drivers:staging:iio Fix typos and comments in staging iio.

The below patch fixes some comments and some typos that I have found
while reading drivers/staging/iio/*

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
evice.txt
4eeb3335bbfb4e9d6a7995f283deeecb06e07aea 15-Feb-2012 Jonathan Cameron <jic23@kernel.org> staging:iio:Documentation in kernel pull description.

Very basic description of the way iio consumers work and how to use
this functionality.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
nkernel.txt
7042122fe5532fa07b370447755423cd834b57ea 13-Feb-2012 Lars-Peter Clausen <lars@metafoo.de> staging:iio: Add event monitor example application

Add a small evtest like application to monitor events generated by an IIO
device. The application can be used as an example on how to listen for IIO
events and also is usful for testing and debugging device drivers which
generate IIO events.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
io_event_monitor.c
7933514043d42e69663a5123a53fab50eb0b4aba 19-Dec-2011 Lars-Peter Clausen <lars@metafoo.de> staging:iio: Drop {mark,unmark}_in_use callbacks

These callbacks are currently used by the individual buffer implementations to
ensure that the request_update callback is not issued while the buffer is in use.
But the core already provides sufficient measures to prevent this from happening
in the first place. So it is safe to remove them.

There is one functional change due to this patch. Since the buffer is no longer
marked as in use when the chrdev is opened, it is now possible to enable the
buffer while it is opened. This did not work before, because mark_param_change
did fail if the buffer was marked as in use.

Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ing.txt
869871b58c7f7c26ccf7a89cbe599e9b963b8e69 19-Dec-2011 Lars-Peter Clausen <lars@metafoo.de> staging:iio: Drop buffer mark_param_change callback

Right now we have a mark_param_change callback in the buffer access
functions struct, which should be called whenever the parameters (length,
bytes per datum) of the buffer change. But it is only called when the user
changes the buffer size, not when the bytes per datum change. Additionally each
buffer implementation already keeps track internally whether its parameters
have changed, making the call to mark_param_change after changing the buffer
length redundant. Since each buffer implementation knows best when one of its
parameters has changed just make tracking of this internal and drop the
mark_param_change callback.

Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ing.txt
307276cb8366d9c163160fe2775f5bfe7b9c1495 19-Dec-2011 Lars-Peter Clausen <lars@metafoo.de> staging:iio: Drop the unused buffer enable() and is_enabled() callbacks

Currently none of the buffer implementations implements the enable() or
is_enable() nor does core code try to call these. So it is safe to remove them.

Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ing.txt
117cf8b7e879a33b24b7bea7ca598715c4654846 04-Dec-2011 Jonathan Cameron <jic23@cam.ac.uk> staging:iio:generic_buffer example - handle endian differences

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
eneric_buffer.c
io_utils.h
a7f7c364e8db9510a41f4074035454779e159dd9 04-Dec-2011 Jonathan Cameron <jic23@cam.ac.uk> staging:iio:Documentation: cleanup properly in buffer handling code

Eating the endian description for now.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
io_utils.h
0c22db439a29358bac90d553d273c3023d64e38b 27-Nov-2011 Jonathan Cameron <jic23@cam.ac.uk> staging:iio:documentation: document filter_low_pass_3db_frequency.

Add the sysfs ABI docs for all current instances of this
parameter.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio
bc9f35db8fed28d8fa1195b3927c8e1e91d64388 26-Oct-2011 Lars-Peter Clausen <lars@metafoo.de> staging:iio:iio_utils.h: Add missing include

iio_utils.h uses opendir and friends which need dirent.h

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
io_utils.h
d4c926f2ba57718c15378933f975c8c3cbc264ae 05-Oct-2011 Jonathan Cameron <jic23@cam.ac.uk> staging:iio:Documentation gyro -> anglvel updates in attribute names

Follows directly from change made in previous patch.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio
0baf29d658c71e39f5d7f83249af2fe6a8cd1dcb 21-Sep-2011 Jonathan Cameron <jic23@cam.ac.uk> staging:iio:documentation Add abi docs for capacitance adcs.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio
15739cd2d605e60faf76c1a850bdfc04f8c5a1a6 21-Sep-2011 Jonathan Cameron <jic23@cam.ac.uk> staging:iio:documentation general refresh of abi docs.

Numerous small fixes and additions of missing elements.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio
a37b549ec61d892aa99744750e97d994bc779cb6 02-Sep-2011 Jonathan Cameron <jic23@cam.ac.uk> staging:iio:Documentation sysfs-bus-iio add in and out prefixes

Also includes the inX -> in_voltageX and outX -> out_voltageX conversions.
To keep lines short quite a lot of supressing of directories was needed.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio
b3874069f828117a9559e8b088680afa88449e3e 30-Aug-2011 Jonathan Cameron <jic23@cam.ac.uk> staging: iio: Documentation sysfs-bus-iio update for chrdev merge.

A few element in here have been wrong for some time so cleaned them
up whilst here.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio
1aa042783251c27a93e31929c24647729db326d4 30-Aug-2011 Jonathan Cameron <jic23@cam.ac.uk> staging: iio: push the main buffer chrdev down to the top level.

Sorry all, this one is very invasive, though the driver changes are
just trivial interface fixes. Not all done yet.

V2 - bring the sca3000 with us.
V3 - fix ade7758 bugs in conversion.
V4 - add ad5933

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
eneric_buffer.c
io_utils.h
7a27b042f9cf6bd6e60c236a55d7a71a64287a84 17-Aug-2011 Michael Hennerich <michael.hennerich@analog.com> IIO: ADC: New driver for AD7190/AD7192/AD7195 4 Channel SPI ADC

New driver for AD7190/AD7192/AD7195 4.8 kHz, Ultralow Noise, 24-Bit
Sigma-Delta ADC with PGA

These devices features a dual use data out ready DOUT/RDY output.
In order to avoid contentions on the SPI bus, it's necessary to use
spi bus locking. The DOUT/RDY output must also be wired to an
interrupt capable GPIO.

In INDIO_RING_TRIGGERED mode, this driver may block its SPI bus segment
for an extended period of time.

Changes since V1:

Add missing documentation.
Remove obsoleted include files.
Fix typos and style issues.
Fix buffer size.
Split ad7192_show() into two functions.
Avoid race condition add mutex.
Abandon IIO_CHAN macro.
Reorder elements in ad7192_platform_data.
Remove driver bus type.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio
f94aa354d676532448e8e222e737fdd0755fc786 02-Aug-2011 Michael Hennerich <michael.hennerich@analog.com> iio: impedance-analyzer: New driver for AD5933/4 Impedance Converter, Network Analyzer

The AD5933 is a high precision impedance converter system solution
that combines an on-board frequency generator with a 12-bit, 1 MSPS,
analog-to-digital converter (ADC). The frequency generator allows an
external complex impedance to be excited with a known frequency.

The response signal from the impedance is sampled by the on-board ADC
and a discrete Fourier transform (DFT) is processed by an on-chip DSP engine.
The DFT algorithm returns a real (R) and imaginary (I) data-word at each
output frequency.

Changes since V1:

Apply list review feedback:
Consistently use poll_time_jiffies.
Use be|le cpu endian helpers where applicable.
Add various comments.

Changes since V2:

Fix KernelVersion tag in Documentation.
Declare ad5933_default_pdata static.
Fix typos.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio-impedance-analyzer-ad5933
2051f25d2a26573918b59d69847f5bf77635023e 20-Jul-2011 Michael Hennerich <michael.hennerich@analog.com> iio: adc: New driver for AD7280A Lithium Ion Battery Monitoring System

The AD7280A monitoring system contains all the functions required for
general purpose monitoring and maintenance of stacked
lithium ion batteries as used in hybrid electric vehicles,
battery backup applications, etc.

Changes since V1:

Make cell channels all type IIO_IN_DIFF, update documentation accordingly.
Remove unused and redundant defines.
Use SI units where applicable.
Remove unnecessary wrapper function.
Remove redundant initialization.
Add comments where requested.
Revise event handler.
Use const where applicable.

Changes since V2:

Remove redundant adc.h include file, scheduled for removal.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio-adc-ad7280a
de1874b7876e5423e9b5f5e876c48eaa8d800f44 12-Aug-2011 Jonathan Cameron <jic23@cam.ac.uk> staging:iio:documentation trivial typo fix

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio
6d1ad0f8aa9d3caf6e3f26ad39b43c687abd9c82 29-Jun-2011 Bryan Freed <bfreed@chromium.org> staging: iio: light sensor: Add a calibscale file to the isl29018 light sensor driver.

Defaulting to 1, this gives a way to amplify the lux value before being
reduced by the programmed adc_bit shift.
Only support whole numbers right now. When this driver is converted to the new
IIO_CHAN framework, it will be easy to support the framework's pseudo float.

Add illuminance0_calibscale documentation to sysfs-bus-iio-light.

Signed-off-by: Bryan Freed <bfreed@chromium.org>
Acked-by: Rhyland Klein <rklein@nvidia.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio-light
44d8b3542f703a70fbd8f3f64816ab8bab32bce0 18-May-2011 Jonathan Cameron <jic23@cam.ac.uk> staging:iio:documenation partial update.

More to be added, but this brings the docs in line with
the current code. Now they are hopefully just uninformative
rather than actually incorrect.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
evice.txt
verview.txt
ing.txt
rigger.txt
serspace.txt
52615d4783df043605080f7ee65607eb60e3f076 18-May-2011 Jonathan Cameron <jic23@cam.ac.uk> staging:iio:Documentation generic_buffer.c update to new abi for buffers + misc fixes

Trivial space before newline fix incorporated.

Additional fixes related to handling of sign extension and shifted
data.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>

squash into buffer handling update.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
eneric_buffer.c
io_utils.h
c77b38108d6aaae05823e02d7df28b6e0d5ffdad 15-Apr-2011 Jonathan Cameron <jic23@cam.ac.uk> staging:iio:documentation make read_size signed to allow for errors.

Without this all hell breaks loose if you have no data.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
eneric_buffer.c
6f7c8ee585e9db54cb29af1bdb93f29837824933 15-Apr-2011 Jonathan Cameron <jic23@cam.ac.uk> staging:iio: Add ability to allocate private data space to iio_allocate_device

Suggested by Arnd Bergmann. Note this will break ALL drivers that
are out of mainline. The fix is trivial change of
iio_allocate_device() -> iio_allocate_device(0)
Sorry if this causes issues for any one!

V2: Include new drivers in the update

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
evice.txt
ac4f6eee8fe8f9f9bbd421d1c9a3ec9a0a6daa0b 15-Apr-2011 Jon Brenner <jbrenner@taosinc.com> staging: iio: TAOS tsl258x: Device driver

Added suspend/resume functions.
Changed attribute names to match existing where applicable and updated
or documented new ABI as discussed.
Changed integration time ABI from using index (0 to 3) to use actual
gain values (1x,8x, etc.).
Removed various unused variables, declarations, and functions.
Revised code to accommodate different endianess (le16_to_cpu).
Updated error return codes in various functions.
Changed from mdelay to msleep after determining that longer wait would
be acceptable.

V5: Makefile and Kconfig cleanups by Jonathan Cameron.

Signed-off-by: Jon August Brenner <jbrenner@taosinc.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio
ysfs-bus-iio-light
ysfs-bus-iio-light-tsl2583
d48946357bad923eb6098e272c3eea8286f4c9b7 06-Apr-2011 Michael Hennerich <michael.hennerich@analog.com> IIO: Documentation: Add ABI documentatio for gyro quadrature correction

From: Cliff Cai <cliff.cai@analog.com>

Add ABI documentation for gyro quadrature correction.

Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio
25985edcedea6396277003854657b5f3cb31a628 31-Mar-2011 Lucas De Marchi <lucas.demarchi@profusion.mobi> Fix common misspellings

Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
io_utils.h
8b68bb20812ba82460e22942ae22ce45880df232 08-Mar-2011 Michael Hennerich <michael.hennerich@analog.com> Staging: IIO: Documentation: iio_utils: fix channel array generation.

The previous implementation flawed, in case some channels are not enabled.
The sorted array would then include channel information of disabled channels,
And misses the enabled ones, when the count is reached.
More troublesome, the loop would not even terminate.

The fix is twofold:

First we skip channels that are not enabled.
Then we use a tested bubble sort algorithm to sort the array.
Since we already allocated exactly the number of bytes we need.
We can exercise bubble sort on the original memory.
In all cases I've seen, the array is already sorted, so this sort
terminates immediately.

Changes since V1:
Fix coding style issues.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
io_utils.h
14f88f1b07e03b064b86ebc9f2f1ed0719dfaa30 09-Mar-2011 Michael Hennerich <michael.hennerich@analog.com> Staging: IIO: DAC: AD5624R: Update to IIO ABI

This driver did not conform with the IIO ABI for such devices.
Also the sysfs files that this driver adds were not complete and
partially un-documented.

Update and document ABI
Change License notice, stick to GPL-v2.
Fix indention style
Add option to specify external reference voltage via the regulator framework.
Add mandatory name attribute
Add mandatory out_scale attribute

Changes since V1:
Refine outY_powerdown_mode description
Remove bonus white line

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio
fc7f95a94606fd81d8a3910c1477ea7340b52b9f 24-Feb-2011 Michael Hennerich <michael.hennerich@analog.com> IIO: Documentation: iio_utils: fix mask generation

Variable sizeint is used uninitialized.
Remove sizeint completely and use bits_used instead.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
io_utils.h
7ccd4506fa49600a3c59cf64608b2c9e669b6c97 24-Feb-2011 Michael Hennerich <michael.hennerich@analog.com> IIO: Documentation: iio_utils: Prevent buffer overflow

The first part of build_channel_array()identifies the number of enabled channels.
Further down this count is used to allocate the ci_array. The next section parses the
scan_elements directory again, and fills ci_array regardless if the channel is enabled or not.
So if less than available channels are enabled ci_array memory is overflowed.

This fix makes sure that we allocate enough memory. But the whole approach looks a bit
cumbersome to me. Why not allocate memory for MAX_CHANNLES, less say 64
(I never seen a part with more than that channels). And skip the first part entirely.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
io_utils.h
2bf99c70cee1d9347145ec0d96ba39764e2193bc 24-Feb-2011 Michael Hennerich <michael.hennerich@analog.com> IIO: Documentation: iio_utils: style consistency fix

No functional changes

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
io_utils.h
cb771cbdbdb153b68275cd5b9eca593c4e5026e8 24-Feb-2011 Michael Hennerich <michael.hennerich@analog.com> IIO: Documentation: iio_utils: Avoid double free()

filename is used and freed later

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
io_utils.h
065896e904eac598bafd5e607b944da34c4aaf09 24-Feb-2011 Michael Hennerich <michael.hennerich@analog.com> IIO: Documentation: generic_buffer example: Avoid NULL pointer dereference

In case optarg n is not given return/exit

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
eneric_buffer.c
7c31b984c4d119d0e32a1696fd4ca6b506a73d10 24-Feb-2011 Michael Hennerich <michael.hennerich@analog.com> IIO: ADC: New driver for the AD7298 8-channel SPI ADC

This patch adds support for the
AD7298: 8-Channel, 1MSPS, 12-Bit SAR ADC with Temperature Sensor
via SPI bus.

This patch replaces the existing ad7298.c driver completely.
It was necessary since, the old driver did not comply with the
IIO ABI for such devices.

Changes since V1:
IIO: ADC: New driver for the AD7298 8-channel SPI ADC

Add documentation for new sysfs file tempX_input.
Simplify bit defines.
Remove outdated comments.
Fix indention style.
ad7298_show_temp():
Add locking.
Simplify temperature calculation.
Change temperature result from degrees into milli degrees Celsius.
Rename file according to new sysfs ABI documentation

Add timestamp attributes.
Revise timestamp handling accordingly.
Preset timestamp generation.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Reviewed-by: Shubhrajyoti <Shubhrajyoti@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio
b9618c0cacd7cf56cc3d073c1e9e9a8a3a12864e 22-Feb-2011 Michael Hennerich <michael.hennerich@analog.com> staging: IIO: ADC: New driver for AD7606/AD7606-6/AD7606-4

This patch adds support for the:
AD7606/AD7606-6/AD7606-4 8/6/4-Channel Data Acquisition
system (DAS) with 16-Bit, Bipolar, Simultaneous Sampling ADC.

Changes since V1:
IIO: ADC: New driver for AD7606/AD7606-6/AD7606-4: Apply review feedback

Rename sysfs node oversampling to oversampling_ratio.
Kconfig: Add GPIOLIB dependency.
Use range in mV to better match HWMON.
Rename ad7606_check_oversampling.
Fix various comments and style.
Reorder is_visible cases.
Use new gpio_request_one/array and friends.
Drop check for SPI max_speed_hz.

Changes since V2:
IIO: ADC: New driver for AD7606/AD7606-6/AD7606-4: Apply review feedback

Documentation: specify unit
Avoid raise condition in ad7606_scan_direct()
Check return value of bus ops read_block()

Changes since V3:
IIO: ADC: New driver for AD7606/AD7606-6/AD7606-4: Add missing include file

Add linux/sched.h

Changes since V4:
IIO: ADC: New driver for AD7606/AD7606-6/AD7606-4: Fix kconfig declaration

consistently use tristate to avoid configuration mismatches

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio
96df9799a4dd62aab7566165d887ea40b1c8aa00 11-Feb-2011 Jonathan Cameron <jic23@cam.ac.uk> staging:iio: buffer example - add lots more runtime parameters

Add ability to control delay for event free buffers
Add ability to control length of buffer
Add ability to control how many read cycles occur

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Tested-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
eneric_buffer.c
30268a3da9325a2267cfc99efae7c192fa88199f 11-Feb-2011 Jonathan Cameron <jic23@cam.ac.uk> staging:iio: update example to handle case with no ring events

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Tested-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
eneric_buffer.c
f9a7e9b2f074218ef7e3afcdaa71f6804fd36c84 07-Feb-2011 Michael Hennerich <michael.hennerich@analog.com> Staging: IIO: TRIGGER: New sysfs based trigger

This patch adds a new trigger that can be invoked by writing
the sysfs file: trigger_now. This approach can be valuable during
automated testing or in situations, where other trigger methods
are not applicable. For example no RTC or spare GPIOs.
Last but not least we can allow user space applications to produce triggers.

IIO: TRIGGER: Apply review feedback by Greg Kroah-Hartman

Changes since v1:

Add sysfs documentation.
Change license notice.
Add module alias.
Add more Kconfig help text

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio-trigger-sysfs
6ddc5fb43e47e18d434619e08d41260ff121a7f6 12-Jan-2011 Roland Stigge <stigge@antcom.de> Staging: iio: add driver for MAX517/518/519

IIO Driver for Maxim MAX517, MAX518 and MAX519 DAC

Signed-off-by: Roland Stigge <stigge@antcom.de>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ac/max517
98069c3f1cd353eda61d8e11ce40f83d5c5a99f3 13-Jan-2011 Roland Stigge <rst@work-microwave.de> Staging: iio: Documented output / DAC interface

Added documentation for:
* /sys/bus/iio/devices/deviceX/outY_scale
* /sys/bus/iio/devices/deviceX/outY_raw
* /sys/bus/iio/devices/deviceX/outY&Z_raw

Signed-off-by: Roland Stigge <stigge@antcom.de>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio
267024a9f6cc7f7e26ed57424d5d0c8558769b56 01-Jan-2011 roel kluin <roel.kluin@gmail.com> Staging: iio: --/++ confusion in build_channel_array() error cleanup

Fix loop: it should decrement

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
io_utils.h
f8ce33bbd57a0c9c302ebb273fd963c5efb1a264 14-Dec-2010 Michael Hennerich <michael.hennerich@analog.com> Staging: IIO: Direct digital synthesis abi documentation

Changes since RFC/v1:
IIO: Apply list review feedback:

Apply list review feedback:
Restructure documentation according to list feedback.
Rename attributes to fit IIO convention used in other drivers.
Fix typos.
Provide ddsX_out_enable as opposed to ddsX_out_disable

Changes since v2:
IIO: sysfs-bus-iio-dds: Apply more list review feedback

Fix mixture of X and [n] notation for indices.
Fix some wording in the descriptions.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio-dds
f386caa3cd74231cd86c813fe4453e3d6e39876c 23-Nov-2010 Jonathan Cameron <jic23@cam.ac.uk> staging: iio: documentation rewrite and cleanup of sysfs documetation

Change to capital syntax for documetation e.g. 'inX-inY_raw'
Use multiple 'What:' entries rather than wild cards or options so
as to make the documentation clearer and easier to search.
Some trivial spelling fixes.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio
e58537ccce733ff6dc334fa9a1b6235439c147b4 08-Oct-2010 Jonathan Cameron <jic23@cam.ac.uk> staging: iio: update example application.

The application is now considerably more generic and should cope
with all devices in tree. The process function will need to be
extended to handle other type values as needed.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
eneric_buffer.c
io_utils.h
is3l02dqbuffersimple.c
2f3cc667f788d97b6e79ef76b89f995598c036a3 08-Oct-2010 Jonathan Cameron <jic23@cam.ac.uk> staging: iio: events update documentation to match new abi.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio
940428742ed208836feb715fffd7cbc006fec3cb 08-Oct-2010 Rhyland Klein <rklein@nvidia.com> staging: iio: light: Adding driver for ISL29018 ALS

adding support for the ISL 29018 ambient light and proximity sensor.

Addressed comments from reviews by Jonathan Cameron and Joe Perches
* Removed some excess dbg prints that only printed function name
* Renamed some properties to make them more descriptive
* Added a property to list available adc resolutions
* Defined arrays for resolutions/ranges as static const
* Change loops initialization to memset for extensibility.
* used sizeof() instead of ARRAY_SIZE() to be safer
* Added a property to list available adc ranges
* Fixed warnings and property names.

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio-light
10ba8ea9bdad9cae23b555af38561f41e81e310a 21-Sep-2010 Jonathan Cameron <jic23@cam.ac.uk> staging: iio: sysfs abi documentation. Add _type and _index attrs

Also remove no unused precision attr.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Manuel Stahl <manuel.stahl@iis.fraunhofer.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-bus-iio
853098b6e5b0f65887853211b8fb6045cb849b8d 04-Sep-2010 Jonathan Cameron <jic23@cam.ac.uk> staging: iio: documentation - partial update to make more of it true.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Manuel Stahl <manuel.stahl@iis.fraunhofer.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
verview.txt
ysfs-bus-iio
ysfs-class-iio
serspace.txt
04b708124aa72d43d74b2ea559813649593e1d4a 04-Sep-2010 Jonathan Cameron <jic23@cam.ac.uk> staging: iio: lis3l02dqbuffersimple.c bring example up to date.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Manuel Stahl <manuel.stahl@iis.fraunhofer.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
is3l02dqbuffersimple.c
5770b8ffaf960a48d78d6bea06006eb7335688dd 31-Aug-2010 Manuel Stahl <manuel.stahl@iis.fraunhofer.de> staging: iio partial documentation update

Signed-off-by: Manuel Stahl <manuel.stahl@iis.fraunhofer.de>
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ing.txt
ysfs-class-iio
serspace.txt
54009058129fd9ccc67c12d7e084aa6eda420132 23-Jul-2010 Matthias Brugger <mensch0815@googlemail.com> Staging: IIO: typo in Documentation/overview.txt

Signed-off-by: Matthias Brugger <mensch0815@gmail.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
verview.txt
b6ee30a27f8204d20aebe6e743e38d4b85ee753d 25-May-2010 Barry Song <21cnbao@gmail.com> Staging: iio-utils: fix memory overflow for dynamically allocateded memory to hold filename

Signed-off-by: Barry Song <21cnbao@gmail.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
io_utils.h
e5107fb87018c8fc6b7376c4669dc877ab65db47 07-May-2010 Jonathan Cameron <jic23@cam.ac.uk> staging: iio: Documentation update to add incli and switch to magn

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-class-iio
85798ec85ec6146bff3af886c06d72cc66940a05 07-May-2010 Jonathan Cameron <jic23@cam.ac.uk> staging: iio: Documentation fixes

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-class-iio
9d8ae6c884ef855c4cb0e423caa993e73b29ef67 04-May-2010 Jonathan Cameron <jic23@cam.ac.uk> staging:iio:Documentation: Rewrite example for new abi.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
io_utils.h
is3l02dqbuffersimple.c
e34d2c5fa2254197b0a01925cc6f77e12552f9b9 04-May-2010 Jonathan Cameron <jic23@cam.ac.uk> staging:iio: ABI documentation (partial)

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ysfs-class-iio
eaf86ff9390d4d9c34d88d75fc7bcb784afc697a 04-May-2010 Jonathan Cameron <jic23@cam.ac.uk> staging:iio: Documentation, update iio_utils.h for the move to a bus

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
io_utils.h
ceb0525c9e4f7e6a3ec762deb0960be3522030dc 25-Apr-2010 Barry Song <21cnbao@gmail.com> Staging: iio: fix typo in userspace example codes and document

Signed-off-by: Barry Song <21cnbao@gmail.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
is3l02dqbuffersimple.c
serspace.txt
013659f558d90369d1a555ae3c39cc42a6c3cb74 25-Mar-2010 Andrea Gelmini <andrea.gelmini@gelma.net> Staging: iio: Documentation/lis3l02dqbuffersimple.c: duplicated include

drivers/staging/iio/Documentation/lis3l02dqbuffersimple.c: dirent.h is included more than once.

Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
is3l02dqbuffersimple.c
51bf00aef02d410bf74afb31ec2d5dbcedb1a52f 09-Nov-2009 Amit Kucheria <amit.kucheria@verdurent.com> Staging: iio: Fix typos in documentation

Spell-check wouln't catch these :)

Signed-off-by: Amit Kucheria <amit.kucheria@verdurent.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
evice.txt
verview.txt
c57f1ba7326100fd90c35259a588a8484bf569b4 18-Aug-2009 Jonathan Cameron <jic23@cam.ac.uk> Staging: IIO: Initial documentation

This needs considerably more work, all comments / suggestions
welcomed.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
evice.txt
io_utils.h
is3l02dqbuffersimple.c
verview.txt
ing.txt
rigger.txt
serspace.txt