Skip to content

drivers: clock_control: mcux_syscon: Added get support for I2S_MCUX_FLEXCOMM #90831

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

Merged
merged 1 commit into from
Jun 3, 2025

Conversation

mjchen0
Copy link
Contributor

@mjchen0 mjchen0 commented May 29, 2025

Previously, I2S_MCUX_FLEXCOMM was expected to use the external MCLK only but it's possible for I2S_MCUX_FLEXCOMM to be sourced from other clocks like the audio_pll_clk, in which case the driver needs to be able to get the current clock frequency in order to properly set dividers for requested sample rate.

@github-actions github-actions bot added platform: NXP Drivers NXP Semiconductors, drivers size: XS A PR changing only a single line of code area: Clock Control labels May 29, 2025
Previously, I2S_MCUX_FLEXCOMM was expected to use the external
MCLK only but it's possible for I2S_MCUX_FLEXCOMM to be sourced
from other clocks like the audio_pll_clk, in which case the
driver needs to be able to get the current clock frequency
in order to properly set dividers for requested sample rate.

Signed-off-by: Mike J. Chen <[email protected]>
@mjchen0 mjchen0 force-pushed the clock_control_mcux_syscon branch from 3fb648c to 1c18a1e Compare May 30, 2025 00:52
Copy link

@nashif nashif merged commit e6d38ce into zephyrproject-rtos:main Jun 3, 2025
26 checks passed
@mjchen0 mjchen0 deleted the clock_control_mcux_syscon branch June 11, 2025 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Clock Control platform: NXP Drivers NXP Semiconductors, drivers size: XS A PR changing only a single line of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants