On Mon, May 13, 2013 at 07:37:23PM +0200, Sebastian Hesselbarth wrote:It is, as it will only expose clocks on Zynq and that's what Mark andWell, even if you contain it in that driver you can still mess with
Mike are worried about. Expose clocks to user space and you will have
people mess with it for sure.
other clocks. Just give it the "wrong" input clock references in DT and
you are free to control them. As I said before, there is no protection
against such misuse.
About the shape of it, I didn't expect that to change at all. JustIt still takes byteswapped, binary images as input, unfortunately.
wondering, if it still requires you to manually end it's endianess
mess with the bitfiles. If you go at it, consider reading the magic
hidden in the bitfile and swap it when it is required. But that will
go OT here.
If you don't want to merge both drivers, have a Zynq-only clockThat was my original intention. But due to the nature of it, it will
fabric driver instead?
always be possible to use it with other clocks too. Hence my generic
approach.
I actually like the idea of making it part of the device config driver.
The downside of it is, that this driver seems a bit far from mainline.