1description: |
2  Silabs siwx91x PWM Controller
3
4  The siwx91x PWM controller is designed to generate PWM signals. The mapping
5  between PWM channels and GPIO pins is configured through pinctrl settings.
6
7compatible: "silabs,siwx91x-pwm"
8
9include: [base.yaml, pinctrl-device.yaml, pwm-controller.yaml]
10
11properties:
12  "#pwm-cells":
13    const: 2
14
15  silabs,ch_prescaler:
16    type: array
17    required: true
18    description: |
19      Contains the prescaler values for all the 4 channels
20    enum:
21      - 1
22      - 2
23      - 4
24      - 8
25      - 16
26      - 32
27      - 64
28
29  silabs,pwm_polarity:
30    type: int
31    required: true
32    description: |
33        Common PWM polarity for all the channels
34        0 - Normal polarity
35        1 - Inverted polarity
36
37pwm-cells:
38  - channel
39  - period
40