Commit c14bea05 authored by Nicolin Chen's avatar Nicolin Chen Committed by Krzysztof Kozlowski

memory: tegra: Correct la.reg address of seswr

According to Tegra X1 TRM, ALLOWANCE_SESWR is located in field
[23:16] of register at address 0x3e0 with a reset value of 0x80
at register 0x3e0, while bit-1 of register 0xb98 is for enable
bit of seswr.
Signed-off-by: default avatarNicolin Chen <nicoleotsuka@gmail.com>
Acked-by: default avatarThierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20201008003746.25659-2-nicoleotsuka@gmail.comSigned-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent 3650b228
...@@ -897,7 +897,7 @@ static const struct tegra_mc_client tegra210_mc_clients[] = { ...@@ -897,7 +897,7 @@ static const struct tegra_mc_client tegra210_mc_clients[] = {
.bit = 1, .bit = 1,
}, },
.la = { .la = {
.reg = 0xb98, .reg = 0x3e0,
.shift = 16, .shift = 16,
.mask = 0xff, .mask = 0xff,
.def = 0x80, .def = 0x80,
......
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