remarkable-linux/include/linux/iio
Linus Walleij 2d7768a872 iio: st_sensors: add devicetree probing support
The I2C devices that make up the STMicroelectronics MEMS sensors
may be sneakily enabled by cleverly giving the device node the same
name as a string match from the platform device ID table. However
the right method is to use the compatible string.

On detection, the ST sensors use the ID string to probe and
instatiate the right sensor driver, so pass the kernel-internal ID
string in the .data field of the OF match table, and set the I2C
client name to this name when a compatible match is used.

This avoids having misc Linux-specific strings floating around in
the device tree.

Cc: Lee Jones <lee.jones@linaro.org>
Cc: Denis CIOCCA <denis.ciocca@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2014-07-11 21:09:49 +01:00
..
accel iio: accel: kxcjk1013 3-axis accelerometer driver 2014-06-14 17:10:21 +01:00
adc
common iio: st_sensors: add devicetree probing support 2014-07-11 21:09:49 +01:00
dac
frequency iio: frequency: adf4350: cast value to unsigned to make code checkers happy 2013-06-04 18:36:52 +01:00
gyro
imu iio: adis: Switch sampling frequency attr to core support. 2014-07-07 09:44:17 +01:00
buffer.h iio: Add data_available callback for buffers 2013-12-03 20:22:28 +00:00
consumer.h iio: inkern: add iio_read_channel_average_raw 2014-03-16 18:00:33 +00:00
driver.h
events.h iio: Remove support for the legacy event config interface 2013-12-08 13:13:52 +00:00
iio.h IIO: core: Modify scan element type 2014-04-29 22:07:11 +01:00
kfifo_buf.h
machine.h
sysfs.h iio: Add INT_TIME (integration time) channel info attribute 2013-09-14 21:16:44 +01:00
trigger.h iio: Remove timestamp argument from iio_trigger_poll() and iio_trigger_poll_chained() 2014-06-14 16:25:59 +01:00
trigger_consumer.h
triggered_buffer.h
types.h iio: Add TEMP_AMBIENT and TEMP_OBJECT channel modifiers 2014-05-03 11:35:23 +01:00