[alsa-devel] [PATCH] ASoC: twl6040: Support for DT

Mark Brown broonie at opensource.wolfsonmicro.com
Tue May 8 14:26:31 CEST 2012


On Tue, May 08, 2012 at 02:52:25PM +0300, Peter Ujfalusi wrote:

> +static const struct of_device_id twl6040_codec_of_match[] = {
> +	{.compatible = "ti,twl6040-codec", },
> +	{ },
> +};
> +MODULE_DEVICE_TABLE(of, twl6040_codec_of_match);

Why are we loading MFD components using device tree?  It seems like
we're doing something very wrong if we need people to explicitly write
this stuff out in the device tree, the whole MFD thing is purely a Linux
implementation detail, as is the way the interrupt controller has been
structured.  I'd really not expect to see a specific node like this,
especially not one that does nothing but device registration.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120508/157691b3/attachment.sig 


More information about the Alsa-devel mailing list