dts/Kconfig: Remove unused HAS_DTS_SPI
Symbol is always "and'ed" with the symbol that selects it, so no effect. Clean it up. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
e5380258b6
commit
555936f771
11 changed files with 8 additions and 19 deletions
|
@ -7,7 +7,7 @@
|
||||||
#
|
#
|
||||||
menuconfig ADXL362
|
menuconfig ADXL362
|
||||||
bool "ADXL362 sensor"
|
bool "ADXL362 sensor"
|
||||||
depends on SPI && HAS_DTS_SPI
|
depends on SPI
|
||||||
help
|
help
|
||||||
Enable driver for ADXL362 Three-Axis Digital Accelerometers.
|
Enable driver for ADXL362 Three-Axis Digital Accelerometers.
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
menuconfig ADXL372
|
menuconfig ADXL372
|
||||||
bool "ADXL372 Three Axis High-g I2C/SPI accelerometer"
|
bool "ADXL372 Three Axis High-g I2C/SPI accelerometer"
|
||||||
depends on (I2C && HAS_DTS_I2C) || (SPI && HAS_DTS_SPI)
|
depends on (I2C && HAS_DTS_I2C) || SPI
|
||||||
help
|
help
|
||||||
Enable driver for ADXL372 Three-Axis Digital Accelerometers.
|
Enable driver for ADXL372 Three-Axis Digital Accelerometers.
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
menuconfig LIS2DH
|
menuconfig LIS2DH
|
||||||
bool "LIS2DH Three Axis Accelerometer"
|
bool "LIS2DH Three Axis Accelerometer"
|
||||||
depends on (I2C && HAS_DTS_I2C) || (SPI && HAS_DTS_SPI)
|
depends on (I2C && HAS_DTS_I2C) || SPI
|
||||||
help
|
help
|
||||||
Enable SPI/I2C-based driver for LIS2DH, LIS3DH, LSM303DLHC,
|
Enable SPI/I2C-based driver for LIS2DH, LIS3DH, LSM303DLHC,
|
||||||
LIS2DH12, LSM303AGR triaxial accelerometer sensors.
|
LIS2DH12, LSM303AGR triaxial accelerometer sensors.
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
menuconfig LIS2DS12
|
menuconfig LIS2DS12
|
||||||
bool "LIS2DS12 I2C/SPI accelerometer sensor driver"
|
bool "LIS2DS12 I2C/SPI accelerometer sensor driver"
|
||||||
depends on (I2C && HAS_DTS_I2C) || (SPI && HAS_DTS_SPI)
|
depends on (I2C && HAS_DTS_I2C) || SPI
|
||||||
help
|
help
|
||||||
Enable driver for LIS2DS12 accelerometer sensor driver
|
Enable driver for LIS2DS12 accelerometer sensor driver
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
menuconfig LIS2DW12
|
menuconfig LIS2DW12
|
||||||
bool "LIS2DW12 I2C/SPI accelerometer sensor driver"
|
bool "LIS2DW12 I2C/SPI accelerometer sensor driver"
|
||||||
depends on (I2C && HAS_DTS_I2C) || (SPI && HAS_DTS_SPI)
|
depends on (I2C && HAS_DTS_I2C) || SPI
|
||||||
select HAS_STMEMSC
|
select HAS_STMEMSC
|
||||||
select USE_STDC_LIS2DW12
|
select USE_STDC_LIS2DW12
|
||||||
help
|
help
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
menuconfig LPS22HH
|
menuconfig LPS22HH
|
||||||
bool "LPS22HH pressure and temperature"
|
bool "LPS22HH pressure and temperature"
|
||||||
depends on (I2C && HAS_DTS_I2C) || (SPI && HAS_DTS_SPI)
|
depends on (I2C && HAS_DTS_I2C) || SPI
|
||||||
select HAS_STMEMSC
|
select HAS_STMEMSC
|
||||||
select USE_STDC_LPS22HH
|
select USE_STDC_LPS22HH
|
||||||
help
|
help
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
menuconfig LSM6DSL
|
menuconfig LSM6DSL
|
||||||
bool "LSM6DSL I2C/SPI accelerometer and gyroscope Chip"
|
bool "LSM6DSL I2C/SPI accelerometer and gyroscope Chip"
|
||||||
depends on (I2C && HAS_DTS_I2C) || (SPI && HAS_DTS_SPI)
|
depends on (I2C && HAS_DTS_I2C) || SPI
|
||||||
help
|
help
|
||||||
Enable driver for LSM6DSL accelerometer and gyroscope
|
Enable driver for LSM6DSL accelerometer and gyroscope
|
||||||
sensor.
|
sensor.
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
menuconfig LSM6DSO
|
menuconfig LSM6DSO
|
||||||
bool "LSM6DSO I2C/SPI accelerometer and gyroscope Chip"
|
bool "LSM6DSO I2C/SPI accelerometer and gyroscope Chip"
|
||||||
depends on (I2C && HAS_DTS_I2C) || (SPI && HAS_DTS_SPI)
|
depends on (I2C && HAS_DTS_I2C) || SPI
|
||||||
select HAS_STMEMSC
|
select HAS_STMEMSC
|
||||||
select USE_STDC_LSM6DSO
|
select USE_STDC_LSM6DSO
|
||||||
help
|
help
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
#
|
#
|
||||||
menuconfig SPI
|
menuconfig SPI
|
||||||
bool "SPI hardware bus support"
|
bool "SPI hardware bus support"
|
||||||
select HAS_DTS_SPI
|
|
||||||
help
|
help
|
||||||
Enable support for the SPI hardware bus.
|
Enable support for the SPI hardware bus.
|
||||||
|
|
||||||
|
|
|
@ -20,13 +20,6 @@ config HAS_DTS_I2C
|
||||||
This option specifies that the target platform supports device tree
|
This option specifies that the target platform supports device tree
|
||||||
configuration for I2c.
|
configuration for I2c.
|
||||||
|
|
||||||
config HAS_DTS_SPI
|
|
||||||
bool
|
|
||||||
depends on HAS_DTS
|
|
||||||
help
|
|
||||||
This option specifies that the target platform supports device tree
|
|
||||||
configuration for SPI.
|
|
||||||
|
|
||||||
config HAS_DTS_QDEC
|
config HAS_DTS_QDEC
|
||||||
bool
|
bool
|
||||||
depends on HAS_DTS
|
depends on HAS_DTS
|
||||||
|
|
|
@ -251,14 +251,11 @@
|
||||||
|
|
||||||
#endif /* CONFIG_HAS_DTS_I2C */
|
#endif /* CONFIG_HAS_DTS_I2C */
|
||||||
|
|
||||||
#if defined(CONFIG_HAS_DTS_SPI)
|
|
||||||
|
|
||||||
#ifndef DT_ADXL372_DEV_NAME
|
#ifndef DT_ADXL372_DEV_NAME
|
||||||
#define DT_ADXL372_DEV_NAME ""
|
#define DT_ADXL372_DEV_NAME ""
|
||||||
#define DT_ADXL372_SPI_DEV_NAME ""
|
#define DT_ADXL372_SPI_DEV_NAME ""
|
||||||
#define DT_ADXL372_SPI_DEV_SLAVE 0
|
#define DT_ADXL372_SPI_DEV_SLAVE 0
|
||||||
#define DT_ADXL372_SPI_BUS_FREQ 8000000
|
#define DT_ADXL372_SPI_BUS_FREQ 8000000
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef DT_INST_0_BOSCH_BMI160_LABEL
|
#ifndef DT_INST_0_BOSCH_BMI160_LABEL
|
||||||
#define DT_INST_0_BOSCH_BMI160_LABEL ""
|
#define DT_INST_0_BOSCH_BMI160_LABEL ""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue