[PATCH v2] ASoC: imx-audmux: complete dt-bindings for i.MX6
From: ClÃment PÃron
Date: Mon Nov 19 2018 - 05:47:32 EST
From: Colin Didier <colin.didier@xxxxxxxxxxxx>
The i.MX6 audmux differs from i.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>
Reviewed-by: Rob Herring <robh@xxxxxxxxxx>
---
v2:
Repost with ASoC maintainer and list
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