summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/imx-cdnhdmi.c
AgeCommit message (Collapse)Author
2020-11-16LF-2700: ASoC: fsl: imx-cdnhdmi: Fix error promptShengjiu Wang
Add widget to fix error prompt: imx-cdnhdmi sound-hdmi: ASoC: DAPM unknown pin HDMI Jack Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Peng Zhang <peng.zhang_8@nxp.com>
2020-08-31MLK-24611-3: ASoC: imx-cdnhdmi: Add hdmi jackShengjiu Wang
Add hdmi jack, which report the plug/unplug status. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
2020-04-29MLK-23642-3: ASoC: fsl: imx-cdnhdmi: support 6 channelsShengjiu Wang
Add support 6 channels Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
2019-11-25ASoC: imx-cdnhdmi: Fix compile errorShengjiu Wang
API change due to: adb76b5b9c47 ("ASoC: soc-core: remove legacy style dai_link") Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2019-11-25MLK-20183-2: ASoC: imx-cdnhdmi: reconfigure the mclk for HDMI on imx8mqShengjiu Wang
In order to support 44kHz and 48kHz sample rate together, we need to reconfigure the parent clock of mclk. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2019-11-25MLK-18833: ASoC: imx-cdnhdmi: fix no sound card issueShengjiu Wang
The codec dai name is changed in 4.14,so the machine driver need to be updated Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
2019-11-25MLK-18368-2: ASoC: fsl: support hdmi rx in machine driverShengjiu Wang
support hdmi rx in machine driver Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2019-11-25MLK-17620-2: ASoC: imx-cdnhdmi: switch to generic hdmi codecShengjiu Wang
switch to generic hdmi codec, which provide the api for get the edid information. Add snd controls which is the interface for user to query the HDMI capibility. ( channels, rates, formats) Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
2019-11-25MLK-17344-1: ASoC: imx-cdnhdmi: get constraint rate from dtsShengjiu Wang
Constraint rate depends on the clock rata of cpu dai, which is defined in dts, so we add constraint-rate property in dts, then driver can get it. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2019-11-25MLK-13946-4: ASoC: imx-cdnhdmi: refine machine driver for api changesShengjiu Wang
Since commit 3f5780eb4520 ("MLK-16538-2: hdmi api: Relocate hdmi api soure code") change the api. And hdmi video driver provide a new api for hdmi audio. Machine driver need to be updated accrodingly Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2019-11-25MLK-16538-2: hdmi api: Relocate hdmi api soure codeSandor Yu
-Relocate hdmi api source code from drivers/video/fbdev/mxc/cdn_hdp to drivers/mxc/hdp. -Add displayport and hdcp api function. -Move t28hpc_hdmitx function from api source code folder to hdmi fb driver folder. -Update imx8 hdmi fb driver according api source code change. -Sync api source code with CDN_API_1_0_33 release. Acked-by: Robby Cai <robby.cai@nxp.com> Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
2019-11-25MLK-16159: ASoC: imx_cdnhdmi: refine the N value selectionShengjiu Wang
According the HDMI spec, the N value depends on the TMDS rate, and sample rate. As we set the vic mode in dts file, use the vic_table to get the TMDS rate, then choose the proper N value. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com> Reviewed-by: Sandor Yu <sandor.yu@nxp.com>
2019-11-25MLK-16130-2: ASoC: fsl: add machine driver for cadence hdmiShengjiu Wang
The machine driver will call the API which is provided by the cadence to configure the audio features. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com> [ Aisheng: clean for a new base ] Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>