]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: imu: st_lsm6dsx: don't always auto-enable I2C, I3C and SPI interface drivers
authorSean Nyekjaer <sean@geanix.com>
Tue, 3 Dec 2024 07:20:17 +0000 (08:20 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 11 Dec 2024 19:20:48 +0000 (19:20 +0000)
commit804eb393d4cfde80c4f46d86e26b7a26d00e5553
tree81c526a124ddc2ac320fe36628b854a84fc7664d
parentc3084fada909e139f647615d2c85e6a484d4d777
iio: imu: st_lsm6dsx: don't always auto-enable I2C, I3C and SPI interface drivers

This patch makes I2C, I3C and SPI interface drivers for ST lsm6dsx
individually selectable via Kconfig.

The default is kept unchanged - I2C, I3C and SPI interface drivers are
still selected by default if the corresponding bus support is available.

However, the patch makes it possible to explicitly disable drivers
that are not needed for a particular target.

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Link: https://patch.msgid.link/20241203-lsm6dsx-v1-1-6d7893443bc8@geanix.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/st_lsm6dsx/Kconfig