Re: [PATCH] ARM: dts: imx: Add mclk0 clock for SAI

2019-04-21 Thread Nicolin Chen
On Mon, Apr 22, 2019 at 03:30:26AM +, S.j. Wang wrote: > > > SAI has 4 clock sources, which can be selected using MSEL bit of SAI > > > TCR2 register. > > > > I have a doubt at this statement. As far as I can understand, this MSEL is > > probably used by its internal clock MUX, so it's not

Re: [PATCH] ARM: dts: imx: Add mclk0 clock for SAI

2019-04-21 Thread S.j. Wang
Hi > > > On Sat, Apr 20, 2019 at 09:12:52AM +, Daniel Baluta wrote: > > From: Shengjiu Wang > > > > SAI has 4 clock sources, which can be selected using MSEL bit of SAI > > TCR2 register. > > I have a doubt at this statement. As far as I can understand, this MSEL is > probably used by its

Re: [PATCH] ARM: dts: imx: Add mclk0 clock for SAI

2019-04-21 Thread Nicolin Chen
On Sat, Apr 20, 2019 at 09:12:52AM +, Daniel Baluta wrote: > From: Shengjiu Wang > > SAI has 4 clock sources, which can be selected using MSEL > bit of SAI TCR2 register. I have a doubt at this statement. As far as I can understand, this MSEL is probably used by its internal clock MUX, so

[PATCH] ARM: dts: imx: Add mclk0 clock for SAI

2019-04-20 Thread Daniel Baluta
From: Shengjiu Wang SAI has 4 clock sources, which can be selected using MSEL bit of SAI TCR2 register. On imx6/7 mclk0 and mclk1 always point to the same clock source. Anyhow, this is no longer true for imx8. For this reason, we need to add mclk0 and handle it in a generic way in SAI driver.