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

From: Conor Dooley

Date: Tue Nov 18 2025 - 14:07:55 EST


On Tue, Nov 18, 2025 at 09:11:42AM +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 v4:
> - Remove redundant "items - enum" as suggested in v3.
> - Simplify compatible property to use contains instead of oneOf.
> - Validate fallback and non-fallback DT. Also validate binding with
> dt_binding_check.

What are you doing?? You've been told several times exactly what to do
and yet you keep conjuring up completely random different things.
Using contains instead of the oneOf construct that was being done before
is *not* a simplification, it is functionally different.

NAK. Go do what you were told to do.

pw-bot: changes-requested

> 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
> ---
> .../bindings/fpga/intel,stratix10-soc-fpga-mgr.yaml | 8 +++++---
> 1 file changed, 5 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..65c737a4734c 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,11 @@ description:
>
> properties:
> compatible:
> - enum:
> - - intel,stratix10-soc-fpga-mgr
> - - intel,agilex-soc-fpga-mgr
> + contains:
> + enum:
> + - intel,stratix10-soc-fpga-mgr
> + - intel,agilex-soc-fpga-mgr
> + - intel,agilex5-soc-fpga-mgr
>
> required:
> - compatible
> --
> 2.43.7
>

Attachment: signature.asc
Description: PGP signature