linux-stable/include/linux/iio
Alexandru Ardelean d9a625744e iio: core: merge buffer/ & scan_elements/ attributes
With this change, we create a new directory for the IIO device called
buffer0, under which both the old buffer/ and scan_elements/ are stored.

This is done to simplify the addition of multiple IIO buffers per IIO
device. Otherwise we would need to add a bufferX/ and scan_elementsX/
directory for each IIO buffer.
With the current way of storing attribute groups, we can't have directories
stored under each other (i.e. scan_elements/ under buffer/), so the best
approach moving forward is to merge their attributes.

The old/legacy buffer/ & scan_elements/ groups are not stored on the opaque
IIO device object. This way the IIO buffer can have just a single
attribute_group object, saving a bit of memory when adding multiple IIO
buffers.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20210215104043.91251-13-alexandru.ardelean@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2021-03-11 20:47:03 +00:00
..
accel
adc thermal: qcom: add support for adc-tm5 PMIC thermal monitor 2021-02-15 21:28:53 +01:00
common iio: cros_ec: unify hw fifo attributes into the core file 2020-09-29 17:27:07 +01:00
dac
frequency
gyro
imu iio: adis. Drop adis_burst struct 2020-09-21 20:01:45 +01:00
timer
buffer-dma.h
buffer-dmaengine.h iio: buffer-dma,adi-axi-adc: introduce devm_iio_dmaengine_buffer_setup() 2021-03-11 20:47:02 +00:00
buffer.h iio: buffer: remove iio_buffer_set_attrs() helper 2020-11-21 14:53:37 +00:00
buffer_impl.h iio: core: merge buffer/ & scan_elements/ attributes 2021-03-11 20:47:03 +00:00
configfs.h
consumer.h iio: provide of_iio_channel_get_by_name() and devm_ version it 2021-01-16 18:27:51 +00:00
driver.h
events.h
hw-consumer.h
iio-opaque.h iio: core: merge buffer/ & scan_elements/ attributes 2021-03-11 20:47:03 +00:00
iio.h iio: core: rework iio device group creation 2021-03-11 20:47:03 +00:00
kfifo_buf.h iio: kfifo: un-export devm_iio_kfifo_allocate() function 2021-03-11 20:47:01 +00:00
machine.h
sw_device.h
sw_trigger.h
sysfs.h
trigger.h iio:trigger: rename try_reenable() to reenable() plus return void 2020-12-03 19:40:26 +00:00
trigger_consumer.h iio: Add __printf() attributes to various allocation functions 2020-09-21 18:54:18 +01:00
triggered_buffer.h iio: triggered-buffer: add {devm_}iio_triggered_buffer_setup_ext variants 2020-11-21 14:53:09 +00:00
triggered_event.h
types.h iio: temperature: mlx90632: Interface to change object ambient temperature 2020-09-13 10:21:37 +01:00