mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-01 02:33:57 +00:00
26b2ec2e9a
This patch makes I2C and SPI interface drivers for STMicroelectronics sensor chips individually selectable via Kconfig. The default is kept unchanged - I2C 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: Nikita Yushchenko <nikita.yoush@cogentembedded.com> Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20220110152432.3799227-1-nikita.yoush@cogentembedded.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
16 lines
238 B
Plaintext
16 lines
238 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# STMicroelectronics sensors common library
|
|
#
|
|
|
|
config IIO_ST_SENSORS_I2C
|
|
tristate
|
|
select REGMAP_I2C
|
|
|
|
config IIO_ST_SENSORS_SPI
|
|
tristate
|
|
select REGMAP_SPI
|
|
|
|
config IIO_ST_SENSORS_CORE
|
|
tristate
|