All of lore.kernel.org
 help / color / mirror / Atom feed
* Question about Component and Card
@ 2015-08-03  5:33 Kuninori Morimoto
  2015-08-03  6:27 ` Lars-Peter Clausen
  0 siblings, 1 reply; 6+ messages in thread
From: Kuninori Morimoto @ 2015-08-03  5:33 UTC (permalink / raw)
  To: Mark Brown, Lars-Peter Clausen; +Cc: Linux-ALSA, Simon, Liam Girdwood


Hi Lars
Cc Mark

I noticed my sound card (which is not upstreamed) can't probe in next branch.
I think it is because this patch
1b7c12316982f74a5b8e7704c24cf5524d0723a3
(ASoC: Prevent components from being bound to multiple cards)

In my case, my sound device (= CPU) has some DAIs,
and these are connected to some codecs.
It is shown as below. And I would like to use these as 2 sound cards.
 ex)	aplay -D hw:0 xxx
	aplay -D hw:1 xxx
But, 2nd sound card can't probe because of above patch now.
(component->card indicates 1st card)
It can be probeed if I used DPCM card (= 1 CPU + 2 Codec), but...
But, is my understanding wrong ?

codec0: codec@0 {
	xxx
};

codec1: codec@1 {
	xxx
};

sound: sound@0xxxxxx {
	#sound-dai-cells = <1>;

	rcar_sound,dai {
		dai0 {
			xxxx
		};
		dai1 {
			xxxx
		};
	};
};

card@0 {
	compatible = "simple-audio-card";

	simple-audio-card,cpu {
		sound-dai = <&sound 0>;
	};

	simple-audio-card,codec {
		sound-dai = <&codec0>;
	};
};

card@1 {
	compatible = "simple-audio-card";

	simple-audio-card,cpu {
		sound-dai = <&sound 1>;
	};

	simple-audio-card,codec {
		sound-dai = <&codec1>;
	};
};

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

end of thread, other threads:[~2015-08-04  0:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-03  5:33 Question about Component and Card Kuninori Morimoto
2015-08-03  6:27 ` Lars-Peter Clausen
2015-08-03  8:23   ` Kuninori Morimoto
2015-08-03 11:51     ` Lars-Peter Clausen
2015-08-03 15:58       ` Mark Brown
2015-08-04  0:22         ` 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.