10 May, 2014
1 commit
-
Without ANON_INODES, we get this build error:
drivers/built-in.o: In function `iio_event_getfd':
:(.text+0x14bf18): undefined reference to `anon_inode_getfd'All other users explicitly select this symbol, so we should
do the same thing here.Signed-off-by: Arnd Bergmann
Cc: Jonathan Cameron
Cc: linux-iio@vger.kernel.org
Signed-off-by: Jonathan Cameron
17 Mar, 2014
1 commit
-
AS3935 chipset can detect lightning strikes and reports those back as
events and the estimated distance to the storm.Signed-off-by: Matt Ranostay
Reviewed-by: Marek Vasut
Signed-off-by: Jonathan Cameron
04 Dec, 2013
2 commits
-
Added usage id processing for Inclinometer 3D. This uses IIO
interfaces for triggered buffer to present data to user
mode.This uses HID sensor framework for registering callback
events from the sensor hub.Signed-off-by: Srinivas Pandruvada
Signed-off-by: Jonathan Cameron -
This driver handles DHT11 and DHT22 sensors.
Signed-off-by: Harald Geyer
Signed-off-by: Jonathan Cameron
13 Sep, 2013
1 commit
-
After the last architecture switched to generic hard irqs the config
options HAVE_GENERIC_HARDIRQS & GENERIC_HARDIRQS and the related code
for !CONFIG_GENERIC_HARDIRQS can be removed.Signed-off-by: Martin Schwidefsky
17 Aug, 2013
1 commit
-
the TI TMP006 is a non-contact temperature sensor with I2C interface;
it measures the surface temperature of a distance object using a
thermopile to absorb IR energy emitted from the objectthe sensor has two channels: IR sensor voltage (16-bit) and reference
temperature of the chip (14-bit); datasheet is here:
http://www.ti.com/lit/ds/symlink/tmp006.pdfv2 (thanks to Grygorii Strashko, Lars-Peter Clausen, Jonathan Cameron
for review comments):
* power down device on driver remove
* use sign_extend32()
* style cleanup
* add comments what channel raw LSBs mean
* spelling of thermopileSigned-off-by: Peter Meerwald
Cc: Grygorii Strashko
Cc: Lars-Peter Clausen
Cc: Jonathan Cameron
Cc: LM Sensors
Signed-off-by: Jonathan Cameron
05 Aug, 2013
1 commit
-
This reverts commit 98a5e9e99d05e9b6a14778b85631b55e8e349990.
IIO, like the rest of the kernel, should rely on dynamic debugging, not
have a special config option for it. That way, no user has to rebuild
their kernel to have debug messages, which is a good thing, let's not
revert back to the bad old days of the 2000's.Cc: Otavio Salvador
Cc: Jonathan Cameron
Signed-off-by: Greg Kroah-Hartman
04 Aug, 2013
3 commits
-
Signed-off-by: Otavio Salvador
Signed-off-by: Jonathan Cameron -
ring buffers are only in staging, don't mention them here
Signed-off-by: Peter Meerwald
Signed-off-by: Jonathan Cameron -
Signed-off-by: Peter Meerwald
Signed-off-by: Jonathan Cameron
06 Jun, 2013
1 commit
-
This patch adds a generic pressure driver for STMicroelectronics
pressure sensors, currently it supports: LPS331AP.Signed-off-by: Denis Ciocca
Signed-off-by: Jonathan Cameron
23 May, 2013
1 commit
-
This simple driver is rather useful. No issues about its interface
have been raised for some time hence the proposal to move it out
of staging.Signed-off-by: Jonathan Cameron
20 Nov, 2012
1 commit
-
Now that the adis library no longer depends on the sw_ring buffer implementation
we can move it out of staging.While we are at it also sort the entries in the iio Kconfig and Makefile to be
in alphabetical order.Signed-off-by: Lars-Peter Clausen
Signed-off-by: Jonathan Cameron
10 Nov, 2012
1 commit
-
This callback buffer is meant to be opaque to users, but basically
adds a very simple pass through buffer to which data may be
pushed when it is inserted into the buffer list.Signed-off-by: Jonathan Cameron
20 Oct, 2012
1 commit
-
Signed-off-by: Andreas Larsson
Signed-off-by: Jonathan Cameron
07 Sep, 2012
5 commits
-
Added usage id processing for ALS. This uses IIO
interfaces for triggered buffer to present data to user
mode.This uses HID sensor framework for registering callback
events from the sensor hub.Signed-off-by: srinivas pandruvada
Signed-off-by: Jonathan Cameron -
Added usage id processing for Compass 3D. This uses IIO
interfaces for triggered buffer to present data to user
mode.This uses HID sensor framework for registering callback
events from the sensor hub.Signed-off-by: srinivas pandruvada
Signed-off-by: Jonathan Cameron -
Added usage id processing for Gyroscope 3D. This uses IIO
interfaces for triggered buffer to present data to user
mode.This uses HID sensor framework for registering callback
events from the sensor hub.Signed-off-by: srinivas pandruvada
Signed-off-by: Jonathan Cameron -
Added usage id processing for Accelerometer 3D.This uses IIO
interfaces for triggered buffer to present data to user
mode.This uses HID sensor framework for registering callback
events from the sensor hub.Signed-off-by: srinivas pandruvada
Signed-off-by: Jonathan Cameron -
This patch contains the common code, which is used by all HID sensors.
There are some common set of attributes, which every hid sensor
needs it. This patch contains all such attributes processing.
Also the trigger interface is common among all HID sensors. This
patch contains common trigger functions utilized by all HID sensors.Signed-off-by: srinivas pandruvada
Signed-off-by: Jonathan Cameron
04 Sep, 2012
1 commit
-
Signed-off-by: Peter Meerwald
Signed-off-by: Jonathan Cameron
26 Jun, 2012
1 commit
-
This picks up the staging changes made in 3.5-rc4 so that everyone can sync up
properly.Signed-off-by: Greg Kroah-Hartman
19 Jun, 2012
1 commit
-
Add a helper function for executing the common tasks which are usually involved
in setting up a simple software ringbuffer. It will allocate the buffer,
allocate the pollfunc and register the buffer.Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
Signed-off-by: Greg Kroah-Hartman
15 Jun, 2012
1 commit
-
The documentation lives in drivers/staging/iio/Documentation, but
according to Jonathan it's obsolete and needs fixing.Signed-off-by: Jiri Kosina
Acked-by: Jonathan Cameron
Signed-off-by: Greg Kroah-Hartman
05 Jun, 2012
3 commits
-
The IIO DAC drivers are in a reasonably good shape. They all make use of channel
spec and non of them provides non-documented sysfs attributes. Code style should
be OK as well, both checkpatch and coccicheck only report trivial issues.So lets move the whole folder out of staging.
Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
Signed-off-by: Greg Kroah-Hartman -
Changes since V1:
Apply Jonathan's review feedback:
Revise device status attribute names, and split documentation into two sections.
Add additional comments, and fix indention issues.
Remove pointless zero initializations.
Revise return value handling.
Simplify some code sections.
Split store_eeprom and sync handling into separate functions.
Use strtobool where applicable.
Document platform data structures using kernel-doc style.Use dev_to_iio_dev
write_raw IIO_CHAN_INFO_FREQUENCY: Reject values
Acked-by: Jonathan Cameron
Signed-off-by: Greg Kroah-Hartman -
Add sub-driver for the ambient-light-sensor interface on National
Semiconductor / TI LM3533 lighting power chips.The sensor interface can be used to control the LEDs and backlights of
the chip through defining five light zones and three sets of
corresponding output-current values.The driver provides raw and mean adc readings along with the current
light zone through sysfs. A threshold event can be generated on zone
changes. The ALS-control output values can be set per zone for the three
current output channels.Signed-off-by: Johan Hovold
Acked-by: Jonathan Cameron
Signed-off-by: Greg Kroah-Hartman
15 May, 2012
2 commits
-
Add the ADC driver for Atmel's AT91SAM9G20-EK, AT91SAM9M10G45-EK
and AT91SAM9X5 family boards.It has support for both software and hardware triggers.
Signed-off-by: Maxime Ripard
Acked-by: Nicolas Ferre
Acked-by: Jonathan Cameron
Signed-off-by: Greg Kroah-Hartman -
Changes since V1:
Apply review feedback:
Introduce and use IIO_CHAN_INFO_HARDWAREGAIN
Introduce and use Use IIO_VAL_INT_PLUS_MICRO_DBModify out of staging include paths.
Convert to new iio core API naming.Changes since V2:
more sanity checking in write_raw
Signed-off-by: Michael Hennerich
Acked-by: Jonathan Cameron
Signed-off-by: Greg Kroah-Hartman
26 Apr, 2012
1 commit
-
Take the core support + the kfifo buffer implentation out of
staging. Whilst we are far from done in improving this subsystem
it is now at a stage where the userspae interfaces (provided by
the core) can be considered stable.Drivers will follow over a longer time scale.
Signed-off-by: Jonathan Cameron
Signed-off-by: Greg Kroah-Hartman