Re: [PATCH v3 1/2] dt-bindings: fpga: stratix10: add support for Agilex5

From: Conor Dooley

Date: Fri Nov 14 2025 - 12:59:34 EST


On Fri, Nov 14, 2025 at 02:27:41PM +0800, Khairul Anuar Romli wrote:
> Agilex5 introduces changes in how reserved memory is mapped and accessed
> compared to previous SoC generations. Agilex5 compatible allows stratix10-
> FPGA manager driver to handle these changes.
>
> Fallback is added for driver probe and init that rely on matching of table
> and DT node.
>
> Reviewed-by: Xu Yilun <yilun.xu@xxxxxxxxx>
> Signed-off-by: Khairul Anuar Romli <khairul.anuar.romli@xxxxxxxxxx>
> ---
> Changes in v3:
> - Add description for Agilex5 Device
> - Add and define fallback to "intel,agilex-soc-fpga-mgr"
> - Validate against Agilex and Stratix10 (non-fallback) and Agilex5
> (fallback)
> Changes in v2:
> - No changes in this patch
> ---
> .../fpga/intel,stratix10-soc-fpga-mgr.yaml | 14 +++++++++++---
> 1 file changed, 11 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/fpga/intel,stratix10-soc-fpga-mgr.yaml b/Documentation/devicetree/bindings/fpga/intel,stratix10-soc-fpga-mgr.yaml
> index 6e536d6b28a9..8eb414163d08 100644
> --- a/Documentation/devicetree/bindings/fpga/intel,stratix10-soc-fpga-mgr.yaml
> +++ b/Documentation/devicetree/bindings/fpga/intel,stratix10-soc-fpga-mgr.yaml
> @@ -20,9 +20,17 @@ description:
>
> properties:
> compatible:
> - enum:
> - - intel,stratix10-soc-fpga-mgr
> - - intel,agilex-soc-fpga-mgr
> + oneOf:
> + - items:
> + - enum:

This construct is redundant, "items: - enum" is the same as just having
"enum".
pw-bot: changes-requested

> + - intel,stratix10-soc-fpga-mgr
> + - intel,agilex-soc-fpga-mgr
> +
> + - description: Agilex5 Device
> + items:
> + - enum:
> + - intel,agilex5-soc-fpga-mgr
> + - const: intel,agilex-soc-fpga-mgr
>
> required:
> - compatible
> --
> 2.43.7
>

Attachment: signature.asc
Description: PGP signature