All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: at91: add support in soc driver for new SAMA5D29
@ 2022-03-02 15:53 ` nicolas.ferre
  0 siblings, 0 replies; 6+ messages in thread
From: nicolas.ferre @ 2022-03-02 15:53 UTC (permalink / raw)
  To: linux-arm-kernel, Alexandre Belloni, Claudiu Beznea
  Cc: linux-kernel, Mihai Sain

From: Mihai Sain <mihai.sain@microchip.com>

Add detection of new SAMA5D29 by the SoC driver.

Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
---
 drivers/soc/atmel/soc.c | 3 +++
 drivers/soc/atmel/soc.h | 1 +
 2 files changed, 4 insertions(+)

diff --git a/drivers/soc/atmel/soc.c b/drivers/soc/atmel/soc.c
index a490ad7e090f..b2d365ae0282 100644
--- a/drivers/soc/atmel/soc.c
+++ b/drivers/soc/atmel/soc.c
@@ -156,6 +156,9 @@ static const struct at91_soc socs[] __initconst = {
 	AT91_SOC(SAMA5D2_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
 		 AT91_CIDR_VERSION_MASK, SAMA5D28C_LD2G_EXID_MATCH,
 		 "sama5d28c 256MiB LPDDR2 SiP", "sama5d2"),
+	AT91_SOC(SAMA5D2_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
+		 AT91_CIDR_VERSION_MASK, SAMA5D29CN_EXID_MATCH,
+		 "sama5d29", "sama5d2"),
 	AT91_SOC(SAMA5D3_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
 		 AT91_CIDR_VERSION_MASK, SAMA5D31_EXID_MATCH,
 		 "sama5d31", "sama5d3"),
diff --git a/drivers/soc/atmel/soc.h b/drivers/soc/atmel/soc.h
index c3eb3c8f0834..2ecaa75b00f0 100644
--- a/drivers/soc/atmel/soc.h
+++ b/drivers/soc/atmel/soc.h
@@ -95,6 +95,7 @@ at91_soc_init(const struct at91_soc *socs);
 #define SAMA5D28C_LD2G_EXID_MATCH	0x00000072
 #define SAMA5D28CU_EXID_MATCH		0x00000010
 #define SAMA5D28CN_EXID_MATCH		0x00000020
+#define SAMA5D29CN_EXID_MATCH		0x00000023
 
 #define SAMA5D3_CIDR_MATCH		0x0a5c07c0
 #define SAMA5D31_EXID_MATCH		0x00444300
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] ARM: at91: add support in soc driver for new SAMA5D29
@ 2022-03-02 15:53 ` nicolas.ferre
  0 siblings, 0 replies; 6+ messages in thread
From: nicolas.ferre @ 2022-03-02 15:53 UTC (permalink / raw)
  To: linux-arm-kernel, Alexandre Belloni, Claudiu Beznea
  Cc: linux-kernel, Mihai Sain

From: Mihai Sain <mihai.sain@microchip.com>

Add detection of new SAMA5D29 by the SoC driver.

Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
---
 drivers/soc/atmel/soc.c | 3 +++
 drivers/soc/atmel/soc.h | 1 +
 2 files changed, 4 insertions(+)

diff --git a/drivers/soc/atmel/soc.c b/drivers/soc/atmel/soc.c
index a490ad7e090f..b2d365ae0282 100644
--- a/drivers/soc/atmel/soc.c
+++ b/drivers/soc/atmel/soc.c
@@ -156,6 +156,9 @@ static const struct at91_soc socs[] __initconst = {
 	AT91_SOC(SAMA5D2_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
 		 AT91_CIDR_VERSION_MASK, SAMA5D28C_LD2G_EXID_MATCH,
 		 "sama5d28c 256MiB LPDDR2 SiP", "sama5d2"),
+	AT91_SOC(SAMA5D2_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
+		 AT91_CIDR_VERSION_MASK, SAMA5D29CN_EXID_MATCH,
+		 "sama5d29", "sama5d2"),
 	AT91_SOC(SAMA5D3_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
 		 AT91_CIDR_VERSION_MASK, SAMA5D31_EXID_MATCH,
 		 "sama5d31", "sama5d3"),
diff --git a/drivers/soc/atmel/soc.h b/drivers/soc/atmel/soc.h
index c3eb3c8f0834..2ecaa75b00f0 100644
--- a/drivers/soc/atmel/soc.h
+++ b/drivers/soc/atmel/soc.h
@@ -95,6 +95,7 @@ at91_soc_init(const struct at91_soc *socs);
 #define SAMA5D28C_LD2G_EXID_MATCH	0x00000072
 #define SAMA5D28CU_EXID_MATCH		0x00000010
 #define SAMA5D28CN_EXID_MATCH		0x00000020
+#define SAMA5D29CN_EXID_MATCH		0x00000023
 
 #define SAMA5D3_CIDR_MATCH		0x0a5c07c0
 #define SAMA5D31_EXID_MATCH		0x00444300
-- 
2.32.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] ARM: at91: add support in soc driver for new SAMA5D29
  2022-03-02 15:53 ` nicolas.ferre
@ 2022-03-03  8:19   ` Claudiu.Beznea
  -1 siblings, 0 replies; 6+ messages in thread
From: Claudiu.Beznea @ 2022-03-03  8:19 UTC (permalink / raw)
  To: Nicolas.Ferre, linux-arm-kernel, alexandre.belloni
  Cc: linux-kernel, Mihai.Sain

On 02.03.2022 17:53, nicolas.ferre@microchip.com wrote:
> From: Mihai Sain <mihai.sain@microchip.com>
> 
> Add detection of new SAMA5D29 by the SoC driver.
> 
> Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
> Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>

Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>

> ---
>  drivers/soc/atmel/soc.c | 3 +++
>  drivers/soc/atmel/soc.h | 1 +
>  2 files changed, 4 insertions(+)
> 
> diff --git a/drivers/soc/atmel/soc.c b/drivers/soc/atmel/soc.c
> index a490ad7e090f..b2d365ae0282 100644
> --- a/drivers/soc/atmel/soc.c
> +++ b/drivers/soc/atmel/soc.c
> @@ -156,6 +156,9 @@ static const struct at91_soc socs[] __initconst = {
>  	AT91_SOC(SAMA5D2_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
>  		 AT91_CIDR_VERSION_MASK, SAMA5D28C_LD2G_EXID_MATCH,
>  		 "sama5d28c 256MiB LPDDR2 SiP", "sama5d2"),
> +	AT91_SOC(SAMA5D2_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
> +		 AT91_CIDR_VERSION_MASK, SAMA5D29CN_EXID_MATCH,
> +		 "sama5d29", "sama5d2"),
>  	AT91_SOC(SAMA5D3_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
>  		 AT91_CIDR_VERSION_MASK, SAMA5D31_EXID_MATCH,
>  		 "sama5d31", "sama5d3"),
> diff --git a/drivers/soc/atmel/soc.h b/drivers/soc/atmel/soc.h
> index c3eb3c8f0834..2ecaa75b00f0 100644
> --- a/drivers/soc/atmel/soc.h
> +++ b/drivers/soc/atmel/soc.h
> @@ -95,6 +95,7 @@ at91_soc_init(const struct at91_soc *socs);
>  #define SAMA5D28C_LD2G_EXID_MATCH	0x00000072
>  #define SAMA5D28CU_EXID_MATCH		0x00000010
>  #define SAMA5D28CN_EXID_MATCH		0x00000020
> +#define SAMA5D29CN_EXID_MATCH		0x00000023
>  
>  #define SAMA5D3_CIDR_MATCH		0x0a5c07c0
>  #define SAMA5D31_EXID_MATCH		0x00444300


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ARM: at91: add support in soc driver for new SAMA5D29
@ 2022-03-03  8:19   ` Claudiu.Beznea
  0 siblings, 0 replies; 6+ messages in thread
From: Claudiu.Beznea @ 2022-03-03  8:19 UTC (permalink / raw)
  To: Nicolas.Ferre, linux-arm-kernel, alexandre.belloni
  Cc: linux-kernel, Mihai.Sain

On 02.03.2022 17:53, nicolas.ferre@microchip.com wrote:
> From: Mihai Sain <mihai.sain@microchip.com>
> 
> Add detection of new SAMA5D29 by the SoC driver.
> 
> Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
> Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>

Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>

> ---
>  drivers/soc/atmel/soc.c | 3 +++
>  drivers/soc/atmel/soc.h | 1 +
>  2 files changed, 4 insertions(+)
> 
> diff --git a/drivers/soc/atmel/soc.c b/drivers/soc/atmel/soc.c
> index a490ad7e090f..b2d365ae0282 100644
> --- a/drivers/soc/atmel/soc.c
> +++ b/drivers/soc/atmel/soc.c
> @@ -156,6 +156,9 @@ static const struct at91_soc socs[] __initconst = {
>  	AT91_SOC(SAMA5D2_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
>  		 AT91_CIDR_VERSION_MASK, SAMA5D28C_LD2G_EXID_MATCH,
>  		 "sama5d28c 256MiB LPDDR2 SiP", "sama5d2"),
> +	AT91_SOC(SAMA5D2_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
> +		 AT91_CIDR_VERSION_MASK, SAMA5D29CN_EXID_MATCH,
> +		 "sama5d29", "sama5d2"),
>  	AT91_SOC(SAMA5D3_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
>  		 AT91_CIDR_VERSION_MASK, SAMA5D31_EXID_MATCH,
>  		 "sama5d31", "sama5d3"),
> diff --git a/drivers/soc/atmel/soc.h b/drivers/soc/atmel/soc.h
> index c3eb3c8f0834..2ecaa75b00f0 100644
> --- a/drivers/soc/atmel/soc.h
> +++ b/drivers/soc/atmel/soc.h
> @@ -95,6 +95,7 @@ at91_soc_init(const struct at91_soc *socs);
>  #define SAMA5D28C_LD2G_EXID_MATCH	0x00000072
>  #define SAMA5D28CU_EXID_MATCH		0x00000010
>  #define SAMA5D28CN_EXID_MATCH		0x00000020
> +#define SAMA5D29CN_EXID_MATCH		0x00000023
>  
>  #define SAMA5D3_CIDR_MATCH		0x0a5c07c0
>  #define SAMA5D31_EXID_MATCH		0x00444300

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ARM: at91: add support in soc driver for new SAMA5D29
  2022-03-03  8:19   ` Claudiu.Beznea
@ 2022-03-04 11:49     ` Nicolas Ferre
  -1 siblings, 0 replies; 6+ messages in thread
From: Nicolas Ferre @ 2022-03-04 11:49 UTC (permalink / raw)
  To: Claudiu Beznea - M18063, linux-arm-kernel, Alexandre Belloni
  Cc: linux-kernel, Mihai Sain - M19926

On 03/03/2022 at 09:19, Claudiu Beznea - M18063 wrote:
> On 02.03.2022 17:53, nicolas.ferre@microchip.com wrote:
>> From: Mihai Sain <mihai.sain@microchip.com>
>>
>> Add detection of new SAMA5D29 by the SoC driver.
>>
>> Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
>> Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
> 
> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>

Queued in at91-soc for 5.18.

Best regards,
   Nicolas

> 
>> ---
>>   drivers/soc/atmel/soc.c | 3 +++
>>   drivers/soc/atmel/soc.h | 1 +
>>   2 files changed, 4 insertions(+)
>>
>> diff --git a/drivers/soc/atmel/soc.c b/drivers/soc/atmel/soc.c
>> index a490ad7e090f..b2d365ae0282 100644
>> --- a/drivers/soc/atmel/soc.c
>> +++ b/drivers/soc/atmel/soc.c
>> @@ -156,6 +156,9 @@ static const struct at91_soc socs[] __initconst = {
>>   	AT91_SOC(SAMA5D2_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
>>   		 AT91_CIDR_VERSION_MASK, SAMA5D28C_LD2G_EXID_MATCH,
>>   		 "sama5d28c 256MiB LPDDR2 SiP", "sama5d2"),
>> +	AT91_SOC(SAMA5D2_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
>> +		 AT91_CIDR_VERSION_MASK, SAMA5D29CN_EXID_MATCH,
>> +		 "sama5d29", "sama5d2"),
>>   	AT91_SOC(SAMA5D3_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
>>   		 AT91_CIDR_VERSION_MASK, SAMA5D31_EXID_MATCH,
>>   		 "sama5d31", "sama5d3"),
>> diff --git a/drivers/soc/atmel/soc.h b/drivers/soc/atmel/soc.h
>> index c3eb3c8f0834..2ecaa75b00f0 100644
>> --- a/drivers/soc/atmel/soc.h
>> +++ b/drivers/soc/atmel/soc.h
>> @@ -95,6 +95,7 @@ at91_soc_init(const struct at91_soc *socs);
>>   #define SAMA5D28C_LD2G_EXID_MATCH	0x00000072
>>   #define SAMA5D28CU_EXID_MATCH		0x00000010
>>   #define SAMA5D28CN_EXID_MATCH		0x00000020
>> +#define SAMA5D29CN_EXID_MATCH		0x00000023
>>   
>>   #define SAMA5D3_CIDR_MATCH		0x0a5c07c0
>>   #define SAMA5D31_EXID_MATCH		0x00444300
> 


-- 
Nicolas Ferre

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ARM: at91: add support in soc driver for new SAMA5D29
@ 2022-03-04 11:49     ` Nicolas Ferre
  0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Ferre @ 2022-03-04 11:49 UTC (permalink / raw)
  To: Claudiu Beznea - M18063, linux-arm-kernel, Alexandre Belloni
  Cc: linux-kernel, Mihai Sain - M19926

On 03/03/2022 at 09:19, Claudiu Beznea - M18063 wrote:
> On 02.03.2022 17:53, nicolas.ferre@microchip.com wrote:
>> From: Mihai Sain <mihai.sain@microchip.com>
>>
>> Add detection of new SAMA5D29 by the SoC driver.
>>
>> Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
>> Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
> 
> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>

Queued in at91-soc for 5.18.

Best regards,
   Nicolas

> 
>> ---
>>   drivers/soc/atmel/soc.c | 3 +++
>>   drivers/soc/atmel/soc.h | 1 +
>>   2 files changed, 4 insertions(+)
>>
>> diff --git a/drivers/soc/atmel/soc.c b/drivers/soc/atmel/soc.c
>> index a490ad7e090f..b2d365ae0282 100644
>> --- a/drivers/soc/atmel/soc.c
>> +++ b/drivers/soc/atmel/soc.c
>> @@ -156,6 +156,9 @@ static const struct at91_soc socs[] __initconst = {
>>   	AT91_SOC(SAMA5D2_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
>>   		 AT91_CIDR_VERSION_MASK, SAMA5D28C_LD2G_EXID_MATCH,
>>   		 "sama5d28c 256MiB LPDDR2 SiP", "sama5d2"),
>> +	AT91_SOC(SAMA5D2_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
>> +		 AT91_CIDR_VERSION_MASK, SAMA5D29CN_EXID_MATCH,
>> +		 "sama5d29", "sama5d2"),
>>   	AT91_SOC(SAMA5D3_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
>>   		 AT91_CIDR_VERSION_MASK, SAMA5D31_EXID_MATCH,
>>   		 "sama5d31", "sama5d3"),
>> diff --git a/drivers/soc/atmel/soc.h b/drivers/soc/atmel/soc.h
>> index c3eb3c8f0834..2ecaa75b00f0 100644
>> --- a/drivers/soc/atmel/soc.h
>> +++ b/drivers/soc/atmel/soc.h
>> @@ -95,6 +95,7 @@ at91_soc_init(const struct at91_soc *socs);
>>   #define SAMA5D28C_LD2G_EXID_MATCH	0x00000072
>>   #define SAMA5D28CU_EXID_MATCH		0x00000010
>>   #define SAMA5D28CN_EXID_MATCH		0x00000020
>> +#define SAMA5D29CN_EXID_MATCH		0x00000023
>>   
>>   #define SAMA5D3_CIDR_MATCH		0x0a5c07c0
>>   #define SAMA5D31_EXID_MATCH		0x00444300
> 


-- 
Nicolas Ferre

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-03-04 11:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-02 15:53 [PATCH] ARM: at91: add support in soc driver for new SAMA5D29 nicolas.ferre
2022-03-02 15:53 ` nicolas.ferre
2022-03-03  8:19 ` Claudiu.Beznea
2022-03-03  8:19   ` Claudiu.Beznea
2022-03-04 11:49   ` Nicolas Ferre
2022-03-04 11:49     ` Nicolas Ferre

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.