Commit 6a598c6c authored by Jon Hunter's avatar Jon Hunter Committed by Krzysztof Kozlowski

memory: tegra: Add BPMP and ICC info for DLA clients

Add the BPMP IDs and ICC type information for the Tegra234 DLA memory
clients.
Signed-off-by: default avatarJon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20240220124430.19072-2-jonathanh@nvidia.comSigned-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
parent 51d915cb
...@@ -92,6 +92,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = { ...@@ -92,6 +92,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
}, { }, {
.id = TEGRA234_MEMORY_CLIENT_DLA0RDB, .id = TEGRA234_MEMORY_CLIENT_DLA0RDB,
.name = "dla0rdb", .name = "dla0rdb",
.bpmp_id = TEGRA_ICC_BPMP_DLA_0,
.type = TEGRA_ICC_NISO,
.sid = TEGRA234_SID_NVDLA0, .sid = TEGRA234_SID_NVDLA0,
.regs = { .regs = {
.sid = { .sid = {
...@@ -102,6 +104,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = { ...@@ -102,6 +104,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
}, { }, {
.id = TEGRA234_MEMORY_CLIENT_DLA0RDB1, .id = TEGRA234_MEMORY_CLIENT_DLA0RDB1,
.name = "dla0rdb1", .name = "dla0rdb1",
.bpmp_id = TEGRA_ICC_BPMP_DLA_0,
.type = TEGRA_ICC_NISO,
.sid = TEGRA234_SID_NVDLA0, .sid = TEGRA234_SID_NVDLA0,
.regs = { .regs = {
.sid = { .sid = {
...@@ -112,6 +116,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = { ...@@ -112,6 +116,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
}, { }, {
.id = TEGRA234_MEMORY_CLIENT_DLA0WRB, .id = TEGRA234_MEMORY_CLIENT_DLA0WRB,
.name = "dla0wrb", .name = "dla0wrb",
.bpmp_id = TEGRA_ICC_BPMP_DLA_0,
.type = TEGRA_ICC_NISO,
.sid = TEGRA234_SID_NVDLA0, .sid = TEGRA234_SID_NVDLA0,
.regs = { .regs = {
.sid = { .sid = {
...@@ -122,6 +128,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = { ...@@ -122,6 +128,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
}, { }, {
.id = TEGRA234_MEMORY_CLIENT_DLA1RDB, .id = TEGRA234_MEMORY_CLIENT_DLA1RDB,
.name = "dla1rdb", .name = "dla1rdb",
.bpmp_id = TEGRA_ICC_BPMP_DLA_1,
.type = TEGRA_ICC_NISO,
.sid = TEGRA234_SID_NVDLA1, .sid = TEGRA234_SID_NVDLA1,
.regs = { .regs = {
.sid = { .sid = {
...@@ -408,6 +416,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = { ...@@ -408,6 +416,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
}, { }, {
.id = TEGRA234_MEMORY_CLIENT_DLA1RDB1, .id = TEGRA234_MEMORY_CLIENT_DLA1RDB1,
.name = "dla1rdb1", .name = "dla1rdb1",
.bpmp_id = TEGRA_ICC_BPMP_DLA_1,
.type = TEGRA_ICC_NISO,
.sid = TEGRA234_SID_NVDLA1, .sid = TEGRA234_SID_NVDLA1,
.regs = { .regs = {
.sid = { .sid = {
...@@ -418,6 +428,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = { ...@@ -418,6 +428,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
}, { }, {
.id = TEGRA234_MEMORY_CLIENT_DLA1WRB, .id = TEGRA234_MEMORY_CLIENT_DLA1WRB,
.name = "dla1wrb", .name = "dla1wrb",
.bpmp_id = TEGRA_ICC_BPMP_DLA_1,
.type = TEGRA_ICC_NISO,
.sid = TEGRA234_SID_NVDLA1, .sid = TEGRA234_SID_NVDLA1,
.regs = { .regs = {
.sid = { .sid = {
...@@ -660,6 +672,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = { ...@@ -660,6 +672,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
}, { }, {
.id = TEGRA234_MEMORY_CLIENT_DLA0RDA, .id = TEGRA234_MEMORY_CLIENT_DLA0RDA,
.name = "dla0rda", .name = "dla0rda",
.bpmp_id = TEGRA_ICC_BPMP_DLA_0,
.type = TEGRA_ICC_NISO,
.sid = TEGRA234_SID_NVDLA0, .sid = TEGRA234_SID_NVDLA0,
.regs = { .regs = {
.sid = { .sid = {
...@@ -670,6 +684,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = { ...@@ -670,6 +684,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
}, { }, {
.id = TEGRA234_MEMORY_CLIENT_DLA0FALRDB, .id = TEGRA234_MEMORY_CLIENT_DLA0FALRDB,
.name = "dla0falrdb", .name = "dla0falrdb",
.bpmp_id = TEGRA_ICC_BPMP_DLA_0,
.type = TEGRA_ICC_NISO,
.sid = TEGRA234_SID_NVDLA0, .sid = TEGRA234_SID_NVDLA0,
.regs = { .regs = {
.sid = { .sid = {
...@@ -680,6 +696,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = { ...@@ -680,6 +696,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
}, { }, {
.id = TEGRA234_MEMORY_CLIENT_DLA0WRA, .id = TEGRA234_MEMORY_CLIENT_DLA0WRA,
.name = "dla0wra", .name = "dla0wra",
.bpmp_id = TEGRA_ICC_BPMP_DLA_0,
.type = TEGRA_ICC_NISO,
.sid = TEGRA234_SID_NVDLA0, .sid = TEGRA234_SID_NVDLA0,
.regs = { .regs = {
.sid = { .sid = {
...@@ -690,6 +708,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = { ...@@ -690,6 +708,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
}, { }, {
.id = TEGRA234_MEMORY_CLIENT_DLA0FALWRB, .id = TEGRA234_MEMORY_CLIENT_DLA0FALWRB,
.name = "dla0falwrb", .name = "dla0falwrb",
.bpmp_id = TEGRA_ICC_BPMP_DLA_0,
.type = TEGRA_ICC_NISO,
.sid = TEGRA234_SID_NVDLA0, .sid = TEGRA234_SID_NVDLA0,
.regs = { .regs = {
.sid = { .sid = {
...@@ -700,6 +720,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = { ...@@ -700,6 +720,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
}, { }, {
.id = TEGRA234_MEMORY_CLIENT_DLA1RDA, .id = TEGRA234_MEMORY_CLIENT_DLA1RDA,
.name = "dla1rda", .name = "dla1rda",
.bpmp_id = TEGRA_ICC_BPMP_DLA_1,
.type = TEGRA_ICC_NISO,
.sid = TEGRA234_SID_NVDLA1, .sid = TEGRA234_SID_NVDLA1,
.regs = { .regs = {
.sid = { .sid = {
...@@ -710,6 +732,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = { ...@@ -710,6 +732,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
}, { }, {
.id = TEGRA234_MEMORY_CLIENT_DLA1FALRDB, .id = TEGRA234_MEMORY_CLIENT_DLA1FALRDB,
.name = "dla1falrdb", .name = "dla1falrdb",
.bpmp_id = TEGRA_ICC_BPMP_DLA_1,
.type = TEGRA_ICC_NISO,
.sid = TEGRA234_SID_NVDLA1, .sid = TEGRA234_SID_NVDLA1,
.regs = { .regs = {
.sid = { .sid = {
...@@ -720,6 +744,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = { ...@@ -720,6 +744,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
}, { }, {
.id = TEGRA234_MEMORY_CLIENT_DLA1WRA, .id = TEGRA234_MEMORY_CLIENT_DLA1WRA,
.name = "dla1wra", .name = "dla1wra",
.bpmp_id = TEGRA_ICC_BPMP_DLA_1,
.type = TEGRA_ICC_NISO,
.sid = TEGRA234_SID_NVDLA1, .sid = TEGRA234_SID_NVDLA1,
.regs = { .regs = {
.sid = { .sid = {
...@@ -730,6 +756,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = { ...@@ -730,6 +756,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
}, { }, {
.id = TEGRA234_MEMORY_CLIENT_DLA1FALWRB, .id = TEGRA234_MEMORY_CLIENT_DLA1FALWRB,
.name = "dla1falwrb", .name = "dla1falwrb",
.bpmp_id = TEGRA_ICC_BPMP_DLA_1,
.type = TEGRA_ICC_NISO,
.sid = TEGRA234_SID_NVDLA1, .sid = TEGRA234_SID_NVDLA1,
.regs = { .regs = {
.sid = { .sid = {
...@@ -908,6 +936,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = { ...@@ -908,6 +936,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
}, { }, {
.id = TEGRA234_MEMORY_CLIENT_DLA0RDA1, .id = TEGRA234_MEMORY_CLIENT_DLA0RDA1,
.name = "dla0rda1", .name = "dla0rda1",
.bpmp_id = TEGRA_ICC_BPMP_DLA_0,
.type = TEGRA_ICC_NISO,
.sid = TEGRA234_SID_NVDLA0, .sid = TEGRA234_SID_NVDLA0,
.regs = { .regs = {
.sid = { .sid = {
......
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