From: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: "Felipe F. Tonello"
<eu-NLnRV5p3vwDxYxTyqlRmvgC/G2K4zDHf@public.gmane.org>
Cc: alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Liam Girdwood <lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Takashi Iwai <tiwai-IBi9RG/b67k@public.gmane.org>
Subject: Re: [PATCH] ASoC: fsl: add imx-cs427x machine driver
Date: Mon, 25 Jan 2016 20:29:48 -0600 [thread overview]
Message-ID: <20160126022948.GA21187@rob-hp-laptop> (raw)
In-Reply-To: <1453744403-12268-1-git-send-email-eu-NLnRV5p3vwDxYxTyqlRmvgC/G2K4zDHf@public.gmane.org>
On Mon, Jan 25, 2016 at 05:53:23PM +0000, Felipe F. Tonello wrote:
> This is the initial imx-cs427x device-tree-only machine driver working with
> fsl_ssi driver. More features can be added on top of it later.
>
> Signed-off-by: Felipe F. Tonello <eu-NLnRV5p3vwDxYxTyqlRmvgC/G2K4zDHf@public.gmane.org>
> ---
> .../devicetree/bindings/sound/imx-audio-cs427x.txt | 47 +++++
> sound/soc/fsl/Kconfig | 12 ++
> sound/soc/fsl/Makefile | 2 +
> sound/soc/fsl/imx-cs427x.c | 218 +++++++++++++++++++++
> 4 files changed, 279 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/sound/imx-audio-cs427x.txt
> create mode 100644 sound/soc/fsl/imx-cs427x.c
>
> diff --git a/Documentation/devicetree/bindings/sound/imx-audio-cs427x.txt b/Documentation/devicetree/bindings/sound/imx-audio-cs427x.txt
> new file mode 100644
> index 000000000000..295f60b19418
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/imx-audio-cs427x.txt
> @@ -0,0 +1,47 @@
> +Freescale i.MX audio complex with CS4271 or CS4272 codec
Do all the i.MX audio bindings really vary more that the codec? Seems
like a lot of duplication.
> +
> +Required properties:
> +
> + - compatible : "fsl,imx-audio-cs427x"
> +
> + - model : The user-visible name of this sound complex
> +
> + - ssi-controller : The phandle of the i.MX SSI controller
> +
> + - audio-codec : The phandle of the CS4271 audio codec
> +
> + - audio-routing : A list of the connections between audio components.
> + Each entry is a pair of strings, the first being the
> + connection's sink, the second being the connection's
> + source. Valid names could be power supplies, CS427x
> + pins, and the jacks on the board:
> +
> + Board connectors:
> + * Mic Jack
> + * Headphone Jack
This should be an exact list of possible strings and valid combinations.
> + - mux-int-port : The internal port of the i.MX audio muxer (AUDMUX)
> +
> + - mux-ext-port : The external port of the i.MX audio muxer
> +
> +Note: The AUDMUX port numbering should start at 1, which is consistent with
> +hardware manual.
> +
> +Example:
> +
> +sound {
> + compatible = "fsl,imx6-rex-cs427x",
> + "fsl,imx-audio-cs427x";
> + model = "audio-cs427x";
> + ssi-controller = <&ssi1>;
> + audio-codec = <&cs4271>;
> + audio-routing =
> + "Mic Jack", "AINA",
> + "Mic Jack", "AINB",
> + "Headphone Jack", "AOUTA+",
> + "Headphone Jack", "AOUTA-",
> + "Headphone Jack", "AOUTB+",
> + "Headphone Jack", "AOUTB-";
> + mux-int-port = <1>;
> + mux-ext-port = <3>;
> +};
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-01-26 2:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-25 17:53 [PATCH] ASoC: fsl: add imx-cs427x machine driver Felipe F. Tonello
[not found] ` <1453744403-12268-1-git-send-email-eu-NLnRV5p3vwDxYxTyqlRmvgC/G2K4zDHf@public.gmane.org>
2016-01-26 2:29 ` Rob Herring [this message]
2016-01-26 9:43 ` Felipe Ferreri Tonello
[not found] ` <56A73FDE.2060607-NLnRV5p3vwDxYxTyqlRmvgC/G2K4zDHf@public.gmane.org>
2016-01-26 9:47 ` Fabio Estevam
[not found] ` <CAOMZO5BjeDMqNgf-=tE7=pByJi+jJVA=G2bbtp+XJeYbpev6KA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-26 11:01 ` Felipe Ferreri Tonello
[not found] ` <56A75205.8060000-NLnRV5p3vwDxYxTyqlRmvgC/G2K4zDHf@public.gmane.org>
2016-01-26 11:05 ` Fabio Estevam
[not found] ` <CAOMZO5CjVxAHOJSywveK7dYvdz8PSMADJd1F7TdO+asEQ89XTg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-26 17:42 ` Nicolin Chen
2016-01-31 13:28 ` Fabio Estevam
2016-01-26 11:50 ` Mark Brown
2016-01-26 15:50 ` Rob Herring
2016-01-26 16:03 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160126022948.GA21187@rob-hp-laptop \
--to=robh-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
--cc=alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org \
--cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=eu-NLnRV5p3vwDxYxTyqlRmvgC/G2K4zDHf@public.gmane.org \
--cc=lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=tiwai-IBi9RG/b67k@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).