Skip to content

Commit 6a598c6

Browse files
jonhunterkrzk
authored andcommitted
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: Jon Hunter <jonathanh@nvidia.com> Link: https://lore.kernel.org/r/20240220124430.19072-2-jonathanh@nvidia.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
1 parent 51d915c commit 6a598c6

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

drivers/memory/tegra/tegra234.c

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
9292
}, {
9393
.id = TEGRA234_MEMORY_CLIENT_DLA0RDB,
9494
.name = "dla0rdb",
95+
.bpmp_id = TEGRA_ICC_BPMP_DLA_0,
96+
.type = TEGRA_ICC_NISO,
9597
.sid = TEGRA234_SID_NVDLA0,
9698
.regs = {
9799
.sid = {
@@ -102,6 +104,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
102104
}, {
103105
.id = TEGRA234_MEMORY_CLIENT_DLA0RDB1,
104106
.name = "dla0rdb1",
107+
.bpmp_id = TEGRA_ICC_BPMP_DLA_0,
108+
.type = TEGRA_ICC_NISO,
105109
.sid = TEGRA234_SID_NVDLA0,
106110
.regs = {
107111
.sid = {
@@ -112,6 +116,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
112116
}, {
113117
.id = TEGRA234_MEMORY_CLIENT_DLA0WRB,
114118
.name = "dla0wrb",
119+
.bpmp_id = TEGRA_ICC_BPMP_DLA_0,
120+
.type = TEGRA_ICC_NISO,
115121
.sid = TEGRA234_SID_NVDLA0,
116122
.regs = {
117123
.sid = {
@@ -122,6 +128,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
122128
}, {
123129
.id = TEGRA234_MEMORY_CLIENT_DLA1RDB,
124130
.name = "dla1rdb",
131+
.bpmp_id = TEGRA_ICC_BPMP_DLA_1,
132+
.type = TEGRA_ICC_NISO,
125133
.sid = TEGRA234_SID_NVDLA1,
126134
.regs = {
127135
.sid = {
@@ -408,6 +416,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
408416
}, {
409417
.id = TEGRA234_MEMORY_CLIENT_DLA1RDB1,
410418
.name = "dla1rdb1",
419+
.bpmp_id = TEGRA_ICC_BPMP_DLA_1,
420+
.type = TEGRA_ICC_NISO,
411421
.sid = TEGRA234_SID_NVDLA1,
412422
.regs = {
413423
.sid = {
@@ -418,6 +428,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
418428
}, {
419429
.id = TEGRA234_MEMORY_CLIENT_DLA1WRB,
420430
.name = "dla1wrb",
431+
.bpmp_id = TEGRA_ICC_BPMP_DLA_1,
432+
.type = TEGRA_ICC_NISO,
421433
.sid = TEGRA234_SID_NVDLA1,
422434
.regs = {
423435
.sid = {
@@ -660,6 +672,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
660672
}, {
661673
.id = TEGRA234_MEMORY_CLIENT_DLA0RDA,
662674
.name = "dla0rda",
675+
.bpmp_id = TEGRA_ICC_BPMP_DLA_0,
676+
.type = TEGRA_ICC_NISO,
663677
.sid = TEGRA234_SID_NVDLA0,
664678
.regs = {
665679
.sid = {
@@ -670,6 +684,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
670684
}, {
671685
.id = TEGRA234_MEMORY_CLIENT_DLA0FALRDB,
672686
.name = "dla0falrdb",
687+
.bpmp_id = TEGRA_ICC_BPMP_DLA_0,
688+
.type = TEGRA_ICC_NISO,
673689
.sid = TEGRA234_SID_NVDLA0,
674690
.regs = {
675691
.sid = {
@@ -680,6 +696,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
680696
}, {
681697
.id = TEGRA234_MEMORY_CLIENT_DLA0WRA,
682698
.name = "dla0wra",
699+
.bpmp_id = TEGRA_ICC_BPMP_DLA_0,
700+
.type = TEGRA_ICC_NISO,
683701
.sid = TEGRA234_SID_NVDLA0,
684702
.regs = {
685703
.sid = {
@@ -690,6 +708,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
690708
}, {
691709
.id = TEGRA234_MEMORY_CLIENT_DLA0FALWRB,
692710
.name = "dla0falwrb",
711+
.bpmp_id = TEGRA_ICC_BPMP_DLA_0,
712+
.type = TEGRA_ICC_NISO,
693713
.sid = TEGRA234_SID_NVDLA0,
694714
.regs = {
695715
.sid = {
@@ -700,6 +720,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
700720
}, {
701721
.id = TEGRA234_MEMORY_CLIENT_DLA1RDA,
702722
.name = "dla1rda",
723+
.bpmp_id = TEGRA_ICC_BPMP_DLA_1,
724+
.type = TEGRA_ICC_NISO,
703725
.sid = TEGRA234_SID_NVDLA1,
704726
.regs = {
705727
.sid = {
@@ -710,6 +732,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
710732
}, {
711733
.id = TEGRA234_MEMORY_CLIENT_DLA1FALRDB,
712734
.name = "dla1falrdb",
735+
.bpmp_id = TEGRA_ICC_BPMP_DLA_1,
736+
.type = TEGRA_ICC_NISO,
713737
.sid = TEGRA234_SID_NVDLA1,
714738
.regs = {
715739
.sid = {
@@ -720,6 +744,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
720744
}, {
721745
.id = TEGRA234_MEMORY_CLIENT_DLA1WRA,
722746
.name = "dla1wra",
747+
.bpmp_id = TEGRA_ICC_BPMP_DLA_1,
748+
.type = TEGRA_ICC_NISO,
723749
.sid = TEGRA234_SID_NVDLA1,
724750
.regs = {
725751
.sid = {
@@ -730,6 +756,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
730756
}, {
731757
.id = TEGRA234_MEMORY_CLIENT_DLA1FALWRB,
732758
.name = "dla1falwrb",
759+
.bpmp_id = TEGRA_ICC_BPMP_DLA_1,
760+
.type = TEGRA_ICC_NISO,
733761
.sid = TEGRA234_SID_NVDLA1,
734762
.regs = {
735763
.sid = {
@@ -908,6 +936,8 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
908936
}, {
909937
.id = TEGRA234_MEMORY_CLIENT_DLA0RDA1,
910938
.name = "dla0rda1",
939+
.bpmp_id = TEGRA_ICC_BPMP_DLA_0,
940+
.type = TEGRA_ICC_NISO,
911941
.sid = TEGRA234_SID_NVDLA0,
912942
.regs = {
913943
.sid = {

0 commit comments

Comments
 (0)