[PATCH v20 08/10] ARM: socfpga: fpga bridge driver support

2016-10-17 Thread 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 --- v2: Use resets instead of directly writing reset registers v12: Bump version to align with simpl

[PATCH v20 06/10] fpga: add fpga bridge framework

2016-10-17 Thread Alan Tull
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

[PATCH v20 05/10] fpga-mgr: add fpga image information struct

2016-10-17 Thread Alan Tull
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 --- v19: Added in v19 of this patchset v20: Squashed patches that change API for

[PATCH v20 03/10] add bindings document for altera freeze bridge

2016-10-17 Thread Alan Tull
Add bindings document for the Altera Freeze Bridge. A Freeze Bridge is used to gate traffic to/from a region of a FPGA such that that region can be reprogrammed. The Freeze Bridge exist in FPGA fabric that is not currently being reconfigured. Signed-off-by: Alan Tull Signed-off-by: Matthew

[PATCH v20 07/10] fpga: fpga-region: device tree control for FPGA

2016-10-17 Thread Alan Tull
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

[PATCH v20 01/10] fpga: add bindings document for fpga region

2016-10-17 Thread Alan Tull
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 --- v9: initial version added to this patchset v10: s/fpga/FPGA/g replace DT overlay example with slightly

[PATCH v20 00/10] Device Tree support for FPGA Programming

2016-10-17 Thread Alan Tull
/pantoniou/dtc.git * Pantelis' configfs interface patches and fixes https://github.com/pantoniou/linux-beagle-track-mainline Alan Alan Tull (10): fpga: add bindings document for fpga region doc: fpga-mgr: add fpga image info to api add bindings document for altera freeze bridge

[PATCH v20 02/10] doc: fpga-mgr: add fpga image info to api

2016-10-17 Thread Alan Tull
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 --- v19: Added in v19 of this patchset v20: No change for this patc

[PATCH v20 09/10] fpga: add altera freeze bridge support

2016-10-17 Thread Alan Tull
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

[PATCH v20 10/10] fpga-manager: Add Socfpga Arria10 support

2016-10-17 Thread Alan Tull
Add low level driver to support reprogramming FPGAs for Altera SoCFPGA Arria10. Signed-off-by: Alan Tull --- v19: Added to this patchset as has been changed to use fpga image information struct a checkpatch fix of a block comment do not use clk_put because we are using

[PATCH v20 04/10] add sysfs document for fpga bridge class

2016-10-17 Thread Alan Tull
Add documentation for new FPGA bridge class's sysfs interface. Signed-off-by: Alan Tull Acked-by: Moritz Fischer -- 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 v18: No change to this patch in v

[PATCH v21 3/9] add sysfs document for fpga bridge class

2016-10-25 Thread Alan Tull
Add documentation for new FPGA bridge class's sysfs interface. Signed-off-by: Alan Tull Acked-by: Moritz Fischer -- 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 v18: No change to this patch in v

[PATCH v21 1/9] fpga: add bindings document for fpga region

2016-10-25 Thread Alan Tull
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 --- v9: initial version added to this patchset v10: s/fpga/FPGA/g replace DT overlay example with slightly

[PATCH v21 6/9] fpga: fpga-region: device tree control for FPGA

2016-10-25 Thread Alan Tull
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

[PATCH v21 4/9] fpga-mgr: add fpga image information struct

2016-10-25 Thread Alan Tull
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 --- v19: Added in v19 of this patchset v20: Squashed pat

[PATCH v21 5/9] fpga: add fpga bridge framework

2016-10-25 Thread Alan Tull
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

[PATCH v21 0/9] Device Tree support for FPGA Programming

2016-10-25 Thread Alan Tull
es https://github.com/pantoniou/linux-beagle-track-mainline Alan Alan Tull (9): fpga: add bindings document for fpga region doc: fpga-mgr: add fpga image info to api add sysfs document for fpga bridge class fpga-mgr: add fpga image information struct fpga: add fpga bridge framework

[PATCH v21 7/9] ARM: socfpga: fpga bridge driver support

2016-10-25 Thread 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 --- v2: Use resets instead of directly writing reset registers v12: Bump version to align with simpl

[PATCH v21 2/9] doc: fpga-mgr: add fpga image info to api

2016-10-25 Thread Alan Tull
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 --- v19: Added in v19 of this patchset v20: No chan

[PATCH v21 8/9] fpga: add altera freeze bridge support

2016-10-25 Thread Alan Tull
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

[PATCH v21 9/9] fpga-manager: Add Socfpga Arria10 support

2016-10-25 Thread Alan Tull
Add low level driver to support reprogramming FPGAs for Altera SoCFPGA Arria10. Signed-off-by: Alan Tull Reviewed-by: Moritz Fischer --- v19: Added to this patchset as has been changed to use fpga image information struct a checkpatch fix of a block comment do not use clk_put

Re: [PATCH 2/4] fpga: manager: change api, don't use drvdata

2018-04-27 Thread Alan Tull
On Fri, Apr 27, 2018 at 1:26 PM, Florian Fainelli wrote: > On 04/26/2018 06:26 PM, Moritz Fischer wrote: >> From: Alan Tull >> >> Change fpga_mgr_register to not set or use drvdata. This supports >> the case where a PCIe device has more than one manager. >> >

[PATCH v3 0/4] fpga: add devm managed create APIs

2018-09-26 Thread Alan Tull
ot;dt-bindings: fpga: fix freeze controller compatible in region doc" * drop some of the acked patches that I send to Greg Alan Tull (4): fpga: mgr: add devm_fpga_mgr_create fpga: bridge: add devm_fpga_bridge_create fpga: add devm_fpga_region_create docs: fpga: document programming f

[PATCH v3 2/4] fpga: bridge: add devm_fpga_bridge_create

2018-09-26 Thread Alan Tull
Add devm_fpga_bridge_create() which is the managed version of fpga_bridge_create(). Change current bridge drivers to use devm_fpga_bridge_create(). Signed-off-by: Alan Tull Suggested-by: Federico Vaga Acked-by: Moritz Fischer --- v2: add suggested-by v3: remove some unclear documentation

[PATCH v3 4/4] docs: fpga: document programming fpgas using regions

2018-09-26 Thread Alan Tull
Clarify the intention that interfaces and upper layers use regions rather than managers directly. Rearrange API documentation to better group the API functions used to create FPGA mgr/bridge/regions and the API used for programming FPGAs. Signed-off-by: Alan Tull Suggested-by: Federico Vaga

[PATCH v3 3/4] fpga: add devm_fpga_region_create

2018-09-26 Thread Alan Tull
Add devm_fpga_region_create() which is the managed version of fpga_region_create(). Change current region drivers to use devm_fpga_region_create(). Signed-off-by: Alan Tull Suggested-by: Federico Vaga --- v2: add suggested-by v3: remove some unclear documentation about fpga_region_unregister

[PATCH v3 1/4] fpga: mgr: add devm_fpga_mgr_create

2018-09-26 Thread Alan Tull
Add devm_fpga_mgr_create() which is the managed version of fpga_mgr_create(). Change current FPGA manager drivers to use devm_fpga_mgr_create() Signed-off-by: Alan Tull Suggested-by: Federico Vaga --- v2: add suggested-by v3: remove some unclear documentation about fpga_mgr_unregister

Re: [PATCH v3 1/4] fpga: mgr: add devm_fpga_mgr_create

2018-10-15 Thread Alan Tull
On Wed, Sep 26, 2018 at 11:12 AM Alan Tull wrote: Any other comments on this patchset? Alan > > Add devm_fpga_mgr_create() which is the managed > version of fpga_mgr_create(). > > Change current FPGA manager drivers to use > devm_fpga_mgr_create() > > Signed-off-by: A

Re: [PATCH v3 4/4] docs: fpga: document programming fpgas using regions

2018-10-15 Thread Alan Tull
On Mon, Oct 15, 2018 at 3:11 PM Moritz Fischer wrote: > > On Wed, Sep 26, 2018 at 9:12 AM Alan Tull wrote: > > > > Clarify the intention that interfaces and upper layers use > > regions rather than managers directly. > > > > Rearrange API documentation to bet

[PATCH v17 1/6] fpga: add bindings document for fpga region

2016-02-25 Thread Alan Tull
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 --- v9: initial version added to this patchset v10: s/fpga/FPGA/g replace DT overlay example with slightly more complicated ex

[PATCH v17 0/6] Device Tree support for FPGA Programming

2016-02-25 Thread Alan Tull
go in also. Alan Tull (6): fpga: add bindings document for fpga region ARM: socfpga: add bindings document for fpga bridge drivers add sysfs document for fpga bridge class fpga: add fpga bridge framework fpga: fpga-region: device tree control for FPGA ARM: socfpga: fpga bridge driv

[PATCH v17 2/6] ARM: socfpga: add bindings document for fpga bridge drivers

2016-02-25 Thread Alan Tull
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

[PATCH v17 4/6] fpga: add fpga bridge framework

2016-02-25 Thread Alan Tull
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

[PATCH v17 3/6] add sysfs document for fpga bridge class

2016-02-25 Thread Alan Tull
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 |

[PATCH v17 5/6] fpga: fpga-region: device tree control for FPGA

2016-02-25 Thread Alan Tull
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

[PATCH v17 6/6] ARM: socfpga: fpga bridge driver support

2016-02-25 Thread 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 --- v2: Use resets instead of directly writing reset registers v12: Bump version to align with simpl