Commit graph android_kernel_sony_sdm845/include/uapi/linux/iio
Message SHA1
iio: electricalconductivity: add IIO_ELECTRICALCONDUCTIVITY type
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

Matt Ranostay   authored and   Jonathan Cameron   commited 2016-05-29 20:03:21 +01:00
4b9d2090a4
iio: Add channel for UV index
UV index indicating strength of sunburn-producing ultraviolet (UV) radiation

Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

Peter Meerwald-Stadler   authored and   Jonathan Cameron   commited 2016-04-03 11:14:01 +01:00
d409404cf6
iio: Add modifier for UV light
Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

Peter Meerwald-Stadler   authored and   Jonathan Cameron   commited 2016-04-03 11:14:00 +01:00
2c5ff1f9a6
iio: ph: add IIO_PH channel type
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

Matt Ranostay   authored and   Jonathan Cameron   commited 2016-01-30 16:27:17 +00:00
ecb3a7ccc6
iio: resistance: add IIO_RESISTANCE channel type
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

Matt Ranostay   authored and   Jonathan Cameron   commited 2015-09-23 20:23:25 +01:00
d38d54692d
iio: chemical: Add IIO_CONCENTRATION channel type
There are air quality sensors that report data back in parts per million
of VOC (Volatile Organic Compounds) which are usually indexed from CO2
or another common pollutant.

This patchset adds an IIO_CONCENTRATION type that returns a percentage
of substance because no other channels types fit this use case.
Modifiers for IIO_MOD_CO2 and IIO_MOD_VOC gas types are defined.

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

Matt Ranostay   authored and   Jonathan Cameron   commited 2015-09-23 20:23:24 +01:00
8ff6b3bc94
iio: Add I/Q modifiers
I/Q modifiers can be used to denote signals which are represented by a
in-phase and a quadrature component.

The ABI documentation describes the I and Q modifiers for current and
voltage channels for now as those will be the most likely users.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

Lars-Peter Clausen   authored and   Jonathan Cameron   commited 2015-05-23 10:49:55 +01:00
1ce87f21ed
iio: Export userspace IIO headers
After UAPI header file split [1] all user-kernel interfaces were
placed under include/uapi/.

This patch moves IIO user specific API from:
	* include/linux/iio/events.h => include/uapi/linux/iio/events.h
	* include/linux/types.h => include/uapi/linux/types.h

Now there is no need for nasty tricks to compile userspace programs
(e.g iio_event_monitor). Just installing the kernel headers with
make headers_install command does the job.

[1] http://lwn.net/Articles/507794/

Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

Daniel Baluta   authored and   Jonathan Cameron   commited 2015-02-14 17:05:03 +00:00
293487c8ec