[PATCH] ASoC: fsl_sai: Support multiple data channel enable bits

Nicolin Chen nicoleotsuka at gmail.com
Thu Sep 3 13:30:57 AEST 2020


On Tue, Sep 01, 2020 at 07:01:08PM +0800, Shengjiu Wang wrote:
> One data channel is one data line. From imx7ulp, the SAI IP is
> enhanced to support multiple data channels.
> 
> If there is only two channels input and slots is 2, then enable one
> data channel is enough for data transfer. So enable the TCE/RCE and
> transmit/receive mask register according to the input channels and
> slots configuration.
> 
> Move the data channel enablement from startup() to hw_params().
> 
> Signed-off-by: Shengjiu Wang <shengjiu.wang at nxp.com>

Acked-by: Nicolin Chen <nicoleotsuka at gmail.com>


More information about the Linuxppc-dev mailing list