All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH 0/2] ASoC: add DT support on simple-card
@ 2012-11-29  4:31 Kuninori Morimoto
  2012-11-29  4:31 ` [RFC][PATCH 1/2] ASoC: add snd_soc_of_parse_daifmt() Kuninori Morimoto
  2012-11-29  4:32 ` [RFC][PATCH 2/2] ASoC: simple-card: add DT support Kuninori Morimoto
  0 siblings, 2 replies; 14+ messages in thread
From: Kuninori Morimoto @ 2012-11-29  4:31 UTC (permalink / raw)
  To: Mark Brown; +Cc: Linux-ALSA, Simon, Liam Girdwood, Kuninori Morimoto


Hi Mark

These patches add DT support for soc-simple-card driver.

Kuninori Morimoto (2):
      ASoC: add snd_soc_of_parse_daifmt()
      ASoC: simple-card: add DT support

 include/sound/soc.h             |    2 +
 sound/soc/generic/simple-card.c |   90 +++++++++++++++++++++++++++++++++++++--
 sound/soc/soc-core.c            |   72 +++++++++++++++++++++++++++++++
 3 files changed, 161 insertions(+), 3 deletions(-)

1st patch adds snd_soc_of_parse_daifmt() to select SND_SOC_DAIFMT_xxx,
but I'm not sure whether this is good idea.
So these are [RFC] patches.

I thought that it will be trouble if...
  1) platform/driver DT used snd_fmt = <0xYYYY> style for SND_SOC_DAIFMT_xxx
  2) someone might update SND_SOC_DAIFMT_xxx value for some reasons.
  3) bootloader should update DT value according to kernel version if 2) happened

I put snd_soc_of_parse_daifmt() on soc-core.c because I thought that other driver can reuse it.
I need your comment for it.

Best regards
---
Kuninori Morimoto

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-12-06  9:02 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-29  4:31 [RFC][PATCH 0/2] ASoC: add DT support on simple-card Kuninori Morimoto
2012-11-29  4:31 ` [RFC][PATCH 1/2] ASoC: add snd_soc_of_parse_daifmt() Kuninori Morimoto
2012-11-29  5:21   ` Stephen Warren
2012-11-29 15:12     ` Mark Brown
2012-11-30  0:35     ` Kuninori Morimoto
2012-12-04 20:18       ` Stephen Warren
2012-12-05  7:55         ` Kuninori Morimoto
2012-12-05 20:42           ` Stephen Warren
2012-12-06  9:02             ` Kuninori Morimoto
2012-11-29  4:32 ` [RFC][PATCH 2/2] ASoC: simple-card: add DT support Kuninori Morimoto
2012-11-29  5:20   ` Stephen Warren
2012-11-29  6:05     ` Kuninori Morimoto
2012-11-30 10:38   ` Daniel Mack
2012-12-03  0:18     ` Kuninori Morimoto

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.