Re: [PATCH] [3.3] ARM: tegra: use APB DMA for accessing APB devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 18, 2011 at 12:28 PM, Stephen Warren <swarren@xxxxxxxxxx> 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.

-Olof
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux