aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/zynqmp-fpga.c
Commit message (Collapse)AuthorAgeFilesLines
* fpga: fpga-mgr: make write_complete() op optionalTom Rix2021-07-241-7/+0
| | | | | | | | | | | An FPGA manager should not be required to provide a write_complete function if there is nothing. Move the op check to the existing wrapper. Default to success and remove noop function. [[email protected]: Reworded message] Signed-off-by: Tom Rix <[email protected]> Signed-off-by: Moritz Fischer <[email protected]>
* fpga: zynqmp-fpga: Address warning about unused variableMoritz Fischer2021-07-241-1/+2
| | | | | | | | | | warning: ‘zynqmp_fpga_of_match’ defined but not used [-Wunused-const-variable=] static const struct of_device_id zynqmp_fpga_of_match[] = { Fixes: c09f7471127e ("fpga manager: Adding FPGA Manager support for Xilinx zynqmp") Cc: Tom Rix <[email protected]> Signed-off-by: Moritz Fischer <[email protected]>
* fpga: fpga-mgr: zynqmp: Simplify registrationMoritz Fischer2020-12-011-20/+1
| | | | | | | | | Simplify registration using new devm_fpga_mgr_register() API. Reviewed-by: Tom Rix <[email protected]> Signed-off-by: Moritz Fischer <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
* firmware: xilinx: Remove eemi ops for fpga related APIsRajan Vaja2020-04-281-11/+3
| | | | | | | | | | Use direct function call instead of using eemi ops for fpga related APIs. Also remove eemi ops structure. Signed-off-by: Rajan Vaja <[email protected]> Signed-off-by: Jolly Shah <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
* fpga: zynqmp-fpga: Correctly handle error pointerMoritz Fischer2019-05-301-2/+2
| | | | | | | | | | | | | | | | | | | | Fixes the following static checker errors: drivers/fpga/zynqmp-fpga.c:50 zynqmp_fpga_ops_write() error: 'eemi_ops' dereferencing possible ERR_PTR() drivers/fpga/zynqmp-fpga.c:84 zynqmp_fpga_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: Dan Carpenter <[email protected]> Signed-off-by: Moritz Fischer <[email protected]> Acked-by: Alan Tull <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
* fpga manager: Adding FPGA Manager support for Xilinx zynqmpNava kishore Manne2019-04-151-0/+159
This patch adds FPGA Manager support for the Xilinx ZynqMP chip. Signed-off-by: Nava kishore Manne <[email protected]> Reviewed-by: Moritz Fischer <[email protected]> Acked-by: Alan Tull <[email protected]> Signed-off-by: Michal Simek <[email protected]>