[PATCH 0/4] ASoC: add graph base connection on simple-card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mark

Current simple-card is using "sound-dai" base connection on DT,
but V4L2 is using graph base connection.
For example HDMI case, we would like to use both connection.
To above confusable connection method, and to reuse current resource,
this patch adds new function, and detect both "sound-dai" and "remote-endpoint"
on simple-card. like this

	sound {
		compatible = "simple-audio-card";
		...
		sndcpu: simple-audio-card,cpu {
			sound-dai = <&xxx>;
		};
		sndcodec: simple-audio-card,codec {
=>			remote-endpoint = <&out_hdmi>;
		};
	};

	xxx {
		...
		ports {
			...
			port@0 {
				reg = <0>;
				out_rgb: endpoint {
				};
			};
			port@1 {
				reg = <1>;
=>				out_hdmi: endpoint {
				};
			};
			...
		};
	};

Kuninori Morimoto (4):
      of_graph: add of_graph_get_endpoint_count()
      ASoC: add of_parse_snd_connection_with_args() for sound-dai/graph connection
      ASoC: snd_soc_of_get_dai_name() uses of_parse_snd_soc_connection_with_args()
      ASoC: simple-card: probe both sound-dai and remote-endpoint

 Documentation/devicetree/bindings/sound/simple-card.txt | 19 +++++++++++++++++++
 include/linux/of_graph.h                                | 11 +++++++++++
 include/sound/soc.h                                     |  2 ++
 sound/soc/generic/simple-card.c                         |  9 ++++++---
 sound/soc/soc-core.c                                    | 45 +++++++++++++++++++++++++++++++++++++++++++--
 5 files changed, 81 insertions(+), 5 deletions(-)



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux