Re: [PATCH] spi: mxc_spi: use proper clock for SPI bus

2024-12-23 Thread Fabio Estevam
On Wed, Dec 18, 2024 at 4:42 PM Tim Harvey wrote: > > The mxc_get_clock function is around for compatibility with older > drivers that are not clock aware. In this case asking for the clk for > MXC_CSPI_CLK does not take into account there are multiple SPI busses on > modern IMX SoC's and it will

[PATCH] spi: mxc_spi: use proper clock for SPI bus

2024-12-18 Thread Tim Harvey
The mxc_get_clock function is around for compatibility with older drivers that are not clock aware. In this case asking for the clk for MXC_CSPI_CLK does not take into account there are multiple SPI busses on modern IMX SoC's and it will return the clock for the first bus which may not be used or c