blob: 26d758ec7afa2d05ba4fd36016dbadcf412de508 [file] [log] [blame]
description: STM32 PWM
compatible: "st,stm32-pwm"
include: [pwm-controller.yaml, base.yaml, pinctrl-device.yaml]
properties:
pinctrl-0:
required: true
pinctrl-names:
required: true
"#pwm-cells":
const: 3
description: |
Number of items to expect in a PWM
- channel of the timer used for PWM
- period to set in ns
- flags : combination of standard flags like PWM_POLARITY_NORMAL
or specific flags like STM32_PWM_COMPLEMENTARY. As an example,
the following complementary PWMs(CH2&CH2N) are shown below.
<&pwm1 2 100 (PWM_POLARITY_NORMAL)>;
<&pwm1 2 100 (PWM_POLARITY_NORMAL | STM32_PWM_COMPLEMENTARY)>;
pwm-cells:
- channel
- period
- flags