Is there a binding for IORESOURCE_DMA population?

Grant Likely grant.likely at secretlab.ca
Mon Jul 18 14:39:40 EST 2011


On Sun, Jul 17, 2011 at 01:41:02PM +0000, Tabi Timur-B04825 wrote:
> Shawn Guo wrote:
> >> >
> > Between a) making DT enabled SSI driver (mpc version) work for i.mx
> > and b) adding DT probe support for imx-ssi driver, I would absolutely
> > go for b).  Apparently it's much easier.
> 
> Absolutely not!  It's ridiculous to have two drivers for the same exact 
> device that are both device-tree enabled.  It's already bad enough that we 
> have fsl-ssi.c and imx-ssi.c.  imx-ssi.c should never have been created, 
> but there's no way I will approve enhancing imx-ssi.c to also support 
> device trees, when fsl-ssi.c already does this.

I would disagree here.  I absolutely do think that the drivers should
be consolidated if they are the same device, but until someone
actually steps up to do that work, and as long as the current drivers
use different interfaces, then I have no problem adding the DT
bindings to the imx-ssi.c driver.

That said, since the fsl-ssi.c driver already implements a DT binding,
the imx driver definitely should implement the same binding unless
there is a really strong technical reason not to.

g.


More information about the devicetree-discuss mailing list