Re: [PATCH V7 3/5] i2c: tegra: Add DMA Support

From: Dmitry Osipenko
Date: Thu Jan 31 2019 - 13:15:23 EST


31.01.2019 21:08, Dmitry Osipenko ÐÐÑÐÑ:
> 31.01.2019 19:55, Dmitry Osipenko ÐÐÑÐÑ:
> +config I2C_TEGRA_DMA_SUPPORT
> + bool "NVIDIA Tegra internal I2C controller DMA support"
> + depends on I2C_TEGRA
> + depends on TEGRA20_APB_DMA && ARCH_TEGRA_2x_SOC
> + depends on TEGRA20_APB_DMA && ARCH_TEGRA_3x_SOC
> + depends on TEGRA20_APB_DMA && ARCH_TEGRA_114_SOC
> + depends on TEGRA20_APB_DMA && ARCH_TEGRA_124_SOC
> + depends on TEGRA20_APB_DMA && ARCH_TEGRA_210_SOC
> + help
> + If you say yes to this option, DMA engine integration support will
> + be included for the I2C controller embedded in NVIDIA Tegra SOCs
> +

Actually, seems should be like that:

config I2C_TEGRA_DMA_SUPPORT
bool "NVIDIA Tegra internal I2C controller DMA support"
depends on I2C_TEGRA
depends on (TEGRA20_APB_DMA && ARCH_TEGRA_2x_SOC) || \
(TEGRA20_APB_DMA && ARCH_TEGRA_3x_SOC) || \
(TEGRA20_APB_DMA && ARCH_TEGRA_114_SOC) || \
(TEGRA20_APB_DMA && ARCH_TEGRA_124_SOC) || \
(TEGRA20_APB_DMA && ARCH_TEGRA_210_SOC)
help
If you say yes to this option, DMA engine integration support will
be included for the I2C controller embedded in NVIDIA Tegra SOCs

But you got the idea.