[PATCH] [3.3] ARM: tegra: use APB DMA for accessing APB devices
olof at lixom.net
Tue Oct 18 16:15:40 EDT 2011
On Tue, Oct 18, 2011 at 12:28 PM, Stephen Warren <swarren at nvidia.com> wrote:
> Olof Johansson wrote at Tuesday, October 18, 2011 1:12 PM:
>> Also, I can't imagine a case where CONFIG_TEGRA_SYSTEM_DMA makes sense
>> to keep off. Can you? If so, I'm tempted to just kill it (in a
>> separate patch).
> I wondered about that too when I first saw that config option.
> Still, I don't think it's impossible to have a system where the DMA driver
> isn't useful; looking across a few kernels, I see it being used for:
> * Audio; I2S and SPDIF, not HD-audio
> * SPI (master and slave)
> * The tegra_hsuart driver (not sure what benefit that has over 8250.c...)
8250 generally can't handle the baud rates needed for bluetooth, etc.
The hsuart drivers have dma offload for that purpose (most arm
platforms tend to have similar setups).
> * This APB/fuse/DMA workaround
> All of which seem optional given the fourth one isn't required if DMA
> isn't used.
I guess it depends on what kind of granularity is worth it. But let's
keep it as an option for now.
More information about the linux-arm-kernel