Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nrf fromlist] drivers: pwm: fixes for fast PWM120 #2415

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mstasiaknordic
Copy link
Contributor

Clock requesting in case of PWM120 needed fixes to control whether clock is requested when entering s2ram.

Since GPIO cannot drive pins used by fast PWM, PWM`s idleout mechanism needs to be used to cover the case of 0% and 100% duty cycle.

Upstream PRs :
zephyrproject-rtos/zephyr#82133
zephyrproject-rtos/zephyr#83652

@mstasiaknordic mstasiaknordic added the backport v3.7.99-ncs3-branch Relates to NCS v2.9-nRF54H20-branch label Jan 9, 2025
…or fast PWM"

This reverts commit 99faf47.

Signed-off-by: Michał Stasiak <[email protected]>
Added clock control api for global hsfll used in fast PWM120 driver.

Upstream PR #: 82133

Signed-off-by: Michał Stasiak <[email protected]>
Fast PWM120 prevents GPIO from driving pin with low/high
state when PWM duty is 0% or 100%. Idleout feature needs to
be used. It can be configured when PWM is disabled and works
while it is enabled.

Upstream PR #: 83652

Signed-off-by: Michał Stasiak <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport v3.7.99-ncs3-branch Relates to NCS v2.9-nRF54H20-branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants