zephyr/dts/bindings/stepper/stepper-controller.yaml
Jilay Pandya d5ae99a551 drivers: stepper: step_dir: rename direction_gpios to dir_gpios
for the brevity renaming direction_gpios to dir_gpios since STEP/DIR
interface is quite an established term in context of stepper controllers.

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2024-12-11 07:58:34 +01:00

38 lines
827 B
YAML

# SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG
# SPDX-License-Identifier: Apache-2.0
description: Stepper Controller
properties:
invert-direction:
type: boolean
description: |
Invert motor direction.
micro-step-res:
type: int
default: 1
enum:
- 1
- 2
- 4
- 8
- 16
- 32
- 64
- 128
- 256
description: |
micro-step resolution to be set while initializing the device driver.
step-gpios:
type: phandle-array
description: |
The GPIO pins used to send step signals to the stepper motor.
dir-gpios:
type: phandle-array
description: |
The GPIO pins used to send direction signals to the stepper motor.
Pin will be driven high for forward direction and low for reverse direction.