Skip to contentSkip to conversation

soc/tegra: fuse: Add spare bit offset for Tegra114

PATCH In review Thierry Reding 1 participant 4 messages May 4, 2015 1 message not in the archive Tegra architecture support

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 soc/tegra: fuse: Add spare bit offset for Tegra114

From: Thierry Reding <[email protected]>

The offset of the first spare bit register on Tegra114 is 0x280.

---
 drivers/soc/tegra/fuse/fuse-tegra30.c | 1 +
 1 file changed, 1 insertion(+)
drivers/soc/tegra/fuse/fuse-tegra30.c +1 -0
index 5a6c533417fc..a55664fda81e 100644
@@ -117,6 +117,7 @@ const struct tegra_fuse_soc tegra30_fuse_soc = {
 static const struct tegra_fuse_info tegra114_fuse_info = {
 	.read = tegra30_fuse_read,
 	.size = 0x2a0,
+	.spare = 0x280,
 };
 
 const struct tegra_fuse_soc tegra114_fuse_soc = {
Signature · 1 line
2.3.5
#2 lore raw

PATCH 2/3 soc/tegra: fuse: Add spare bit offset for Tegra124

In reply to a message not in the archive

From: Thierry Reding <[email protected]>

The offset of the first spare bit register on Tegra124 is 0x300.

---
 drivers/soc/tegra/fuse/fuse-tegra30.c | 1 +
 1 file changed, 1 insertion(+)
drivers/soc/tegra/fuse/fuse-tegra30.c +1 -0
index a55664fda81e..ff409b4a0e36 100644
@@ -131,6 +131,7 @@ const struct tegra_fuse_soc tegra114_fuse_soc = {
 static const struct tegra_fuse_info tegra124_fuse_info = {
 	.read = tegra30_fuse_read,
 	.size = 0x300,
+	.spare = 0x300,
 };
 
 const struct tegra_fuse_soc tegra124_fuse_soc = {
Signature · 1 line
2.3.5
#3 lore raw

PATCH 3/3 soc/tegra: fuse: Add spare bit offset for Tegra210

In reply to a message not in the archive

From: Thierry Reding <[email protected]>

The offset of the first spare bit register on Tegra210 is 0x380.

---
 drivers/soc/tegra/fuse/fuse-tegra30.c | 1 +
 1 file changed, 1 insertion(+)
drivers/soc/tegra/fuse/fuse-tegra30.c +1 -0
index ff409b4a0e36..74983d474d5c 100644
@@ -145,6 +145,7 @@ const struct tegra_fuse_soc tegra124_fuse_soc = {
 static const struct tegra_fuse_info tegra210_fuse_info = {
 	.read = tegra30_fuse_read,
 	.size = 0x300,
+	.spare = 0x380,
 };
 
 const struct tegra_fuse_soc tegra210_fuse_soc = {
Signature · 1 line
2.3.5
#4 lore raw
In reply to a message not in the archive
Quoted 8 lines · Thierry Reding

From: Thierry Reding <[email protected]>

The offset of the first spare bit register on Tegra114 is 0x280.

---
 drivers/soc/tegra/fuse/fuse-tegra30.c | 1 +
 1 file changed, 1 insertion(+)

I just realized that all these offsets are offset by 0x100 because they use the generic fuse access operation. Will update the series to reflect that.

Thierry