lkml.org 
[lkml]   [2016]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/7] of_graph: prepare for ALSA graph support
Date

Hi Rob

These are v2 of of_graph patch-set

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_type_is()
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()
of_graph: add of_graph_get_endpoint_count()

Documentation/devicetree/bindings/graph.txt | 21 ++++
drivers/of/base.c | 164 ++++++++++++++++++++++++++--
include/linux/of_graph.h | 61 +++++++++++
3 files changed, 236 insertions(+), 10 deletions(-)

--
1.9.1

\
 
 \ /
  Last update: 2016-06-29 03:21    [W:2.055 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site