fxos8700: Fix Kconfig help indentation
Fixes the fxos8700 Kconfig help indentation to be <tab><space><space>. Change-Id: If6e9395b5d28044962ca568be5515658e7dc2627 Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
e09dc931bf
commit
de64c8394c
1 changed files with 47 additions and 45 deletions
|
@ -10,7 +10,7 @@ menuconfig FXOS8700
|
||||||
depends on SENSOR && I2C
|
depends on SENSOR && I2C
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable driver for the FXOS8700 accelerometer/magnetometer
|
Enable driver for the FXOS8700 accelerometer/magnetometer
|
||||||
|
|
||||||
config FXOS8700_NAME
|
config FXOS8700_NAME
|
||||||
string "Device name"
|
string "Device name"
|
||||||
|
@ -28,8 +28,8 @@ config FXOS8700_I2C_ADDRESS
|
||||||
range 0x1c 0x1f
|
range 0x1c 0x1f
|
||||||
default 0x1d
|
default 0x1d
|
||||||
help
|
help
|
||||||
The I2C slave address can be configured by the SA0 and SA1 input pins.
|
The I2C slave address can be configured by the SA0 and SA1 input
|
||||||
This option should usually be set by the board defconfig.
|
pins. This option should usually be set by the board defconfig.
|
||||||
|
|
||||||
config FXOS8700_WHOAMI
|
config FXOS8700_WHOAMI
|
||||||
hex "WHOAMI value"
|
hex "WHOAMI value"
|
||||||
|
@ -37,9 +37,9 @@ config FXOS8700_WHOAMI
|
||||||
range 0x00 0xff
|
range 0x00 0xff
|
||||||
default 0xc7
|
default 0xc7
|
||||||
help
|
help
|
||||||
The datasheet defines the value of the WHOAMI register, but some
|
The datasheet defines the value of the WHOAMI register, but some
|
||||||
pre-production devices can have a different value. It is unlikely you
|
pre-production devices can have a different value. It is unlikely you
|
||||||
should need to change this configuration option from the default.
|
should need to change this configuration option from the default.
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Mode"
|
prompt "Mode"
|
||||||
|
@ -62,9 +62,9 @@ config FXOS8700_TEMP
|
||||||
depends on FXOS8700 && (FXOS8700_MODE_MAGN || FXOS8700_MODE_HYBRID)
|
depends on FXOS8700 && (FXOS8700_MODE_MAGN || FXOS8700_MODE_HYBRID)
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable the temperature sensor. Note that the temperature sensor is
|
Enable the temperature sensor. Note that the temperature sensor is
|
||||||
uncalibrated and its output for a given temperature may vary from one
|
uncalibrated and its output for a given temperature may vary from one
|
||||||
device to the next.
|
device to the next.
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Range"
|
prompt "Range"
|
||||||
|
@ -118,8 +118,8 @@ config FXOS8700_DRDY_INT1
|
||||||
depends on FXOS8700_TRIGGER
|
depends on FXOS8700_TRIGGER
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Say Y to route data ready interrupt to INT1 pin. Say N to route to INT2
|
Say Y to route data ready interrupt to INT1 pin. Say N to route to
|
||||||
pin.
|
INT2 pin.
|
||||||
|
|
||||||
if FXOS8700_TRIGGER
|
if FXOS8700_TRIGGER
|
||||||
|
|
||||||
|
@ -137,7 +137,7 @@ menuconfig FXOS8700_PULSE
|
||||||
bool "Pulse detection"
|
bool "Pulse detection"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable pulse detection
|
Enable pulse detection
|
||||||
|
|
||||||
if FXOS8700_PULSE
|
if FXOS8700_PULSE
|
||||||
|
|
||||||
|
@ -145,7 +145,7 @@ config FXOS8700_PULSE_INT1
|
||||||
bool "Pulse interrupt to INT1 pin"
|
bool "Pulse interrupt to INT1 pin"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Say Y to route pulse interrupt to INT1 pin. Say N to route to INT2 pin.
|
Say Y to route pulse interrupt to INT1 pin. Say N to route to INT2 pin.
|
||||||
|
|
||||||
config FXOS8700_PULSE_CFG
|
config FXOS8700_PULSE_CFG
|
||||||
hex "Pulse configuration register"
|
hex "Pulse configuration register"
|
||||||
|
@ -157,68 +157,70 @@ config FXOS8700_PULSE_THSX
|
||||||
range 0 0x7f
|
range 0 0x7f
|
||||||
default 0x20
|
default 0x20
|
||||||
help
|
help
|
||||||
Threshold to start the pulse-event detection procedure on the X-axis.
|
Threshold to start the pulse-event detection procedure on the X-axis.
|
||||||
Threshold values for each axis are unsigned 7-bit numbers with a fixed
|
Threshold values for each axis are unsigned 7-bit numbers with a
|
||||||
resolution of 0.063 g/LSB, corresponding to an 8g acceleration
|
fixed resolution of 0.063 g/LSB, corresponding to an 8g acceleration
|
||||||
full-scale range.
|
full-scale range.
|
||||||
|
|
||||||
config FXOS8700_PULSE_THSY
|
config FXOS8700_PULSE_THSY
|
||||||
hex "Pulse Y-axis threshold"
|
hex "Pulse Y-axis threshold"
|
||||||
range 0 0x7f
|
range 0 0x7f
|
||||||
default 0x20
|
default 0x20
|
||||||
help
|
help
|
||||||
Threshold to start the pulse-event detection procedure on the Y-axis.
|
Threshold to start the pulse-event detection procedure on the Y-axis.
|
||||||
Threshold values for each axis are unsigned 7-bit numbers with a fixed
|
Threshold values for each axis are unsigned 7-bit numbers with a
|
||||||
resolution of 0.063 g/LSB, corresponding to an 8g acceleration
|
fixed resolution of 0.063 g/LSB, corresponding to an 8g acceleration
|
||||||
full-scale range.
|
full-scale range.
|
||||||
|
|
||||||
config FXOS8700_PULSE_THSZ
|
config FXOS8700_PULSE_THSZ
|
||||||
hex "Pulse Z-axis threshold"
|
hex "Pulse Z-axis threshold"
|
||||||
range 0 0x7f
|
range 0 0x7f
|
||||||
default 0x40
|
default 0x40
|
||||||
help
|
help
|
||||||
Threshold to start the pulse-event detection procedure on the Z-axis.
|
Threshold to start the pulse-event detection procedure on the Z-axis.
|
||||||
Threshold values for each axis are unsigned 7-bit numbers with a fixed
|
Threshold values for each axis are unsigned 7-bit numbers with a
|
||||||
resolution of 0.063 g/LSB, corresponding to an 8g acceleration
|
fixed resolution of 0.063 g/LSB, corresponding to an 8g acceleration
|
||||||
full-scale range.
|
full-scale range.
|
||||||
|
|
||||||
config FXOS8700_PULSE_TMLT
|
config FXOS8700_PULSE_TMLT
|
||||||
hex "Pulse time limit"
|
hex "Pulse time limit"
|
||||||
range 0 0x7f
|
range 0 0x7f
|
||||||
default 0x18
|
default 0x18
|
||||||
help
|
help
|
||||||
The maximum time interval that can elapse between the start of the
|
The maximum time interval that can elapse between the start of the
|
||||||
acceleration on the selected channel exceeding the specified threshold
|
acceleration on the selected channel exceeding the specified
|
||||||
and the end when the channel acceleration goes back below the specified
|
threshold and the end when the channel acceleration goes back below
|
||||||
threshold. The resolution depends upon the sample rate (ODR) and the
|
the specified threshold. The resolution depends upon the sample rate
|
||||||
highpass filter configuration (HP_FILTER_CUTOFF[pls_hpf_en]). For
|
(ODR) and the highpass filter configuration
|
||||||
ODR=800 Hz and pls_hpf_en=0, the resolution is 0.625 ms/LSB.
|
(HP_FILTER_CUTOFF[pls_hpf_en]). For ODR=800 Hz and pls_hpf_en=0, the
|
||||||
|
resolution is 0.625 ms/LSB.
|
||||||
|
|
||||||
config FXOS8700_PULSE_LTCY
|
config FXOS8700_PULSE_LTCY
|
||||||
hex "Pulse latency"
|
hex "Pulse latency"
|
||||||
range 0 0xff
|
range 0 0xff
|
||||||
default 0x28
|
default 0x28
|
||||||
help
|
help
|
||||||
The time interval that starts after the first pulse detection where the
|
The time interval that starts after the first pulse detection where
|
||||||
pulse-detection function ignores the start of a new pulse. The
|
the pulse-detection function ignores the start of a new pulse. The
|
||||||
resolution depends upon the sample rate (ODR) and the highpass filter
|
resolution depends upon the sample rate (ODR) and the highpass filter
|
||||||
configuration (HP_FILTER_CUTOFF[pls_hpf_en]). For ODR=800 Hz and
|
configuration (HP_FILTER_CUTOFF[pls_hpf_en]). For ODR=800 Hz and
|
||||||
pls_hpf_en=0, the resolution is 1.25 ms/LSB.
|
pls_hpf_en=0, the resolution is 1.25 ms/LSB.
|
||||||
|
|
||||||
config FXOS8700_PULSE_WIND
|
config FXOS8700_PULSE_WIND
|
||||||
hex "Pulse window"
|
hex "Pulse window"
|
||||||
range 0 0xff
|
range 0 0xff
|
||||||
default 0x3c
|
default 0x3c
|
||||||
help
|
help
|
||||||
The maximum interval of time that can elapse after the end of the
|
The maximum interval of time that can elapse after the end of the
|
||||||
latency interval in which the start of the second pulse event must be
|
latency interval in which the start of the second pulse event must be
|
||||||
detected provided the device has been configured for double pulse
|
detected provided the device has been configured for double pulse
|
||||||
detection. The detected second pulse width must be shorter than the
|
detection. The detected second pulse width must be shorter than the
|
||||||
time limit constraint specified by the PULSE_TMLT register, but the end
|
time limit constraint specified by the PULSE_TMLT register, but the
|
||||||
of the double pulse need not finish within the time specified by the
|
end of the double pulse need not finish within the time specified by
|
||||||
PULSE_WIND register. The resolution depends upon the sample rate (ODR)
|
the PULSE_WIND register. The resolution depends upon the sample rate
|
||||||
and the highpass filter configuration (HP_FILTER_CUTOFF[pls_hpf_en]).
|
(ODR) and the highpass filter configuration
|
||||||
For ODR=800 Hz and pls_hpf_en=0, the resolution is 1.25 ms/LSB.
|
(HP_FILTER_CUTOFF[pls_hpf_en]). For ODR=800 Hz and pls_hpf_en=0, the
|
||||||
|
resolution is 1.25 ms/LSB.
|
||||||
|
|
||||||
endif # FXOS8700_PULSE
|
endif # FXOS8700_PULSE
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue