zephyr/drivers/i2s
Daniel DeGrasse 906ee53834 drivers: i2s: i2s_mcux_sai: use clock-mux property to select SAI mux
Use a new property, "clock-mux" to select the clock mux for the SAI.
Previously, the clock mux was being selected using the "bits" specifier
of the "clocks" phandle property, which is not the purpose of this
specifier. This can be shown by the regression introduced by 5bebbb91,
which changed the "bits" field to the clock gate shift (which is the
intended meaning).

This incidently worked for the SAI1 and SAI3 peripherals, as the lower 2
bits of the correct clock source selection (0b10) are the same as the new
value placed in the "bit" specifier. For SAI2, the clock source was
switched to PLL3 PDF0 by this change.

To resolve this, use an explict "clock-mux" property for this selection.

Fixes #63541

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-10-20 15:01:10 +02:00
..
CMakeLists.txt
Kconfig
Kconfig.litex
Kconfig.mcux
Kconfig.mcux_flexcomm
Kconfig.nrfx
Kconfig.sam_ssc
Kconfig.stm32
i2s_common.c
i2s_handlers.c
i2s_litex.c
i2s_litex.h
i2s_ll_stm32.c
i2s_ll_stm32.h
i2s_mcux_flexcomm.c
i2s_mcux_sai.c drivers: i2s: i2s_mcux_sai: use clock-mux property to select SAI mux 2023-10-20 15:01:10 +02:00
i2s_mcux_sai.h
i2s_nrfx.c drivers: i2s_nrfx: Fix write race condition 2023-10-11 15:36:15 +02:00
i2s_sam_ssc.c