Skip to contentSkip to conversation

dt-bindings: arm: altera: deprecate intel,socfpga-agilex72

PATCH NAK Dinh Nguyen 3 participants 5 messages Oct 14 – Oct 15

Subsystems (2)
lore
Share & tools
lore

Dinh Nguyen

author maintainer
#0 lore raw

PATCH 1/2 dt-bindings: arm: altera: deprecate intel,socfpga-agilex72

The Altera SoCFGPA Agilex72 platform will be rebranded as the Agilex27. Thus the following bindings "intel,socfpga-agilex72" and "intel,socfpga-agilex72-socdk" should no longer be used going forward, so we will deprecate them.

Replace those deprecated bindings with "altr,socfpga-agilex27" and "altr,socfpga-agilex27-socdk" bindings for the SoCFPGA Agilex27 platform.

---
 Documentation/devicetree/bindings/arm/altera.yaml | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/devicetree/bindings/arm/altera.yaml +7 -0
index 5fce1161210e7..c87d7725f920e 100644
@@ -99,6 +99,12 @@ properties:
               - intel,socfpga-agilex-socdk-emmc
           - const: intel,socfpga-agilex
 
+      - description: Agilex27 boards
+        items:
+          - enum:
+              - altr,socfpga-agilex27-socdk
+          - const: altr,socfpga-agilex27
+
       - description: Agilex3 boards
         items:
           - enum:
@@ -123,6 +129,7 @@ properties:
           - enum:
               - intel,socfpga-agilex72-socdk
           - const: intel,socfpga-agilex72
+        deprecated: true
 
       - description: Agilex7m boards
         items:
Signature · 1 line
2.42.0.411.g813d9a9188
author maintainer
#1 lore raw

PATCH 2/2 arm64: dts: altera: Add support for the Agilex27 SoCDK

The SoCFPGA Agilex72 platform is being renamed to Agilex27.

Remove the agilex72 base DTSI and agilex72 devkit dts and replace them with an Agilex27 base DTSI and Agilex27 devkit dts.

---
 arch/arm64/boot/dts/altera/Makefile                         | 2 +-
 .../altera/{socfpga_agilex72.dtsi => socfpga_agilex27.dtsi} | 2 +-
 ...ocfpga_agilex72_socdk.dts => socfpga_agilex27_socdk.dts} | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)
 rename arch/arm64/boot/dts/altera/{socfpga_agilex72.dtsi => socfpga_agilex27.dtsi} (98%)
 rename arch/arm64/boot/dts/altera/{socfpga_agilex72_socdk.dts => socfpga_agilex27_socdk.dts} (67%)
arch/arm64/boot/dts/altera/Makefile +1 -1
index 8f41349103b80..40248dbb5abad 100644
@@ -3,12 +3,12 @@ dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) += socfpga_agilex_n6000.dtb \
 				socfpga_agilex_socdk.dtb \
 				socfpga_agilex_socdk_emmc.dtb \
 				socfpga_agilex_socdk_nand.dtb \
+				socfpga_agilex27_socdk.dtb \
 				socfpga_agilex3_socdk.dtb \
 				socfpga_agilex5_socdk.dtb \
 				socfpga_agilex5_socdk_013b.dtb \
 				socfpga_agilex5_socdk_modular.dtb \
 				socfpga_agilex5_socdk_nand.dtb \
-				socfpga_agilex72_socdk.dtb \
 				socfpga_agilex7m_socdk.dtb \
 				socfpga_n5x_socdk.dtb \
 				socfpga_stratix10_socdk.dtb \
arch/arm64/boot/dts/altera/socfpga_agilex27.dtsi renamed from arch/arm64/boot/dts/altera/socfpga_agilex72.dtsi +1 -1
similarity index 98%
rename from arch/arm64/boot/dts/altera/socfpga_agilex72.dtsi
rename to arch/arm64/boot/dts/altera/socfpga_agilex27.dtsi
index c29c2afcaab70..369981fe85e38 100644
@@ -7,7 +7,7 @@
 #include <dt-bindings/interrupt-controller/irq.h>
 
 / {
-	compatible = "intel,socfpga-agilex72";
+	compatible = "altr,socfpga-agilex27";
 	#address-cells = <2>;
 	#size-cells = <2>;
 
arch/arm64/boot/dts/altera/socfpga_agilex27_socdk.dts renamed from arch/arm64/boot/dts/altera/socfpga_agilex72_socdk.dts +3 -3
similarity index 67%
rename from arch/arm64/boot/dts/altera/socfpga_agilex72_socdk.dts
rename to arch/arm64/boot/dts/altera/socfpga_agilex27_socdk.dts
index 998f19f492b36..15d331cdeeb47 100644
@@ -2,11 +2,11 @@
 /*
  * Copyright (C) 2026, Altera Corporation
  */
-#include "socfpga_agilex72.dtsi"
+#include "socfpga_agilex27.dtsi"
 
 / {
-	model = "Altera SoCFPGA Agilex72 SoCDK";
-	compatible = "intel,socfpga-agilex72-socdk", "intel,socfpga-agilex72";
+	model = "Altera SoCFPGA Agilex27 SoCDK";
+	compatible = "altr,socfpga-agilex27-socdk", "altr,socfpga-agilex27";
 
 	aliases {
 		serial0 = &uart0;
Signature · 1 line
2.42.0.411.g813d9a9188
#2 lore raw

Re: [PATCH 2/2] arm64: dts: altera: Add support for the Agilex27 SoCDK

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] dts: Devicetree ABI breakage via removed compatible strings --

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dts: Devicetree ABI breakage via removed compatible strings
--

commit b7069576f5ba1a0c7e169fe3bc7f1902d040e447
Author: Dinh Nguyen <[email protected]>

arm64: dts: altera: Add support for the Agilex27 SoCDK

The SoCFPGA Agilex72 platform is being renamed to Agilex27. This commit removes the agilex72 base DTSI and devkit DTS files, replacing them with new ones for Agilex27.

[ ... ]

Quoted 9 lines
arch/arm64/boot/dts/altera/socfpga_agilex27_socdk.dts renamed from arch/arm64/boot/dts/altera/socfpga_agilex72_socdk.dts +0 -0
similarity index 67%
rename from arch/arm64/boot/dts/altera/socfpga_agilex72_socdk.dts
rename to arch/arm64/boot/dts/altera/socfpga_agilex27_socdk.dts
index 998f19f492b36..15d331cdeeb47 100644
@@ -2,11 +2,11 @@
 /*

arch/arm64/boot/dts/altera/socfpga_agilex27_socdk.dts line 9

Quoted 10 lines
arch/arm64/boot/dts/altera/socfpga_agilex27_socdk.dts renamed from arch/arm64/boot/dts/altera/socfpga_agilex72_socdk.dts +3 -3
  * Copyright (C) 2026, Altera Corporation
  */
-#include "socfpga_agilex72.dtsi"
+#include "socfpga_agilex27.dtsi"
 
 / {
-	model = "Altera SoCFPGA Agilex72 SoCDK";
-	compatible = "intel,socfpga-agilex72-socdk", "intel,socfpga-agilex72";
+	model = "Altera SoCFPGA Agilex27 SoCDK";
+	compatible = "altr,socfpga-agilex27-socdk", "altr,socfpga-agilex27";

[Severity: Medium]
Does removing the older compatible strings break devicetree ABI compatibility?

If existing bootloaders or user-space software expect to match against intel,socfpga-agilex72 or intel,socfpga-agilex72-socdk, replacing them entirely might cause them to fail to boot or bind to this board.

Should the old compatible strings be retained as a fallback in the root node to ensure backward compatibility?

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2
#3 lore raw

Re: [PATCH 2/2] arm64: dts: altera: Add support for the Agilex27 SoCDK

In reply to Dinh Nguyen
Quoted 9 lines · Dinh Nguyen
arch/arm64/boot/dts/altera/socfpga_agilex27_socdk.dts renamed from arch/arm64/boot/dts/altera/socfpga_agilex72_socdk.dts +0 -0
similarity index 67%
rename from arch/arm64/boot/dts/altera/socfpga_agilex72_socdk.dts
rename to arch/arm64/boot/dts/altera/socfpga_agilex27_socdk.dts
index 998f19f492b36..15d331cdeeb47 100644
@@ -2,11 +2,11 @@
 /*

arch/arm64/boot/dts/altera/socfpga_agilex27_socdk.dts line 9

Quoted 10 lines
arch/arm64/boot/dts/altera/socfpga_agilex27_socdk.dts renamed from arch/arm64/boot/dts/altera/socfpga_agilex72_socdk.dts +3 -3
  * Copyright (C) 2026, Altera Corporation
  */
-#include "socfpga_agilex72.dtsi"
+#include "socfpga_agilex27.dtsi"
 
 / {
-	model = "Altera SoCFPGA Agilex72 SoCDK";
-	compatible = "intel,socfpga-agilex72-socdk", "intel,socfpga-agilex72";
+	model = "Altera SoCFPGA Agilex27 SoCDK";
+	compatible = "altr,socfpga-agilex27-socdk", "altr,socfpga-agilex27";

NAK, breaks users without a reason. Rebranding is not a reason.

Best regards,
Krzysztof

#4 lore raw
In reply to Dinh Nguyen
Quoted 3 lines · Dinh Nguyen

The Altera SoCFGPA Agilex72 platform will be rebranded as the Agilex27. Thus the following bindings "intel,socfpga-agilex72" and "intel,socfpga-agilex72-socdk" should no longer be used going forward, so we will deprecate them.

Please run scripts/checkpatch.pl on the patches and fix reported warnings. After that, run also 'scripts/checkpatch.pl --strict' on the patches and (probably) fix more warnings. Some warnings can be ignored, especially from --strict run, but the code here looks like it needs a fix. Feel free to get in touch if the warning is not clear.

Quoted 27 lines

Replace those deprecated bindings with "altr,socfpga-agilex27" and "altr,socfpga-agilex27-socdk" bindings for the SoCFPGA Agilex27 platform.

---
 Documentation/devicetree/bindings/arm/altera.yaml | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/devicetree/bindings/arm/altera.yaml +6 -0
index 5fce1161210e7..c87d7725f920e 100644
@@ -99,6 +99,12 @@ properties:
               - intel,socfpga-agilex-socdk-emmc
           - const: intel,socfpga-agilex
 
+      - description: Agilex27 boards
+        items:
+          - enum:
+              - altr,socfpga-agilex27-socdk
+          - const: altr,socfpga-agilex27
+
       - description: Agilex3 boards
         items:
           - enum:

Documentation/devicetree/bindings/arm/altera.yaml properties: · line 133

Quoted 5 lines
Documentation/devicetree/bindings/arm/altera.yaml +1 -0
@@ -123,6 +129,7 @@ properties:
           - enum:
               - intel,socfpga-agilex72-socdk
           - const: intel,socfpga-agilex72
+        deprecated: true
 

No. We DO NOT rename or deprecate compatibles because company decided to rebrand something.

Best regards,
Krzysztof