* [PATCH] dmaengine: tegra210-adma: Update dependency to ARCH_TEGRA
@ 2024-01-11 17:44 Peter Robinson
2024-01-12 6:52 ` Jon Hunter
0 siblings, 1 reply; 2+ messages in thread
From: Peter Robinson @ 2024-01-11 17:44 UTC (permalink / raw)
To: linux-tegra
Cc: Peter Robinson, Jon Hunter, Thierry Reding, Sameer Pujar,
Laxman Dewangan
Update the architecture dependency to be the generic Tegra
because the driver works on the four latest Tegra generations
not just T210, if you build a kernel with a specific
ARCH_TEGRA_xxx_SOC optioon that excludes 210 you don't get
this driver.
Fixes: 433de642a76c9 ("dmaengine: tegra210-adma: add support for Tegra186/Tegra194")
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Cc: Jon Hunter <jonathanh@nvidia.com>
Cc: Thierry Reding <treding@nvidia.com>
Cc: Sameer Pujar <spujar@nvidia.com>
Cc: Laxman Dewangan <ldewangan@nvidia.com>
---
drivers/dma/Kconfig | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 70ba506dabab5..de6eb370d485d 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -629,16 +629,16 @@ config TEGRA20_APB_DMA
config TEGRA210_ADMA
tristate "NVIDIA Tegra210 ADMA support"
- depends on (ARCH_TEGRA_210_SOC || COMPILE_TEST)
+ depends on (ARCH_TEGRA || COMPILE_TEST)
select DMA_ENGINE
select DMA_VIRTUAL_CHANNELS
help
- Support for the NVIDIA Tegra210 ADMA controller driver. The
- DMA controller has multiple DMA channels and is used to service
- various audio clients in the Tegra210 audio processing engine
- (APE). This DMA controller transfers data from memory to
- peripheral and vice versa. It does not support memory to
- memory data transfer.
+ Support for the NVIDIA Tegra210/Tegra186/Tegra194/Tegra234 ADMA
+ controller driver. The DMA controller has multiple DMA channels
+ and is used to service various audio clients in the Tegra210
+ audio processing engine (APE). This DMA controller transfers
+ data from memory to peripheral and vice versa. It does not
+ support memory to memory data transfer.
config TIMB_DMA
tristate "Timberdale FPGA DMA support"
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dmaengine: tegra210-adma: Update dependency to ARCH_TEGRA
2024-01-11 17:44 [PATCH] dmaengine: tegra210-adma: Update dependency to ARCH_TEGRA Peter Robinson
@ 2024-01-12 6:52 ` Jon Hunter
0 siblings, 0 replies; 2+ messages in thread
From: Jon Hunter @ 2024-01-12 6:52 UTC (permalink / raw)
To: Peter Robinson, linux-tegra; +Cc: Thierry Reding, Sameer Pujar, Laxman Dewangan
On 11/01/2024 17:44, Peter Robinson wrote:
> Update the architecture dependency to be the generic Tegra
> because the driver works on the four latest Tegra generations
> not just T210, if you build a kernel with a specific
> ARCH_TEGRA_xxx_SOC optioon that excludes 210 you don't get
s/optioon/option :-)
> this driver.
>
> Fixes: 433de642a76c9 ("dmaengine: tegra210-adma: add support for Tegra186/Tegra194")
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
> Cc: Jon Hunter <jonathanh@nvidia.com>
> Cc: Thierry Reding <treding@nvidia.com>
> Cc: Sameer Pujar <spujar@nvidia.com>
> Cc: Laxman Dewangan <ldewangan@nvidia.com>
> ---
> drivers/dma/Kconfig | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
> index 70ba506dabab5..de6eb370d485d 100644
> --- a/drivers/dma/Kconfig
> +++ b/drivers/dma/Kconfig
> @@ -629,16 +629,16 @@ config TEGRA20_APB_DMA
>
> config TEGRA210_ADMA
> tristate "NVIDIA Tegra210 ADMA support"
> - depends on (ARCH_TEGRA_210_SOC || COMPILE_TEST)
> + depends on (ARCH_TEGRA || COMPILE_TEST)
> select DMA_ENGINE
> select DMA_VIRTUAL_CHANNELS
> help
> - Support for the NVIDIA Tegra210 ADMA controller driver. The
> - DMA controller has multiple DMA channels and is used to service
> - various audio clients in the Tegra210 audio processing engine
> - (APE). This DMA controller transfers data from memory to
> - peripheral and vice versa. It does not support memory to
> - memory data transfer.
> + Support for the NVIDIA Tegra210/Tegra186/Tegra194/Tegra234 ADMA
> + controller driver. The DMA controller has multiple DMA channels
> + and is used to service various audio clients in the Tegra210
> + audio processing engine (APE). This DMA controller transfers
> + data from memory to peripheral and vice versa. It does not
> + support memory to memory data transfer.
>
> config TIMB_DMA
> tristate "Timberdale FPGA DMA support"
Looks good to me. Thanks for fixing! Apart from the minor typo ...
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Jon
--
nvpublic
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-12 6:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-11 17:44 [PATCH] dmaengine: tegra210-adma: Update dependency to ARCH_TEGRA Peter Robinson
2024-01-12 6:52 ` Jon Hunter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox