1# MPR pressure sensor configuration options
2
3# Copyright (c) 2020 Sven Herrmann
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig MPR
7	bool "MPR pressure sensor"
8	default y
9	depends on DT_HAS_HONEYWELL_MPR_ENABLED
10	select I2C
11	help
12	  Enable driver for MPR pressure sensor.
13
14if MPR
15
16choice
17	prompt "MPR Pressure Range"
18	default MPR_PRESSURE_RANGE_0025
19config MPR_PRESSURE_RANGE_0001
20	bool "0 to 1"
21config MPR_PRESSURE_RANGE_01_6
22	bool "0 to 1.6"
23config MPR_PRESSURE_RANGE_02_5
24	bool "0 to 2.5"
25config MPR_PRESSURE_RANGE_0015
26	bool "0 to 15"
27config MPR_PRESSURE_RANGE_0025
28	bool "0 to 25"
29config MPR_PRESSURE_RANGE_0030
30	bool "0 to 30"
31config MPR_PRESSURE_RANGE_0060
32	bool "0 to 60"
33config MPR_PRESSURE_RANGE_0100
34	bool "0 to 100"
35config MPR_PRESSURE_RANGE_0160
36	bool "0 to 160"
37config MPR_PRESSURE_RANGE_0250
38	bool "0 to 250"
39config MPR_PRESSURE_RANGE_0400
40	bool "0 to 400"
41config MPR_PRESSURE_RANGE_0600
42	bool "0 to 600"
43endchoice
44
45choice
46	prompt "MPR Pressure Unit"
47	default MPR_PRESSURE_UNIT_P
48config MPR_PRESSURE_UNIT_P
49	bool "psi"
50config MPR_PRESSURE_UNIT_K
51	bool "kPa"
52config MPR_PRESSURE_UNIT_B
53	bool "bar"
54config MPR_PRESSURE_UNIT_M
55	bool "mbar"
56endchoice
57
58choice
59	prompt "MPR Transfer Function"
60	default MPR_TRANSFER_FUNCTION_A
61config MPR_TRANSFER_FUNCTION_A
62	bool "A"
63config MPR_TRANSFER_FUNCTION_B
64	bool "B"
65config MPR_TRANSFER_FUNCTION_C
66	bool "C"
67endchoice
68
69endif # MPR
70