Skip to content
Snippets Groups Projects
  1. Mar 21, 2019
  2. Jan 21, 2019
  3. Nov 21, 2018
  4. Aug 31, 2018
    • Kuninori Morimoto's avatar
      ASoC: simple-card-util: support snd_soc_dai_link_component style for platform · 868cdb46
      Kuninori Morimoto authored
      
      Current ASoC is supporting snd_soc_dai_link_component for binding,
      it is more useful than current legacy style.
      Currently only codec is supporting it as multicodec (= codecs).
      CPU will support multi style in the future.
      We want to have it on Platform too in the future.
      
      If all Codec/CPU/Platform are replaced into snd_soc_dai_link_component
      style, we can remove legacy complex style.
      This patch supports snd_soc_dai_link_component style
      for simple-card-util for platform.
      
      [current]
      struct snd_soc_dai_link {
      	...
      	*cpu_name;
      	*cpu_of_node;
      	*cpu_dai_name;
      
      	*codec_name;
      	*codec_of_node;
      	*codec_dai_name;
      	*codecs;
      	num_codecs;
      
      	*platform_name;
      	*platform_of_node;
      	...
      }
      
      [in the future]
      struct snd_soc_dai_link {
      	...
      	*cpus
      	num_cpus;
      
      	*codecs;
      	num_codecs;
      
      	*platform;
      	...
      }
      
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      868cdb46
    • Kuninori Morimoto's avatar
      ASoC: simple_card_utils: support snd_soc_dai_link_component style for codec · e664de68
      Kuninori Morimoto authored
      
      Current ASoC is supporting snd_soc_dai_link_component for binding,
      it is more useful than current legacy style.
      Currently only codec is supporting it as multicodec (= codecs).
      CPU will support multi style in the future.
      We want to have it on Platform too in the future.
      
      If all Codec/CPU/Platform are replaced into snd_soc_dai_link_component
      style, we can remove legacy complex style.
      This patch supports snd_soc_dai_link_component style
      for simple_card_utils for codec.
      
      [current]
      struct snd_soc_dai_link {
      	...
      	*cpu_name;
      	*cpu_of_node;
      	*cpu_dai_name;
      
      	*codec_name;
      	*codec_of_node;
      	*codec_dai_name;
      	*codecs;
      	num_codecs;
      
      	*platform_name;
      	*platform_of_node;
      	...
      }
      
      [in the future]
      struct snd_soc_dai_link {
      	...
      	*cpus
      	num_cpus;
      
      	*codecs;
      	num_codecs;
      
      	*platform;
      	...
      }
      
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      e664de68
  5. Jul 02, 2018
  6. Jun 18, 2018
  7. Sep 01, 2017
  8. Jun 16, 2017
  9. Jun 15, 2017
  10. Jun 14, 2017
  11. Jun 13, 2017
  12. Jun 06, 2017
  13. May 17, 2017
  14. Jan 23, 2017
  15. Dec 05, 2016
  16. Aug 24, 2016
  17. Aug 10, 2016
  18. Aug 09, 2016
  19. Aug 08, 2016
  20. Jul 16, 2016
  21. Jul 01, 2016
  22. Jun 29, 2016
    • Kuninori Morimoto's avatar
      ASoC: add new simple-card-utils.c · abd3147e
      Kuninori Morimoto authored
      
      Current ALSA SoC has simple-card driver which is supporting both
      platform and DT probe.
      Now, some sound cards driver are created based on simple-card.
      They have similar feature or function, but implemented separately
      on each drivers. This is a waste of code.
      OTOH, merging these driver into same driver is highly risk,
      because it will be very difficult to keep compatibility.
      More over, ALSA SoC want to have graph base of DT feature in the
      future. Maybe it want to use simple-card like feature / function.
      Because of these background, this patch creates simple-card
      helper utils, and provides common function to each drivers.
      1st is asoc_simple_card_parse_daifmt()
      
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      abd3147e
Loading