1. 23 May, 2015 3 commits
  2. 21 May, 2015 16 commits
  3. 19 May, 2015 1 commit
  4. 14 May, 2015 4 commits
  5. 12 May, 2015 8 commits
  6. 11 May, 2015 5 commits
  7. 08 May, 2015 2 commits
    • Bryan O'Donoghue's avatar
      greybus: Support building greybus on host PC · 68fff960
      Bryan O'Donoghue authored
      Introduce INSTALL_MOD_PATH to allow for building and installing of the
      greybus modules from a different location.
      
      This lets you build the greybus modules on a PC and then install the
      modules to an SD card in the appropriate location relative to the SD such
      as /media/sdcard/lib/modules/version and subsequent running of depmod in
      the same location. If INSTALL_MOD_PATH isn't specified the default
      behaviour of installing and depmoding to /lib/modules/version is
      maintained.
      Signed-off-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
      68fff960
    • John Stultz's avatar
      greybus: gb-audio: Add integrated greybus audio driver · a4749bbe
      John Stultz authored
      So here's the current greybus audio driver, which I
      wanted to send out for more serious review and
      consideration for merging.
      
      I've tried to integrate much of the feedback from the
      last round and most of the hotplug issues that I've found
      have been resolved. I've tested this via gbsim, and the
      Android ARA HAL layer seems to work with it.
      
      Mark has also successfully played audio with this driver,
      adding a few hacks to get the codec's i2c connection to
      probe.
      
      Current issues:
      * Hotplug problem - When gbsim is killed, or the module
        removed, the greybus driver gets stuck since the android
        mediaserver process is holding the audio device open.
        Killing the mediaserver allows things to clean up and
        allows greybus to accept new gbsim connections. I have
        a workaround patch to the soc-core.c logic which converts
        the snd_card_free() call to snd_card_free_when_closed()
        which allows the greybus connection cleanup to finish.
      
      Remaining todos:
      * Probably need to break apart the mgmt_setup function
        to integrate better with the constraint logic. I took
        a really basic stab at this, but more is probably
        needed.
      * Figure out how to properly find and tie in the
        codec's I2C bus-id to the driver.
      
      This code requires that the kernel support the following
      config options, which I've enabled in a separate kernel
      patch:
      	CONFIG_SND_SIMPLE_CARD
      	CONFIG_SND_SOC_SPDIF
      	CONFIG_SND_SOC_RT5645
      
      I really can't calim to be the sole author of this, since
      many many fixes and tweaks that have been folded in have
      come from Mark Greer. His analsysis and debugging is really
      what has made this dummy-framework driver evolve into an
      actual audio driver. So much credit and thanks to Mark!
      Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
      Signed-off-by: default avatarMark A. Greer <mgreer@animalcreek.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
      a4749bbe
  8. 07 May, 2015 1 commit
    • Alex Elder's avatar
      greybus: eliminate extra response flag definitions · 6d653370
      Alex Elder authored
      All protocols use the same value to distinguish between request and
      response message types.  This is a requirement.
      
      Use GB_MESSAGE_TYPE_RESPONSE rather than GB_OPERATION_TYPE_RESPONSE
      for the name of the flag used to distiguish between request and
      response messages.
      
      Get rid of the redundant response flag definitions that are
      associated with specific protocols.
      
      Describe the symbolic values as "operation types" rather than
      "message types" where they are defined.  The message type for a
      request is the same as the operation type; the message type for a
      response is the operation type OR'd with GB_MESSAGE_TYPE_RESPONSE.
      Signed-off-by: default avatarAlex Elder <elder@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
      6d653370