Skip to content

Commit

Permalink
memory: tegra: Add APE memory clients for Tegra234
Browse files Browse the repository at this point in the history
Add the memory clients on Tegra234 which are needed for APE
DMA to properly use the SMMU.

Signed-off-by: Sameer Pujar <spujar@nvidia.com>
  • Loading branch information
pujars authored and intel-lab-lkp committed Feb 20, 2022
1 parent 0aeee73 commit 2432353
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion drivers/memory/tegra/tegra234.c
@@ -1,6 +1,6 @@
// 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>
Expand Down Expand Up @@ -70,6 +70,26 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
.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,
},
},
},
};

Expand Down

0 comments on commit 2432353

Please sign in to comment.