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

xtensa: support common clock framework

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>

+3
+1
arch/xtensa/Kconfig
··· 20 20 select HAVE_FUNCTION_TRACER 21 21 select HAVE_IRQ_TIME_ACCOUNTING 22 22 select HAVE_PERF_EVENTS 23 + select COMMON_CLK 23 24 help 24 25 Xtensa processors are 32-bit RISC machines designed by Tensilica 25 26 primarily for embedded systems. These processors are both
+2
arch/xtensa/kernel/setup.c
··· 22 22 #include <linux/bootmem.h> 23 23 #include <linux/kernel.h> 24 24 #include <linux/percpu.h> 25 + #include <linux/clk-provider.h> 25 26 #include <linux/cpu.h> 26 27 #include <linux/of_fdt.h> 27 28 #include <linux/of_platform.h> ··· 277 276 278 277 static int __init xtensa_device_probe(void) 279 278 { 279 + of_clk_init(NULL); 280 280 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); 281 281 return 0; 282 282 }