Re: [PATCH v3 1/2] dt-bindings: pwm: dwc: add reset optional
From: Krzysztof Kozlowski
Date: Fri Apr 03 2026 - 03:27:48 EST
On Thu, Apr 02, 2026 at 05:18:54PM +0800, dongxuyang@xxxxxxxxxxxxxxxxxx wrote:
> From: Xuyang Dong <dongxuyang@xxxxxxxxxxxxxxxxxx>
>
> The DesignWare PWM controller provides separate reset signals for each
So one controller has signals. Plural, right? Then why do you define
only one reset signal?
> clock domain, as specified in the hardware documentation. Without
> asserting and deasserting these resets during probe, PWM outputs may
> remain in an undefined state after system reboot.
>
> To address this, the driver now supports an optional 'resets' property.
This is binding change, not driver.
> A full reset is performed only when no PWM channel is enabled, as
> determined by reading the enable bit in each channel's control register.
Do you describe hardware or driver behavior? This is not a change about
driver. Describe the hardware here - what is expected with that reset.
> This allows safe coexistence with bootloaders that have already
> configured active PWM channels.
Best regards,
Krzysztof