Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bda8932d authored by Max Filippov's avatar Max Filippov
Browse files

xtensa: support common clock framework



Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent 4e3b4df8
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -20,6 +20,7 @@ config XTENSA
	select HAVE_FUNCTION_TRACER
	select HAVE_FUNCTION_TRACER
	select HAVE_IRQ_TIME_ACCOUNTING
	select HAVE_IRQ_TIME_ACCOUNTING
	select HAVE_PERF_EVENTS
	select HAVE_PERF_EVENTS
	select COMMON_CLK
	help
	help
	  Xtensa processors are 32-bit RISC machines designed by Tensilica
	  Xtensa processors are 32-bit RISC machines designed by Tensilica
	  primarily for embedded systems.  These processors are both
	  primarily for embedded systems.  These processors are both
+2 −0
Original line number Original line Diff line number Diff line
@@ -22,6 +22,7 @@
#include <linux/bootmem.h>
#include <linux/bootmem.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/percpu.h>
#include <linux/percpu.h>
#include <linux/clk-provider.h>
#include <linux/cpu.h>
#include <linux/cpu.h>
#include <linux/of_fdt.h>
#include <linux/of_fdt.h>
#include <linux/of_platform.h>
#include <linux/of_platform.h>
@@ -276,6 +277,7 @@ void __init early_init_devtree(void *params)


static int __init xtensa_device_probe(void)
static int __init xtensa_device_probe(void)
{
{
	of_clk_init(NULL);
	of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
	of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
	return 0;
	return 0;
}
}