Skip to contentSkip to conversation

soc/tegra: Add Tegra Soc Version support

PATCH In review Sandipan Patra 2 participants 3 messages Jun 26, 2020 Tegra architecture support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 soc/tegra: Add Tegra Soc Version support

Add the chip IDs for NVIDIA Tegra186, Tegra194 and Tegra234 SoC family.

---
 include/soc/tegra/fuse.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
include/soc/tegra/fuse.h +4 -1
index 252ea20..4a5236b 100644
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
 /*
- * Copyright (c) 2012, NVIDIA CORPORATION.  All rights reserved.
+ * Copyright (c) 2012-2020, NVIDIA CORPORATION.  All rights reserved.
  */
 
 #ifndef __SOC_TEGRA_FUSE_H__
@@ -12,6 +12,9 @@
 #define TEGRA124	0x40
 #define TEGRA132	0x13
 #define TEGRA210	0x21
+#define TEGRA186	0x18
+#define TEGRA194	0x19
+#define TEGRA234	0x23
 
 #define TEGRA_FUSE_SKU_CALIB_0	0xf0
 #define TEGRA30_FUSE_SATA_CALIB	0x124
Signature · 1 line
2.7.4
#1 lore raw
Quoted 2 lines · Sandipan Patra

Add the chip IDs for NVIDIA Tegra186, Tegra194 and Tegra234 SoC family.

families

Quoted 20 lines
---
  include/soc/tegra/fuse.h | 5 ++++-
  1 file changed, 4 insertions(+), 1 deletion(-)
include/soc/tegra/fuse.h +1 -1
index 252ea20..4a5236b 100644
@@ -1,6 +1,6 @@
  /* SPDX-License-Identifier: GPL-2.0-only */
  /*
- * Copyright (c) 2012, NVIDIA CORPORATION.  All rights reserved.
+ * Copyright (c) 2012-2020, NVIDIA CORPORATION.  All rights reserved.
   */
 
  #ifndef __SOC_TEGRA_FUSE_H__

include/soc/tegra/fuse.h line 20

Quoted 9 lines
include/soc/tegra/fuse.h +3 -0
@@ -12,6 +12,9 @@
  #define TEGRA124	0x40
  #define TEGRA132	0x13
  #define TEGRA210	0x21
+#define TEGRA186	0x18
+#define TEGRA194	0x19
+#define TEGRA234	0x23
 
  #define TEGRA_FUSE_SKU_CALIB_0	0xf0
  #define TEGRA30_FUSE_SATA_CALIB	0x124

Also, can you make the commit message something like "soc/tegra: Add defines for Tegra186+ chip IDs"?

thanks,
Mikko

#2 lore raw
Quoted 47 lines

-----Original Message-----
From: Mikko Perttunen <[email protected]>
Sent: Friday, June 26, 2020 4:20 PM
To: Sandipan Patra <[email protected]>; Thierry Reding <[email protected]>; Jonathan Hunter <[email protected]>
Cc: Bibek Basu <[email protected]>; Krishna Yarlagadda <[email protected]>; [email protected]; linux- [email protected]
Subject: Re: [PATCH] soc/tegra: Add Tegra Soc Version support

External email: Use caution opening links or attachments

Quoted 2 lines · Sandipan Patra

Add the chip IDs for NVIDIA Tegra186, Tegra194 and Tegra234 SoC family.

families

Quoted 26 lines
---
  include/soc/tegra/fuse.h | 5 ++++-
  1 file changed, 4 insertions(+), 1 deletion(-)
include/soc/tegra/fuse.h index renamed from include/soc/tegra/fuse.h +0 -0

252ea20..4a5236b 100644

include/soc/tegra/fuse.h +4 -1
@@ -1,6 +1,6 @@
  /* SPDX-License-Identifier: GPL-2.0-only */
  /*
- * Copyright (c) 2012, NVIDIA CORPORATION.  All rights reserved.
+ * Copyright (c) 2012-2020, NVIDIA CORPORATION.  All rights reserved.
   */
 
  #ifndef __SOC_TEGRA_FUSE_H__
@@ -12,6 +12,9 @@
  #define TEGRA124    0x40
  #define TEGRA132    0x13
  #define TEGRA210    0x21
+#define TEGRA186     0x18
+#define TEGRA194     0x19
+#define TEGRA234     0x23
 
Quoted 6 lines

include/soc/tegra/fuse.h line 20

Quoted 3 lines
include/soc/tegra/fuse.h +0 -0
  #define TEGRA_FUSE_SKU_CALIB_0      0xf0
  #define TEGRA30_FUSE_SATA_CALIB     0x124

Also, can you make the commit message something like "soc/tegra: Add defines for Tegra186+ chip IDs"?

Ok, will place this exactly.

Thanks & Regards,
Sandipan

Quoted 3 lines

thanks,
Mikko