Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273424
b: refs/heads/master
c: d65e12d
h: refs/heads/master
v: v3
  • Loading branch information
Mattias Nilsson authored and Samuel Ortiz committed Oct 24, 2011
1 parent e0c8914 commit ae95e48
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a592c2e20fe2ba696cc7cd16d02abec8ac16ea41
refs/heads/master: d65e12d70436cfb2728a78aec3f7bc1cd79eaa34
12 changes: 12 additions & 0 deletions trunk/drivers/mfd/db8500-prcmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1840,6 +1840,16 @@ void __init prcmu_early_init(void)
}
}

static void __init init_prcm_registers(void)
{
u32 val;

val = readl(PRCM_A9PL_FORCE_CLKEN);
val &= ~(PRCM_A9PL_FORCE_CLKEN_PRCM_A9PL_FORCE_CLKEN |
PRCM_A9PL_FORCE_CLKEN_PRCM_A9AXI_FORCE_CLKEN);
writel(val, (PRCM_A9PL_FORCE_CLKEN));
}

/*
* Power domain switches (ePODs) modeled as regulators for the DB8500 SoC
*/
Expand Down Expand Up @@ -2038,6 +2048,8 @@ static int __init db8500_prcmu_probe(struct platform_device *pdev)
if (ux500_is_svp())
return -ENODEV;

init_prcm_registers();

/* Clean up the mailbox interrupts after pre-kernel code. */
writel(ALL_MBOX_BITS, PRCM_ARM_IT1_CLR);

Expand Down

0 comments on commit ae95e48

Please sign in to comment.