drivers/iio/imu/st_lsm9ds0/Kconfig
Source file repositories/reference/linux-study-clean/drivers/iio/imu/st_lsm9ds0/Kconfig
File Facts
- System
- Linux kernel
- Corpus path
drivers/iio/imu/st_lsm9ds0/Kconfig- Extension
[no extension]- Size
- 1410 bytes
- Lines
- 46
- 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.
- 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
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
# SPDX-License-Identifier: GPL-2.0-only
config IIO_ST_LSM9DS0
tristate "STMicroelectronics LSM9DS0 IMU driver"
depends on (I2C || SPI_MASTER) && SYSFS
depends on !SENSORS_LIS3_I2C
depends on !SENSORS_LIS3_SPI
select IIO_ST_ACCEL_3AXIS
select IIO_ST_MAGN_3AXIS
help
Say yes here to build support for STMicroelectronics LSM9DS0 IMU
sensor. Supported devices: accelerometer/magnetometer of lsm9ds0
and lsm303d.
To compile this driver as a module, choose M here: the module
will be called st_lsm9ds0.
Also need to enable at least one of I2C and SPI interface drivers
config IIO_ST_LSM9DS0_I2C
tristate "STMicroelectronics LSM9DS0 IMU I2C interface"
depends on I2C && IIO_ST_LSM9DS0
default I2C && IIO_ST_LSM9DS0
select IIO_ST_ACCEL_I2C_3AXIS
select IIO_ST_MAGN_I2C_3AXIS
select REGMAP_I2C
help
Build support for STMicroelectronics LSM9DS0 IMU I2C interface.
To compile this driver as a module, choose M here. The module
will be called st_lsm9ds0_i2c.
config IIO_ST_LSM9DS0_SPI
tristate "STMicroelectronics LSM9DS0 IMU SPI interface"
depends on SPI_MASTER && IIO_ST_LSM9DS0
default SPI_MASTER && IIO_ST_LSM9DS0
select IIO_ST_ACCEL_SPI_3AXIS
select IIO_ST_MAGN_SPI_3AXIS
select REGMAP_SPI
help
Build support for STMicroelectronics LSM9DS0 IMU I2C interface.
To compile this driver as a module, choose M here. The module
will be called st_lsm9ds0_spi.
Annotation
- Atlas domain: Driver Families / drivers/iio.
- Implementation status: atlas-only.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.