Re: [PATCH] spi: bcm2835: Implement shutdown callback

From
Florian Fainelli <f.fainelli@gmail.com>
Date
2020-05-29 18:04:42
Also in
linux-spi, lkml
On 5/29/20 10:58 AM, Lukas Wunner wrote:
On Fri, May 29, 2020 at 10:48:11AM -0700, Florian Fainelli wrote:
quoted
On 5/29/20 10:47 AM, Lukas Wunner wrote:
quoted
On Thu, May 28, 2020 at 12:06:05PM -0700, Florian Fainelli wrote:
quoted
Make sure we clear the FIFOs, stop the block, disable the clock and
release the DMA channel.
To what end?  Why is this change necessary?  Sorry but this seems like
an awfully terse commit message.
To ensure clocks are disabled and to save power in low power modes used
on 7211 for instance.
Thanks for the explanation, that's an important tidbit.  I wasn't even
aware that this SPI controller is used on SoCs beyond the Raspberry Pi
ones.  Does the BCM7211 use shared interrupts for this controller?
Does it have DMA DREQ attached?
For all practical purposes you can consider that 7211 is identical to a
2711, it does use shared interrupts for this controller and there is a
DRAM DREQ attached as well. Where they differ are on the display, video,
and memory controller MAC.
-- 
Florian

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (1 message) 1 message, 1 author, last reply 2020-05-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help