[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110927151850.GN4289@opensource.wolfsonmicro.com>
Date: Tue, 27 Sep 2011 16:18:51 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Grant Likely <grant.likely@...retlab.ca>
Cc: Daniel Drake <dsd@...top.org>, sameo@...ux.intel.com,
devicetree-discuss@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
dilinger@...ued.net
Subject: Re: [PATCH 1/3] mfd: allow mfd_cell association with device tree node
On Tue, Sep 27, 2011 at 09:05:55AM -0600, Grant Likely wrote:
> On Tue, Sep 27, 2011 at 03:44:56PM +0100, Daniel Drake wrote:
> > On Wed, Sep 21, 2011 at 2:16 PM, Mark Brown
> > > My suspicion is that for device tree in cases where the MFD really is
> > > totally independent of the parent we shouldn't need explicit MFD code to
> > > instantiate the child at all any more in the same way that we should be
> > > avoiding this for the SoCs.
> Right. MFD seems to be most useful when IP blocks are used in multiple
> places and can be instantiated by multiple parents. Sometimes a
> driver really should just register the interfaces that the device
> provides without the MFD framework.
Well, if you need a bunch of platform devices it's a good way of
creating them especially in the current world. There's also generally
some core logic, for example routing interrupt lines, that can usefully
be provided by the MFD part of the driver.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists