[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zqe7yoAMIJ+Qv8YC@yilunxu-OptiPlex-7050>
Date: Mon, 29 Jul 2024 23:56:58 +0800
From: Xu Yilun <yilun.xu@...ux.intel.com>
To: Nava kishore Manne <nava.kishore.manne@....com>
Cc: git@....com, mdf@...nel.org, hao.wu@...el.com, yilun.xu@...el.com,
trix@...hat.com, robh@...nel.org, saravanak@...gle.com,
linux-fpga@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org
Subject: Re: [RFC 1/1] of-fpga-region: Add sysfs interface support for FPGA
configuration
On Fri, Jul 26, 2024 at 12:08:19PM +0530, Nava kishore Manne wrote:
> Adds sysfs interface as part of the of-fpga-region. This newly added
> sysfs interface uses Device Tree Overlay (DTO) files to configure/reprogram
> an FPGA while an operating system is running.This solution will not change
> the existing sequence When a DT overlay that targets an FPGA Region is
> applied.
> - Disable appropriate FPGA bridges.
> - Program the FPGA using the FPGA manager.
> - Enable the FPGA bridges.
> - The Device Tree overlay is accepted into the live tree.
> - Child devices are populated.
>
> When the overlay is removed, the child nodes will be removed, and the FPGA
> Region will disable the bridges.
>
> Usage:
> To configure/reprogram an FPGA region:
> echo "fpga.dtbo" > /sys/class/fpga_region/<region>/device/load
IIRC, last time we are considering some generic interface for both OF &
non-OF FPGA region, but this is still OF specific.
Thanks,
Yilun
Powered by blists - more mailing lists