drivers/iio/imu/st_lsm6dsx/Kconfig
Source file repositories/reference/linux-study-clean/drivers/iio/imu/st_lsm6dsx/Kconfig
File Facts
- System
- Linux kernel
- Corpus path
drivers/iio/imu/st_lsm6dsx/Kconfig- Extension
[no extension]- Size
- 1351 bytes
- Lines
- 58
- 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_LSM6DSX
tristate "ST_LSM6DSx driver for STM 6-axis IMU MEMS sensors"
depends on (I2C || SPI || I3C)
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
select IIO_KFIFO_BUF
help
Say yes here to build support for STMicroelectronics LSM6DSx imu
sensor.
Supported devices:
- asm330lhb
- asm330lhh
- asm330lhhx
- asm330lhhxg1
- ism330dhcx
- ism330dlc
- ism330is
- lsm6ds0
- lsm6ds3
- lsm6ds3h
- lsm6ds3tr-c
- lsm6dsl
- lsm6dsm
- lsm6dso
- lsm6dso16is
- lsm6dsop
- lsm6dsox
- lsm6dsr
- lsm6dsrx
- lsm6dst
- lsm6dstx
- lsm6dsv
- lsm6dsv16x
- lsm9ds1
To compile this driver as a module, choose M here: the module
will be called st_lsm6dsx.
config IIO_ST_LSM6DSX_I2C
tristate "ST_LSM6DSx driver for STM 6-axis IMU MEMS sensors I2C Interface"
depends on I2C && IIO_ST_LSM6DSX
default I2C && IIO_ST_LSM6DSX
select REGMAP_I2C
config IIO_ST_LSM6DSX_SPI
tristate "ST_LSM6DSx driver for STM 6-axis IMU MEMS sensors SPI Interface"
depends on SPI_MASTER && IIO_ST_LSM6DSX
default SPI_MASTER && IIO_ST_LSM6DSX
select REGMAP_SPI
config IIO_ST_LSM6DSX_I3C
tristate "ST_LSM6DSx driver for STM 6-axis IMU MEMS sensors I3C Interface"
depends on I3C && IIO_ST_LSM6DSX
default I3C && IIO_ST_LSM6DSX
select REGMAP_I3C
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.