Re: [PATCH v4] dt-bindings: pwm: st,sti-pwm: convert to DT schema

From: Krzysztof Kozlowski

Date: Fri Jun 26 2026 - 04:32:07 EST


On Thu, Jun 25, 2026 at 11:24:15AM +0000, Charan Pedumuru wrote:
> +maintainers:
> + - Lee Jones <lee.jones@xxxxxxxxxx>
> +
> +description:
> + The STiH41x PWM controller supports both PWM output and input capture
> + functionality. It provides multiple PWM output channels for generating
> + variable duty-cycle waveforms, and multiple input capture channels for
> + measuring external signal periods and pulse widths. PWM output channels
> + and input capture channels are configured independently via
> + st,pwm-num-chan and st,capture-num-chan respectively.
> +
> +allOf:
> + - $ref: pwm.yaml#
> +
> +properties:
> + compatible:
> + const: st,sti-pwm
> +
> + reg:
> + maxItems: 1
> +
> + "#pwm-cells":
> + const: 2
> +
> + pinctrl-names:
> + const: default
> +
> + clock-names:

items:
minItems: 1
- const: pwm
- const: capture

> + items:
> + enum: [pwm, capture]
> + minItems: 1
> + maxItems: 2
> +
> + clocks:
> + minItems: 1
> + maxItems: 2

Best regards,
Krzysztof