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

drivers: pwm: nrfx: add global hsfll request for fast PWM #82133

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mstasiaknordic
Copy link
Contributor

Added clock control api for global hsfll used in fast PWM120 driver in the last commit, based on the others which are currently reviewed.

tests/drivers/pwm/pwm_api builds successfully once CONFIG_CLOCK_CONTROL=y is added, was unable to add it to PWM Kconfig due to dependency loop.

Added hsfll120 clock for fast PWM120 nodes.

Signed-off-by: Michał Stasiak <[email protected]>
Fast PWM120 instance works with 320MHz clock, thus
pwm_nrfx_get_cycles_per_sec needs to be adjusted,
applying correct clock frequency.
Also, it uses cachable RAM, thus sys_cache function
needs to be added to flush the cached sequence.

Signed-off-by: Michał Stasiak <[email protected]>
Add pin retenion if GPD is enabled for nRF54H20.

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

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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant