# # Copyright (c) 2017 Linaro Limited # # SPDX-License-Identifier: Apache-2.0 # menuconfig LPS22HB bool "LPS22HB pressure and temperature" depends on I2C help Enable driver for LPS22HB I2C-based pressure and temperature sensor. if LPS22HB if !HAS_DTS_I2C_DEVICE config LPS22HB_DEV_NAME string "Device name" default "LPS22HB" help Device name used for LPS22HB sensor identification. config LPS22HB_I2C_ADDR hex "I2C address" default 0x5D range 0x5C 0x5D help I2C address of the LPS22HB sensor. Use 0x5C if the SA0 pin is pulled to GND or 0x5D if the SA0 pin is pulled to VDD. config LPS22HB_I2C_MASTER_DEV_NAME string "I2C master where LPS22HB is connected" default I2C_0_NAME help Specify the device name of the I2C master device to which LPS22HB is connected. endif menu "Attributes" config LPS22HB_SAMPLING_RATE int "Output data rate" default 25 help Sensor output data rate expressed in samples per second. Data rates supported by the chip are 1, 10, 25, 50, 75. endmenu endif # LPS22HB