On Fri, 17 Jul 2015, atull wrote: > On Fri, 17 Jul 2015, Jason Gunthorpe wrote: > > > On Fri, Jul 17, 2015 at 10:51:10AM -0500, atull@xxxxxxxxxxxxxxxxxxxxx wrote: > > > From: Alan Tull <atull@xxxxxxxxxxxxxxxxxxxxx> > > > > > > This patchset adds two chunks plus documentation: > > > * fpga manager core: exports ABI functions that write an image to a FPGA > > > * DT Overlay support: simple-fpga-bus to handle FPGA from a DT overlay > > > > I didn't read super closely, but overall it makes sense to me.. > > > > Providing an in-kernel API will let someone else figure out how to > > expose that to user space. The DT based scheme seems pretty nice. > > > > Thanks! > > > Can you use this without DT overlay? Ie if I provide the FGPA > > description as part of my boot time DT will it just work? > > The simple fpga bus would need to defer probing until after the fpga > manager driver and bridge drivers are probed (that's easy). Since it is > using firmware, it will also have to defer until the filesystem is > available so it can get the fpga image to load. I'll work on it. > > Alan I looked some more; I don't see a simple way of deferring probing until after the filesystem is loaded (so that the image file would be available), late_initcall is still not late enough. Alan > > > > > Jason > > -- > > 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 > > > -- 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