Re: [PATCH] fpga: of-fpga-region: Fail if any bridge is missing

From: Xu Yilun

Date: Fri Dec 19 2025 - 10:56:05 EST


On Thu, Nov 27, 2025 at 04:58:48PM +0100, Romain Gantois wrote:
> When parsing the region bridge list from the "fpga-bridges" device tree
> property, the of-fpga-region driver will silently ignore bridges which fail
> to be obtained, for example due to a missing bridge driver or invalid
> phandle.
>
> This can lead to hardware issues if a region bridge stays coupled when
> partial programming is performed.
>
> Fail if any of the bridges specified in "fpga-bridges" cannot be obtained.
>
> Signed-off-by: Romain Gantois <romain.gantois@xxxxxxxxxxx>

Reviewed-by: Xu Yilun <yilun.xu@xxxxxxxxx>

Applied to for-next, thanks.