Skip to content
Commit 545074fb authored by Linus Walleij's avatar Linus Walleij Committed by Grant Likely
Browse files

spi/pl022: fix APB pclk power regression on U300



With the introduction of an AMBA PrimeCell per-cell block clock,
the pclk was left on after probe() unless explicitly disabled.
This clock is wired to the same clock on PL022 causing it to stay
always on since.

Fix this up properly by clocking the pclk whenever we want to
write into any PL022 registers and clocking the external clock
whenever we want to transmit messages on the bus.

Signed-off-by: default avatarLinus Walleij <linus.walleij@stericsson.com>
Tested-by : Kevin Wells <wellsk40@gmail.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent be7852a8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment