From: Mark Brown <broonie@kernel.org>
To: "Maciej S. Szmigiero" <mail@maciej.szmigiero.name>
Cc: Mark Rutland <mark.rutland@arm.com>,
Brian Austin <brian.austin@cirrus.com>,
alsa-devel@alsa-project.org, Lars-Peter Clausen <lars@metafoo.de>,
Pawel Moll <pawel.moll@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Takashi Iwai <tiwai@suse.de>,
linux-kernel@vger.kernel.org, Liam Girdwood <lgirdwood@gmail.com>,
devicetree@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
Kumar Gala <galak@codeaurora.org>
Subject: Re: [PATCH][ASoC]Add DT bindings for generic ASoC AC97 CODEC driver
Date: Sat, 7 Mar 2015 14:34:34 +0000 [thread overview]
Message-ID: <20150307143434.GL28806@sirena.org.uk> (raw)
In-Reply-To: <54FB041D.8010102@maciej.szmigiero.name>
[-- Attachment #1.1: Type: text/plain, Size: 1102 bytes --]
On Sat, Mar 07, 2015 at 02:58:53PM +0100, Maciej S. Szmigiero wrote:
> W dniu 07.03.2015 11:52, Mark Brown pisze:
> > On Fri, Mar 06, 2015 at 07:55:26PM +0100, Maciej S. Szmigiero wrote:
> > AC'97 shouldn't need DT bindings for the CODEC, it's an enumerable bus.
> What this driver did / does is essentially to allow attaching AC'97 bus
> to ASoC AC'97 controllers which don't do it on its own (from what I can
> see only board files do it).
That's true, and it's something it's easy to get away with with board
files, but that doesn't mean it's something we should be doing for
device tree where we're not just finding an expedient way to load things
but rather defining an ABI.
> This driver originally constrained rates to 8000, 11025, 22050, 44100,
> 48000.
> An alternative would be to remove this constraint at all from this
> driver and leave such constraining for controller and AC'97 bus code.
That's a much better approach.
> But since this driver was originally limited to these rates I think it
> would be safer to do it only when instantiated via OF.
Again, DT is defining an ABI.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2015-03-07 14:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-06 18:55 [PATCH][ASoC]Add DT bindings for generic ASoC AC97 CODEC driver Maciej S. Szmigiero
2015-03-07 10:52 ` Mark Brown
[not found] ` <20150307105201.GB28806-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-03-07 13:58 ` Maciej S. Szmigiero
2015-03-07 14:34 ` Mark Brown [this message]
[not found] ` <20150307143434.GL28806-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-03-07 15:33 ` Maciej S. Szmigiero
2015-03-07 16:31 ` 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=20150307143434.GL28806@sirena.org.uk \
--to=broonie@kernel.org \
--cc=alsa-devel@alsa-project.org \
--cc=brian.austin@cirrus.com \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=lars@metafoo.de \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mail@maciej.szmigiero.name \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=tiwai@suse.de \
/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