public inbox for linux-edac@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] i3c: dw: Add AMD VersalNet I3C compatible string
@ 2026-04-21 10:30 Shubhrajyoti Datta
  2026-04-21 10:30 ` [PATCH 1/2] dt-bindings: i3c: dw: Add VersalNet " Shubhrajyoti Datta
  2026-04-21 10:30 ` [PATCH 2/2] " Shubhrajyoti Datta
  0 siblings, 2 replies; 5+ messages in thread
From: Shubhrajyoti Datta @ 2026-04-21 10:30 UTC (permalink / raw)
  To: linux-edac
  Cc: git, shubhrajyoti.datta, Alexandre Belloni, Frank Li, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-i3c, devicetree,
	linux-kernel

This series adds support for the AMD VersalNet SoC to the
Synopsys DesignWare I3C master driver by introducing the
vendor-specific compatible string amd,versalnet-dw-i3c-master
for I3C in VersalNet platforms.

The request for the addition was in the below thread
https://lore.kernel.org/all/LV5PR12MB9828D700D168803CBD022A708151A@LV5PR12MB9828.namprd12.prod.outlook.com/


Shubhrajyoti Datta (2):
  dt-bindings: i3c: dw: Add VersalNet compatible string
  i3c: dw: Add VersalNet compatible string

 Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.yaml | 1 +
 drivers/i3c/master/dw-i3c-master.c                            | 1 +
 2 files changed, 2 insertions(+)

-- 
2.34.1


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

* [PATCH 1/2] dt-bindings: i3c: dw: Add VersalNet compatible string
  2026-04-21 10:30 [PATCH 0/2] i3c: dw: Add AMD VersalNet I3C compatible string Shubhrajyoti Datta
@ 2026-04-21 10:30 ` Shubhrajyoti Datta
  2026-04-21 17:17   ` Conor Dooley
  2026-04-21 10:30 ` [PATCH 2/2] " Shubhrajyoti Datta
  1 sibling, 1 reply; 5+ messages in thread
From: Shubhrajyoti Datta @ 2026-04-21 10:30 UTC (permalink / raw)
  To: linux-edac
  Cc: git, shubhrajyoti.datta, Alexandre Belloni, Frank Li, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-i3c, devicetree,
	linux-kernel

Add amd,versalnet-dw-i3c-master as a vendor-specific compatible
for the i3c ip available on Versal NET SOC.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>
---

 Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.yaml b/Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.yaml
index e803457d3f55..98dafec0ace5 100644
--- a/Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.yaml
+++ b/Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.yaml
@@ -18,6 +18,7 @@ properties:
       - const: snps,dw-i3c-master-1.00a
       - items:
           - const: altr,agilex5-dw-i3c-master
+          - const: amd,versalnet-dw-i3c-master
           - const: snps,dw-i3c-master-1.00a
 
   reg:
-- 
2.34.1


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

* [PATCH 2/2] i3c: dw: Add VersalNet compatible string
  2026-04-21 10:30 [PATCH 0/2] i3c: dw: Add AMD VersalNet I3C compatible string Shubhrajyoti Datta
  2026-04-21 10:30 ` [PATCH 1/2] dt-bindings: i3c: dw: Add VersalNet " Shubhrajyoti Datta
@ 2026-04-21 10:30 ` Shubhrajyoti Datta
  2026-04-21 17:17   ` Conor Dooley
  1 sibling, 1 reply; 5+ messages in thread
From: Shubhrajyoti Datta @ 2026-04-21 10:30 UTC (permalink / raw)
  To: linux-edac
  Cc: git, shubhrajyoti.datta, Alexandre Belloni, Frank Li, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-i3c, devicetree,
	linux-kernel

Add amd,versalnet-dw-i3c-master to the of_match table with
snps,dw-i3c-master-1.00a as the generic fallback.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>
---

 drivers/i3c/master/dw-i3c-master.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/i3c/master/dw-i3c-master.c b/drivers/i3c/master/dw-i3c-master.c
index d6bdb32397fb..69fef7fdda37 100644
--- a/drivers/i3c/master/dw-i3c-master.c
+++ b/drivers/i3c/master/dw-i3c-master.c
@@ -1845,6 +1845,7 @@ static const struct of_device_id dw_i3c_master_of_match[] = {
 	{ .compatible = "altr,agilex5-dw-i3c-master",
 	  .data = &altr_agilex5_drvdata,
 	},
+	{ .compatible = "amd,versalnet-dw-i3c-master", },
 	{},
 };
 MODULE_DEVICE_TABLE(of, dw_i3c_master_of_match);
-- 
2.34.1


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

* Re: [PATCH 1/2] dt-bindings: i3c: dw: Add VersalNet compatible string
  2026-04-21 10:30 ` [PATCH 1/2] dt-bindings: i3c: dw: Add VersalNet " Shubhrajyoti Datta
@ 2026-04-21 17:17   ` Conor Dooley
  0 siblings, 0 replies; 5+ messages in thread
From: Conor Dooley @ 2026-04-21 17:17 UTC (permalink / raw)
  To: Shubhrajyoti Datta
  Cc: linux-edac, git, shubhrajyoti.datta, Alexandre Belloni, Frank Li,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-i3c,
	devicetree, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1340 bytes --]

On Tue, Apr 21, 2026 at 04:00:58PM +0530, Shubhrajyoti Datta wrote:
> Add amd,versalnet-dw-i3c-master as a vendor-specific compatible
> for the i3c ip available on Versal NET SOC.
> 
> Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>
> ---
> 
>  Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.yaml b/Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.yaml
> index e803457d3f55..98dafec0ace5 100644
> --- a/Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.yaml
> +++ b/Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.yaml
> @@ -18,6 +18,7 @@ properties:
>        - const: snps,dw-i3c-master-1.00a
>        - items:
>            - const: altr,agilex5-dw-i3c-master
> +          - const: amd,versalnet-dw-i3c-master
>            - const: snps,dw-i3c-master-1.00a

Yeah, no... This will just introduce warnings for the existing platform
and is incorrect on your platform because the altera compatible will
match before yours, dragging in the quirk that platform has.

You need to make this into and enum with your new compatible and the
altera one, with a fallback to the snps one.

pw-bot: changes-requested

>  
>    reg:
> -- 
> 2.34.1
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH 2/2] i3c: dw: Add VersalNet compatible string
  2026-04-21 10:30 ` [PATCH 2/2] " Shubhrajyoti Datta
@ 2026-04-21 17:17   ` Conor Dooley
  0 siblings, 0 replies; 5+ messages in thread
From: Conor Dooley @ 2026-04-21 17:17 UTC (permalink / raw)
  To: Shubhrajyoti Datta
  Cc: linux-edac, git, shubhrajyoti.datta, Alexandre Belloni, Frank Li,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-i3c,
	devicetree, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 996 bytes --]

On Tue, Apr 21, 2026 at 04:00:59PM +0530, Shubhrajyoti Datta wrote:
> Add amd,versalnet-dw-i3c-master to the of_match table with
> snps,dw-i3c-master-1.00a as the generic fallback.
> 
> Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>
> ---
> 
>  drivers/i3c/master/dw-i3c-master.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/i3c/master/dw-i3c-master.c b/drivers/i3c/master/dw-i3c-master.c
> index d6bdb32397fb..69fef7fdda37 100644
> --- a/drivers/i3c/master/dw-i3c-master.c
> +++ b/drivers/i3c/master/dw-i3c-master.c
> @@ -1845,6 +1845,7 @@ static const struct of_device_id dw_i3c_master_of_match[] = {
>  	{ .compatible = "altr,agilex5-dw-i3c-master",
>  	  .data = &altr_agilex5_drvdata,
>  	},
> +	{ .compatible = "amd,versalnet-dw-i3c-master", },

This shouldn't be needed, you use the snps compatible as a fallback and
have no driver data.

>  	{},
>  };
>  MODULE_DEVICE_TABLE(of, dw_i3c_master_of_match);
> -- 
> 2.34.1
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

end of thread, other threads:[~2026-04-21 17:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-21 10:30 [PATCH 0/2] i3c: dw: Add AMD VersalNet I3C compatible string Shubhrajyoti Datta
2026-04-21 10:30 ` [PATCH 1/2] dt-bindings: i3c: dw: Add VersalNet " Shubhrajyoti Datta
2026-04-21 17:17   ` Conor Dooley
2026-04-21 10:30 ` [PATCH 2/2] " Shubhrajyoti Datta
2026-04-21 17:17   ` Conor Dooley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox