forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 95099d4622f8cb224d94e314c7a8e0df60b13f87
kernel/drivers/iio/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # Industrial I/O subsystem configuration
34 #
....@@ -27,7 +28,7 @@
2728 help
2829 This allows configuring various IIO bits through configfs
2930 (e.g. software triggers). For more info see
30
- Documentation/iio/iio_configfs.txt.
31
+ Documentation/iio/iio_configfs.rst.
3132
3233 config IIO_TRIGGER
3334 bool "Enable triggered sampling support"
....@@ -38,31 +39,31 @@
3839 data now' interrupt.
3940
4041 config IIO_CONSUMERS_PER_TRIGGER
41
- int "Maximum number of consumers per trigger"
42
- depends on IIO_TRIGGER
43
- default "2"
44
- help
45
- This value controls the maximum number of consumers that a
46
- given trigger may handle. Default is 2.
42
+ int "Maximum number of consumers per trigger"
43
+ depends on IIO_TRIGGER
44
+ default "2"
45
+ help
46
+ This value controls the maximum number of consumers that a
47
+ given trigger may handle. Default is 2.
4748
4849 config IIO_SW_DEVICE
4950 tristate "Enable software IIO device support"
5051 select IIO_CONFIGFS
5152 help
52
- Provides IIO core support for software devices. A software
53
- device can be created via configfs or directly by a driver
54
- using the API provided.
53
+ Provides IIO core support for software devices. A software
54
+ device can be created via configfs or directly by a driver
55
+ using the API provided.
5556
5657 config IIO_SW_TRIGGER
5758 tristate "Enable software triggers support"
5859 select IIO_CONFIGFS
5960 help
60
- Provides IIO core support for software triggers. A software
61
- trigger can be created via configfs or directly by a driver
62
- using the API provided.
61
+ Provides IIO core support for software triggers. A software
62
+ trigger can be created via configfs or directly by a driver
63
+ using the API provided.
6364
6465 config IIO_TRIGGERED_EVENT
65
- tristate
66
+ tristate "Enable triggered events support"
6667 select IIO_TRIGGER
6768 help
6869 Provides helper functions for setting up triggered events.
....@@ -73,7 +74,6 @@
7374 source "drivers/iio/amplifiers/Kconfig"
7475 source "drivers/iio/chemical/Kconfig"
7576 source "drivers/iio/common/Kconfig"
76
-source "drivers/iio/counter/Kconfig"
7777 source "drivers/iio/dac/Kconfig"
7878 source "drivers/iio/dummy/Kconfig"
7979 source "drivers/iio/frequency/Kconfig"
....@@ -88,6 +88,7 @@
8888 if IIO_TRIGGER
8989 source "drivers/iio/trigger/Kconfig"
9090 endif #IIO_TRIGGER
91
+source "drivers/iio/position/Kconfig"
9192 source "drivers/iio/potentiometer/Kconfig"
9293 source "drivers/iio/potentiostat/Kconfig"
9394 source "drivers/iio/pressure/Kconfig"