[RFC 06/11] ARM: OMAP: Add reset init to prcm file
Dan Murphy
dmurphy at ti.com
Tue Apr 29 13:19:45 PDT 2014
Call the reset init API to initialize the
reset framework and data for the related SoC.
Signed-off-by: Dan Murphy <dmurphy at ti.com>
---
arch/arm/mach-omap2/prm_common.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-omap2/prm_common.c b/arch/arm/mach-omap2/prm_common.c
index b4c4ab9..7e95f8e 100644
--- a/arch/arm/mach-omap2/prm_common.c
+++ b/arch/arm/mach-omap2/prm_common.c
@@ -27,6 +27,7 @@
#include <linux/of_address.h>
#include <linux/clk-provider.h>
#include <linux/clk/ti.h>
+#include <linux/reset_ti.h>
#include "soc.h"
#include "prm2xxx_3xxx.h"
@@ -523,10 +524,13 @@ int __init of_prcm_init(void)
mem = of_iomap(np, 0);
clk_memmaps[memmap_index] = mem;
ti_dt_clk_init_provider(np, memmap_index);
+
memmap_index++;
}
ti_dt_clockdomains_setup();
+ ti_dt_reset_init();
+
return 0;
}
--
1.7.9.5
More information about the linux-arm-kernel
mailing list