devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] of_graph: prepare for ALSA graph support
@ 2016-06-24  2:30 Kuninori Morimoto
  2016-06-24  2:32 ` [PATCH 2/7] of_graph: add of_graph_get_remote_endpoint() Kuninori Morimoto
       [not found] ` <87fus3xr2q.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
  0 siblings, 2 replies; 15+ messages in thread
From: Kuninori Morimoto @ 2016-06-24  2:30 UTC (permalink / raw)
  To: Rob Herring, Mark Brown, Mark Brown, Laurent, Guennadi,
	Grant Likely, Frank Rowand
  Cc: Linux-Kernel, Linux-DT, Linux-ALSA


Hi Rob, Mark
Cc Guennadi, Laurent

Now OF graph is mainly used by V4L2 SoC, and ALSA SoC is using
different style for SoC <-> Codec binding.
But, for example, HDMI case, V4L2 <-> ALSA need to collaborate,
and then ALSA SoC needs to adjust to OF graph.

OTOH, V4L2's "OF graph" position is same as ALSA SoC "sound card" position.
And ALSA SoC side want to keep existing supported feature on new
OF graph style. I'm posting this on ALSA SoC ML now.

Now, current of_graph is indicating port/endpoint,
but there is no way to understand that it is for video port ? or sound port ?
or other device port ?
For example, HDMI has video port, and sound port.
Because of this reason, ALSA SoC side can't handle OF graph correctly.
Thus, this patch-set tries to add new "type" on OF graph.

And this patch-set includes small feature which are useful for ALSA SoC
side OF graph support.

Kuninori Morimoto (7):
  Documentation: of: add type property
  of_graph: add of_graph_get_remote_endpoint()
  of_graph: add of_graph_port/endpoint_type_is()
  of_graph: add of_graph_get_endpoint_count()
  of_graph: add of_graph_get_port_parent()
  of_graph: add of_graph_get_top_port()
  of_graph: add for_each_of_port() / for_each_of_endpoint_in_port()

 Documentation/devicetree/bindings/graph.txt |  26 ++++
 drivers/of/base.c                           | 196 ++++++++++++++++++++++++++--
 include/linux/of_graph.h                    |  67 ++++++++++
 3 files changed, 279 insertions(+), 10 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2017-05-17  9:53 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-24  2:30 [PATCH 0/7] of_graph: prepare for ALSA graph support Kuninori Morimoto
2016-06-24  2:32 ` [PATCH 2/7] of_graph: add of_graph_get_remote_endpoint() Kuninori Morimoto
2017-05-17  9:53   ` Applied "of_graph: add of_graph_get_remote_endpoint()" to the asoc tree Mark Brown
     [not found] ` <87fus3xr2q.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2016-06-24  2:32   ` [PATCH 1/7] Documentation: of: add type property Kuninori Morimoto
2016-06-24 17:41     ` Rob Herring
2016-06-27  0:09       ` Kuninori Morimoto
2016-06-27  1:14         ` Kuninori Morimoto
2016-06-24  2:32   ` [PATCH 3/7] of_graph: add of_graph_port/endpoint_type_is() Kuninori Morimoto
2016-06-24  2:33   ` [PATCH 4/7] of_graph: add of_graph_get_endpoint_count() Kuninori Morimoto
2016-06-24  2:33   ` [PATCH 5/7] of_graph: add of_graph_get_port_parent() Kuninori Morimoto
2017-05-17  9:53     ` Applied "of_graph: add of_graph_get_port_parent()" to the asoc tree Mark Brown
2016-06-24  2:33   ` [PATCH 6/7] of_graph: add of_graph_get_top_port() Kuninori Morimoto
2016-06-24  4:39     ` kbuild test robot
2016-06-24  9:22       ` Kuninori Morimoto
2016-06-24  2:34   ` [PATCH 7/7] of_graph: add for_each_of_port() / for_each_of_endpoint_in_port() Kuninori Morimoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).