Messages in this thread | | | Date | Wed, 16 Nov 2016 17:59:29 +0000 | From | Mark Brown <> | Subject | Re: [RFC 01/14] SoundWire: Add SoundWire bus driver documentation |
| |
On Tue, Nov 15, 2016 at 07:59:14PM +0530, Vinod Koul wrote: > On Mon, Nov 14, 2016 at 02:15:48PM +0000, Charles Keepax wrote:
> > slaves register to that. This also has the nice property that its > > easy to create devices that sit behind other buses, for example > > here we might want a SoundWire master that sits behind a SPI bus. > > But you seem to have gone in the other direction and have the > > master sitting on the same bus as the slaves.
> Since the controller on our SoC was enumerable, people went with this > approach. In this hindsight that may not have been the best choice.
Doing buses properly isn't an obstacle to doing enumeration, indeed I'd expect it to make it a lot easier - just have your driver for your controller do the enumeration at probe time. [unhandled content-type:application/pgp-signature] | |