| # |
| # Copyright (c) 2016 Intel Corporation |
| # |
| # SPDX-License-Identifier: Apache-2.0 |
| # |
| |
| menuconfig LPS25HB |
| bool "LPS25HB pressure and temperature" |
| depends on I2C |
| help |
| Enable driver for LPS25HB I2C-based pressure and temperature |
| sensor. |
| |
| if !HAS_DTS_I2C_DEVICE |
| |
| config LPS25HB_DEV_NAME |
| string "Device name" |
| default "lps25hb" |
| depends on LPS25HB |
| help |
| Device name with which the LPS25HB sensor is identified. |
| |
| config LPS25HB_I2C_ADDR |
| hex "I2C address" |
| depends on LPS25HB |
| default "0x5C" |
| help |
| I2C address of the LPS25HB sensor. |
| Use 0x5C if the SA0 pin is pulled to GND or 0x5D if the SA0 |
| pin is pulled to VDD. |
| |
| config LPS25HB_I2C_MASTER_DEV_NAME |
| string "I2C master where LPS25HB is connected" |
| depends on LPS25HB |
| default "I2C_0" |
| help |
| Specify the device name of the I2C master device to which |
| LPS25HB is connected. |
| |
| endif |
| |
| menu "Attributes" |
| depends on LPS25HB |
| |
| config LPS25HB_SAMPLING_RATE |
| int "Output data rate" |
| depends on LPS25HB |
| default 25 |
| help |
| Sensor output data rate expressed in samples per second. |
| Data rates supported by the chip are 1, 7, 13, 25. |
| |
| endmenu |