1. 29 Apr, 2019 2 commits
    • Federico Vaga's avatar
      add DKMS support · 96f6267f
      Federico Vaga authored
      Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
      96f6267f
    • Federico Vaga's avatar
      drv: convert to platform · 54a77d73
      Federico Vaga authored
      fmc-bus has been replaced by a simpler platform driver, this means
      that:
      - IRQ needs to come through the standard kernel API
      - Calibration data cannot be read from the fmc-bus, the user (through an
        udev rule for example) should pass this information to the driver
        instance. By default the card will run uncalibrated.
      - registration must happen by other means and not from fmc-bus like
        before.
      - FPGA must be programmed before, the driver cannot do it anymore
      Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
      54a77d73
  2. 15 Apr, 2019 5 commits
  3. 19 Feb, 2019 7 commits
  4. 18 Feb, 2019 7 commits
  5. 27 Nov, 2018 2 commits
  6. 22 Oct, 2018 2 commits
  7. 19 Oct, 2018 3 commits
  8. 18 Oct, 2018 2 commits
  9. 27 Jun, 2018 2 commits
  10. 26 Feb, 2018 6 commits
    • Federico Vaga's avatar
      kernel: reset last trigger on new acquisition · 9120066f
      Federico Vaga authored
      This prevent to get confused about the value of this register.
      Whenever the user starts a new acquisition we reset the
      last triggered register. This guarantee that the value shown comes
      from the last acquisition
      Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
      9120066f
    • Federico Vaga's avatar
      doc: port to Shpinx · c05f4525
      Federico Vaga authored
      Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
      c05f4525
    • Federico Vaga's avatar
      remove lib and libtools · 856497c1
      Federico Vaga authored
      The driver's users are supposed to use the generic `adc-lib`
      library from OHWR.
      Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
      856497c1
    • Federico Vaga's avatar
      kernel: enable software trigger by default · e3fc1b13
      Federico Vaga authored
      Enabling the software trigger by default it does not cause any harm and
      it simplifies the code and the interface. The user is free to disable it
      using the `source` attribute from sysfs.
      Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
      e3fc1b13
    • Federico Vaga's avatar
      kernel: gateware v5 updates · e3700a3a
      Federico Vaga authored
      The gateware version 5 does not have anymore the selection
      between internal or external trigger. Instead, there is the
      possibility to have more that one trigger source enabled.
      
      Internals:
      - the acquisition metadata now provides a whiterabbit timestamp
        and information about the trigger source that started the acquisition
      
      Registers change:
      - one register to enable/disable all trigger sources
      - one register to set the polarity on all the triggers
      - threshould/hysteresis for each channel
      - delay on the following triggers: ext, channel[1; 4]
      
      Sysfs changes
      - add attributes to configure threshould
      - trigger "enable" will restore the last known enable status
      e3700a3a
    • Federico Vaga's avatar
      kernel: do a proper reset of the FMC mezzanine · 32ef6bfc
      Federico Vaga authored
      In gateware version 5 the logic of the FMC reset bit change from active low
      to active high: "reset: {1: reset, 0 unreset}".
      
      Here with this patch we do a complete reset cycle of the FMC mezzanine.
      The sleeping time between reset and unreset is huge but we do not care much,
      this is just the initialization.
      Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
      32ef6bfc
  11. 14 Feb, 2018 2 commits