Re: [PATCH] x86/mrst: add SFI platform device parsing code

From: Mark Brown
Date: Thu Sep 23 2010 - 06:54:44 EST


On Thu, Sep 23, 2010 at 11:48:45AM +0100, Alan Cox wrote:
> > any of this code could ever be made generic. The spec seems to only
> > cover the data structure, and relationships between devices seem to be
> > left to whatever convention the firmware writer feels like using, or
> > am I missing something?

> Not really no. It's basically little more than a component and IRQ list.
> The GPIO table in 0.8 exposes the GPIO lines a bit more sanely.

> In fact all that SFI provides generically pretty much fits into
> platform_foo() already because there is so little - or into the I²C or
> SPI bus data.

I believe the issue here is the handling of things where the
functionality Linux needs is implemented over multiple chips so we need
a way for the chips to find each other.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/