Commit 50129f8d authored by Kumar Gala's avatar Kumar Gala Committed by Maureen Helm
Browse files

drivers: gpio: mcux_igpio: Convert driver to new DT_INST macros



Convert driver to use DT_INST macros and remove related board per
instance Kconfig symbol usage.

Signed-off-by: default avatarKumar Gala <kumar.gala@linaro.org>
parent 542e8c8d
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -12,16 +12,6 @@ choice CODE_LOCATION
	default CODE_FLEXSPI
endchoice

if GPIO_MCUX_IGPIO

config GPIO_MCUX_IGPIO_1
	default y

config GPIO_MCUX_IGPIO_2
	default y

endif # GPIO_MCUX_IGPIO

config I2C_1
	default y
	depends on I2C_MCUX_LPI2C
+0 −10
Original line number Diff line number Diff line
@@ -12,16 +12,6 @@ choice CODE_LOCATION
	default CODE_FLEXSPI
endchoice

if GPIO_MCUX_IGPIO

config GPIO_MCUX_IGPIO_2
	default y

config GPIO_MCUX_IGPIO_3
	default y

endif # GPIO_MCUX_IGPIO

config I2C_1
	default y
	depends on I2C_MCUX_LPI2C
+0 −10
Original line number Diff line number Diff line
@@ -16,16 +16,6 @@ choice DATA_LOCATION
	default DATA_SEMC
endchoice

if GPIO_MCUX_IGPIO

config GPIO_MCUX_IGPIO_1
	default y

config GPIO_MCUX_IGPIO_5
	default y

endif # GPIO_MCUX_IGPIO

if I2C_MCUX_LPI2C

config I2C_1
+0 −19
Original line number Diff line number Diff line
@@ -20,25 +20,6 @@ config DISK_ACCESS_USDHC1
	default y
	depends on DISK_ACCESS_USDHC

if GPIO_MCUX_IGPIO

config GPIO_MCUX_IGPIO_1
	default y

config GPIO_MCUX_IGPIO_2
	default y if DISK_ACCESS_USDHC1

config GPIO_MCUX_IGPIO_3
	default n

config GPIO_MCUX_IGPIO_4
	default n

config GPIO_MCUX_IGPIO_5
	default y

endif # GPIO_MCUX_IGPIO

config I2C
	default y if LVGL

+0 −10
Original line number Diff line number Diff line
@@ -17,16 +17,6 @@ choice DATA_LOCATION
	default DATA_SEMC
endchoice

if GPIO_MCUX_IGPIO

config GPIO_MCUX_IGPIO_1
	default y

config GPIO_MCUX_IGPIO_5
	default y

endif # GPIO_MCUX_IGPIO

config I2C
	default y if LVGL

Loading