Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: ralink: mt7620: Add spi clock definition

Register a clock device for the SPI block of the
MT7620 SoC. The clock device will be used by the
SPI host controller driver to determine the base
clock of the controller.

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5754/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

John Crispin and committed by
Ralf Baechle
0d464968 68c9b7ed

+1
+1
arch/mips/ralink/mt7620.c
··· 318 318 ralink_clk_add("10000100.timer", periph_rate); 319 319 ralink_clk_add("10000120.watchdog", periph_rate); 320 320 ralink_clk_add("10000500.uart", periph_rate); 321 + ralink_clk_add("10000b00.spi", sys_rate); 321 322 ralink_clk_add("10000c00.uartlite", periph_rate); 322 323 } 323 324