drivers: gpio: remove unused HAS_DTS_GPIO Kconfig symbol

All the gpio drivers are based on devicetree and thus we always set
HAS_DTS_GPIO, thus we don't need this Kconfig option anymore.  Remove
uses as its safe to assume DTS is supported for GPIO.

Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
Kumar Gala 2022-06-08 13:31:34 -05:00 committed by Carles Cufí
commit bb03af637c
14 changed files with 5 additions and 20 deletions

View file

@ -7,4 +7,3 @@ config BOARD_WARP7_M4
bool "WaRP7 iMX7 Solo"
depends on SOC_SERIES_IMX7_M4
select SOC_PART_NUMBER_MCIMX7S3DVK08SA
select HAS_DTS_GPIO

View file

@ -5,7 +5,6 @@
menuconfig GPIO
bool "GPIO Drivers"
select HAS_DTS_GPIO
help
Include GPIO drivers in system config

View file

@ -8,7 +8,6 @@
config GPIO_ANDES_ATCGPIO100
bool "Andes ATCGPIO100 GPIO driver"
depends on SOC_SERIES_RISCV_ANDES_V5
select HAS_DTS_GPIO
help
Enable driver for the Andes ATCGPIO100 GPIO controller.

View file

@ -6,6 +6,5 @@
config GPIO_EOS_S3
bool "EOS_S3 GPIO driver"
depends on EOS_S3_HAL
select HAS_DTS_GPIO
help
Enable the EOS S3 gpio driver.

View file

@ -3,6 +3,5 @@
config GPIO_ITE_IT8XXX2
bool "ITE IT8XXX2 GPIO driver"
select HAS_DTS_GPIO
help
Enable driver for the ite GPIO controller.

View file

@ -6,7 +6,6 @@
menuconfig GPIO_MCP23S17
bool "MCP23S17 SPI-based GPIO chip"
depends on SPI
select HAS_DTS_GPIO
help
Enable driver for MCP23S17 SPI-based GPIO chip.

View file

@ -6,6 +6,5 @@
config GPIO_MCUX
bool "MCUX GPIO driver"
select HAS_DTS_GPIO
help
Enable the MCUX pinmux driver.

View file

@ -5,7 +5,7 @@
menuconfig ADT7420
bool "ADT7420 Temperature Sensor"
depends on I2C && HAS_DTS_GPIO
depends on I2C
help
Enable the driver for Analog Devices ADT7420 High-Accuracy
16-bit Digital I2C Temperature Sensors.

View file

@ -4,7 +4,7 @@
menuconfig APDS9960
bool "APDS9960 Sensor"
depends on I2C && HAS_DTS_GPIO
depends on I2C
help
Enable driver for APDS9960 sensors.

View file

@ -5,7 +5,7 @@
menuconfig FXAS21002
bool "FXAS21002 gyroscope driver"
depends on I2C && HAS_DTS_GPIO
depends on I2C
help
Enable driver for the FXAS21002 gyroscope

View file

@ -5,7 +5,7 @@
menuconfig FXOS8700
bool "FXOS8700 accelerometer/magnetometer driver"
depends on I2C && HAS_DTS_GPIO
depends on I2C
help
Enable driver for the FXOS8700 accelerometer/magnetometer.
The driver also supports MMA8451Q, MMA8652FC and MMA8653FC

View file

@ -5,7 +5,7 @@
menuconfig VCNL4040
bool "VCNL4040 Proximity and Ambient Light Sensor"
depends on I2C && HAS_DTS_GPIO
depends on I2C
help
Enable driver for VCNL4040 sensors.

View file

@ -5,10 +5,3 @@ config HAS_DTS
help
This option specifies that the target platform supports device tree
configuration.
config HAS_DTS_GPIO
bool
depends on HAS_DTS
help
This option specifies that the target platform supports device tree
configuration for GPIO.

View file

@ -5,5 +5,4 @@
config BOARD_NRF52840DK_NRF52840
bool "nRF52840 DK NRF52840"
select HAS_DTS_GPIO
depends on SOC_NRF52840_QIAA