drivers/iio/test/Kconfig

Source file repositories/reference/linux-study-clean/drivers/iio/test/Kconfig

File Facts

System
Linux kernel
Corpus path
drivers/iio/test/Kconfig
Extension
[no extension]
Size
1629 bytes
Lines
55
Domain
Driver Families
Bucket
drivers/iio
Inferred role
Driver Families: build/configuration rule
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0-only
#
# Industrial I/O subsystem unit tests configuration
#

# Keep in alphabetical order
config IIO_GTS_KUNIT_TEST
	tristate "Test IIO gain-time-scale helpers" if !KUNIT_ALL_TESTS
	depends on KUNIT
	select IIO_GTS_HELPER
	default KUNIT_ALL_TESTS
	help
	  build unit tests for the IIO light sensor gain-time-scale helpers.

	  For more information on KUnit and unit tests in general, please refer
	  to the KUnit documentation in Documentation/dev-tools/kunit/.

	  If unsure, say N. Keep in alphabetical order

config IIO_RESCALE_KUNIT_TEST
	tristate "Test IIO rescale conversion functions" if !KUNIT_ALL_TESTS
	depends on KUNIT && IIO_RESCALE
	default KUNIT_ALL_TESTS
	help
	  Build unit tests for the iio-rescale code.

	  For more information on KUnit and unit tests in general, please refer
	  to the KUnit documentation in Documentation/dev-tools/kunit/.

	  If unsure, say N.

config IIO_FORMAT_KUNIT_TEST
	tristate "Test IIO formatting functions" if !KUNIT_ALL_TESTS
	depends on KUNIT
	default KUNIT_ALL_TESTS
	help
	  build unit tests for the IIO formatting functions.

	  For more information on KUnit and unit tests in general, please refer
	  to the KUnit documentation in Documentation/dev-tools/kunit/.

	  If unsure, say N.

config IIO_MULTIPLY_KUNIT_TEST
	tristate "Test IIO multiply functions" if !KUNIT_ALL_TESTS
	depends on KUNIT
	default KUNIT_ALL_TESTS
	help
	  build unit tests for the IIO multiply functions.

	  For more information on KUnit and unit tests in general, please refer
	  to the KUnit documentation in Documentation/dev-tools/kunit/.

	  If unsure, say N.

Annotation

Implementation Notes