Re: [PATCHv1 3/7] fpga: stratix10-soc: add compatible property value for intel agilex

From: Moritz Fischer
Date: Sun Mar 01 2020 - 11:26:07 EST


On Fri, Feb 14, 2020 at 10:00:48AM -0600, richard.gong@xxxxxxxxxxxxxxx wrote:
> From: Richard Gong <richard.gong@xxxxxxxxx>
>
> Add compatible property value so we can reuse FPGA manager driver on
> Intel Agilex SoC platform.
>
> Signed-off-by: Richard Gong <richard.gong@xxxxxxxxx>
> ---
> drivers/fpga/stratix10-soc.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/fpga/stratix10-soc.c b/drivers/fpga/stratix10-soc.c
> index 215d337..bac93d0 100644
> --- a/drivers/fpga/stratix10-soc.c
> +++ b/drivers/fpga/stratix10-soc.c
> @@ -482,7 +482,8 @@ static int s10_remove(struct platform_device *pdev)
> }
>
> static const struct of_device_id s10_of_match[] = {
> - { .compatible = "intel,stratix10-soc-fpga-mgr", },
> + {.compatible = "intel,stratix10-soc-fpga-mgr"},
> + {.compatible = "intel,agilex-soc-fpga-mgr"},
> {},
> };
>
> --
> 2.7.4
>
Applied to for-next,

Thanks