[RFC PATCH 2/5] iio: adc: Kconfig: add Kconfig entry for TI ADS1262 driver

Sayyad Abid
2025-05-01T10:01:46Z

Adds the Kconfig option `CONFIG_TI_ADS1262` under the IIO ADC menu.
This allows users to select the TI ADS1262 driver for compilation
during kernel configuration.

Signed-off-by: Sayyad Abid <sayyad.abid16@gmail.com>
---
drivers/iio/adc/Kconfig | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 6529df1a498c..f3f8a8cf5f89 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -1542,6 +1542,18 @@ config TI_ADS1100
This driver can also be built as a module. If so, the module will be
called ti-ads1100.

+config TI_ADS1262
+ tristate "Texas Instruments ADS1262"
+ depends on SPI
+ select IIO_BUFFER
+ help
+ If you say yes here you get support for Texas Instruments ADS1262
+ 32-bit precision ADC with programmable gain amplifier and internal
+ voltage reference.
+
+ This driver can also be built as a module. If so, the module will be
+ called ti-ads1262.
+
config TI_ADS1298
tristate "Texas Instruments ADS1298"
depends on SPI
--
2.39.5