.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * STMicroelectronics pressures driver |
---|
3 | 4 | * |
---|
.. | .. |
---|
5 | 6 | * |
---|
6 | 7 | * Denis Ciocca <denis.ciocca@st.com> |
---|
7 | 8 | * v. 1.0.0 |
---|
8 | | - * Licensed under the GPL-2. |
---|
9 | 9 | */ |
---|
10 | 10 | |
---|
11 | 11 | #ifndef ST_PRESS_H |
---|
.. | .. |
---|
21 | 21 | LPS22HB, |
---|
22 | 22 | LPS33HW, |
---|
23 | 23 | LPS35HW, |
---|
| 24 | + LPS22HH, |
---|
24 | 25 | ST_PRESS_MAX, |
---|
25 | 26 | }; |
---|
26 | 27 | |
---|
.. | .. |
---|
30 | 31 | #define LPS22HB_PRESS_DEV_NAME "lps22hb" |
---|
31 | 32 | #define LPS33HW_PRESS_DEV_NAME "lps33hw" |
---|
32 | 33 | #define LPS35HW_PRESS_DEV_NAME "lps35hw" |
---|
| 34 | +#define LPS22HH_PRESS_DEV_NAME "lps22hh" |
---|
33 | 35 | |
---|
34 | 36 | /** |
---|
35 | 37 | * struct st_sensors_platform_data - default press platform data |
---|
36 | 38 | * @drdy_int_pin: default press DRDY is available on INT1 pin. |
---|
37 | 39 | */ |
---|
38 | | -static const struct st_sensors_platform_data default_press_pdata = { |
---|
| 40 | +static __maybe_unused const struct st_sensors_platform_data default_press_pdata = { |
---|
39 | 41 | .drdy_int_pin = 1, |
---|
40 | 42 | }; |
---|
41 | 43 | |
---|
| 44 | +const struct st_sensor_settings *st_press_get_settings(const char *name); |
---|
42 | 45 | int st_press_common_probe(struct iio_dev *indio_dev); |
---|
43 | 46 | void st_press_common_remove(struct iio_dev *indio_dev); |
---|
44 | 47 | |
---|