1. 08 Jun, 2015 1 commit
  2. 04 Jun, 2015 12 commits
  3. 28 May, 2015 13 commits
  4. 26 May, 2015 9 commits
  5. 23 May, 2015 5 commits
    • Alex Elder's avatar
      greybus: introduce SVC protocol · 30c6d9d7
      Alex Elder authored
      This patch adds support for the Greybus SVC protocol.  We may want
      to rearrange protocol numbers at some point, since this is a pretty
      fundamental protocol.
      
      Note:  It has only been compile tested; no SVC CPorts have yet been
      defined, so this code is not yet exercised.
      Signed-off-by: default avatarAlex Elder <elder@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
      30c6d9d7
    • Alex Elder's avatar
      greybus: update copyrights · 4441f475
      Alex Elder authored
      Update the copyright statements for recently-modified source files.
      Signed-off-by: default avatarAlex Elder <elder@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
      4441f475
    • Alex Elder's avatar
      greybus: add copyright statements · 2de1a8b1
      Alex Elder authored
      The Greybus audio source files included no copyright statements.
      Add them.
      Signed-off-by: default avatarAlex Elder <elder@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
      2de1a8b1
    • Alex Elder's avatar
      greybus: core: don't set up endo until host device is initialized · eb765e4e
      Alex Elder authored
      Currently, the data structure representing an Endo is set up at the
      time a host device gets created.  This is too early.
      
      Once the control infrastructure is in place, there's no sense in
      setting up the Endo utnil after we have heard from the SVC via a
      probe operation on our control CPort.  And even then, there's
      no real point until we've successfully authenticated with the SVC,
      which will be indicated by the arrival of the Control protocol
      "connected" operation request notifying us that our SVC CPort
      is operational.
      
      In addition to this logical argument, we also can't actually
      receive any messages on the Control CPort until the host device
      is set up and ready to receive messages.  At the point we're
      currently setting up the Endo data structure, that has not yet
      been done.
      
      Define a new exported function greybus_endo_setup(), which will
      be used (for now) as the entry point for setting up the Endo
      data structure.  Arrange to call it in the host USB driver
      probe method, *after* we are set up for handling messages.
      
      Note: Once the control protocol has been implemented, this function
      may no longer need to be exported.
      Signed-off-by: default avatarAlex Elder <elder@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
      eb765e4e
    • Alex Elder's avatar
      greybus: endo: record AP interface id · 344943d2
      Alex Elder authored
      The AP resides in a particular position on an Endo, which is
      identified by an interface ID.  (For now we'll assume the AP uses
      just one interface.)  Record the this AP interface ID when creating
      an Endo.  Add a sysfs attribute to display it as well.
      Signed-off-by: default avatarAlex Elder <elder@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
      344943d2