The pruss1_clkctrl and pruss2_clkctrl registers need to be added to the 
prcm register structure in order to allow the pruss driver to enable the 
clock for each of them during the pruss probe function calls for am57xx

Signed-off-by: Greg Leonberg <greg.leonb...@sunhillo.com>
---
 arch/arm/include/asm/omap_common.h    | 2 ++
 arch/arm/mach-omap2/omap5/prcm-regs.c | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/arch/arm/include/asm/omap_common.h 
b/arch/arm/include/asm/omap_common.h
index 40c4411..bd17295 100644
--- a/arch/arm/include/asm/omap_common.h
+++ b/arch/arm/include/asm/omap_common.h
@@ -241,6 +241,8 @@ struct prcm_regs {
        u32 cm_l4per_clkstctrl;
        u32 cm_l4per_dynamicdep;
        u32 cm_l4per_adc_clkctrl;
+       u32 cm_l4per2_pruss1_clkctrl;
+       u32 cm_l4per2_pruss2_clkctrl;
        u32 cm_l4per_gptimer10_clkctrl;
        u32 cm_l4per_gptimer11_clkctrl;
        u32 cm_l4per_gptimer2_clkctrl;
diff --git a/arch/arm/mach-omap2/omap5/prcm-regs.c 
b/arch/arm/mach-omap2/omap5/prcm-regs.c
index 164b747..d6fa9ce 100644
--- a/arch/arm/mach-omap2/omap5/prcm-regs.c
+++ b/arch/arm/mach-omap2/omap5/prcm-regs.c
@@ -940,6 +940,8 @@ struct prcm_regs const dra7xx_prcm = {
        /* cm2.l4per */
        .cm_l4per_clkstctrl                     = 0x4a009700,
        .cm_l4per_dynamicdep                    = 0x4a009708,
+       .cm_l4per2_pruss1_clkctrl       = 0x4a009718,
+       .cm_l4per2_pruss2_clkctrl       = 0x4a009720,
        .cm_l4per_gptimer10_clkctrl             = 0x4a009728,
        .cm_l4per_gptimer11_clkctrl             = 0x4a009730,
        .cm_l4per_gptimer2_clkctrl              = 0x4a009738,
-- 
1.8.3.1

Reply via email to