Skip to contentSkip to conversation

ASoC: imx-audmux: complete dt-bindings for i.MX6

PATCH In review Clément Péron 1 participant 2 messages Nov 19, 2018 – Dec 6, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ASoC: imx-audmux: complete dt-bindings for i.MX6

From: Colin Didier <[email protected]>

The i.MX6 audmux differs from i.MX51.

This patch adds the audmux for i.MX6 family.

---

v2:
Repost with ASoC maintainer and list

 include/dt-bindings/sound/fsl-imx-audmux.h | 8 ++++++++
 1 file changed, 8 insertions(+)
include/dt-bindings/sound/fsl-imx-audmux.h +8 -0
index 15f138bebe16..a1d0741d9ed1 100644
@@ -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.
Signature · 1 line
2.19.1
#1 lore raw

Gentle up,

Thanks

Quoted 40 lines · Clément Péron

From: Colin Didier <[email protected]>

The i.MX6 audmux differs from i.MX51.

This patch adds the audmux for i.MX6 family.

---

v2:
Repost with ASoC maintainer and list

 include/dt-bindings/sound/fsl-imx-audmux.h | 8 ++++++++
 1 file changed, 8 insertions(+)
include/dt-bindings/sound/fsl-imx-audmux.h +8 -1
index 15f138bebe16..a1d0741d9ed1 100644
@@ -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