* [PATCH] ASoC: imx-audmux: add RXFS/RXCLK defines for 6-wire connections
@ 2018-05-17 14:26 Marco Felsch
2018-05-20 6:10 ` Nicolin Chen
0 siblings, 1 reply; 2+ messages in thread
From: Marco Felsch @ 2018-05-17 14:26 UTC (permalink / raw)
To: timur, nicoleotsuka, Xiubo.Lee, broonie, lgirdwood
Cc: fabio.estevam, alsa-devel, kernel
From: Philipp Zabel <p.zabel@pengutronix.de>
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>
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
include/dt-bindings/sound/fsl-imx-audmux.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/dt-bindings/sound/fsl-imx-audmux.h b/include/dt-bindings/sound/fsl-imx-audmux.h
index 751fe1416f95..6120696abe63 100644
--- a/include/dt-bindings/sound/fsl-imx-audmux.h
+++ b/include/dt-bindings/sound/fsl-imx-audmux.h
@@ -25,6 +25,10 @@
#define MX51_AUDMUX_PORT6 5
#define MX51_AUDMUX_PORT7 6
+/* TFSEL/TCSEL/RFSEL/RCSEL can be sourced from Rx/Tx clocks on i.MX51/53/6Q */
+#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)
--
2.17.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ASoC: imx-audmux: add RXFS/RXCLK defines for 6-wire connections
2018-05-17 14:26 [PATCH] ASoC: imx-audmux: add RXFS/RXCLK defines for 6-wire connections Marco Felsch
@ 2018-05-20 6:10 ` Nicolin Chen
0 siblings, 0 replies; 2+ messages in thread
From: Nicolin Chen @ 2018-05-20 6:10 UTC (permalink / raw)
To: Marco Felsch
Cc: alsa-devel, Xiubo.Lee, lgirdwood, timur, broonie, kernel,
fabio.estevam
On Thu, May 17, 2018 at 04:26:01PM +0200, Marco Felsch wrote:
> From: Philipp Zabel <p.zabel@pengutronix.de>
>
> 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>
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> ---
> include/dt-bindings/sound/fsl-imx-audmux.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/include/dt-bindings/sound/fsl-imx-audmux.h b/include/dt-bindings/sound/fsl-imx-audmux.h
> index 751fe1416f95..6120696abe63 100644
> --- a/include/dt-bindings/sound/fsl-imx-audmux.h
> +++ b/include/dt-bindings/sound/fsl-imx-audmux.h
> @@ -25,6 +25,10 @@
> #define MX51_AUDMUX_PORT6 5
> #define MX51_AUDMUX_PORT7 6
>
> +/* TFSEL/TCSEL/RFSEL/RCSEL can be sourced from Rx/Tx clocks on i.MX51/53/6Q */
It's actually not confined to 51/53/6Q -- 21 and 35 should
also have it according to their Reference Manuals.
> +#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)
> --
> 2.17.0
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-20 6:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-17 14:26 [PATCH] ASoC: imx-audmux: add RXFS/RXCLK defines for 6-wire connections Marco Felsch
2018-05-20 6:10 ` Nicolin Chen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).