ASoC: imx-audmux: add RXFS/RXCLK defines for 6-wire connections
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 23 May 2018 09:43:00 +0000 (11:43 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 30 May 2018 10:37:30 +0000 (11:37 +0100)
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 <p.zabel@pengutronix.de>
[m.felsch@pengutronix.de: fixed comment to include i.MX21 and 35]
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/dt-bindings/sound/fsl-imx-audmux.h

index 751fe1416f958ea0f3f5ae56309fe7992f2134eb..15f138bebe16b229ed00230d4c3d0221475c2408 100644 (file)
 #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)