1. 26 Feb, 2018 2 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
      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
  2. 14 Feb, 2018 1 commit
  3. 29 Jan, 2018 1 commit
  4. 21 Apr, 2016 1 commit
  5. 14 May, 2014 1 commit
  6. 30 Apr, 2014 1 commit
  7. 23 Apr, 2014 1 commit
  8. 07 Apr, 2014 1 commit
    • Michel Arruat's avatar
      driver: major rewrite, with carrier dma-ops and other things · 1598de1a
      Michel Arruat authored
      This is a major change, work of Michel Arruat, then re-committed as a
      single commit by Alessandro.  The original development happened mainly
      on the SVEC carrier, and support for SPEC (PCI) was added back at a
      later time.  I (Alessandro) chose to pick individual changes one at
      a time, for better documentation and later "git blame", up to this point.
      
      Now, this is a big commit that completely changes the driver,
      mainly in the following places:
      
        - split carrier-specific from generic code, like the TDC driver is now
          (this is mainly the dma-specific and irq-specific code)
        - use of SDB to get base addresses (with new fmc-util file)
        - use the VIC core to manage interrupts, relying on carrier support
        - change the field-desc table for the better
        - add carrier-specific init, reset, exit
        - split irq and adc-specific stuff out of zio-drv.c
        - DMA data and interrupt is now different: the timestamp is at end-of-data,
          thus we don't have the "trigger-happened" interrupt any more
        - use a work queue for interrupt management, instead of a tasklet, this
          allows sleeping, which is needed by this code base
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      1598de1a
  9. 24 Jun, 2013 2 commits