i2c: tegra: Add GPCDMA support
authorAkhil R <akhilrajeev@nvidia.com>
Tue, 6 Sep 2022 14:47:14 +0000 (20:17 +0530)
committerWolfram Sang <wsa@kernel.org>
Fri, 16 Sep 2022 19:46:40 +0000 (20:46 +0100)
commit48cb6356fae1259fee41b2fb441f669ee330b7c4
tree4c78ae122112b0d970885e2be10f5f639dc04041
parent03d4287add6ef992636f49627a8f8788faa6a66e
i2c: tegra: Add GPCDMA support

Enable support for GPCDMA, which is used in I2C controllers
in Tegra 186 and above. The chips before that used APB DMA.
This change works under the presumption that all chips apart from
those supporting APB DMA is using GPCDMA.

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-tegra.c