From: Rob Herring <robh@kernel.org>
To: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Cc: "Liam Girdwood" <lgirdwood@gmail.com>,
"Mark Brown" <broonie@kernel.org>,
"Mark Rutland" <mark.rutland@arm.com>,
"Jaroslav Kysela" <perex@perex.cz>,
"Takashi Iwai" <tiwai@suse.com>,
"Otto Kekäläinen" <otto@seravo.fi>,
"Kuninori Morimoto" <kuninori.morimoto.gx@renesas.com>,
"Mengdong Lin" <mengdong.lin@linux.intel.com>,
"Aaro Koskinen" <aaro.koskinen@iki.fi>,
"Andrew Lunn" <andrew@lunn.ch>,
"Peter Ujfalusi" <peter.ujfalusi@ti.com>,
alsa-devel@alsa-project.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, "Chris Healy" <cphealy@gmail.com>
Subject: Re: [PATCH v2] ASoC: simple-card: add support for aux devices
Date: Fri, 23 Sep 2016 17:25:41 -0500 [thread overview]
Message-ID: <20160923222541.GA25693@rob-hp-laptop> (raw)
In-Reply-To: <1474614673-12350-1-git-send-email-nikita.yoush@cogentembedded.com>
On Fri, Sep 23, 2016 at 10:11:12AM +0300, Nikita Yushchenko wrote:
> This patch makes it possible to use simple-card in setups where separate
> amplifier chip is connected to codec's output.
>
> Changes from v1:
> - moved example usage from commit message to Documentation/, as
> suggested by Kuninori Morimoto,
> - fixed typo in example usage.
Ah, one more property to the "simple" card. At what point in adding
properties is it not simple?
>
> Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
> ---
> .../devicetree/bindings/sound/simple-card.txt | 37 ++++++++++++++++++++++
> sound/soc/generic/simple-card.c | 34 ++++++++++++++++++++
> 2 files changed, 71 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/sound/simple-card.txt b/Documentation/devicetree/bindings/sound/simple-card.txt
> index 59d8628..c7a9393 100644
> --- a/Documentation/devicetree/bindings/sound/simple-card.txt
> +++ b/Documentation/devicetree/bindings/sound/simple-card.txt
> @@ -22,6 +22,8 @@ Optional properties:
> headphones are attached.
> - simple-audio-card,mic-det-gpio : Reference to GPIO that signals when
> a microphone is attached.
> +- simple-audio-card,aux-devs : List of phandles pointing to auxiliary devices, such
> + as amplifiers, to be added to the sound card.
I think the property should be specific as to the type of device. What
if you have 2 amps? Maybe simple-card can't have 2 outputs. What if you
have a chain of devices and need to know the order of them?
Rob
next prev parent reply other threads:[~2016-09-23 22:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-23 7:11 [PATCH v2] ASoC: simple-card: add support for aux devices Nikita Yushchenko
2016-09-23 22:25 ` Rob Herring [this message]
2016-09-24 6:04 ` Nikita Yushchenko
2016-09-24 17:58 ` Mark Brown
2016-09-24 18:00 ` Mark Brown
2016-09-24 18:03 ` Mark Brown
[not found] ` <20160924180319.i6cnteh6afzcbm77-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-09-26 9:56 ` [PATCH] " Nikita Yushchenko
[not found] ` <1474883811-14344-1-git-send-email-nikita.yoush-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2016-09-26 16:15 ` Applied "ASoC: simple-card: add support for aux devices" to the asoc tree 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=20160923222541.GA25693@rob-hp-laptop \
--to=robh@kernel.org \
--cc=aaro.koskinen@iki.fi \
--cc=alsa-devel@alsa-project.org \
--cc=andrew@lunn.ch \
--cc=broonie@kernel.org \
--cc=cphealy@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mengdong.lin@linux.intel.com \
--cc=nikita.yoush@cogentembedded.com \
--cc=otto@seravo.fi \
--cc=perex@perex.cz \
--cc=peter.ujfalusi@ti.com \
--cc=tiwai@suse.com \
/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