]> git.baikalelectronics.ru Git - kernel.git/commit
ASoc: fsl_sai: Add pinctrl operation for PDM and DSD
authorShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 17 Jun 2022 07:44:34 +0000 (15:44 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 27 Jun 2022 12:18:08 +0000 (13:18 +0100)
commit166b5f343d81ebecab7c5e4bd43f578fdda0045f
tree41921d906bc8625cc7400244c93ab7a5d6213c06
parent2c748b9b23d50c59356ca75760b8e87f446695cf
ASoc: fsl_sai: Add pinctrl operation for PDM and DSD

With DSD format, the pinctrl is different compare with
I2S format, because one dataline only has one channel
data, and the codec always mux the LRCLK pin to DSD
data line, and on i.MX8MQ the BCLK pin can route to
codec on DSD case for the MCLK is too high.

Add pinctrl operation that the pinctrl can be switched
on runtime according to the I2S format or DSD format

Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1655451877-16382-5-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_sai.c
sound/soc/fsl/fsl_sai.h