drivers: boards: Merge HAS_DTS_GPIO_DEVICE with HAS_DTS_GPIO
Every board that uses dts-enabled gpio drivers has a board-level dts, so there is no need to have separate configs HAS_DTS_GPIO_DEVICE and HAS_DTS_GPIO. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
89ccead382
commit
eeb4411de7
|
@ -7,4 +7,3 @@
|
|||
config BOARD_96B_ARGONKEY
|
||||
bool "96Boards Argonkey"
|
||||
depends on SOC_STM32F412CG
|
||||
select HAS_DTS_GPIO_DEVICE
|
||||
|
|
|
@ -3,5 +3,4 @@ config BOARD_FRDM_K64F
|
|||
bool "Freescale FRDM-K64F"
|
||||
depends on SOC_SERIES_KINETIS_K6X
|
||||
select SOC_PART_NUMBER_MK64FN1M0VLL12
|
||||
select HAS_DTS_GPIO_DEVICE
|
||||
select HAS_DTS_SPI_PINS
|
||||
|
|
|
@ -9,4 +9,3 @@ config BOARD_FRDM_KW41Z
|
|||
bool "NXP FRDM-KW41Z"
|
||||
depends on SOC_SERIES_KINETIS_KWX
|
||||
select SOC_PART_NUMBER_MKW41Z512VHT4
|
||||
select HAS_DTS_GPIO_DEVICE
|
||||
|
|
|
@ -9,4 +9,3 @@ config BOARD_HEXIWEAR_K64
|
|||
bool "NXP Hexiwear K64"
|
||||
depends on SOC_SERIES_KINETIS_K6X
|
||||
select SOC_PART_NUMBER_MK64FN1M0VDC12
|
||||
select HAS_DTS_GPIO_DEVICE
|
||||
|
|
|
@ -7,4 +7,3 @@
|
|||
config BOARD_REEL_BOARD
|
||||
bool "reel Board"
|
||||
depends on SOC_NRF52840_QIAA
|
||||
select HAS_DTS_GPIO_DEVICE
|
||||
|
|
|
@ -9,5 +9,4 @@ config BOARD_USB_KW24D512
|
|||
bool "NXP USB-KW24D512"
|
||||
depends on SOC_SERIES_KINETIS_KWX
|
||||
select SOC_PART_NUMBER_MKW24D512VHA5
|
||||
select HAS_DTS_GPIO_DEVICE
|
||||
select HAS_DTS_SPI_PINS
|
||||
|
|
|
@ -10,4 +10,3 @@ config BOARD_WARP7_M4
|
|||
depends on SOC_SERIES_IMX7_M4
|
||||
select SOC_PART_NUMBER_MCIMX7S3DVK08SA
|
||||
select HAS_DTS_GPIO
|
||||
select HAS_DTS_GPIO_DEVICE
|
||||
|
|
|
@ -69,7 +69,7 @@ config IEEE802154_MCR20A_GPIO_SPI_CS_PIN
|
|||
|
||||
endif # !HAS_DTS_SPI_PINS
|
||||
|
||||
if !HAS_DTS_GPIO_DEVICE
|
||||
if !HAS_DTS_GPIO
|
||||
|
||||
config MCR20A_GPIO_IRQ_B_NAME
|
||||
string "GPIO device used for IRQ_B output of MCR20A"
|
||||
|
@ -85,7 +85,7 @@ config MCR20A_GPIO_RESET_PIN
|
|||
int "GPIO pin connected to RESET input of MCR20A"
|
||||
default 2
|
||||
|
||||
endif # !HAS_DTS_GPIO_DEVICE
|
||||
endif # !HAS_DTS_GPIO
|
||||
|
||||
config MCR20A_IS_PART_OF_KW2XD_SIP
|
||||
bool "MCR20A device is part of KW2xD SiP"
|
||||
|
|
|
@ -83,7 +83,7 @@ endchoice
|
|||
config ADT7420_TRIGGER
|
||||
bool
|
||||
|
||||
if !HAS_DTS_GPIO_DEVICE
|
||||
if !HAS_DTS_GPIO
|
||||
|
||||
config ADT7420_GPIO_DEV_NAME
|
||||
string "GPIO device"
|
||||
|
@ -101,7 +101,7 @@ config ADT7420_GPIO_PIN_NUM
|
|||
The GPIO pin number receiving the interrupt signal from the
|
||||
ADT7420 sensor.
|
||||
|
||||
endif # !HAS_DTS_GPIO_DEVICE
|
||||
endif # !HAS_DTS_GPIO
|
||||
|
||||
config ADT7420_THREAD_PRIORITY
|
||||
int "Thread priority"
|
||||
|
|
|
@ -293,7 +293,7 @@ endchoice
|
|||
config ADXL372_TRIGGER
|
||||
bool
|
||||
|
||||
if !HAS_DTS_GPIO_DEVICE
|
||||
if !HAS_DTS_GPIO
|
||||
|
||||
config ADXL372_GPIO_DEV_NAME
|
||||
string "GPIO device"
|
||||
|
@ -311,7 +311,7 @@ config ADXL372_GPIO_PIN_NUM
|
|||
The GPIO pin number receiving the interrupt signal from the
|
||||
ADXL372 sensor.
|
||||
|
||||
endif # !HAS_DTS_GPIO_DEVICE
|
||||
endif # !HAS_DTS_GPIO
|
||||
|
||||
config ADXL372_THREAD_PRIORITY
|
||||
int "Thread priority"
|
||||
|
|
|
@ -30,7 +30,7 @@ config APDS9960_DRV_NAME
|
|||
|
||||
endif # !HAS_DTS_I2C
|
||||
|
||||
if !HAS_DTS_GPIO_DEVICE
|
||||
if !HAS_DTS_GPIO
|
||||
|
||||
config APDS9960_GPIO_DEV_NAME
|
||||
string "GPIO device"
|
||||
|
@ -45,7 +45,7 @@ config APDS9960_GPIO_PIN_NUM
|
|||
The GPIO pin number receiving the interrupt signal from the
|
||||
APDS9960 sensor.
|
||||
|
||||
endif # !HAS_DTS_GPIO_DEVICE
|
||||
endif # !HAS_DTS_GPIO
|
||||
|
||||
choice
|
||||
prompt "Trigger mode"
|
||||
|
|
|
@ -90,7 +90,7 @@ config FXAS21002_TRIGGER
|
|||
|
||||
if FXAS21002_TRIGGER
|
||||
|
||||
if !HAS_DTS_GPIO_DEVICE
|
||||
if !HAS_DTS_GPIO
|
||||
|
||||
config FXAS21002_GPIO_NAME
|
||||
string "GPIO device name"
|
||||
|
|
|
@ -100,7 +100,7 @@ endchoice
|
|||
config FXOS8700_TRIGGER
|
||||
bool
|
||||
|
||||
if !HAS_DTS_GPIO_DEVICE
|
||||
if !HAS_DTS_GPIO
|
||||
|
||||
config FXOS8700_GPIO_NAME
|
||||
string "GPIO device name"
|
||||
|
|
|
@ -40,7 +40,7 @@ config HDC1008_I2C_MASTER_DEV_NAME
|
|||
|
||||
endif # !HAS_DTS_I2C
|
||||
|
||||
if !HAS_DTS_GPIO_DEVICE
|
||||
if !HAS_DTS_GPIO
|
||||
|
||||
config HDC1008_GPIO_DEV_NAME
|
||||
string "GPIO device"
|
||||
|
@ -56,6 +56,6 @@ config HDC1008_GPIO_PIN_NUM
|
|||
The number of the GPIO on which the data-ready signal from the HDC1008
|
||||
chip will be received.
|
||||
|
||||
endif # !HAS_DTS_GPIO_DEVICE
|
||||
endif # !HAS_DTS_GPIO
|
||||
|
||||
endif # HDC1008
|
||||
|
|
|
@ -135,7 +135,7 @@ endchoice
|
|||
config LSM6DSL_TRIGGER
|
||||
bool
|
||||
|
||||
if !HAS_DTS_GPIO_DEVICE
|
||||
if !HAS_DTS_GPIO
|
||||
|
||||
config LSM6DSL_GPIO_DEV_NAME
|
||||
string "GPIO device"
|
||||
|
@ -151,7 +151,7 @@ config LSM6DSL_GPIO_PIN_NUM
|
|||
The number of the GPIO on which the interrupt signal from the LSM6DSL
|
||||
chip will be received.
|
||||
|
||||
endif # HAS_DTS_GPIO_DEVICE
|
||||
endif # HAS_DTS_GPIO
|
||||
|
||||
config LSM6DSL_THREAD_PRIORITY
|
||||
int "Thread priority"
|
||||
|
|
|
@ -18,13 +18,6 @@ config HAS_DTS_GPIO
|
|||
This option specifies that the target platform supports device tree
|
||||
configuration for GPIO.
|
||||
|
||||
config HAS_DTS_GPIO_DEVICE
|
||||
bool
|
||||
depends on HAS_DTS_GPIO
|
||||
help
|
||||
This option specifies that the target platform supports device tree
|
||||
configuration for GPIO on the driver/consumer side.
|
||||
|
||||
config HAS_DTS_I2C
|
||||
bool
|
||||
depends on HAS_DTS
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
|
||||
#endif /* CONFIG_HAS_DTS_I2C */
|
||||
|
||||
#if defined(CONFIG_HAS_DTS_GPIO_DEVICE)
|
||||
#if defined(CONFIG_HAS_DTS_GPIO)
|
||||
|
||||
#define CONFIG_HDC1008_GPIO_DEV_NAME INTEL_QMSI_SS_I2C_80012000_TI_HDC1008_40_DRDY_GPIOS_CONTROLLER
|
||||
#define CONFIG_HDC1008_GPIO_PIN_NUM INTEL_QMSI_SS_I2C_80012000_TI_HDC1008_40_DRDY_GPIOS_PIN
|
||||
|
||||
#endif /* CONFIG_HAS_DTS_GPIO_DEVICE */
|
||||
#endif /* CONFIG_HAS_DTS_GPIO */
|
||||
|
|
Loading…
Reference in a new issue