]> Git Repo - linux.git/commitdiff
ARM: at91: pm: add quirk for sam9x60's ulp1
authorClaudiu Beznea <[email protected]>
Mon, 20 Jan 2020 12:10:08 +0000 (14:10 +0200)
committerAlexandre Belloni <[email protected]>
Tue, 18 Feb 2020 20:47:54 +0000 (21:47 +0100)
On SAM9X60 2 nop operations has to be introduced after setting
WAITMODE bit in CKGR_MOR.

Signed-off-by: Claudiu Beznea <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
arch/arm/mach-at91/pm_suspend.S

index 4e9eb4f57f1673e4737e2a72abd173c149e579bb..be9764e8d3fa13b78b4e0cdb4e2e82f0ab4c1862 100644 (file)
@@ -275,6 +275,10 @@ ENDPROC(at91_backup_mode)
        orr     tmp1, tmp1, #AT91_PMC_KEY
        str     tmp1, [pmc, #AT91_CKGR_MOR]
 
+       /* Quirk for SAM9X60's PMC */
+       nop
+       nop
+
        wait_mckrdy
 
        /* Enable the crystal oscillator */
This page took 0.05739 seconds and 4 git commands to generate.