On 15-04-08 01:03 PM, Mark Brown wrote: > On Wed, Apr 08, 2015 at 11:04:34AM -0700, Jonathan Richardson wrote: > >> - A new config for non-BCMA chips has been added. >> - Common code between the BCMA and non BCMA version are shared. >> - Function pointers to set read/write functions to abstract bcma >> and non-bcma versions are provided. >> - DT is now mandatory. Hard coded SPI devices are removed and must be >> set in DT. >> - Remove function was unnecessary and removed. > > This looks like it should be a patch series in itself - for example, the > move to using function pointers as a read/write operation looks like > something that could easily be pulled out, as could the removal of > unused functions. Having things split out makes life a lot easier for > review since it makes it much easier to check if the change is doing the > things it's supposed to be doing. > Mark, thanks for the comments. I think we need a new driver instead of trying to re-use the existing driver that requires quite a few changes and that I also can't test. Having both drivers in the same file doesn't work well either. Common code isn't desirable because we're likely going to make changes to it anyway. It doesn't use interrupts currently and I don't like the polling for SPI transfer completion. Once I make the changes I'll submit a standalone non-BCMA MSPI driver for review. Jon -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html