Add Kconfig option. Find common regs. Update ramp generator data. Signed-off-by: Anders Nielsen <anders.nielsen@prevas.dk>
26 lines
580 B
Text
26 lines
580 B
Text
# SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig STEPPER_ADI_TMC
|
|
bool "Trinamic Stepper Controller"
|
|
depends on STEPPER
|
|
default y
|
|
help
|
|
Enable trinamic stepper controller
|
|
|
|
if STEPPER_ADI_TMC
|
|
|
|
config STEPPER_ADI_TMC_SPI
|
|
bool "Use Trinamic Stepper Controller with SPI"
|
|
depends on STEPPER_ADI_TMC
|
|
select SPI
|
|
help
|
|
A Trinamic Stepper Controller with SPI is enabled
|
|
|
|
comment "Trinamic Stepper Drivers"
|
|
|
|
rsource "Kconfig.tmc22xx"
|
|
rsource "Kconfig.tmc50xx"
|
|
rsource "Kconfig.tmc51xx"
|
|
|
|
endif # STEPPER_ADI_TMC
|