1# LSM6DS0 accelerometer and gyroscope sensor configuration 2# options 3 4# Copyright (c) 2016 Intel Corporation 5# SPDX-License-Identifier: Apache-2.0 6 7menuconfig LSM6DS0 8 bool "LSM6DS0 I2C accelerometer and gyroscope Chip" 9 depends on I2C 10 help 11 Enable driver for LSM6DS0 I2C-based accelerometer and gyroscope 12 sensor. 13 14if LSM6DS0 15 16config LSM6DS0_ACCEL_ENABLE_X_AXIS 17 bool "Enable accelerometer X axis" 18 default y 19 help 20 Enable/disable accelerometer X axis totally by stripping everything 21 related in driver. 22 23config LSM6DS0_ACCEL_ENABLE_Y_AXIS 24 bool "Enable accelerometer Y axis" 25 default y 26 help 27 Enable/disable accelerometer Y axis totally by stripping everything 28 related in driver. 29 30config LSM6DS0_ACCEL_ENABLE_Z_AXIS 31 bool "Enable accelerometer Z axis" 32 default y 33 help 34 Enable/disable accelerometer Z axis totally by stripping everything 35 related in driver. 36 37config LSM6DS0_GYRO_ENABLE_X_AXIS 38 bool "Enable gyroscope X axis" 39 default y 40 help 41 Enable/disable gyroscope X axis totally by stripping everything 42 related in driver. 43 44config LSM6DS0_GYRO_ENABLE_Y_AXIS 45 bool "Enable gyroscope Y axis" 46 default y 47 help 48 Enable/disable gyroscope Y axis totally by stripping everything 49 related in driver. 50 51config LSM6DS0_GYRO_ENABLE_Z_AXIS 52 bool "Enable gyroscope Z axis" 53 default y 54 help 55 Enable/disable gyroscope Z axis totally by stripping everything 56 related in driver. 57 58config LSM6DS0_ENABLE_TEMP 59 bool "Enable temperature" 60 help 61 Enable/disable temperature totally by stripping everything related in 62 driver. 63 64menu "Attributes" 65 66config LSM6DS0_GYRO_FULLSCALE 67 int "Gyroscope full-scale range" 68 default 245 69 help 70 Specify the default gyroscope full-scale range. 71 An X value for the config represents a range of +/- X degree per 72 second. Valid values are 245, 500 and 2000. 73 74config LSM6DS0_GYRO_SAMPLING_RATE 75 int "Output data rate" 76 default 15 77 help 78 Specify the default gyroscope output data rate expressed in samples 79 per second (Hz). 80 Data rates supported by the chip are 0, 15, 60, 119, 238, 476, 81 952. 82 83config LSM6DS0_ACCEL_FULLSCALE 84 int "Accelerometer full-scale range" 85 default 2 86 help 87 Specify the default accelerometer full-scale range. 88 An X value for the config represents a range of +/- X G. Valid values 89 are 2, 4, 8 and 16. 90 91config LSM6DS0_ACCEL_SAMPLING_RATE 92 int "Output data rate" 93 default 10 94 help 95 Specify the default accelerometer output data rate expressed in 96 samples per second (Hz). 97 Data rates supported by the chip are 0, 10, 50, 119, 238, 476, 952. 98 99endmenu 100 101endif # LSM6DS0 102