Skip to content

Staging/jic23 iio testing tmc5271 #2721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: staging/jic23_iio_testing
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions drivers/iio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ source "drivers/iio/humidity/Kconfig"
source "drivers/iio/imu/Kconfig"
source "drivers/iio/light/Kconfig"
source "drivers/iio/magnetometer/Kconfig"
source "drivers/iio/motor/Kconfig"
source "drivers/iio/multiplexer/Kconfig"
source "drivers/iio/orientation/Kconfig"
source "drivers/iio/test/Kconfig"
Expand Down
1 change: 1 addition & 0 deletions drivers/iio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ obj-y += humidity/
obj-y += imu/
obj-y += light/
obj-y += magnetometer/
obj-y += motor/
obj-y += multiplexer/
obj-y += orientation/
obj-y += position/
Expand Down
16 changes: 16 additions & 0 deletions drivers/iio/motor/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Motor drivers and controllers
#
# When adding new entries keep the list in alphabetical order

menu "Motor drivers and controllers"

config TMC5271
tristate "TMC5271 Stepper Driver and Controller"
depends on SPI
select REGMAP_SPI
help
Say yes here to enable support for the TMC5271 Stepper
Driver and Controller.
endmenu
7 changes: 7 additions & 0 deletions drivers/iio/motor/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
#
# Makefile for IIO Motor drivers and controllers support
#

# When adding new entries keep the list in alphabetical order
obj-$(CONFIG_TMC5271) += tmc5271.o
Loading