Skip to content

Commit 9def28f

Browse files
jonhunterkrzk
authored andcommitted
memory: tegra: Add Tegra234 clients for RCE and VI
Add the Tegra234 memory client entries for the Real-time Camera Engine (RCE) and Video Input (VI) devices. Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Acked-by: Thierry Reding <treding@nvidia.com> Link: https://lore.kernel.org/r/20231012104909.48518-1-jonathanh@nvidia.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
1 parent 387bb6f commit 9def28f

1 file changed

Lines changed: 60 additions & 0 deletions

File tree

drivers/memory/tegra/tegra234.c

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,18 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
449449
.security = 0x38c,
450450
},
451451
},
452+
}, {
453+
.id = TEGRA234_MEMORY_CLIENT_VIW,
454+
.name = "viw",
455+
.bpmp_id = TEGRA_ICC_BPMP_VI,
456+
.type = TEGRA_ICC_ISO_VI,
457+
.sid = TEGRA234_SID_ISO_VI,
458+
.regs = {
459+
.sid = {
460+
.override = 0x390,
461+
.security = 0x394,
462+
},
463+
},
452464
}, {
453465
.id = TEGRA234_MEMORY_CLIENT_NVDECSRD,
454466
.name = "nvdecsrd",
@@ -621,6 +633,30 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
621633
.security = 0x50c,
622634
},
623635
},
636+
}, {
637+
.id = TEGRA234_MEMORY_CLIENT_VIFALR,
638+
.name = "vifalr",
639+
.bpmp_id = TEGRA_ICC_BPMP_VIFAL,
640+
.type = TEGRA_ICC_ISO_VIFAL,
641+
.sid = TEGRA234_SID_ISO_VIFALC,
642+
.regs = {
643+
.sid = {
644+
.override = 0x5e0,
645+
.security = 0x5e4,
646+
},
647+
},
648+
}, {
649+
.id = TEGRA234_MEMORY_CLIENT_VIFALW,
650+
.name = "vifalw",
651+
.bpmp_id = TEGRA_ICC_BPMP_VIFAL,
652+
.type = TEGRA_ICC_ISO_VIFAL,
653+
.sid = TEGRA234_SID_ISO_VIFALC,
654+
.regs = {
655+
.sid = {
656+
.override = 0x5e8,
657+
.security = 0x5ec,
658+
},
659+
},
624660
}, {
625661
.id = TEGRA234_MEMORY_CLIENT_DLA0RDA,
626662
.name = "dla0rda",
@@ -701,6 +737,30 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
701737
.security = 0x62c,
702738
},
703739
},
740+
}, {
741+
.id = TEGRA234_MEMORY_CLIENT_RCER,
742+
.name = "rcer",
743+
.bpmp_id = TEGRA_ICC_BPMP_RCE,
744+
.type = TEGRA_ICC_NISO,
745+
.sid = TEGRA234_SID_RCE,
746+
.regs = {
747+
.sid = {
748+
.override = 0x690,
749+
.security = 0x694,
750+
},
751+
},
752+
}, {
753+
.id = TEGRA234_MEMORY_CLIENT_RCEW,
754+
.name = "rcew",
755+
.bpmp_id = TEGRA_ICC_BPMP_RCE,
756+
.type = TEGRA_ICC_NISO,
757+
.sid = TEGRA234_SID_RCE,
758+
.regs = {
759+
.sid = {
760+
.override = 0x698,
761+
.security = 0x69c,
762+
},
763+
},
704764
}, {
705765
.id = TEGRA234_MEMORY_CLIENT_PCIE0R,
706766
.name = "pcie0r",

0 commit comments

Comments
 (0)