From de64c8394c0fc50112b51cbeef445eee3c851772 Mon Sep 17 00:00:00 2001 From: Maureen Helm Date: Thu, 30 Mar 2017 13:57:50 -0500 Subject: [PATCH] fxos8700: Fix Kconfig help indentation Fixes the fxos8700 Kconfig help indentation to be . Change-Id: If6e9395b5d28044962ca568be5515658e7dc2627 Signed-off-by: Maureen Helm --- drivers/sensor/fxos8700/Kconfig | 92 +++++++++++++++++---------------- 1 file changed, 47 insertions(+), 45 deletions(-) diff --git a/drivers/sensor/fxos8700/Kconfig b/drivers/sensor/fxos8700/Kconfig index c19d824adfa..91d59e5a21e 100644 --- a/drivers/sensor/fxos8700/Kconfig +++ b/drivers/sensor/fxos8700/Kconfig @@ -10,7 +10,7 @@ menuconfig FXOS8700 depends on SENSOR && I2C default n help - Enable driver for the FXOS8700 accelerometer/magnetometer + Enable driver for the FXOS8700 accelerometer/magnetometer config FXOS8700_NAME string "Device name" @@ -28,8 +28,8 @@ config FXOS8700_I2C_ADDRESS range 0x1c 0x1f default 0x1d help - The I2C slave address can be configured by the SA0 and SA1 input pins. - This option should usually be set by the board defconfig. + The I2C slave address can be configured by the SA0 and SA1 input + pins. This option should usually be set by the board defconfig. config FXOS8700_WHOAMI hex "WHOAMI value" @@ -37,9 +37,9 @@ config FXOS8700_WHOAMI range 0x00 0xff default 0xc7 help - The datasheet defines the value of the WHOAMI register, but some - pre-production devices can have a different value. It is unlikely you - should need to change this configuration option from the default. + The datasheet defines the value of the WHOAMI register, but some + pre-production devices can have a different value. It is unlikely you + should need to change this configuration option from the default. choice prompt "Mode" @@ -62,9 +62,9 @@ config FXOS8700_TEMP depends on FXOS8700 && (FXOS8700_MODE_MAGN || FXOS8700_MODE_HYBRID) default n help - Enable the temperature sensor. Note that the temperature sensor is - uncalibrated and its output for a given temperature may vary from one - device to the next. + Enable the temperature sensor. Note that the temperature sensor is + uncalibrated and its output for a given temperature may vary from one + device to the next. choice prompt "Range" @@ -118,8 +118,8 @@ config FXOS8700_DRDY_INT1 depends on FXOS8700_TRIGGER default n help - Say Y to route data ready interrupt to INT1 pin. Say N to route to INT2 - pin. + Say Y to route data ready interrupt to INT1 pin. Say N to route to + INT2 pin. if FXOS8700_TRIGGER @@ -137,7 +137,7 @@ menuconfig FXOS8700_PULSE bool "Pulse detection" default n help - Enable pulse detection + Enable pulse detection if FXOS8700_PULSE @@ -145,7 +145,7 @@ config FXOS8700_PULSE_INT1 bool "Pulse interrupt to INT1 pin" default n 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 hex "Pulse configuration register" @@ -157,68 +157,70 @@ config FXOS8700_PULSE_THSX range 0 0x7f default 0x20 help - 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 - resolution of 0.063 g/LSB, corresponding to an 8g acceleration - full-scale range. + 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 resolution of 0.063 g/LSB, corresponding to an 8g acceleration + full-scale range. config FXOS8700_PULSE_THSY hex "Pulse Y-axis threshold" range 0 0x7f default 0x20 help - 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 - resolution of 0.063 g/LSB, corresponding to an 8g acceleration - full-scale range. + 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 resolution of 0.063 g/LSB, corresponding to an 8g acceleration + full-scale range. config FXOS8700_PULSE_THSZ hex "Pulse Z-axis threshold" range 0 0x7f default 0x40 help - 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 - resolution of 0.063 g/LSB, corresponding to an 8g acceleration - full-scale range. + 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 resolution of 0.063 g/LSB, corresponding to an 8g acceleration + full-scale range. config FXOS8700_PULSE_TMLT hex "Pulse time limit" range 0 0x7f default 0x18 help - The maximum time interval that can elapse between the start of the - acceleration on the selected channel exceeding the specified threshold - and the end when the channel acceleration goes back below the specified - threshold. The resolution depends upon the sample rate (ODR) and the - highpass filter configuration (HP_FILTER_CUTOFF[pls_hpf_en]). For - ODR=800 Hz and pls_hpf_en=0, the resolution is 0.625 ms/LSB. + The maximum time interval that can elapse between the start of the + acceleration on the selected channel exceeding the specified + threshold and the end when the channel acceleration goes back below + the specified threshold. The resolution depends upon the sample rate + (ODR) and the highpass filter configuration + (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 hex "Pulse latency" range 0 0xff default 0x28 help - The time interval that starts after the first pulse detection where the - pulse-detection function ignores the start of a new pulse. The - resolution depends upon the sample rate (ODR) and the highpass filter - configuration (HP_FILTER_CUTOFF[pls_hpf_en]). For ODR=800 Hz and - pls_hpf_en=0, the resolution is 1.25 ms/LSB. + The time interval that starts after the first pulse detection where + the pulse-detection function ignores the start of a new pulse. The + resolution depends upon the sample rate (ODR) and the highpass filter + configuration (HP_FILTER_CUTOFF[pls_hpf_en]). For ODR=800 Hz and + pls_hpf_en=0, the resolution is 1.25 ms/LSB. config FXOS8700_PULSE_WIND hex "Pulse window" range 0 0xff default 0x3c help - 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 - detected provided the device has been configured for double pulse - detection. The detected second pulse width must be shorter than the - time limit constraint specified by the PULSE_TMLT register, but the end - of the double pulse need not finish within the time specified by the - PULSE_WIND register. The resolution depends upon the sample rate (ODR) - and the highpass filter configuration (HP_FILTER_CUTOFF[pls_hpf_en]). - For ODR=800 Hz and pls_hpf_en=0, the resolution is 1.25 ms/LSB. + 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 + detected provided the device has been configured for double pulse + detection. The detected second pulse width must be shorter than the + time limit constraint specified by the PULSE_TMLT register, but the + end of the double pulse need not finish within the time specified by + the PULSE_WIND register. The resolution depends upon the sample rate + (ODR) and the highpass filter configuration + (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