wisblock-pwm

Description

WisBlock PWM Channel Map

PWM channels exposed on the WisBlock IO connector.

WisBlock Core modules can expose PWM-capable lines through the WisBlock
IO connector. This binding provides a nexus mapping where parent pin
indices correspond to the WISBLOCK_PWM_* constants defined in
<zephyr/dt-bindings/pwm/wisblock-pwm.h>:

  0   IO1   PWM channel routed to IO1
  1   IO2   PWM channel routed to IO2
  2   IO3   PWM channel routed to IO3
  3   IO4   PWM channel routed to IO4
  4   IO5   PWM channel routed to IO5
  5   IO6   PWM channel routed to IO6
  6   IO7   PWM channel routed to IO7

Example usage in a WisBlock Core board file:

  wisblock_pwm: wisblock-pwm {
    compatible = "wisblock-pwm";
    pwm-map = <WISBLOCK_PWM_IO1 0 0 &pwm0 0 0 0>,
              <WISBLOCK_PWM_IO2 0 0 &pwm0 1 0 0>;
    #pwm-cells = <3>;
  };

Properties

Properties not inherited from the base binding file.

Name

Type

Details

pwm-map

compound

This property is required.

pwm-map-mask

array

pwm-map-pass-thru

array

#pwm-cells

int

Number of items to expect in a PWM specifier

This property is required.