From: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Robert Jarzmik <robert.jarzmik-GANU6spQydw@public.gmane.org>
Cc: Daniel Mack <daniel-cYrQPVfZoowdnm+yROfE0A@public.gmane.org>,
Haojian Zhuang
<haojian.zhuang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Jaroslav Kysela <perex-/Fr2/VpizcU@public.gmane.org>,
Takashi Iwai <tiwai-IBi9RG/b67k@public.gmane.org>,
Liam Girdwood <lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org,
patches-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org
Subject: Re: [PATCH 1/4] ASoC: wm9713: add binding for WM9713 codec
Date: Fri, 26 Feb 2016 11:30:21 +0900 [thread overview]
Message-ID: <20160226023021.GH18327@sirena.org.uk> (raw)
In-Reply-To: <87povkuuf6.fsf-4ty26DBLk+jEm7gnYqmdkQ@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1266 bytes --]
On Fri, Feb 26, 2016 at 02:33:49AM +0100, Robert Jarzmik wrote:
> Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> writes:
> > It will not be called, the generic AC'97 code will be used.
> Ok, if it's not called no code in sound/soc/codecs/wm9713.c will be used, right
> ?
> In that case wm9713_set_dai_clkdiv() will never be used, nor will the
> wm9713_audio_map or wm9713_dapm_widgets be created, which will break all
> userspace programs relying on these mixers and DAPM routes.
> Or am I missing something ?
No, you're not missing anything - that'll be what happens. If you need
to preserve the userspace ABI on your board you'd need a much bigger
(but very welcome) refactoring of the AC'97 code to be less hacky and
use the device model more directly, or at least define a generic AC'97
binding somehow. All the AC'97 support has never really been properly
moved over to the device model and unfortunately nobody's yet cared
about it for device tree except in the simple cases supported by the
generic AC'97 code. I appreciate that this isn't very helpful, it's
an unfortunate consequence of DT as an ABI.
We probably want to end up with something like what the Intel folks have
been doing recently for HDA to get that working within ASoC.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2016-02-26 2:30 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-20 14:37 [PATCH 1/4] ASoC: wm9713: add binding for WM9713 codec Robert Jarzmik
2016-02-20 14:37 ` [PATCH 4/4] ASoC: pxa: add pxa2xx-ac97 devicetree support Robert Jarzmik
[not found] ` <1455979079-9030-1-git-send-email-robert.jarzmik-GANU6spQydw@public.gmane.org>
2016-02-20 14:37 ` [PATCH 2/4] ASoC: wm9713: add device tree support Robert Jarzmik
2016-02-20 14:37 ` [PATCH 3/4] ASoC: pxa: add binding for pxa2xx-ac97 audio complex Robert Jarzmik
[not found] ` <1455979079-9030-3-git-send-email-robert.jarzmik-GANU6spQydw@public.gmane.org>
2016-02-23 19:19 ` Rob Herring
2016-02-26 22:37 ` Robert Jarzmik
2016-02-20 17:14 ` [PATCH 1/4] ASoC: wm9713: add binding for WM9713 codec Mark Brown
[not found] ` <20160220171459.GA18327-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-02-20 18:22 ` Robert Jarzmik
[not found] ` <871t87z1gz.fsf-4ty26DBLk+jEm7gnYqmdkQ@public.gmane.org>
2016-02-20 19:59 ` Mark Brown
[not found] ` <20160220195925.GF18327-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-02-20 20:32 ` Robert Jarzmik
2016-02-20 21:16 ` Mark Brown
[not found] ` <20160220211659.GG18327-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-02-20 22:24 ` Robert Jarzmik
2016-02-21 1:49 ` Mark Brown
2016-02-26 1:33 ` Robert Jarzmik
[not found] ` <87povkuuf6.fsf-4ty26DBLk+jEm7gnYqmdkQ@public.gmane.org>
2016-02-26 2:30 ` Mark Brown [this message]
2016-02-26 21:04 ` Robert Jarzmik
[not found] ` <87k2lruqsw.fsf-4ty26DBLk+jEm7gnYqmdkQ@public.gmane.org>
2016-02-27 2: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=20160226023021.GH18327@sirena.org.uk \
--to=broonie-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
--cc=alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org \
--cc=daniel-cYrQPVfZoowdnm+yROfE0A@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=haojian.zhuang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=patches-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org \
--cc=perex-/Fr2/VpizcU@public.gmane.org \
--cc=robert.jarzmik-GANU6spQydw@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).