Skip to content

Conversation

@Hi-Im-David
Copy link
Contributor

Added macros for selecting getting the actual frequency of the AUXPLL output for use in tests and drivers. This is to avoid using magic numbers.

@zephyrbot zephyrbot added area: Audio area: Clock Control area: Tests Issues related to a particular existing or missing test labels Oct 16, 2025
@Hi-Im-David Hi-Im-David changed the title Auxpll freq macros NRF-AUXPLL freq macros Oct 16, 2025
@zephyrbot zephyrbot added the platform: nRF Nordic nRFx label Oct 16, 2025
These represent the outputted frequencies of the AUXPLL of
different settings set in the device tree set using dt-bindings
in nrf-auxpll.h. This is added to remove the need for 'magic numbers'
in drivers and tests.

Signed-off-by: David Jewsbury <[email protected]>
Frequencies being for AUXPLL were register assignments and
not actual frequencies.

Signed-off-by: David Jewsbury <[email protected]>
Eliminate the need for magic numbers when
setting AUXPLL_FREQ_OUT

Signed-off-by: David Jewsbury <[email protected]>
@Hi-Im-David
Copy link
Contributor Author

@bjarki-andreasen, sorry the rebase after you just reviewed, have just cleaned it up a little bit further by adding a CLOCK_CONTROL_NRF_AUXPLL_GET_FREQ macro instead

@sonarqubecloud
Copy link

@jhedberg jhedberg merged commit 9a3a954 into zephyrproject-rtos:main Oct 21, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Audio area: Clock Control area: Tests Issues related to a particular existing or missing test platform: nRF Nordic nRFx

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants