mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
1a97905d3e
This is a Framework to handle complex IIO aggregate devices. The typical architecture is to have one device as the frontend device which can be "linked" against one or multiple backend devices. All the IIO and userspace interface is expected to be registers/managed by the frontend device which will callback into the backends when needed (to get/set some configuration that it does not directly control). The basic framework interface is pretty simple: - Backends should register themselves with @devm_iio_backend_register() - Frontend devices should get backends with @devm_iio_backend_get() Signed-off-by: Nuno Sa <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20240210-iio-backend-v11-5-f5242a5fb42a@analog.com Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the industrial I/O core.
|
|
#
|
|
|
|
obj-$(CONFIG_IIO) += industrialio.o
|
|
industrialio-y := industrialio-core.o industrialio-event.o inkern.o
|
|
industrialio-$(CONFIG_IIO_BUFFER) += industrialio-buffer.o
|
|
industrialio-$(CONFIG_IIO_TRIGGER) += industrialio-trigger.o
|
|
|
|
obj-$(CONFIG_IIO_CONFIGFS) += industrialio-configfs.o
|
|
obj-$(CONFIG_IIO_GTS_HELPER) += industrialio-gts-helper.o
|
|
obj-$(CONFIG_IIO_SW_DEVICE) += industrialio-sw-device.o
|
|
obj-$(CONFIG_IIO_SW_TRIGGER) += industrialio-sw-trigger.o
|
|
obj-$(CONFIG_IIO_TRIGGERED_EVENT) += industrialio-triggered-event.o
|
|
obj-$(CONFIG_IIO_BACKEND) += industrialio-backend.o
|
|
|
|
obj-y += accel/
|
|
obj-y += adc/
|
|
obj-y += addac/
|
|
obj-y += afe/
|
|
obj-y += amplifiers/
|
|
obj-y += buffer/
|
|
obj-y += cdc/
|
|
obj-y += chemical/
|
|
obj-y += common/
|
|
obj-y += dac/
|
|
obj-y += dummy/
|
|
obj-y += gyro/
|
|
obj-y += filter/
|
|
obj-y += frequency/
|
|
obj-y += health/
|
|
obj-y += humidity/
|
|
obj-y += imu/
|
|
obj-y += light/
|
|
obj-y += magnetometer/
|
|
obj-y += multiplexer/
|
|
obj-y += orientation/
|
|
obj-y += position/
|
|
obj-y += potentiometer/
|
|
obj-y += potentiostat/
|
|
obj-y += pressure/
|
|
obj-y += proximity/
|
|
obj-y += resolver/
|
|
obj-y += temperature/
|
|
obj-y += test/
|
|
obj-y += trigger/
|