An error occurred fetching the project authors.
  1. 19 Mar, 2019 1 commit
  2. 22 Feb, 2019 1 commit
  3. 08 Aug, 2018 2 commits
  4. 16 Feb, 2018 1 commit
  5. 14 Feb, 2018 1 commit
    • Kuninori Morimoto's avatar
      ASoC: arizona: replace codec to component · 0fe1daa6
      Kuninori Morimoto authored
      Now we can replace Codec to Component. Let's do it.
      
      Because there are many drivers which are using arizona,
      we need to update these all related drivers in same time.
      Otherwise compile error/warning happen
      
      Note:
      
      cs47l24
      	xxx_codec_xxx()		->	xxx_component_xxx()
      	.idle_bias_off = 1	->	.idle_bias_on = 0
      	.ignore_pmdown_time = 0	->	.use_pmdown_time = 1
      	-			->	.endianness = 1
      	-			->	.non_legacy_dai_naming = 1
      
      wm5102
      	xxx_codec_xxx()		->	xxx_component_xxx()
      	.idle_bias_off = 1	->	.idle_bias_on = 0
      	.ignore_pmdown_time = 0	->	.use_pmdown_time = 1
      	-			->	.endianness = 1
      	-			->	.non_legacy_dai_naming = 1
      
      wm5110
      	xxx_codec_xxx()		->	xxx_component_xxx()
      	.idle_bias_off = 1	->	.idle_bias_on = 0
      	.ignore_pmdown_time = 0	->	.use_pmdown_time = 1
      	-			->	.endianness = 1
      	-			->	.non_legacy_dai_naming = 1
      
      wm8997
      	xxx_codec_xxx()		->	xxx_component_xxx()
      	.idle_bias_off = 1	->	.idle_bias_on = 0
      	.ignore_pmdown_time = 0	->	.use_pmdown_time = 1
      	-			->	.endianness = 1
      	-			->	.non_legacy_dai_naming = 1
      
      wm8998
      	xxx_codec_xxx()		->	xxx_component_xxx()
      	.idle_bias_off = 1	->	.idle_bias_on = 0
      	.ignore_pmdown_time = 0	->	.use_pmdown_time = 1
      	-			->	.endianness = 1
      	-			->	.non_legacy_dai_naming = 1
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Tested-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
      Acked-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      0fe1daa6
  6. 05 Apr, 2017 2 commits
  7. 06 Jan, 2017 1 commit
    • Charles Keepax's avatar
      ASoC: wm_adsp: Add mechanism to preload firmware on a core · af813a6f
      Charles Keepax authored
      As requirements to bring up audio paths are continuous getting tighter
      and the DSP download to most ADSP devices happens over an external bus
      it can become an important factor in the path bring up time. As such
      sometimes it is a reasonable trade off to download the firmware ahead of
      when it will be required and take a small hit on power consumption for
      keeping the core powered up.
      
      This "preloading" adds an additional control for each DSP core "DSPx
      Preload Switch" that when set to true will power up the DSP core and
      download the firmware currently selected in the "DSPx Firmware" control.
      Whilst the core is preloaded the current firmware can not be changed and
      the CODEC will be kept powered up and SYSCLK held on. Although future
      improvements may allow the SYSCLK to be powered down as well because
      the hardware only requires SYSCLK whilst the download is actually taking
      place, but this is not covered in this series.
      Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      af813a6f
  8. 29 Nov, 2016 1 commit
  9. 22 Nov, 2016 1 commit
    • Richard Fitzgerald's avatar
      ASoC: wm_adsp: Firmware controls should be added as codec controls · 685f51a5
      Richard Fitzgerald authored
      We were adding firmware controls as card controls (using
      snd_soc_add_codec_controls). The DSP is part of a specific codec so
      we should be adding them as codec controls. Adding as codec controls
      also means that if the codec has a name_prefix it will be added to
      the control name, which won't happen when adding as a card control.
      
      As that was the only use of the card pointer in struct wm_adsp it can
      be removed.
      
      For ADSP2 codecs a wm_adsp2_codec_probe() was added since the original
      control handling was written, and that's the logical place to store a
      pointer to the codec rather than delaying it until the codec is
      powered-up.
      
      For ADSP1 we don't use a codec_probe() stage so the codec pointer
      initialization replaces the original card pointer initialization in
      wm_adsp1_event().
      Signed-off-by: default avatarRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      685f51a5
  10. 26 Sep, 2016 1 commit
  11. 24 Sep, 2016 2 commits
    • Charles Keepax's avatar
      ASoC: wm_adsp: Make DSP preloader a supply widget · 5ca7e170
      Charles Keepax authored
      Currently the DSP loading is split into two widgets, the preloader that
      is a snd_soc_dapm_dai_link widget which starts a thread to download
      the firmware, and the DSP itself which is a snd_soc_dapm_out_drv and
      synchronises the thread back in to the DAPM sequence. This allows the
      firmware download to be overlapped with the rest of the path bring up.
      
      The use of a snd_soc_dapm_dai_link widget requires the preloader to be part
      of the audio path in DAPM, really a supply widget is a better fit for the
      preloader. The preloader is something that needs to be done for the DSP to
      function, not a part of the audio path itself.
      
      This change makes the DSP preloader widget a supply widget, which as well
      as probably being a better fit will also make it much simpler to power up
      the preloader widget to trigger firmware download to the core independently
      of the audio path coming up.
      Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      5ca7e170
    • Charles Keepax's avatar
      ASoC: wm_adsp: Separate concept of booted and running · 28823eba
      Charles Keepax authored
      Currently the wm_adsp driver has a flag that indicates the DSP is
      "running", this flag is used to gate access to the hardware.  However this
      flag is actually set in the firmware download thread after the firmware has
      been downloaded, but this is before the core is actually started running,
      so really it currently indicates that the core has been booted and is
      perhaps running.
      
      This patch clearly separates out the concepts of booted (firmware is
      downloaded) and running (code is executing on the DSP) within the wm_adsp
      driver.
      Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      28823eba
  12. 30 May, 2016 1 commit
  13. 27 Apr, 2016 1 commit
  14. 28 Jan, 2016 1 commit
  15. 06 Jan, 2016 2 commits
  16. 23 Dec, 2015 3 commits
  17. 12 Dec, 2015 2 commits
  18. 04 Oct, 2015 1 commit
  19. 19 Jun, 2015 1 commit
    • Richard Fitzgerald's avatar
      ASoC: wm_adsp: Move DSP Rate controls into the codec · 336d0442
      Richard Fitzgerald authored
      The rate controls are codec-specific, it's not possible to
      generically say what the range or the meaning of each control
      is (or even if they exist at all) - that depends on the
      particular codec.
      
      This is currently being handled for Arizona codecs by putting
      an Arizona-specific table of controls inside the wm_adsp driver.
      This creates a dependency between wm_adsp and arizona.c, and is an
      awkward solution if the ADSP is used in another family of codecs
      
      Fix this by moving the Arizona-specific rate controls into the
      Arizona codec drivers.
      Signed-off-by: default avatarRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      336d0442
  20. 11 Jun, 2015 3 commits
  21. 02 Jun, 2015 1 commit
  22. 27 Apr, 2015 3 commits
  23. 08 Jan, 2014 2 commits
  24. 01 Aug, 2013 1 commit
  25. 29 Jul, 2013 1 commit
  26. 19 Jun, 2013 1 commit
  27. 12 May, 2013 1 commit
  28. 29 Mar, 2013 1 commit