2020-06-26 11:54:08

by Sandipan Patra

[permalink] [raw]
Subject: [PATCH] soc/tegra: Add Tegra Soc Version support

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

Signed-off-by: Sandipan Patra <[email protected]>
---
include/soc/tegra/fuse.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/include/soc/tegra/fuse.h b/include/soc/tegra/fuse.h
index 252ea20..4a5236b 100644
--- a/include/soc/tegra/fuse.h
+++ b/include/soc/tegra/fuse.h
@@ -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
--
2.7.4


2020-06-26 12:10:32

by Sandipan Patra

[permalink] [raw]
Subject: RE: [PATCH] soc/tegra: Add Tegra Soc Version support



> -----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
>
>
> On 6/26/20 1:29 PM, Sandipan Patra wrote:
> > Add the chip IDs for NVIDIA Tegra186, Tegra194 and Tegra234 SoC
> > family.
>
> families
>
> >
> > Signed-off-by: Sandipan Patra <[email protected]>
> > ---
> > include/soc/tegra/fuse.h | 5 ++++-
> > 1 file changed, 4 insertions(+), 1 deletion(-)
> >
> > diff --git a/include/soc/tegra/fuse.h b/include/soc/tegra/fuse.h index
> > 252ea20..4a5236b 100644
> > --- a/include/soc/tegra/fuse.h
> > +++ b/include/soc/tegra/fuse.h
> > @@ -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
> >
>
> 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

>
> thanks,
> Mikko

2020-06-26 12:19:59

by Mikko Perttunen

[permalink] [raw]
Subject: Re: [PATCH] soc/tegra: Add Tegra Soc Version support

On 6/26/20 1:29 PM, Sandipan Patra wrote:
> Add the chip IDs for NVIDIA Tegra186, Tegra194 and Tegra234
> SoC family.

families

>
> Signed-off-by: Sandipan Patra <[email protected]>
> ---
> include/soc/tegra/fuse.h | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/include/soc/tegra/fuse.h b/include/soc/tegra/fuse.h
> index 252ea20..4a5236b 100644
> --- a/include/soc/tegra/fuse.h
> +++ b/include/soc/tegra/fuse.h
> @@ -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
>

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

thanks,
Mikko