mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-13 20:16:26 +00:00
ARM: at91: pm: add quirk for sam9x60's ulp1
[ Upstream commit bb1a0e87e1
]
On SAM9X60 2 nop operations has to be introduced after setting
WAITMODE bit in CKGR_MOR.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/1579522208-19523-9-git-send-email-claudiu.beznea@microchip.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
4301497fdc
commit
de6d9aa5f7
1 changed files with 4 additions and 0 deletions
|
@ -268,6 +268,10 @@ ENDPROC(at91_backup_mode)
|
||||||
orr tmp1, tmp1, #AT91_PMC_KEY
|
orr tmp1, tmp1, #AT91_PMC_KEY
|
||||||
str tmp1, [pmc, #AT91_CKGR_MOR]
|
str tmp1, [pmc, #AT91_CKGR_MOR]
|
||||||
|
|
||||||
|
/* Quirk for SAM9X60's PMC */
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
|
||||||
wait_mckrdy
|
wait_mckrdy
|
||||||
|
|
||||||
/* Enable the crystal oscillator */
|
/* Enable the crystal oscillator */
|
||||||
|
|
Loading…
Reference in a new issue