[PATCH] ASoC: imx-audmux: complete dt-bindings for imx6

From: ClÃment PÃron
Date: Mon Nov 05 2018 - 08:58:15 EST


From: Colin Didier <colin.didier@xxxxxxxxxxxx>

The MX6 Audmux differs from MX51.

This patch adds the audmux for i.MX6 family.

Signed-off-by: Colin Didier <colin.didier@xxxxxxxxxxxx>
Signed-off-by: ClÃment PÃron <peron.clem@xxxxxxxxx>
---
include/dt-bindings/sound/fsl-imx-audmux.h | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/include/dt-bindings/sound/fsl-imx-audmux.h b/include/dt-bindings/sound/fsl-imx-audmux.h
index 15f138bebe16..a1d0741d9ed1 100644
--- a/include/dt-bindings/sound/fsl-imx-audmux.h
+++ b/include/dt-bindings/sound/fsl-imx-audmux.h
@@ -25,6 +25,14 @@
#define MX51_AUDMUX_PORT6 5
#define MX51_AUDMUX_PORT7 6

+#define MX6_AUDMUX_PORT1_SSI1 0
+#define MX6_AUDMUX_PORT2_SSI2 1
+#define MX6_AUDMUX_PORT3 2
+#define MX6_AUDMUX_PORT4 3
+#define MX6_AUDMUX_PORT5 4
+#define MX6_AUDMUX_PORT6 5
+#define MX6_AUDMUX_PORT7_SSI3 6
+
/*
* TFCSEL/RFCSEL (i.MX27) or TFSEL/TCSEL/RFSEL/RCSEL (i.MX31/51/53/6Q)
* can be sourced from Rx/Tx.
--
2.19.1