From: Philipp Zabel Date: Wed, 23 May 2018 09:43:00 +0000 (+0200) Subject: ASoC: imx-audmux: add RXFS/RXCLK defines for 6-wire connections X-Git-Tag: v4.18-rc1~127^2^2~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c25f2566250cc58491a489c854013aecdf75dfef;p=thirdparty%2Fkernel%2Flinux.git ASoC: imx-audmux: add RXFS/RXCLK defines for 6-wire connections In asynchronous mode, a RxFS and RxClk connection needs to be made between two ports. Add a define for the bit to be set in the *SEL fields. Signed-off-by: Philipp Zabel [m.felsch@pengutronix.de: fixed comment to include i.MX21 and 35] Signed-off-by: Marco Felsch Signed-off-by: Mark Brown --- diff --git a/include/dt-bindings/sound/fsl-imx-audmux.h b/include/dt-bindings/sound/fsl-imx-audmux.h index 751fe1416f958..15f138bebe16b 100644 --- a/include/dt-bindings/sound/fsl-imx-audmux.h +++ b/include/dt-bindings/sound/fsl-imx-audmux.h @@ -25,6 +25,13 @@ #define MX51_AUDMUX_PORT6 5 #define MX51_AUDMUX_PORT7 6 +/* + * TFCSEL/RFCSEL (i.MX27) or TFSEL/TCSEL/RFSEL/RCSEL (i.MX31/51/53/6Q) + * can be sourced from Rx/Tx. + */ +#define IMX_AUDMUX_RXFS 0x8 +#define IMX_AUDMUX_RXCLK 0x8 + /* Register definitions for the i.MX21/27 Digital Audio Multiplexer */ #define IMX_AUDMUX_V1_PCR_INMMASK(x) ((x) & 0xff) #define IMX_AUDMUX_V1_PCR_INMEN (1 << 8)