drivers: i2s_nrfx: add support for divider setup on NRF54L15

Add support for NRF54L15 divider setting which is same as on NRF5340

Signed-off-by: Bartosz Sokolski <bartosz.sokolski@nordicsemi.no>
This commit is contained in:
Bartosz Sokolski 2024-01-31 16:55:17 +01:00 committed by Fabio Baltieri
commit 238b9be5ee

View file

@ -100,7 +100,7 @@ static void find_suitable_clock(const struct i2s_nrfx_drv_cfg *drv_cfg,
continue;
}
if (IS_ENABLED(CONFIG_SOC_SERIES_NRF53X)) {
if (IS_ENABLED(CONFIG_SOC_SERIES_NRF53X) || IS_ENABLED(CONFIG_SOC_SERIES_NRF54LX)) {
uint32_t requested_mck =
i2s_cfg->frame_clk_freq * ratios[r].ratio_val;
/* As specified in the nRF5340 PS: