[alsa-devel] [PATCH] ASoC drivers for the Freescale MPC8610 SoC

Jon Smirl jonsmirl at gmail.com
Fri Dec 21 00:13:31 CET 2007


On 12/20/07, Scott Wood <scottwood at freescale.com> wrote:
> Timur Tabi wrote:
> > Jon Smirl wrote:
> >
> >> mpc5200 does it like this:
> >> of_platform_bus_probe(NULL, NULL, NULL);
> >
> > I think that tells the OF base code to probe everything in the device tree,
> > which is probably overkill.  I think fsl_soc.c covers most of the device tree,
> > but the SSI is not defined in fsl_soc.c.
>
> Not quite; it tells it to use a built-in list of bus matches.  Most of
> which are device_type-based, FWIW.

Here's the default. Using NULL would work.

static struct of_device_id of_default_bus_ids[] = {
        { .type = "soc", },
        { .compatible = "soc", },
        { .type = "spider", },
        { .type = "axon", },
        { .type = "plb5", },
        { .type = "plb4", },
        { .type = "opb", },
        { .type = "ebc", },
        {},
};


>
> -Scott
>


-- 
Jon Smirl
jonsmirl at gmail.com


More information about the Alsa-devel mailing list