diff mbox series

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

Message ID 20181119104718.18716-1-peron.clem@gmail.com
State Not Applicable, archived
Headers show
Series [v2] ASoC: imx-audmux: complete dt-bindings for i.MX6 | expand

Commit Message

Clément Péron Nov. 19, 2018, 10:47 a.m. UTC
From: Colin Didier <colin.didier@devialet.com>

The i.MX6 audmux differs from i.MX51.

This patch adds the audmux for i.MX6 family.

Signed-off-by: Colin Didier <colin.didier@devialet.com>
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
---

v2:
	Repost with ASoC maintainer and list

 include/dt-bindings/sound/fsl-imx-audmux.h | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Clément Péron Dec. 6, 2018, 11:45 a.m. UTC | #1
Gentle up,

Thanks
On Mon, 19 Nov 2018 at 11:47, Clément Péron <peron.clem@gmail.com> wrote:
>
> From: Colin Didier <colin.didier@devialet.com>
>
> The i.MX6 audmux differs from i.MX51.
>
> This patch adds the audmux for i.MX6 family.
>
> Signed-off-by: Colin Didier <colin.didier@devialet.com>
> Signed-off-by: Clément Péron <peron.clem@gmail.com>
> Reviewed-by: Rob Herring <robh@kernel.org>
> ---
>
> 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
>
diff mbox series

Patch

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.