summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_xcvr.h
AgeCommit message (Collapse)Author
2020-11-05MLK-24965: ASoC: fsl_xcvr: bit and timestamp countersViorel Suman
Add support for bit and timestamp counters. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2020-11-02MLK-24957-1 ASoC: fsl_xcvr: sync with upstream versionViorel Suman
Sync fsl_xcvr driver with the upstream accepted version. Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
2020-07-28MLK-24413: ASoC: fsl_xcvr: fix SPDIF RX/TX sequence issueViorel Suman
In SPDIF full duplex mode in order to get both RX and TX working we need to start RX first, and TX second, fix this by porting SPDIF RX configuration code from XCVR FW into Kernel driver and avoid using M0+ core for SPDIF configuration. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2020-05-12MLK-23991: ASoC: fsl_xcvr: drop eARC -> ARC fallbackViorel Suman
The criteria used to drop eARC mode into ARC mode makes eARC function to fail. Drop it for now. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2020-05-10ASoC: fsl_xcvr: use SAI PLL for SPDIF playbackViorel Suman
Use SAI PLL for SPDIF playback in order to allow full duplex mode. Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
2020-04-24MLK-23840-1 ASoC: fsl_xcvr: remove fsl,xcvr-mode from DTSViorel Suman
XCVR driver working mode is set by "fsl,xcvr-mode" DTS property. Being static - it does not allow changing XCVR driver mode at runtime. Rework the driver by replacing static DTS property with amixer control. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2020-04-17MLK-23567-2 ASoC: fsl_xcvr: enable SPDIF TXViorel Suman
Enable XCVR SPDIF TX mode. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2020-04-16MLK-23799 fsl_xcvr: capabilities data structure supportViorel Suman
Add an amixer interface which allows to load capabilities data structure. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2020-04-02MLK-23732: fsl_xcvr: implement eARC RX fallback modeViorel Suman
There are 2 configurable options for eARC RX fallback to ARC mode: "ARC single ended" or "ARC common". Add amixer control in order to allow setting it from userspace. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2020-04-01MLK-23725-1: ASoC: fsl_xcvr: reimplement CS read functionViorel Suman
CS_DATA registers are supposed to be used by M0+ core, according to block guide host core must read channel status structure from data memory. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2020-03-25MLK-23603-4: ASoC: fsl_xcvr: adjust watermark and max burst valuesViorel Suman
Set watermarks values at half FIFO size, and max burst to 1/8 of FIFO size. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2020-03-25MLK-23603-1: ASoC: fsl_xcvr: fix compliation warningsViorel Suman
Fix two compilation warnings. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2020-03-10MLK-23567-2: ASoC: fsl_xcvr: use same format for both RX and TXViorel Suman
The only supported XCVR format is IEC958_SUBFRAME_LE, so use it for both RX and TX. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2020-02-20MLK-23313-3: ASoC: fsl: Add Audio XCVR CPU DAI driver.Viorel Suman
The patch implements Audio XCVR CPU DAI driver for NXP iMX8 SOCs. Audio XCVR is a on-chip functional module and implements HDMI 2.1 spec eARC, ARC and SPDIF modes. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>