Skip to content

Commit cd7fa66

Browse files
committed
drivers: stepper: adi_tmc: spi selection logic
Update tmc50xx driver to conditionally select SPI support Signed-off-by: Dipak Shetty <shetty.dipak@gmx.com>
1 parent c8ffe14 commit cd7fa66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/stepper/adi_tmc/Kconfig.tmc50xx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
config STEPPER_ADI_TMC50XX
66
bool "Activate trinamic tmc50xx stepper driver"
77
depends on DT_HAS_ADI_TMC50XX_ENABLED && STEPPER_ADI_TMC
8-
select STEPPER_ADI_TMC_SPI
8+
select STEPPER_ADI_TMC_SPI if $(dt_compat_on_bus,$(DT_COMPAT_ADI_TMC50XX),spi)
99
default y
1010

1111
module = TMC50XX

0 commit comments

Comments
 (0)