Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iio: pressure: mprls0025pa: Kconfig allow bus selection

Allow the user to select either the SPI or the i2c bus specific
module and autoselect core if needed.

Signed-off-by: Petre Rodan <petre.rodan@subdimension.ro>
Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Petre Rodan and committed by
Jonathan Cameron
676cc11b e7324980

+19 -15
+19 -15
drivers/iio/pressure/Kconfig
··· 216 216 will be called mpl3115. 217 217 218 218 config MPRLS0025PA 219 - tristate "Honeywell MPRLS0025PA (MicroPressure sensors series)" 220 - depends on (I2C || SPI_MASTER) 221 - select MPRLS0025PA_I2C if I2C 222 - select MPRLS0025PA_SPI if SPI_MASTER 219 + tristate 223 220 select IIO_BUFFER 224 221 select IIO_TRIGGERED_BUFFER 225 - help 226 - Say Y here to build support for the Honeywell MicroPressure pressure 227 - sensor series. There are many different types with different pressure 228 - range. These ranges can be set up in the device tree. 229 - 230 - To compile this driver as a module, choose M here: the module will be 231 - called mprls0025pa. 232 222 233 223 config MPRLS0025PA_I2C 234 - tristate 235 - depends on MPRLS0025PA 224 + tristate "Honeywell MPR pressure sensor series I2C driver" 236 225 depends on I2C 226 + select MPRLS0025PA 227 + help 228 + Say Y here to build I2C bus support for the Honeywell MicroPressure 229 + series sensor. 230 + 231 + To compile this driver as a module, choose M here: the module 232 + will be called mprls0025pa_i2c and you will also get mprls0025pa 233 + for the core module. 237 234 238 235 config MPRLS0025PA_SPI 239 - tristate 240 - depends on MPRLS0025PA 236 + tristate "Honeywell MPR pressure sensor series SPI driver" 241 237 depends on SPI_MASTER 238 + select MPRLS0025PA 239 + help 240 + Say Y here to build SPI bus support for the Honeywell MicroPressure 241 + series sensor. 242 + 243 + To compile this driver as a module, choose M here: the module 244 + will be called mprls0025pa_spi and you will also get mprls0025pa 245 + for the core module. 242 246 243 247 config MS5611 244 248 tristate "Measurement Specialties MS5611 pressure sensor driver"