sable
* fpga_bridges_put
Signed-off-by: Alan Tull
---
v2: Minor cleanup
v12: Bump version to line up with simple fpga bus
Remove sysfs
Improve get/put functions, get the low level driver too.
Clean up class implementation
Add kernel doc documentation
Rename (un)register_fpga_b
FPGA Regions support programming FPGA under control of the Device
Tree.
Signed-off-by: Alan Tull
---
v9: initial version (this patch added during rest of patchset's v9)
v10: request deferral if fpga mgr or bridges not available yet
cleanup as fpga manager core goes into the real k
Add bindings documentation for Altera SOCFPGA bridges:
* fpga2sdram
* fpga2hps
* hps2fpga
* lwhps2fpga
Signed-off-by: Alan Tull
Signed-off-by: Matthew Gerlach
Signed-off-by: Dinh Nguyen
---
v2: separate into 2 documents for the 2 drivers
v12: bump version to line up with simple-fpga-bus
Add documentation for new FPGA bridge class's sysfs interface.
Signed-off-by: Alan Tull
--
v15: Document added in v15 of patch set
v16: No change to this patch in v16 of patch set
v17: No change to this patch in v17 of patch set
---
Documentation/ABI/testing/sysfs-class-fpga-bridge |
of_overlay_notify_data {
struct device_node *overlay;
struct device_node *target;
};
Signed-off-by: Alan Tull
---
drivers/of/overlay.c | 47 ++-
include/linux/of.h | 25 +
2 files changed, 71 insertions(+), 1 deletion(-)
diff
the bridge during probe. If the property
does not exist, the driver will leave the bridge in its
current state.
Signed-off-by: Alan Tull
Signed-off-by: Matthew Gerlach
Signed-off-by: Dinh Nguyen
---
v2: Use resets instead of directly writing reset registers
v12: Bump version to align with simpl
tree binding document for the Altera
SOCFPGA SDRAM controller that is used to put DDR in
self-refresh mode.
Alan Tull (2):
ARM: socfpga: support suspend to ram
ARM: socfpga: dts: add sdram controller dt binding doc
.../arm/altera/socfpga-sdram-controller.txt| 12 ++
arch
Add binding doc for Altera SOCFPGA SDRAM controller.
Signed-off-by: Alan Tull
---
v4: Add bindings doc
---
.../arm/altera/socfpga-sdram-controller.txt| 12
1 file changed, 12 insertions(+)
create mode 100644
Documentation/devicetree/bindings/arm/altera/socfpga-sdram
/power/state
Signed-off-by: Alan Tull
Cc: Pavel Machek
Cc: Arnd Bergmann
Cc: Dinh Nguyen
Cc: Steffen Trumtrar
---
v2: use Generic on-chip SRAM driver to allocate ocram
rm fncpy_align since generic allocator handles alignment
check __arm_ioremap_exec return code
check for NULL po
Supports a 2 line by 16 character LCD module over I2C.
Alan Tull (2):
newhaven lcd: device tree bindings documentation
add newhaven lcd tty driver on i2c
.../devicetree/bindings/tty/newhaven_lcd.txt | 21 +
drivers/tty/Kconfig|5 +
drivers/tty
Add documention for the newhaven lcd device tree bindings.
Signed-off-by: Alan Tull
---
.../devicetree/bindings/tty/newhaven_lcd.txt | 21
1 file changed, 21 insertions(+)
create mode 100644 Documentation/devicetree/bindings/tty/newhaven_lcd.txt
diff --git a
ghtness can be set from the device tree/plat data.
Brightness can be set from a sysfs file, for example:
* echo 6 > /sys/devices/soc.0/ffc04000.i2c/i2c-0/0-0028/brightness
Signed-off-by: Alan Tull
---
drivers/tty/Kconfig|5 +
drivers/tty/Makefile
aiting for v10 at least tomorrow or even next week.
>
> Linus, for my point of view next version should be fine and final. The
> current code is in a good shape already.
Reviewed, tested v9, looks good.
Alan Tull
>
>>
>> Changes v7 -> v8:
>>- fixed few mino
On Fri, Mar 4, 2016 at 1:44 AM, qiujiang wrote:
> This patch converts device node to fwnode in
> dwapb_port_property for designware gpio driver,
> so as to provide a unified data structure for DT
> and ACPI bindings.
>
> Acked-by: Andy Shevchenko
> Signed-off-by: qiujiang
> ---
> drivers/gpio/g
On Tue, Mar 8, 2016 at 8:26 PM, Linus Walleij wrote:
> On Fri, Mar 4, 2016 at 2:44 PM, qiujiang wrote:
>
>> This patchset adds gpio-signaled acpi events support for power button on
>> hisilicon
>> D02 board.
>>
>> The three patches respectively:
>> - convert device node to fwnode
>>
On Fri, Nov 9, 2018 at 12:58 AM Frank Rowand wrote:
What LTSI's are these patches likely to end up in? Just to be clear,
I'm not pushing for any specific answer, I just want to know what to
expect.
Thanks,
Alan
>
> On 11/8/18 10:56 PM, Frank Rowand wrote:
> > Hi Rob,
> >
> > Please pull the ch
On Mon, Feb 11, 2019 at 1:13 PM Greg Kroah-Hartman
wrote:
>
> On Mon, Feb 11, 2019 at 12:41:40PM -0600, Alan Tull wrote:
> > On Fri, Nov 9, 2018 at 12:58 AM Frank Rowand wrote:
> >
> > What LTSI's are these patches likely to end up in? Just to be clear,
> &g
On Sat, Jan 19, 2019 at 6:41 PM Moritz Fischer
wrote:
>
> On Tue, Jan 15, 2019 at 6:01 PM Alan Tull wrote:
> >
> > The Altera Freeze Bridge should not be restricted to ARCH_SOCFPGA
> > since it can be used on other platforms such as Stratix10.
> >
> > Sig
On Tue, Jan 29, 2019 at 2:09 PM Simon Goldschmidt
wrote:
Hi Simon,
Thanks for submitting. A couple of things...
> diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
> index f365003f0..8f6c1a5d6 100644
> --- a/arch/arm/boot/dts/socfpga.dtsi
> +++ b/arch/arm/boot/dts/s
The Altera Freeze Bridge should not be restricted to ARCH_SOCFPGA
since it can be used on other platforms such as Stratix10.
Signed-off-by: Alan Tull
---
v2: add depends on HAS_IOMEM
v3: put both dependencies on one line
---
drivers/fpga/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1
On Fri, Jan 11, 2019 at 12:42 PM Moritz Fischer
wrote:
Hi Moritz,
>
> Hi Alan,
>
> On Thu, Jan 10, 2019 at 3:06 PM Alan Tull wrote:
> >
> > The Altera Freeze Bridge should not be restricted to ARCH_SOCFPGA
> > since it can be used on other platforms such as St
The Altera Freeze Bridge should not be restricted to ARCH_SOCFPGA
since it can be used on other platforms such as Stratix10.
Signed-off-by: Alan Tull
---
drivers/fpga/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig
index
On Tue, Jan 15, 2019 at 11:47 AM Dinh Nguyen wrote:
>
> minor nit
>
> On 1/14/19 4:33 PM, Alan Tull wrote:
> > The Altera Freeze Bridge should not be restricted to ARCH_SOCFPGA
> > since it can be used on other platforms such as Stratix10.
> >
> > Signed-off
On Wed, Jan 23, 2019 at 10:00 AM Greg KH wrote:
Hi Greg,
>
> On Wed, Jan 23, 2019 at 09:47:56AM -0600, richard.g...@linux.intel.com wrote:
> > From: Richard Gong
> >
> > Add a Kconfig dependency to ensure Intel Stratix10 service layer driver
> > can be built only on the platform that supports i
On Wed, Jan 23, 2019 at 10:42 AM Dinh Nguyen wrote:
>
>
>
> On 1/23/19 10:37 AM, Alan Tull wrote:
> > On Wed, Jan 23, 2019 at 10:00 AM Greg KH wrote:
> >
> > Hi Greg,
> >
> >>
> >> On Wed, Jan 23, 2019 at 09:47:56AM -0600, richard.g...
ec hex filename
>73712032 0940324bb drivers/fpga/altera-ps-spi.o
>
> After:
>textdata bss dec hex filename
>72812096 0937724a1 drivers/fpga/altera-ps-spi.o
>
> (gcc version 8.2.0 x86_64)
>
> Signed-off-by:
tly decreasing the refcount on that node
again.
This patch removes the unwarranted call to of_node_put().
Fixes: e7eef1d7633a ("fpga: add intel stratix10 soc fpga manager driver")
Signed-off-by: Nicolas Saenz Julienne
Acked-by: Alan Tull
Acked-by: Moritz Fischer
---
drivers/fpga/s
The Altera Freeze Bridge should not be restricted to ARCH_SOCFPGA
since it can be used on other platforms such as Stratix10.
Signed-off-by: Alan Tull
Reviewed-by: Moritz Fischer
---
drivers/fpga/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/fpga/Kconfig b
ther two can go in whenever is appropriate.
Thanks,
Alan
Alan Tull (1):
fpga: altera_freeze_bridge: remove restriction to socfpga
Colin Ian King (1):
fpga: mgr: altera-ps-spi: make array dummy static, shrinks object size
Nicolas Saenz Julienne (1):
fpga: stratix10-soc: fix wrong of_nod
data bss dec hex filename
72812096 0937724a1 drivers/fpga/altera-ps-spi.o
(gcc version 8.2.0 x86_64)
Signed-off-by: Colin Ian King
Acked-by: Alan Tull
Acked-by: Moritz Fischer
---
drivers/fpga/altera-ps-spi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
ioctl.
> >
> > Signed-off-by: Xu Yilun
> > Signed-off-by: Wu Hao
> Acked-by: Moritz Fischer
Acked-by: Alan Tull
Alan
> > ---
> > v2: clean up code split from patch 2 in v1 patchset.
> > ---
> > drivers/fpga/dfl-fme-pr.c | 3 ---
> > 1 file
>
> Signed-off-by: Xu Yilun
> Signed-off-by: Wu Hao
Acked-by: Alan Tull
Thanks!
Alan
> ---
> v2: add more error code description for error clear sysfs in doc.
> return -EINVAL instead of -EBUSY when input error code doesn't
> match in error clear sysfs.
interfaces to
> report different error detected by the hardware, and allow
> user to clear errors or inject error for testing purpose.
>
> Signed-off-by: Luwei Kang
> Signed-off-by: Ananda Ravuri
> Signed-off-by: Xu Yilun
> Signed-off-by: Wu Hao
Acked-by: Alan Tull
> -
From: Chengguang Xu
Actually, total amount of available minor number
for a single major is MINORMASK + 1. So expand
minor range when registering chrdev region.
Signed-off-by: Chengguang Xu
Acked-by: Wu Hao
Acked-by: Alan Tull
---
drivers/fpga/dfl.c | 6 +++---
1 file changed, 3 insertions
Hi Greg,
Please take these four fpga fixes patches. They
have been reviewed on the mailing list and apply
cleanly on current linux-next and char-misc-testing.
Thanks,
Alan
Chengguang Xu (1):
fpga: dfl: expand minor range when registering chrdev region
Scott Wood (2):
fpga: dfl: afu: Pass t
0a177 R09: 7ffe4cae0e40
[ 409.969984] R10: 7ffe4cae0160 R11: 0202 R12: 7ffe4cae0df0
[ 409.977115] R13: b680 R14: R15: 7ffe4cae0f60
Signed-off-by: Scott Wood
Acked-by: Wu Hao
Acked-by: Alan Tull
---
drivers/fpga/dfl.c | 16 +++-
1
ga manager driver")
Signed-off-by: Wen Yang
Cc: Alan Tull
Cc: Moritz Fischer
Cc: Nicolas Saenz Julienne
Cc: linux-f...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Reviewed-by: Moritz Fischer
Reviewed-by: Nicolas Saenz Julienne
Acked-by: Alan Tull
---
drivers/fpga/stratix10-soc.c | 6
Acked-by: Alan Tull
---
drivers/fpga/dfl-afu-dma-region.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/fpga/dfl-afu-dma-region.c
b/drivers/fpga/dfl-afu-dma-region.c
index 0bbc7142f1dc..f7d268f45df0 100644
--- a/drivers/fpga/dfl-afu-dma-region.c
+++ b/drivers/fpga/dfl
On Thu, May 16, 2019 at 11:27 PM Wu Hao wrote:
>
> On Thu, May 16, 2019 at 12:53:00PM -0500, Alan Tull wrote:
> > On Thu, May 16, 2019 at 12:36 PM Alan Tull wrote:
> > >
> > > On Mon, Apr 29, 2019 at 4:12 AM Wu Hao wrote:
> >
> > Hi Hao,
> >
>
y transient APx state,
> and manage AFU's LTR (latency tolerance reporting).
>
> Signed-off-by: Ananda Ravuri
> Signed-off-by: Xu Yilun
> Signed-off-by: Wu Hao
Acked-by: Alan Tull
Thanks,
Alan
On Mon, Mar 25, 2019 at 7:44 PM Wu Hao wrote:
>
> On Mon, Mar 25, 2019 at 12:50:40PM -0500, Alan Tull wrote:
> > On Sun, Mar 24, 2019 at 10:23 PM Wu Hao wrote:
> >
> > Hi Hao,
> >
> > Looks good, one question below.
> >
> > >
> > > Curr
gt; Signed-off-by: Xu Yilun
> Signed-off-by: Wu Hao
Acked-by: Alan Tull
ice of given port back to PF, it configures
>PF/VF access mode to PF, then adds port platform device back to
>re-enable related userspace interfaces on PF.
>
> Signed-off-by: Zhang Yi Z
> Signed-off-by: Xu Yilun
> Signed-off-by: Wu Hao
Acked-by: Alan Tull
On Mon, Apr 29, 2019 at 4:13 AM Wu Hao wrote:
+ hwmon folks
>
> This patch adds support for power management private feature under
> FPGA Management Engine (FME). This private feature driver registers
> a hwmon for power (power1_input), thresholds information, e.g.
> (power1_cap / crit) and also
On Mon, Apr 29, 2019 at 4:13 AM Wu Hao wrote:
+ The hwmon people
>
> This patch adds support to thermal management private feature for DFL
> FPGA Management Engine (FME). This private feature driver registers
> a hwmon for thermal/temperature monitoring (hwmon temp1_input).
> If hardware automat
On Tue, May 7, 2019 at 12:03 PM Moritz Fischer wrote:
Hi Moritz,
>
> Fixes the following static checker error:
>
> drivers/fpga/zynqmp-fpga.c:50 zynqmp_fpga_ops_write()
> error: 'eemi_ops' dereferencing possible ERR_PTR()
>
> Note: This does not handle the EPROBE_DEFER value in a
> special
_ops_state()
> error: 'eemi_ops' dereferencing possible ERR_PTR()
>
> Note: This does not handle the EPROBE_DEFER value in a
> special manner.
>
> Fixes commit c09f7471127e ("fpga manager: Adding FPGA Manager support for
> Xilinx zynqmp")
> Reported-by: Da
On Sun, Jun 16, 2019 at 10:35 PM Moritz Fischer wrote:
Hi Moritz,
>
> Hi Alan,
>
> On Sun, Jun 16, 2019 at 10:11:13PM -0500, Alan Tull wrote:
> > I'm moving on to a new position and stepping down as FPGA subsystem
> > maintainer. Moritz has graciously agreed to tak
On Tue, Jun 18, 2019 at 2:17 AM Greg Kroah-Hartman
wrote:
>
> On Sun, Jun 16, 2019 at 10:11:13PM -0500, Alan Tull wrote:
> > I'm moving on to a new position and stepping down as FPGA subsystem
> > maintainer. Moritz has graciously agreed to take over the
> > maintain
On Tue, Feb 12, 2019 at 5:06 AM Moritz Fischer wrote:
Hi Nava,
> > + mgr = fpga_mgr_create(dev, "Xilinx ZynqMP FPGA Manager",
> > + &zynqmp_fpga_ops, priv);
Please use the new devm_fpga_mgr_create()
> > + if (!mgr)
> > + return -ENOMEM;
> >
by: Wu Hao
Acked-by: Alan Tull
Thanks,
Alan
> ---
> drivers/fpga/dfl-fme-mgr.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/fpga/dfl-fme-mgr.c b/drivers/fpga/dfl-fme-mgr.c
> index 76f3770..b3f7eee 100644
> --- a/drivers/fpga/dfl-fme-m
On Sun, Mar 24, 2019 at 10:23 PM Wu Hao wrote:
Hi Hao,
Looks good, one question below.
>
> Current driver checks if input bitstream file size is aligned or
> not per PR data width (default 32bits). It requires one additional
> step for end user when they generate the bitstream file, padding
> e
r test
> result.
>
> Please note now this optimization is only done on revision 2
> of this PR private feature which is only used in integrated
> solution that AVX512 is always supported.
>
> Signed-off-by: Ananda Ravuri
> Signed-off-by: Xu Yilun
> Signed-off-by: Wu Hao
Acked-by: Alan Tull
The Altera Freeze Bridge should not be restricted to ARCH_SOCFPGA
since it can be used on other platforms such as Stratix10.
Signed-off-by: Alan Tull
---
drivers/fpga/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig
index
From: Moritz Fischer
Use platform_get_drvdata() in remove() function of
the platform driver rather than dev_get_drvdata()
to match the platform_set_drvdata in the probe().
Signed-off-by: Moritz Fischer
Acked-by: Alan Tull
---
drivers/fpga/dfl-fme-region.c | 2 +-
1 file changed, 1 insertion
Hi Greg,
Please take these five small patches for FPGA. They
have been reviewed on the mailing lists and apply cleanly
on linux-next/master and char-misc-testing.
Thanks,
Alan
Alan Tull (3):
fpga: do not access region struct after fpga_region_unregister
fpga: bridge: fix obvious function
fpga_bridge_dev_match() returns a FPGA bridge struct, not a
FPGA manager struct so s/manager/bridge/.
Signed-off-by: Alan Tull
Acked-by: Moritz Fischer
---
drivers/fpga/fpga-bridge.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/fpga/fpga-bridge.c b/drivers/fpga
From: Moritz Fischer
Use platform_set_drvdata rather than dev_set_drvdata
to match the platform_get_drvdata in the _remove()
function of the platform driver.
Signed-off-by: Moritz Fischer
Acked-by: Alan Tull
---
drivers/fpga/of-fpga-region.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
Add flags #defines to kerneldoc documentation in a
useful place.
Signed-off-by: Alan Tull
Acked-by: Moritz Fischer
---
Documentation/driver-api/fpga/fpga-mgr.rst | 5 +
include/linux/fpga/fpga-mgr.h | 20 ++--
2 files changed, 19 insertions(+), 6 deletions
A couple drivers were accessing the region struct after it had been
freed. Save off the pointer to the mgr before the region struct gets
freed.
Signed-off-by: Alan Tull
Acked-by: Moritz Fischer
---
drivers/fpga/dfl-fme-region.c | 4 +++-
drivers/fpga/of-fpga-region.c | 3 ++-
2 files changed
On Tue, Sep 11, 2018 at 7:37 AM Colin King wrote:
Hi Colin,
>
> From: Colin Ian King
>
> Trivial fix to spelling mistake in the documentation
I took a look, there's other misspellings in this doc. I'd like to
get them all in one patch if possible. If I have time I'll add them
to this patch o
My interest here was in having some discussion on whether connectors
are a good match for handling FPGAs.
The relevant use model is where a user applies a DT overlay targeting
an FPGA region after the kernel has booted. That overlay initiates
FPGA programming and then adds nodes for the new FPGA
Documentation/devicetree/bindings/fpga/fpga-region.txt has an error
regarding the freeze controller bridge, secifically:
compatible = "altr,freeze-bridge";
The compatibility string should be "altr,freeze-bridge-controller"
as set forth in altera-freeze-bridge.txt.
Sign
t, yet?
It's taken two years for anybody to notice and complain about it :) so
the effect has not been very terrible. But it's good to correct it
since it's been noticed.
>
> On Thu, Sep 06, 2018 at 01:01:52PM -0500, Alan Tull wrote:
> > Documentation/devicetree/binding
On Wed, Jun 6, 2018 at 7:24 AM, Wu Hao wrote:
Hi Hao,
One more...
>> > +static dev_t dfl_get_devt(enum dfl_fpga_devt_type type, int id)
>> > +{
>> > + WARN_ON(type >= DFL_FPGA_DEVT_MAX);
>> > +
>> > + return MKDEV(MAJOR(dfl_chrdevs[type].devt), id);
>> > +}
>> > +
>> > +/**
>> > + *
On Sun, May 20, 2018 at 10:03 PM, Wu Hao wrote:
> On Mon, May 07, 2018 at 04:09:06PM -0500, Alan Tull wrote:
>> On Tue, May 1, 2018 at 9:50 PM, Wu Hao wrote:
>>
>> Hi Hao,
>>
>> Looks good!
>>
>> > This patch introduces compat_id support to fpga m
On Thu, Mar 29, 2018 at 12:01 PM, Greg KH wrote:
Hi Greg,
> On Thu, Mar 29, 2018 at 08:36:53AM -0700, Moritz Fischer wrote:
>> From: Alan Tull
>>
>> Part of patchset that changes the following fpga_*_register
>> functions to not set drvdata:
>> * fpga_region
On Thu, Mar 29, 2018 at 12:06 PM, Greg KH wrote:
Hi Greg,
>> -int fpga_region_register(struct device *dev, struct fpga_region *region)
>> +int fpga_region_register(struct fpga_region *region)
>> {
>> + struct device *dev = region->parent;
>> int id, ret = 0;
>>
>> + if (!dev) {
>>
On Tue, Mar 27, 2018 at 3:20 PM, wrote:
> From: Alan Tull
>
> Add a Device Tree binding for the Intel Stratix10 SoC FPGA manager.
>
> Signed-off-by: Alan Tull
> ---
> v2: this patch is added in patch set version 2
> v3: change to put fpga_mgr node under firmware/svc no
2018 at 12:21:23PM -0500, Alan Tull wrote:
>> On Thu, Mar 22, 2018 at 11:33 PM, Wu Hao wrote:
>>
>> >> > +
>> >> > +/*
>> >> > + * This function resets the FPGA Port and its accelerator (AFU) by
>> >> > function
>> >> &
On Thu, Mar 29, 2018 at 4:39 PM, Moritz Fischer wrote:
> On Thu, Mar 29, 2018 at 03:42:51PM -0500, Alan Tull wrote:
>> On Thu, Mar 29, 2018 at 12:06 PM, Greg KH wrote:
>>
>> Hi Greg,
>>
>> >> -int fpga_region_register(struct device *dev,
On Mon, Apr 2, 2018 at 10:13 AM, Paolo Pisati wrote:
Hi Paolo,
Thanks for making the changes I asked for. Except... is there a
reason to not get state in machxo2_spi_state?
It turns out the API will change again. I can do the fixup when that happens.
Alan
> This patch adds support to the FP
On Mon, Apr 2, 2018 at 12:43 PM, kbuild test robot wrote:
This is complaining because Paolo's patch was rebased onto a branch
that had an API change.
Alan
> Hi Paolo,
>
> Thank you for the patch! Yet something to improve:
>
> [auto build test ERROR on linus/master]
> [also build test ERROR on v
On Sun, Apr 1, 2018 at 11:22 PM, Wu Hao wrote:
> On Thu, Mar 29, 2018 at 04:57:22PM -0500, Alan Tull wrote:
>> On Mon, Mar 26, 2018 at 9:35 PM, Wu Hao wrote:
>>
>> Hi Hao,
>>
>> Currently there is one set of functions that handles port enable,
>> disable
On Tue, Apr 24, 2018 at 12:29 AM, Jan Kiszka wrote:
> On 2018-04-24 00:38, Frank Rowand wrote:
>> Hi Jan,
>>
>> + Alan Tull for fpga perspective
>>
>> On 04/22/18 03:30, Jan Kiszka wrote:
>>> On 2018-04-11 07:42, Jan Kiszka wrote:
>>>> On 20
t; Acked-by: Rob Herring
> Acked-by: Moritz Fischer
Acked-by: Alan Tull
Thanks,
Alan
>> ---
>> .../bindings/fpga/lattice-machxo2-spi.txt | 29
>> ++
>> 1 file changed, 29 insertions(+)
>> create mode 100644
>> Documenta
to drivers/fpga folder.
> - Update the intel-fpga.txt documentation for new driver organization.
> - Add documentation for new sysfs interfaces.
> - Switch to use common fpga-region interface for partial reconfiguration
> (PR) function in FME. It creates fpga-region/fpga-mgr/fpga-brid
be used for compatibility checking before doing partial
> reconfiguration to associated fpga regions.
>
> Signed-off-by: Wu Hao
Acked-by: Alan Tull
> ---
> include/linux/fpga/fpga-mgr.h | 13 +
> 1 file changed, 13 insertions(+)
>
> diff --git a/include/linux/fpga/
er region compat_id for compatibility
> checking before other actions on this fpga-region (e.g PR).
>
> Signed-off-by: Wu Hao
Acked-by: Alan Tull
> ---
> v5: use pointer for compat_id as it's optional to implement.
> ---
> Documentation/ABI/testing/sysfs-class-fpga-region
On Tue, May 1, 2018 at 9:50 PM, Wu Hao wrote:
Hi Hao,
> This patch adds compat_id support to fme manager driver, it
> reads the ID from the hardware register. And it could be used
> for compatibility check before partial reconfiguration.
>
> Signed-off-by: Wu Hao
Acke
On Tue, May 1, 2018 at 9:50 PM, Wu Hao wrote:
Hi Hao,
> This patch adds compat_id support, it reuses fme manager's
> compat id, as the per region compat id is actually from the
> fme manager's register.
>
> Signed-off-by: Wu Hao
Acked-by: Alan Tull
> ---
> v5
Hi Greg,
Please pull these changes for FPGA.
Thanks!
Alan
The following changes since commit e3d31bda06e43968cd215ae590eb7cda827f01e9:
Add linux-next specific files for 20161224 (2017-01-04 10:26:49 -0600)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/g
On Wed, Jan 4, 2017 at 3:28 PM, Greg Kroah-Hartman
wrote:
> On Wed, Jan 04, 2017 at 02:00:23PM -0600, Alan Tull wrote:
>> Hi Greg,
>>
>> Please pull these changes for FPGA.
>>
>> Thanks!
>> Alan
>>
>> The following changes since commit e3d31bda
On Thu, Jan 5, 2017 at 1:51 AM, Greg Kroah-Hartman
wrote:
> On Wed, Jan 04, 2017 at 03:53:18PM -0600, Alan Tull wrote:
>> On Wed, Jan 4, 2017 at 3:28 PM, Greg Kroah-Hartman
>> wrote:
>> > On Wed, Jan 04, 2017 at 02:00:23PM -0600, Alan Tull wrote:
>> >> Hi
n
> to put the FPGA into operating mode.
> diff --git a/drivers/fpga/fpga-mgr.c b/drivers/fpga/fpga-mgr.c
> index f0a69d3e60a584..30f9778d0632d2 100644
> --- a/drivers/fpga/fpga-mgr.c
> +++ b/drivers/fpga/fpga-mgr.c
> @@ -1,4 +1,4 @@
> -/*
> + /*
Hi Jason,
Need to take th
On Mon, Jan 9, 2017 at 10:12 AM, Jason Gunthorpe
wrote:
> On Mon, Jan 09, 2017 at 10:04:36AM -0600, Alan Tull wrote:
>
>> > diff --git a/drivers/fpga/fpga-mgr.c b/drivers/fpga/fpga-mgr.c
>> > index f0a69d3e60a584..30f9778d0632d2 100644
>> > +++ b/drivers/
On Thu, Jul 14, 2016 at 3:54 PM, Paul Gortmaker
wrote:
> On Tue, Jul 12, 2016 at 3:36 PM, Alan Tull
> wrote:
>> This framework adds API functions for enabling/
>> disabling FPGA bridges under kernel control.
>>
>> This allows the Linux kernel to disable FPGA bridge
From: Dan Carpenter
This is a cut and paste bug. We had intended to check "sysmgr".
Fixes: e5f8efa5c8bf ("ARM: socfpga: fpga bridge driver support")
Signed-off-by: Dan Carpenter
Acked-by: Moritz Fischer
Acked-by: Alan Tull
---
drivers/fpga/altera-fpga2sdram.c | 2 +
Hi Greg,
Can you take this patch?
Thanks,
Alan
Dan Carpenter (1):
ARM: socfpga: checking the wrong variable
drivers/fpga/altera-fpga2sdram.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.7.4
A
Manager API functions are changed, replacing the 'u32 flag'
parameter with a pointer to struct fpga_image_info.
Subsequent patches fix the existing low level FPGA manager
drivers.
Signed-off-by: Alan Tull
Acked-by: Moritz Fischer
Signed-off-by: Greg Kroah-Hartman
---
drivers/fpga/fpg
The intent is to provide a non-DT method of getting
ahold of a FPGA manager to do some FPGA programming.
This patch refactors of_fpga_mgr_get() to reuse most of it
while adding a new method fpga_mgr_get() for getting a
pointer to a fpga manager struct, given the device.
Signed-off-by: Alan Tull
the bridge during probe. If the property
does not exist, the driver will leave the bridge in its
current state.
Signed-off-by: Alan Tull
Signed-off-by: Matthew Gerlach
Signed-off-by: Dinh Nguyen
Signed-off-by: Greg Kroah-Hartman
---
drivers/fpga/Kconfig | 7 ++
drivers/fpg
Add low level driver to support reprogramming FPGAs for Altera
SoCFPGA Arria10.
Signed-off-by: Alan Tull
Reviewed-by: Moritz Fischer
Signed-off-by: Greg Kroah-Hartman
---
drivers/fpga/Kconfig | 6 +
drivers/fpga/Makefile | 1 +
drivers/fpga/socfpga-a10.c | 556
New bindings document for FPGA Region to support programming
FPGA's under Device Tree control
Signed-off-by: Alan Tull
Signed-off-by: Moritz Fischer
Reviewed-by: Rob Herring
Signed-off-by: Greg Kroah-Hartman
---
.../devicetree/bindings/fpga/fpga-region.txt
Add documentation for new FPGA bridge class's sysfs interface.
Signed-off-by: Alan Tull
Acked-by: Moritz Fischer
Signed-off-by: Greg Kroah-Hartman
---
Documentation/ABI/testing/sysfs-class-fpga-bridge | 11 +++
1 file changed, 11 insertions(+)
create mode 100644 Documentatio
ake longer times to enable or disable.
This patch documents the change in the FPGA Manager API
functions, replacing the 'u32 flag' parameter with a pointer
to struct fpga_image_info.
Signed-off-by: Alan Tull
Acked-by: Moritz Fischer
Signed-off-by: Greg Kroah-Hartman
---
Documentati
Add a low level driver for Altera Freeze Bridges to the FPGA Bridge
framework. A freeze bridge is a bridge that exists in the FPGA
fabric to isolate one region of the FPGA from the busses while that
one region is being reprogrammed.
Signed-off-by: Alan Tull
Signed-off-by: Matthew Gerlach
for Altera SOCFPGA bridges
https://patchwork.kernel.org/patch/9226093/
* DT bindings for Arria 10 FPGA Mgr
https://patchwork.kernel.org/patch/9226111/
This patchset supports FPGA programming under the control
of Device Tree overlays.
Alan
Alan Tull (11):
of/overlay: add of overlay notificati
sable
* fpga_bridges_put
Signed-off-by: Alan Tull
Signed-off-by: Greg Kroah-Hartman
---
drivers/fpga/Kconfig | 7 +
drivers/fpga/Makefile| 3 +
drivers/fpga/fpga-bridge.c | 395 +++
include/linux/fpga/fpga-bridge.h | 60 ++
4
FPGA Regions support programming FPGA under control of the Device
Tree.
Signed-off-by: Alan Tull
Signed-off-by: Greg Kroah-Hartman
---
drivers/fpga/Kconfig | 7 +
drivers/fpga/Makefile | 3 +
drivers/fpga/fpga-region.c| 603
301 - 400 of 874 matches
Mail list logo