From bea5fc71c4958ff8de8a8330461fbedc3afb146d Mon Sep 17 00:00:00 2001 From: Fabian Blatz Date: Sun, 1 Dec 2024 20:34:08 +0100 Subject: [PATCH] tests: drivers: build_all: stepper: Add adi,tmc2209 Adds the adi,tmc2209 driver to the build all stepper test. Signed-off-by: Fabian Blatz --- tests/drivers/build_all/stepper/gpio.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/drivers/build_all/stepper/gpio.dtsi b/tests/drivers/build_all/stepper/gpio.dtsi index 78e697347b9a2a..8290f762fcd5c1 100644 --- a/tests/drivers/build_all/stepper/gpio.dtsi +++ b/tests/drivers/build_all/stepper/gpio.dtsi @@ -12,3 +12,14 @@ test_gpio_stepper: test_gpio_stepper { <&test_gpio 0 0>, <&test_gpio 0 0>; }; + +test_tmc2209: tmc2209_motor { + compatible = "adi,tmc2209"; + status = "okay"; + micro-step-res = <1>; + msx-gpios = <&test_gpio 0 0>, + <&test_gpio 0 0>; + enable-gpios = <&test_gpio 0 0>; + step-gpios = <&test_gpio 0 0>; + direction-gpios = <&test_gpio 0 0>; +};