1. 18 Nov, 2014 1 commit
    • Greg Kroah-Hartman's avatar
      greybus: vibrator-gb: add vibrator driver · ac4029fb
      Greg Kroah-Hartman authored
      This driver implements the Greybus vibrator protocol, as defined in the
      Greybus protocol specification.  It interacts to userspace with a single
      sysfs file, "timeout", and a separate "class" called "vibrator".  That
      interface can/should be changed in the future depending on what Android
      wants for its HAL, but for now should be good enough to test with.
      
      There are some changes needed to kernel_ver.h to support some
      sysfs/driver core changes that happened after the 3.10 kernel was
      released to try to make the code simpler.  Even with those changes,
      there are #ifdefs in the code to do different things depending on the
      kernel version to implement the same userspace api.
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      ac4029fb
  2. 17 Nov, 2014 12 commits
  3. 16 Nov, 2014 1 commit
    • Greg Kroah-Hartman's avatar
      greybus: Greybus UART connection driver · b4be4043
      Greg Kroah-Hartman authored
      Flush out the Greybus UART driver to actually implement greybus
      requests.  The number of Greybus Protocol operations has been reduced
      down to a managable number, and, if you look closely, you will notice it
      follows the CDC ACM USB specification, which can drive UART devices
      quite well, no need for complex UART state changes, leave all of that
      logic up to the firmware, if it wants/needs it.
      
      The Greybus Protocol spec has been updated to match the driver.
      
      TODO: There are 2 requests from the device to the host that need to be
      implemented.  As this isn't fully hooked up in the Greybus core, that is
      not implemented here yet either.
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      b4be4043
  4. 15 Nov, 2014 1 commit
  5. 14 Nov, 2014 25 commits