[alsa-devel] [PATCH 2/2][RFC] ASoC: simple-card: add Device Tree support

Mark Brown broonie at kernel.org
Thu Sep 12 13:55:16 CEST 2013


On Thu, Sep 12, 2013 at 01:31:19PM +0200, Sebastian Hesselbarth wrote:
> On 09/11/13 02:40, Kuninori Morimoto wrote:

> >+- sound-dai				: phandle and port for CPU/CODEC
> >+- #sound-dai-cells			: sound-dai phandle's node

> IMHO, "sound-dai" is too ASoC specific for this property name.
> To make it more generic, what about e.g. "sound-link" and
> "#sound-link-cells" instead?

DAI is an acronym for digital audio interface which is a fairly widely
used term for these things.

> >+- system-clock-frequency		: system clock rate for each CPU/CODEC

> Instead of "system-clock-frequency" use standard property name
> "clock-frequency". In the driver, you can check for this property
> and use it, if no common clocks are available on the arch running.

We've been round this loop several times, audio devices tend to have
multiple clocks so it's important to say which one is being set.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130912/68226d31/attachment.sig>


More information about the Alsa-devel mailing list