:orphan: .. raw:: html .. dtcompatible:: zephyr,fake-stepper .. _dtbinding_zephyr_fake_stepper: zephyr,fake-stepper ################### Vendor: :ref:`Zephyr-specific binding ` .. note:: An implementation of a driver matching this compatible is available in :zephyr_file:`drivers/stepper/fake_stepper_controller.c`. Description *********** .. code-block:: none This binding provides a fake stepper controller for use as either a stub or a mock in Zephyr testing. Properties ********** .. tabs:: .. group-tab:: Node specific properties Properties not inherited from the base binding file. .. list-table:: :widths: 1 1 4 :header-rows: 1 * - Name - Type - Details * - ``invert-direction`` - ``boolean`` - .. code-block:: none Invert motor direction. * - ``micro-step-res`` - ``int`` - .. code-block:: none micro-step resolution to be set while initializing the device driver. Default value: ``1`` Legal values: ``1``, ``2``, ``4``, ``8``, ``16``, ``32``, ``64``, ``128``, ``256`` * - ``en-gpios`` - ``phandle-array`` - .. code-block:: none GPIO pins used to control the enable signal of the motor driver. * - ``step-gpios`` - ``phandle-array`` - .. code-block:: none The GPIO pins used to send step signals to the stepper motor. * - ``dir-gpios`` - ``phandle-array`` - .. code-block:: none 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. * - ``counter`` - ``phandle`` - .. code-block:: none Counter used for generating step-accurate pulse signals. .. group-tab:: Deprecated node specific properties Deprecated properties not inherited from the base binding file. (None) .. group-tab:: Base properties Properties inherited from the base binding file, which defines common properties that may be set on many nodes. Not all of these may apply to the "zephyr,fake-stepper" compatible. (None)