diff mbox series

[v2,15/19] soc: soc_ti_k3: Add device identification for J7200 SoC

Message ID 20200805171431.5737-16-lokeshvutla@ti.com
State Superseded
Headers show
Series None | expand

Commit Message

Lokesh Vutla Aug. 5, 2020, 5:14 p.m. UTC
From: Kishon Vijay Abraham I <kishon@ti.com>


Add device identification for J7200 SoC

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>

---
 drivers/soc/soc_ti_k3.c | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.23.0

Comments

Suman Anna Aug. 6, 2020, 1:50 p.m. UTC | #1
On 8/5/20 12:14 PM, Lokesh Vutla wrote:
> From: Kishon Vijay Abraham I <kishon@ti.com>

> 

> Add device identification for J7200 SoC

> 

> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>


Reviewed-by: Suman Anna <s-anna@ti.com>


> ---

>  drivers/soc/soc_ti_k3.c | 4 ++++

>  1 file changed, 4 insertions(+)

> 

> diff --git a/drivers/soc/soc_ti_k3.c b/drivers/soc/soc_ti_k3.c

> index ae23ef7475..94285403ca 100644

> --- a/drivers/soc/soc_ti_k3.c

> +++ b/drivers/soc/soc_ti_k3.c

> @@ -12,6 +12,7 @@

>  

>  #define AM65X			0xbb5a

>  #define J721E			0xbb64

> +#define J7200			0xbb6d

>  

>  #define REV_SR1_0		0

>  #define REV_SR2_0		1

> @@ -40,6 +41,9 @@ static const char *get_family_string(u32 idreg)

>  	case J721E:

>  		family = "J721E";

>  		break;

> +	case J7200:

> +		family = "J7200";

> +		break;

>  	default:

>  		family = "Unknown Silicon";

>  	};

>
diff mbox series

Patch

diff --git a/drivers/soc/soc_ti_k3.c b/drivers/soc/soc_ti_k3.c
index ae23ef7475..94285403ca 100644
--- a/drivers/soc/soc_ti_k3.c
+++ b/drivers/soc/soc_ti_k3.c
@@ -12,6 +12,7 @@ 
 
 #define AM65X			0xbb5a
 #define J721E			0xbb64
+#define J7200			0xbb6d
 
 #define REV_SR1_0		0
 #define REV_SR2_0		1
@@ -40,6 +41,9 @@  static const char *get_family_string(u32 idreg)
 	case J721E:
 		family = "J721E";
 		break;
+	case J7200:
+		family = "J7200";
+		break;
 	default:
 		family = "Unknown Silicon";
 	};