On Mon, Feb 13, 2012 at 10:06:28PM -0800, Mark Brown wrote: > On Tue, Feb 14, 2012 at 09:35:07AM +0800, Richard Zhao wrote: > > On Sun, Feb 05, 2012 at 12:50:15PM +0800, Richard Zhao wrote: > > > > no, it is asoc machine driver to have machine specific code. > > > the machine driver do not correspond to any hw device, which cause hard > > > to bind dt or create platform device. > > > I'll have to keep audmux driver in arch/, till ASOC machine driver > > has a way to get platfrom parameters. > > Machine drivers can easily get platform data, they're just regular > drivers of whatever type so can get platform data in the same way that > any other driver for their bus can. Machine drivers don't correspond to any hw devices. If we create a virtual platform device, it'll be hard for DT binding.
Thanks Richard _______________________________________________ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss