Commit cc3d696c authored by Sameer Pujar's avatar Sameer Pujar Committed by Krzysztof Kozlowski

memory: tegra: Add APE memory clients for Tegra234

Add the memory clients on Tegra234 which are needed for APE
DMA to properly use the SMMU.
Signed-off-by: default avatarSameer Pujar <spujar@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20220506132312.3910637-3-thierry.reding@gmail.comSigned-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
parent 72c81bb6
// SPDX-License-Identifier: GPL-2.0-only // SPDX-License-Identifier: GPL-2.0-only
/* /*
* Copyright (C) 2021 NVIDIA CORPORATION. All rights reserved. * Copyright (C) 2021-2022, NVIDIA CORPORATION. All rights reserved.
*/ */
#include <soc/tegra/mc.h> #include <soc/tegra/mc.h>
...@@ -70,6 +70,26 @@ static const struct tegra_mc_client tegra234_mc_clients[] = { ...@@ -70,6 +70,26 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
.security = 0x4b4, .security = 0x4b4,
}, },
}, },
}, {
.id = TEGRA234_MEMORY_CLIENT_APEDMAR,
.name = "apedmar",
.sid = TEGRA234_SID_APE,
.regs = {
.sid = {
.override = 0x4f8,
.security = 0x4fc,
},
},
}, {
.id = TEGRA234_MEMORY_CLIENT_APEDMAW,
.name = "apedmaw",
.sid = TEGRA234_SID_APE,
.regs = {
.sid = {
.override = 0x500,
.security = 0x504,
},
},
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment