On 11/12/2015 17:31, Nikolay Martynov wrote: > 2015-12-11 11:29 GMT-05:00 John Crispin <blo...@openwrt.org>: >> >> >> On 11/12/2015 17:25, Felix Fietkau wrote: >>> On 2015-12-11 05:01, Nikolay Martynov wrote: >>>> * Switches clocksource to gic timer. >>>> * Moves frequency definitions to dtsi since frequency was hardcoded anyway >>>> Will work on proper frequency detection later. >>>> >>>> Signed-off-by: Nikolay Martynov <mar.ko...@gmail.com> >>> This patch breaks the SPI driver: >>> >>> [ 2.980000] spi-mt7621 1e000b00.spi: unable to get SYS clock, err=0 >>> >>> - Felix >>> >> >> strange, worked for me earlier today. but maybe i missed this one. > I'm sorry, the device I have doesn't have spi, so I could not really > test this part. But it should be trivial to fix. I'll have a look > tonight unless this gets fixed before. > >
we need to define a fixed-rate clock using DT and load drivers/clk/clk-fixed-rate.c additionally we need to point the 3 device nodes at that clock. _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel