1. 25 7月, 2014 6 次提交
    • I
      staging: comedi: ni_65xx: support INSN_CONFIG_DIGITAL_TRIG · 3443d1c6
      Ian Abbott 提交于
      The "edge detection interrupt" subdevice supports the
      `INSN_CONFIG_CHANGE_NOTIFY` comedi instruction which is only supported
      by one other driver.  It is limited to the first 32 channels, but boards
      supported by this driver support edge detection on all digital I/O,
      digital input and digital output channels.  The
      `INSN_CONFIG_DIGITAL_TRIG` comedi instruction is more flexible as it
      supports more than 32 channels (with multiple instructions).  It can
      also support level detection, but the hardware does not support that.
      
      Add partial support for the `INSN_CONFIG_DIGITAL_TRIG` instruction, but
      only for edge detection.
      
      Since `INSN_CONFIG_CHANGE_NOTIFY` can only deal with 32 channels, make
      it disable edge detection for any remaining channels.
      Signed-off-by: NIan Abbott <abbotti@mev.co.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      3443d1c6
    • I
      staging: comedi: ni_65xx: refactor edge detection configuration · a5e7d93d
      Ian Abbott 提交于
      Refactor the code that updates the rising and falling edge detection
      registers into new function `ni_65xx_update_edge_detection()`.  This
      updates the rising and falling edge detection registers for up to 32
      channels starting at an arbitrary channel.  Call it from the code that
      handles the `INSN_CONFIG_CHANGE_NOTIFY` instruction, which is limited to
      the first 32 channels.
      
      (For the purposes of edge detection, the channels are in the natural
      port order of the board, 8 channels per port.  In practice, this is all
      the digital I/O channels (if any), followed by all the digital input
      channels (if any), followed by all the digital output channels (if any).
      Signed-off-by: NIan Abbott <abbotti@mev.co.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      a5e7d93d
    • I
      staging: comedi: ni_65xx: add ni_65xx_num_ports() · de35c941
      Ian Abbott 提交于
      Add a function to return the total number of digital I/O, digital input,
      and digital output ports on the board.  Each port has 8 channels (bits).
      Signed-off-by: NIan Abbott <abbotti@mev.co.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      de35c941
    • K
      staging: quickstart: remove driver · 0be013e3
      Kristina Martšenko 提交于
      The driver hasn't been cleaned up and it doesn't look like anyone is
      working on it anymore (including the original author). So remove the
      driver from the kernel. If someone wants to work on cleaning it up and
      moving it out of staging, this commit can be reverted.
      Signed-off-by: NKristina Martšenko <kristina.martsenko@gmail.com>
      Cc: Angelo Arrifano <miknix@gentoo.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      0be013e3
    • K
      staging: phison: remove driver · 21ad9f74
      Kristina Martšenko 提交于
      The driver hasn't been cleaned up and it doesn't look like anyone is
      working on it anymore (including the original author). So remove the
      driver from the kernel. If someone wants to work on cleaning it up and
      moving it out of staging, this commit can be reverted.
      Signed-off-by: NKristina Martšenko <kristina.martsenko@gmail.com>
      Cc: Evan Ko <evan_ko@phison.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      21ad9f74
    • G
      Merge tag 'iio-for-3.17d' of... · 040bf7d6
      Greg Kroah-Hartman 提交于
      Merge tag 'iio-for-3.17d' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
      
      Jonathan writes:
      
      Fourth round of IIO new drivers, functionality and cleanups for the 3.17 cycle
      
      New functionality
      * A new modifier to indicate that a rotation is relative to either
        true or magnetic north.  This is to be used by some magnetometers
        that provide data in this way.
      * hid magnetometer now supports output rotations from various variants on
        North
      * HMC5843 driver converted to regmap and reworked to allow easy support
        of other similar devices.  Support for HMC5983 added via both i2c and SPI.
      * Rework of Exynos driver to simplify extension to support more devices.
      * Addition of support for the Exynos3250 ADC (which requires an additional
        clock)  Support for quite a few more devices on its way.
      
      Cleanups
      * ad7997 - a number of cleanups and tweaks to how the events are controlled
        to make it more intuitive.
      * kxcjk - cleanups and minor fixes for this new driver.
      040bf7d6
  2. 24 7月, 2014 18 次提交
  3. 23 7月, 2014 16 次提交