xref: /openbmc/linux/drivers/iio/pressure/Kconfig (revision 293d5b43)
1#
2# Pressure drivers
3#
4# When adding new entries keep the list in alphabetical order
5
6menu "Pressure sensors"
7
8config BMP280
9	tristate "Bosch Sensortec BMP180/BMP280 pressure sensor I2C driver"
10	depends on (I2C || SPI_MASTER)
11	depends on !(BMP085_I2C=y || BMP085_I2C=m)
12	depends on !(BMP085_SPI=y || BMP085_SPI=m)
13	select REGMAP
14	select BMP280_I2C if (I2C)
15	select BMP280_SPI if (SPI_MASTER)
16	help
17	  Say yes here to build support for Bosch Sensortec BMP180 and BMP280
18	  pressure and temperature sensors. Also supports the BE280 with
19	  an additional humidity sensor channel.
20
21	  To compile this driver as a module, choose M here: the core module
22	  will be called bmp280 and you will also get bmp280-i2c for I2C
23	  and/or bmp280-spi for SPI support.
24
25config BMP280_I2C
26	tristate
27	depends on BMP280
28	depends on I2C
29	select REGMAP_I2C
30
31config BMP280_SPI
32	tristate
33	depends on BMP280
34	depends on SPI_MASTER
35	select REGMAP
36
37config HID_SENSOR_PRESS
38	depends on HID_SENSOR_HUB
39	select IIO_BUFFER
40	select IIO_TRIGGERED_BUFFER
41	select HID_SENSOR_IIO_COMMON
42	select HID_SENSOR_IIO_TRIGGER
43	tristate "HID PRESS"
44	help
45	  Say yes here to build support for the HID SENSOR
46	  Pressure driver
47
48	  To compile this driver as a module, choose M here: the module
49	  will be called hid-sensor-press.
50
51config HP03
52	tristate "Hope RF HP03 temperature and pressure sensor driver"
53	depends on I2C
54	select REGMAP_I2C
55	help
56	  Say yes here to build support for Hope RF HP03 pressure and
57	  temperature sensor.
58
59	  To compile this driver as a module, choose M here: the module
60	  will be called hp03.
61
62config MPL115
63	tristate
64
65config MPL115_I2C
66	tristate "Freescale MPL115A2 pressure sensor driver"
67	depends on I2C
68	select MPL115
69	help
70	  Say yes here to build support for the Freescale MPL115A2
71	  pressure sensor connected via I2C.
72
73	  To compile this driver as a module, choose M here: the module
74	  will be called mpl115_i2c.
75
76config MPL115_SPI
77	tristate "Freescale MPL115A1 pressure sensor driver"
78	depends on SPI_MASTER
79	select MPL115
80	help
81	  Say yes here to build support for the Freescale MPL115A1
82	  pressure sensor connected via SPI.
83
84	  To compile this driver as a module, choose M here: the module
85	  will be called mpl115_spi.
86
87config MPL3115
88	tristate "Freescale MPL3115A2 pressure sensor driver"
89	depends on I2C
90	select IIO_BUFFER
91	select IIO_TRIGGERED_BUFFER
92	help
93	  Say yes here to build support for the Freescale MPL3115A2
94	  pressure sensor / altimeter.
95
96	  To compile this driver as a module, choose M here: the module
97	  will be called mpl3115.
98
99config MS5611
100	tristate "Measurement Specialties MS5611 pressure sensor driver"
101	select IIO_BUFFER
102	select IIO_TRIGGERED_BUFFER
103	help
104	  Say Y here to build support for the Measurement Specialties
105	  MS5611, MS5607 pressure and temperature sensors.
106
107	  To compile this driver as a module, choose M here: the module will
108	  be called ms5611_core.
109
110config MS5611_I2C
111	tristate "support I2C bus connection"
112	depends on I2C && MS5611
113	help
114	  Say Y here to build I2C bus support for MS5611.
115
116	  To compile this driver as a module, choose M here: the module will
117	  be called ms5611_i2c.
118
119config MS5611_SPI
120	tristate "support SPI bus connection"
121	depends on SPI_MASTER && MS5611
122	help
123	  Say Y here to build SPI bus support for MS5611.
124
125	  To compile this driver as a module, choose M here: the module will
126	  be called ms5611_spi.
127
128config MS5637
129	tristate "Measurement Specialties MS5637 pressure & temperature sensor"
130	depends on I2C
131	select IIO_MS_SENSORS_I2C
132	help
133	  If you say yes here you get support for the Measurement Specialties
134	  MS5637 pressure and temperature sensor.
135	  This driver is also used for MS8607 temperature, pressure & humidity
136	  sensor
137
138	  This driver can also be built as a module. If so, the module will
139	  be called ms5637.
140
141config IIO_ST_PRESS
142	tristate "STMicroelectronics pressure sensor Driver"
143	depends on (I2C || SPI_MASTER) && SYSFS
144	select IIO_ST_SENSORS_CORE
145	select IIO_ST_PRESS_I2C if (I2C)
146	select IIO_ST_PRESS_SPI if (SPI_MASTER)
147	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
148	help
149	  Say yes here to build support for STMicroelectronics pressure
150	  sensors: LPS001WP, LPS25H, LPS331AP, LPS22HB.
151
152	  This driver can also be built as a module. If so, these modules
153	  will be created:
154	  - st_pressure (core functions for the driver [it is mandatory]);
155	  - st_pressure_i2c (necessary for the I2C devices [optional*]);
156	  - st_pressure_spi (necessary for the SPI devices [optional*]);
157
158	  (*) one of these is necessary to do something.
159
160config IIO_ST_PRESS_I2C
161	tristate
162	depends on IIO_ST_PRESS
163	depends on IIO_ST_SENSORS_I2C
164
165config IIO_ST_PRESS_SPI
166	tristate
167	depends on IIO_ST_PRESS
168	depends on IIO_ST_SENSORS_SPI
169
170config T5403
171	tristate "EPCOS T5403 digital barometric pressure sensor driver"
172	depends on I2C
173	help
174	  Say yes here to build support for the EPCOS T5403 pressure sensor
175	  connected via I2C.
176
177	  To compile this driver as a module, choose M here: the module
178	  will be called t5403.
179
180config HP206C
181	tristate "HOPERF HP206C precision barometer and altimeter sensor"
182	depends on I2C
183	help
184	  Say yes here to build support for the HOPREF HP206C precision
185	  barometer and altimeter sensor.
186
187	  This driver can also be built as a module. If so, the module will
188	  be called hp206c.
189
190endmenu
191