Re: [PATCH 4/8] minnowboard: Add base platform driver for theMinnowBoard

From: Mark Brown
Date: Wed Oct 30 2013 - 17:37:00 EST


On Wed, Oct 30, 2013 at 02:18:00PM +0000, Darren Hart wrote:
> On Mon, 2013-07-22 at 00:41 +0100, Mark Brown wrote:

> > I'd expect it to be a bus, yes.

> It seems to me the platform bus already provides everything we need. We
> can just make a platform driver, say platform-id-gpio.c which can get
> it's platform data from OF or ACPI (_PRP proposal from kernel summit
> last week for example). Why would a separate bus type need to be
> defined?

For the identifier space. We ought to be able to register handling for
plugin boards separately to notifying the system of their existance in a
similar fashion to how we register drivers for anything else.

Attachment: signature.asc
Description: Digital signature