Linux Audio

Check our new training course

Loading...
#
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#

menuconfig LPS22HB
	bool
	prompt "LPS22HB pressure and temperature"
	depends on SENSOR && I2C
	default n
	help
	  Enable driver for LPS22HB I2C-based pressure and temperature
	  sensor.

config LPS22HB_DEV_NAME
	string
	prompt "Device name"
	default "LPS22HB"
	depends on LPS22HB
	help
	  Device name used for LPS22HB sensor identification.

config LPS22HB_I2C_ADDR
	hex
	prompt "I2C address"
	depends on LPS22HB
	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
	prompt "I2C master where LPS22HB is connected"
	depends on LPS22HB
	default I2C_0_NAME
	help
	  Specify the device name of the I2C master device to which
	  LPS22HB is connected.

menu "Attributes"
	depends on LPS22HB

config LPS22HB_SAMPLING_RATE
	int
	prompt "Output data rate"
	depends on LPS22HB
	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