08 Sep, 2016

1 commit


04 Aug, 2016

1 commit

  • While building m32r allmodconfig the build is failing with the error:

    ERROR: "bad_dma_ops" [drivers/fpga/zynq-fpga.ko] undefined!

    Xilinx Zynq FPGA is using DMA but there was no dependency while
    building.

    Link: http://lkml.kernel.org/r/1464346526-13913-1-git-send-email-sudipm.mukherjee@gmail.com
    Signed-off-by: Sudip Mukherjee
    Acked-by: Moritz Fischer
    Cc: Alan Tull
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Sudip Mukherjee
     

25 Nov, 2015

2 commits

  • If fpga_mgr_buf_load() fails, the firmware resource previously allocated
    by request_firmware() is leaked. Fix it by calling release_firmware()
    regardless of the return value of fpga_mgr_buf_load().

    Found by the Coverity scanner (CID 1339653).

    Fixes: 6a8c3be7ec8e ("add FPGA manager core")
    Signed-off-by: Tobias Klauser
    Acked-by: Alan Tull
    Signed-off-by: Greg Kroah-Hartman

    Tobias Klauser
     
  • Remove implementation of 'label' DT binding.

    Signed-off-by: Alan Tull
    Reviewed-by: Moritz Fischer
    Signed-off-by: Greg Kroah-Hartman

    Alan Tull
     

30 Oct, 2015

1 commit


24 Oct, 2015

5 commits


18 Oct, 2015

1 commit


08 Oct, 2015

2 commits

  • Add driver to fpga manager framework to allow configuration
    of FPGA in Altera SoCFPGA parts.

    Signed-off-by: Alan Tull
    Acked-by: Michal Simek
    Acked-by: Moritz Fischer
    Signed-off-by: Greg Kroah-Hartman

    Alan Tull
     
  • API to support programming FPGA's.

    The following functions are exported as GPL:
    * fpga_mgr_buf_load
    Load fpga from image in buffer

    * fpga_mgr_firmware_load
    Request firmware and load it to the FPGA.

    * fpga_mgr_register
    * fpga_mgr_unregister
    FPGA device drivers can be added by calling
    fpga_mgr_register() to register a set of
    fpga_manager_ops to do device specific stuff.

    * of_fpga_mgr_get
    * fpga_mgr_put
    Get/put a reference to a fpga manager.

    The following sysfs files are created:
    * /sys/class/fpga_manager//name
    Name of low level driver.

    * /sys/class/fpga_manager//state
    State of fpga manager

    Signed-off-by: Alan Tull
    Acked-by: Michal Simek
    Signed-off-by: Greg Kroah-Hartman

    Alan Tull