aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio (follow)
AgeCommit message (Collapse)AuthorFilesLines
2010-05-21Merge staging-next tree into Linus's latest versionGreg Kroah-Hartman66-1054/+10767
Conflicts: drivers/staging/arlan/arlan-main.c drivers/staging/comedi/drivers/cb_das16_cs.c drivers/staging/cx25821/cx25821-alsa.c drivers/staging/dt3155/dt3155_drv.c drivers/staging/hv/hv.c drivers/staging/netwave/netwave_cs.c drivers/staging/wavelan/wavelan.c drivers/staging/wavelan/wavelan_cs.c drivers/staging/wlags49_h2/wl_cs.c This required a bit of hand merging due to the conflicts that happened in the later .34-rc releases, as well as some staging driver changing coming in through other trees (v4l and pcmcia). Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-18staging: iio: adis16350 and similar IMU driverBarry Song6-0/+1355
This version has the right part number in the commit message. Whilst technically the part I listed last time is also supported by the driver, the commit message might have caused confusion. Another driver from Barry at Analog. Again, I've lifted if from the blackfin tree and done the usual sparse and checkpatch fixes + the abi changes. I actually have one of these, so am particularly pleased to see it supported! Signed-off-by: Barry Song <Barry.Song@analog.com> Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-18Staging: iio: max1363 Fix two bugs in single_channel_from_ringJonathan Cameron1-3/+3
This patch contains fixes for the two bugs Michael pointed out last week. As the other suggestion Michael made is not a bug fix (just a much more sensible way of handling things), I'll do that as a separate patch soon. The bugs were introduced with the abi changes. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Reported-by: Michael Hennerich <Michael.Hennerich@analog.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-18Staging: iio: adis16220 extract bin_attribute structures from stateJonathan Cameron2-53/+56
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-18Staging: iio: adis16220 vibration sensor driverBarry Song5-0/+830
Signed-off-by: Barry Song <Barry.Song@analog.com> Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-14staging: iio: adis16260 digital gyro driverBarry Song9-0/+1240
Signed-off-by: Barry Song <Barry.Song@analog.com> Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging: iio: adis16240 driverBarry Song6-0/+1208
Signed-off-by: Barry Song <Barry.Song@analog.com> Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging: iio: adis16209 driverBarry Song6-0/+1211
Signed-off-by: Barry Song <Barry.Song@analog.com> Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging: iio: adis16400 clean out some unused codeJonathan Cameron2-61/+3
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging: iio: Documentation update to add incli and switch to magnJonathan Cameron1-1/+10
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging: iio: adis16300 clean out some unused codeJonathan Cameron2-77/+2
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging: iio: Break up gyro.h and move to new abiJonathan Cameron5-58/+47
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging: iio: Documentation fixesJonathan Cameron1-3/+3
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11Staging: iio: industrialio-trigger.c: minor fixupsGreg Kroah-Hartman1-6/+7
We needed to include a header file that declared the functions that are being exported in this file. Also fix up an indentation problem, and some sparse warnings. Cc: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11Staging: iio: ring_sw.c: fix up sparse warningsGreg Kroah-Hartman1-14/+13
NULL usage, static stuff, etc. Cc: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11Staging: iio: industrialio-ring.c: fix up sparse warningsGreg Kroah-Hartman1-7/+5
Cc: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11Staging: iio: accel: fix up some sparse warnings.Greg Kroah-Hartman2-6/+5
Minor stuff (static, NULL, etc.) Cc: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11Staging: iio: trigger: fix up some global variablesGreg Kroah-Hartman2-4/+4
These should be static. Cc: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11Staging: iio: light: tsl2563: fix static sparse warningGreg Kroah-Hartman1-1/+1
Cc: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11Staging: iio: adc: max1363_ring.c: fix up sparse warningsGreg Kroah-Hartman1-1/+1
Cc: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11Staging: iio: max1363_core: fix bug in kzalloc callGreg Kroah-Hartman1-3/+2
The operands were switched around :( Cc: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11Staging: iio: adc: max1363_core: fix up some sparse warningsGreg Kroah-Hartman1-8/+7
Also fix a minor coding style issue. Cc: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11Staging: iio: light trivial whitespace fixJonathan Cameron1-1/+1
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11Staging: iio: accelerometers trivial checkpatch related fixesJonathan Cameron2-8/+7
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11Staging: iio: Trivial - remove pointless semi colon (checkpatch found)Jonathan Cameron1-1/+1
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging:iio:imu ADIS16400 and ADIS16405 driverBarry Song7-0/+1504
Signed-off-by: Manuel Stahl <manuel.stahl@iis.fraunhofer.de> Signed-off-by: Barry Song <Barry.Song@analog.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging:iio:imu ADIS16300 driverBarry Song10-0/+1497
Signed-off-by: Barry Song <Barry.Song@analog.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging:iio:Documentation: Rewrite example for new abi.Jonathan Cameron2-198/+313
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging:iio:tsl2563 add a name attribute under the iioJonathan Cameron1-0/+12
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging:iio:ring_sw: Fix incorrect test on successful read of last value, causes infinite loopJonathan Cameron1-1/+1
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging:iio:max1363 add support for 8 bit equivalent devices, max1036-9, max11600-5Jonathan Cameron3-17/+161
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging:iio:max1363 add support for max11606-max11617Jonathan Cameron2-2/+218
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging:iio: Remove naming via IDR's where no longer necessary under new abi.Jonathan Cameron5-40/+16
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging:iio:tsl2563: change lux to illuminance0_input to match new abiJonathan Cameron1-2/+2
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging:iio: Directory name changes to match new ABI.Jonathan Cameron3-7/+13
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging:iio: ABI documentation (partial)Jonathan Cameron1-0/+285
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging:iio: Documentation, update iio_utils.h for the move to a busJonathan Cameron1-1/+30
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging:iio:max1363 move to new abi.Jonathan Cameron5-404/+548
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging:iio: Clean out unused IIO_SCAN_EL and add IIO_SCAN_NAMED_EL_CJonathan Cameron1-21/+15
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging:iio: Move event attributes into the event[n] device in sysfsJonathan Cameron1-13/+12
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging: iio: Move from class to busJonathan Cameron5-21/+15
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging:iio: Support functions for scan mask matchingJonathan Cameron1-4/+41
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11iio:staging:accelerometers move towards the new abiJonathan Cameron9-232/+262
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging:iio: Add new attrs for sampling frequency available and temp_rawJonathan Cameron1-1/+11
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11staging:iio: Add new in_raw definitions for adc channels.Jonathan Cameron2-0/+15
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11Staging: iio: Fix remaining code style issuesRoel Van Nyen2-3/+2
fix code style issues Signed-of-by: Roel Van Nyen <roel.vannyen@gmail.com> Cc: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11Staging: iio: iio_trigger_find_by_name: Skip trailing newline if availableMichael Hennerich1-0/+3
Skip trailing newline if available. 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>
2010-05-11Staging: iio: iio-trig-gpio: Remove redundant gpio_requestMichael Hennerich1-66/+61
Remove redundant gpio_request: The GPIO used as trigger IRQ, is also requested as gpio, but actually never read. Use platform resource facility to get IRQs numbers and flags. Make sure this driver can be used with any system IRQ, not necessarily limited to GPIO-IRQs. Use dev_err(dev...) and friends instead of printk(KERN_ERR...) 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>
2010-05-11Staging: iio: fix typo in userspace example codes and documentBarry Song2-2/+2
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>
2010-05-11Staging: iio: Documentation/lis3l02dqbuffersimple.c: duplicated includeAndrea Gelmini1-1/+0
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>