dt-bindings: arm: altera: deprecate intel,socfpga-agilex72
Subsystems (2)
Dinh Nguyen
maintainerPATCH 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
@@ -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
Dinh Nguyen
maintainerPATCH 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
@@ -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
@@ -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
@@ -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
[email protected]
AI reviewRe: [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@@ -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
Re: [PATCH 2/2] arm64: dts: altera: Add support for the Agilex27 SoCDK
In reply to Dinh NguyenQuoted 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@@ -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
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.
Signed-off-by Dinh Nguyen <[email protected]>--- Documentation/devicetree/bindings/arm/altera.yaml | 7 +++++++ 1 file changed, 7 insertions(+)Documentation/devicetree/bindings/arm/altera.yaml +6
-0@@ -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