Skip to content

Commit

Permalink
drivers: spi: pl022: Enable PINCTRL conjuction with dt prop 'pinctrl-0'
Browse files Browse the repository at this point in the history
If there is a pinctrl-0 property, PINCTRL will be enabled in
conjunction with it.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
  • Loading branch information
soburi authored and kartben committed Jan 27, 2025
1 parent 8978f66 commit da6bf19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/spi/Kconfig.pl022
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
config SPI_PL022
default y
depends on DT_HAS_ARM_PL022_ENABLED
select PINCTRL if DT_HAS_RASPBERRYPI_PICO_SPI_ENABLED
select PINCTRL if $(dt_compat_any_has_prop,$(DT_COMPAT_ARM_PL022),pinctrl-0)
bool "ARM PL022 SPI driver"

if SPI_PL022
Expand Down

0 comments on commit da6bf19

Please sign in to comment.