On Mon, May 13, 2013 at 06:21:13PM +0200, Sebastian Hesselbarth wrote:What "Xilinx driver", are we talking about?Well, that driver actually exists. But that just programs a bitstream
you give it to program. It does not know anything about the design it
programs and cannot make any kind of decision whether the clocks should
be userspace controlled or not.
what Mark wants to point out is that you add fabric clocks to the Xilinx
driver instead. This way, you will have user-space controllable clocks
but only if you loaded the xilinx driver first.
IIRC the fabric clock controller provided by Zynq _is_ always there andRight.
accessible from ARM CPUs. You just don't have a new generic driver
allowing to poke with all clocks, but a xilinx only driver allowing you
to set the (xilinx only) fabric clocks.
I've played with Zynq a while ago, did Xilinx mainline the bitfileThe device config driver is not in mainline, AFAIK. And I think it's in
driver already? If not, why don't you give it a shot?
rather bad shape and needs a lot of work before it is upstreamable. But
this is probably the right place to put this.
On the other hand, currently this driver is only required for
programming the FPGA from Linux, which is not required. One of the
bootloaders could do this for you earlier.