device_node *np, int index)
>
> Please call this devm_get_clk_from_child() instead. Also, replace
> the index argument with a string called con_id. Then call
> of_clk_get_by_name() instead of of_clk_get().
I guess we want to have _of_ on function name ?
devm_get_clk_from_child() ?
devm_of_get_clk_from_child ?
Best regards
---
Kuninori Morimoto
device_node *np, int index)
>
> Please call this devm_get_clk_from_child() instead. Also, replace
> the index argument with a string called con_id. Then call
> of_clk_get_by_name() instead of of_clk_get().
I guess we want to have _of_ on function name ?
devm_get_clk_from_child() ?
devm_of_get_clk_from_child ?
Best regards
---
Kuninori Morimoto
Hi Stephen, again
Can I confirm ??
Was I misunderstanding ??
> I understand your point, but I think devm_get_clk_from_child()
> needs new DT setings, and it can't keep compatibility, or
> it makes driver complex.
> I think it is nice to have. but, I want to keep current style.
> Thus, I will
Hi Stephen, again
Can I confirm ??
Was I misunderstanding ??
> I understand your point, but I think devm_get_clk_from_child()
> needs new DT setings, and it can't keep compatibility, or
> it makes driver complex.
> I think it is nice to have. but, I want to keep current style.
> Thus, I will
Hi Stephen
Thank you for your feedback.
> > > > sound_soc {
> > > > clocks = <>, <>;
> > > > clock-names = "cpu", "codec";
> > > > ...
> > > > cpu {
> > > > ...
> > > > };
> > > >
Hi Stephen
Thank you for your feedback.
> > > > sound_soc {
> > > > clocks = <>, <>;
> > > > clock-names = "cpu", "codec";
> > > > ...
> > > > cpu {
> > > > ...
> > > > };
> > > >
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
Current Linux has of_clk_get(), but doesn't have devm_of_clk_get().
This patch adds it. It is implemeted in clk-devres.c to share
devm_clk_release().
Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
From: Kuninori Morimoto
Current Linux has of_clk_get(), but doesn't have devm_of_clk_get().
This patch adds it. It is implemeted in clk-devres.c to share
devm_clk_release().
Signed-off-by: Kuninori Morimoto
---
v3 -> v4
- git log explain why it is implemeted in clk-devres
- it is rela
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
Current Linux has of_clk_get(), but doesn't have devm_of_clk_get().
This patch adds it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
---
v2 -> v3
- implement in clk-devres.c, and reused existing d
From: Kuninori Morimoto
Current Linux has of_clk_get(), but doesn't have devm_of_clk_get().
This patch adds it.
Signed-off-by: Kuninori Morimoto
---
v2 -> v3
- implement in clk-devres.c, and reused existing devm_clk_release()
drivers/clk/clk-devres.c | 21 +
incl
Hi Russell
> > Current Linux has of_clk_get(), but doesn't have devm_of_clk_get().
> > This patch adds it. This is based on devm_clk_get()
> >
> > Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
>
> Please put this in drivers/clk/clk-d
Hi Russell
> > Current Linux has of_clk_get(), but doesn't have devm_of_clk_get().
> > This patch adds it. This is based on devm_clk_get()
> >
> > Signed-off-by: Kuninori Morimoto
>
> Please put this in drivers/clk/clk-devres.c, where you'll find that
>
Current Linux has of_clk_get(), but doesn't have devm_of_clk_get().
This patch adds it. This is based on devm_clk_get()
Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
---
v1 -> v2
- update git log
drivers/clk/clkdev.c | 26 ++
include/li
Current Linux has of_clk_get(), but doesn't have devm_of_clk_get().
This patch adds it. This is based on devm_clk_get()
Signed-off-by: Kuninori Morimoto
---
v1 -> v2
- update git log
drivers/clk/clkdev.c | 26 ++
include/linux/clk.h | 7 +++
2 files changed,
> https://github.com/0day-ci/linux/commits/Kuninori-Morimoto/ASoC-add-OF-graph-base-simple-card/20161128-111639
> base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git
> for-next
> config: i386-randconfig-x002-201648 (attached as .config)
> compiler: gcc-6 (Debian
> https://github.com/0day-ci/linux/commits/Kuninori-Morimoto/ASoC-add-OF-graph-base-simple-card/20161128-111639
> base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git
> for-next
> config: i386-randconfig-x002-201648 (attached as .config)
> compiler: gcc-6 (Debian
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
graph base DT binding are used on V4L2, and ALSA SoC is using different
style of DT. In case of simple case, ALSA SoC supports simple-card
driver.
In the future, V4L2 / ALSA will support HDMI, and then, DT bindings
between V4L2
From: Kuninori Morimoto
graph base DT binding are used on V4L2, and ALSA SoC is using different
style of DT. In case of simple case, ALSA SoC supports simple-card
driver.
In the future, V4L2 / ALSA will support HDMI, and then, DT bindings
between V4L2 / ALSA should be merged somehow.
This patch
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
---
.../bindings/sound/simple-graph-scu-card.txt | 69 ++
1 file changed, 69 insertions(+)
create mode 100644
Documentatio
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
graph base DT binding are used on V4L2, and ALSA SoC is using different
style of DT. In case of simple case, ALSA SoC supports simple-card
driver.
In the future, V4L2 / ALSA will support HDMI, and then, DT bindings
between V4L2
From: Kuninori Morimoto
Signed-off-by: Kuninori Morimoto
---
.../bindings/sound/simple-graph-scu-card.txt | 69 ++
1 file changed, 69 insertions(+)
create mode 100644
Documentation/devicetree/bindings/sound/simple-graph-scu-card.txt
diff --git a/Documentation
From: Kuninori Morimoto
graph base DT binding are used on V4L2, and ALSA SoC is using different
style of DT. In case of simple case, ALSA SoC supports simple-card
driver.
In the future, V4L2 / ALSA will support HDMI, and then, DT bindings
between V4L2 / ALSA should be merged somehow.
Sometimes
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
It is assuming that the card related information is located on
"card" node, but graph case doesn't have it.
This patch adds node parameter to adjust for graph support
Signed-off-by: Kuninori Morimoto <kuninori.mori
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
If CPU/Platform side driver probes successfully, and if it is supporting
both previous normal sound card style and graph style DT, it can call
asoc_simple_card_try_to_probe_graph_card().
It checks graph style DT, and do n
From: Kuninori Morimoto
It is assuming that the card related information is located on
"card" node, but graph case doesn't have it.
This patch adds node parameter to adjust for graph support
Signed-off-by: Kuninori Morimoto
---
include/sound/simple_card_utils.h | 1 +
sound/s
From: Kuninori Morimoto
If CPU/Platform side driver probes successfully, and if it is supporting
both previous normal sound card style and graph style DT, it can call
asoc_simple_card_try_to_probe_graph_card().
It checks graph style DT, and do nothing if it was non graph style DT,
or register
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
---
.../bindings/sound/simple-graph-card.txt | 67 ++
1 file changed, 67 insertions(+)
create mode 100644
Documentatio
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
simple-card already has asoc_simple_card_parse_dai(),
but graph base parsing needs graph specific version of it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
---
include/sound/simple_card_util
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
OF graph want to count its endpoint number, same as
of_get_child_count(). This patch adds of_graph_get_endpoint_count()
which can check specific type. It will count all endpoint if type
was NULL.
Signed-off-by: Kuninori Mo
From: Kuninori Morimoto
Signed-off-by: Kuninori Morimoto
---
.../bindings/sound/simple-graph-card.txt | 67 ++
1 file changed, 67 insertions(+)
create mode 100644
Documentation/devicetree/bindings/sound/simple-graph-card.txt
diff --git a/Documentation
From: Kuninori Morimoto
simple-card already has asoc_simple_card_parse_dai(),
but graph base parsing needs graph specific version of it.
Signed-off-by: Kuninori Morimoto
---
include/sound/simple_card_utils.h | 10 +++
sound/soc/generic/simple-card-utils.c | 53
From: Kuninori Morimoto
OF graph want to count its endpoint number, same as
of_get_child_count(). This patch adds of_graph_get_endpoint_count()
which can check specific type. It will count all endpoint if type
was NULL.
Signed-off-by: Kuninori Morimoto
---
drivers/of/base.c| 16
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
OF graph indicates each devices connection. But it doesn't support type
of each port. For example HDMI case, it has video port and sound port
in one device node.
In this case, current driver can't handle each port correctly.
This
From: Kuninori Morimoto
OF graph indicates each devices connection. But it doesn't support type
of each port. For example HDMI case, it has video port and sound port
in one device node.
In this case, current driver can't handle each port correctly.
This patch adds of_graph_port_type_is
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
OF graph is used mainly from V4L2, but ALSA needs to use it. It already
has for_each_endpoint_of_node() which is for-loop for each endpoint.
But, ALSA needs for-loop for each port[s], and for-loop for each
endpoint of inside
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
Linux kernel already has of_graph_get_remote_port_parent(),
but, sometimes we want to get own port parent.
This patch adds of_graph_get_port_parent()
Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
driver want to get top level of port[s] node. This patch adds
of_graph_get_top_port() for this purpose
Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
---
drivers/of/base.c
From: Kuninori Morimoto
OF graph is used mainly from V4L2, but ALSA needs to use it. It already
has for_each_endpoint_of_node() which is for-loop for each endpoint.
But, ALSA needs for-loop for each port[s], and for-loop for each
endpoint of inside port[s]. This patch adds for_each_of_port
From: Kuninori Morimoto
Linux kernel already has of_graph_get_remote_port_parent(),
but, sometimes we want to get own port parent.
This patch adds of_graph_get_port_parent()
Signed-off-by: Kuninori Morimoto
---
drivers/of/base.c| 30 ++
include/linux
From: Kuninori Morimoto
driver want to get top level of port[s] node. This patch adds
of_graph_get_top_port() for this purpose
Signed-off-by: Kuninori Morimoto
---
drivers/of/base.c| 24
include/linux/of_graph.h | 7 +++
2 files changed, 31 insertions
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
It should use same method to get same result.
To getting remote-endpoint node,
let's use of_graph_get_remote_endpoint()
Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
---
drivers/of/base.c
From: Kuninori Morimoto
It should use same method to get same result.
To getting remote-endpoint node,
let's use of_graph_get_remote_endpoint()
Signed-off-by: Kuninori Morimoto
---
drivers/of/base.c| 18 --
include/linux/of_graph.h | 8
2 files changed, 24
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
OF graph indicates each devices connection. But it doesn't support type
of each port. For example HDMI case, it has video port and sound port
in one device node.
In this case, current driver can't handle each port correctly.
This
From: Kuninori Morimoto
OF graph indicates each devices connection. But it doesn't support type
of each port. For example HDMI case, it has video port and sound port
in one device node.
In this case, current driver can't handle each port correctly.
This patch enables to use type property
ound had 2 ports,
this case, HDMI sound ports will be port@4, port@5.
Here, ALSA SoC side needs to know total 2 sound port,
and, it should be handled as 1st / 2nd port.
It is impossible without "type" property.
1) - 7) : OF graph new feature
8) - 14) : OF graph base simple-card
K
ound had 2 ports,
this case, HDMI sound ports will be port@4, port@5.
Here, ALSA SoC side needs to know total 2 sound port,
and, it should be handled as 1st / 2nd port.
It is impossible without "type" property.
1) - 7) : OF graph new feature
8) - 14) : OF graph base simple-card
K
Fixes: 2761ba6c0925 ("drm: bridge: add DesignWare HDMI I2S audio support")
> Signed-off-by: Arnd Bergmann <a...@arndb.de>
> ---
Acked-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
> drivers/gpu/drm/bridge/Kconfig | 1 +
> 1 file changed, 1 inser
Fixes: 2761ba6c0925 ("drm: bridge: add DesignWare HDMI I2S audio support")
> Signed-off-by: Arnd Bergmann
> ---
Acked-by: Kuninori Morimoto
> drivers/gpu/drm/bridge/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/bridge/Kconfig b/dr
Hi Archit
> > I had heared that Archit is the maintainer of dw-hdmi driver, but am I
> > wrong ??
> > I'm posting this patch series since half year ago, but no response
> > from him, and nothing happen (I got review from Russell though).
> > Is Archit really maintainer ??
> > OTOH,
Hi Archit
> > I had heared that Archit is the maintainer of dw-hdmi driver, but am I
> > wrong ??
> > I'm posting this patch series since half year ago, but no response
> > from him, and nothing happen (I got review from Russell though).
> > Is Archit really maintainer ??
> > OTOH,
Hi Archit, David, and DRM ML
I had heared that Archit is the maintainer of dw-hdmi driver, but am I wrong ??
I'm posting this patch series since half year ago, but no response
from him, and nothing happen (I got review from Russell though).
Is Archit really maintainer ??
OTOH, get_maintainer.pl
Hi Archit, David, and DRM ML
I had heared that Archit is the maintainer of dw-hdmi driver, but am I wrong ??
I'm posting this patch series since half year ago, but no response
from him, and nothing happen (I got review from Russell though).
Is Archit really maintainer ??
OTOH, get_maintainer.pl
rom_child(struct device *dev,
> > const char *con_id,
> > struct device_node *child);
Thanks, but, my point is that Linux already have "of_clk_get()",
but we don't have its devm_ version.
The point is that of_clk_get() can get clock from "device_node".
Why having devm_ version become so problem ?
Best regards
---
Kuninori Morimoto
rom_child(struct device *dev,
> > const char *con_id,
> > struct device_node *child);
Thanks, but, my point is that Linux already have "of_clk_get()",
but we don't have its devm_ version.
The point is that of_clk_get() can get clock from "device_node".
Why having devm_ version become so problem ?
Best regards
---
Kuninori Morimoto
,
> struct device_node *child);
Thanks. I will check above 2 ideas.
Best regards
---
Kuninori Morimoto
,
> struct device_node *child);
Thanks. I will check above 2 ideas.
Best regards
---
Kuninori Morimoto
Hi Rob
> These are v4 of OF graph base simple-card patch-set.
> v3 patch had ALSA SoC side prepare patches as [1/xx] - [5/xx],
> but these are already accepted by Mark, thus, this v4 doesn't
> include these.
> Mainly, v4 solved non-OF case compile error which was reported
> by kbuild.
About
Hi Rob
> These are v4 of OF graph base simple-card patch-set.
> v3 patch had ALSA SoC side prepare patches as [1/xx] - [5/xx],
> but these are already accepted by Mark, thus, this v4 doesn't
> include these.
> Mainly, v4 solved non-OF case compile error which was reported
> by kbuild.
About
only. Thus, we are using of_clk_get() for these now.
> >
> > clk = of_clk_get(cpu, xxx);
> > clk = of_clk_get(codec, xxx);
> >
> > sound_soc {
> > ...
> > cpu {
> > ...
> > => clocks = <>;
> > };
> > codec {
> > ...
> > => clocks = <>;
> > };
> > };
Best regards
---
Kuninori Morimoto
only. Thus, we are using of_clk_get() for these now.
> >
> > clk = of_clk_get(cpu, xxx);
> > clk = of_clk_get(codec, xxx);
> >
> > sound_soc {
> > ...
> > cpu {
> > ...
> > => clocks = <>;
> > };
> > codec {
> > ...
> > => clocks = <>;
> > };
> > };
Best regards
---
Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
graph base DT binding are used on V4L2, and ALSA SoC is using different
style of DT. In case of simple case, ALSA SoC supports simple-card
driver.
In the future, V4L2 / ALSA will support HDMI, and then, DT bindings
between V4L2
From: Kuninori Morimoto
graph base DT binding are used on V4L2, and ALSA SoC is using different
style of DT. In case of simple case, ALSA SoC supports simple-card
driver.
In the future, V4L2 / ALSA will support HDMI, and then, DT bindings
between V4L2 / ALSA should be merged somehow.
Sometimes
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
---
v3 -> v4
- no change
.../bindings/sound/simple-graph-scu-card.txt | 65 ++
1 file changed, 65 insertions(+)
cre
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
graph base DT binding are used on V4L2, and ALSA SoC is using different
style of DT. In case of simple case, ALSA SoC supports simple-card
driver.
In the future, V4L2 / ALSA will support HDMI, and then, DT bindings
between V4L2
From: Kuninori Morimoto
Signed-off-by: Kuninori Morimoto
---
v3 -> v4
- no change
.../bindings/sound/simple-graph-scu-card.txt | 65 ++
1 file changed, 65 insertions(+)
create mode 100644
Documentation/devicetree/bindings/sound/simple-graph-scu-card.txt
d
From: Kuninori Morimoto
graph base DT binding are used on V4L2, and ALSA SoC is using different
style of DT. In case of simple case, ALSA SoC supports simple-card
driver.
In the future, V4L2 / ALSA will support HDMI, and then, DT bindings
between V4L2 / ALSA should be merged somehow.
This patch
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
It is assuming that the card related information is located on
"card" node, but graph case doesn't have it.
This patch adds node parameter to adjust for graph support
Signed-off-by: Kuninori Morimoto <kuninori.mori
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
---
v3 -> v4
- no change
.../bindings/sound/simple-graph-card.txt | 65 ++
1 file changed, 65 insertions(+)
cre
From: Kuninori Morimoto
It is assuming that the card related information is located on
"card" node, but graph case doesn't have it.
This patch adds node parameter to adjust for graph support
Signed-off-by: Kuninori Morimoto
---
v3 -> v4
- no change
include/sound/simple_card_ut
From: Kuninori Morimoto
Signed-off-by: Kuninori Morimoto
---
v3 -> v4
- no change
.../bindings/sound/simple-graph-card.txt | 65 ++
1 file changed, 65 insertions(+)
create mode 100644
Documentation/devicetree/bindings/sound/simple-graph-card.txt
diff --
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
If CPU/Platform side driver probes successfully, and if it is supporting
both previous normal sound card style and graph style DT, it can call
asoc_simple_card_try_to_probe_graph_card().
It checks graph style DT, and do n
From: Kuninori Morimoto
If CPU/Platform side driver probes successfully, and if it is supporting
both previous normal sound card style and graph style DT, it can call
asoc_simple_card_try_to_probe_graph_card().
It checks graph style DT, and do nothing if it was non graph style DT,
or register
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
OF graph is used mainly from V4L2, but ALSA needs to use it. It already
has for_each_endpoint_of_node() which is for-loop for each endpoint.
But, ALSA needs for-loop for each port[s], and for-loop for each
endpoint of inside
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
OF graph want to count its port/endpoint number, same as
of_get_child_count(). This patch adds these functions.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
---
v3 -> v4
- no change
dr
From: Kuninori Morimoto
OF graph want to count its port/endpoint number, same as
of_get_child_count(). This patch adds these functions.
Signed-off-by: Kuninori Morimoto
---
v3 -> v4
- no change
drivers/of/base.c| 24
include/linux/of_graph.h |
From: Kuninori Morimoto
OF graph is used mainly from V4L2, but ALSA needs to use it. It already
has for_each_endpoint_of_node() which is for-loop for each endpoint.
But, ALSA needs for-loop for each port[s], and for-loop for each
endpoint of inside port[s]. This patch adds for_each_of_port
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
simple-card already has asoc_simple_card_parse_dai(),
but graph base parsing needs graph specific version of it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
---
v3 -> v4
- no change
From: Kuninori Morimoto
simple-card already has asoc_simple_card_parse_dai(),
but graph base parsing needs graph specific version of it.
Signed-off-by: Kuninori Morimoto
---
v3 -> v4
- no change
include/sound/simple_card_utils.h | 10 +++
sound/soc/generic/simple-card-utils.c |
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
Linux kernel already has of_graph_get_remote_port_parent(),
but, sometimes we want to get own port parent.
This patch adds of_graph_get_port_parent()
Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
driver want to get top level of port[s] node. This patch adds
of_graph_get_top_port() for this purpose
Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
---
v3 -> v4
- care non-OF case
drivers/of/bas
From: Kuninori Morimoto
Linux kernel already has of_graph_get_remote_port_parent(),
but, sometimes we want to get own port parent.
This patch adds of_graph_get_port_parent()
Signed-off-by: Kuninori Morimoto
---
v3 -> v4
- no change
drivers/of/base.c|
From: Kuninori Morimoto
driver want to get top level of port[s] node. This patch adds
of_graph_get_top_port() for this purpose
Signed-off-by: Kuninori Morimoto
---
v3 -> v4
- care non-OF case
drivers/of/base.c| 24
include/linux/of_graph.h | 7 +++
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
It should use same method to get same result.
To getting remote-endpoint node,
let's use of_graph_get_remote_endpoint()
Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
---
v3 -> v4
- no change
dr
From: Kuninori Morimoto
It should use same method to get same result.
To getting remote-endpoint node,
let's use of_graph_get_remote_endpoint()
Signed-off-by: Kuninori Morimoto
---
v3 -> v4
- no change
drivers/of/base.c| 18 --
include/linux/of_graph.h |
) : OF graph new feature
6) - 12) : OF graph base simple-card (depends on above 2 patch-set)
Kuninori Morimoto (12):
1) of_graph: add of_graph_get_remote_endpoint()
2) of_graph: add of_graph_get_port_parent()
3) of_graph: add of_graph_get_top_port()
4) of_graph: add for_each_of_port
) : OF graph new feature
6) - 12) : OF graph base simple-card (depends on above 2 patch-set)
Kuninori Morimoto (12):
1) of_graph: add of_graph_get_remote_endpoint()
2) of_graph: add of_graph_get_port_parent()
3) of_graph: add of_graph_get_top_port()
4) of_graph: add for_each_of_port
Hi
> [auto build test ERROR on asoc/for-next]
> [also build test ERROR on v4.9-rc4 next-20161110]
> [if your patch is applied to the wrong git tree, please drop us a note to
> help improve the system]
>
> url:
> https://github.com/0day-ci/linux/commits/Kuninori-Morim
Hi
> [auto build test ERROR on asoc/for-next]
> [also build test ERROR on v4.9-rc4 next-20161110]
> [if your patch is applied to the wrong git tree, please drop us a note to
> help improve the system]
>
> url:
> https://github.com/0day-ci/linux/commits/Kuninori-Morim
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
driver want to get top level of port[s] node. This patch adds
of_graph_get_top_port() for this purpose
Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
---
v2 -> v3
- no change
drivers/of/bas
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
graph base DT binding are used on V4L2, and ALSA SoC is using different
style of DT. In case of simple case, ALSA SoC supports simple-card
driver.
In the future, V4L2 / ALSA will support HDMI, and then, DT bindings
between V4L2
From: Kuninori Morimoto
driver want to get top level of port[s] node. This patch adds
of_graph_get_top_port() for this purpose
Signed-off-by: Kuninori Morimoto
---
v2 -> v3
- no change
drivers/of/base.c| 24
include/linux/of_graph.h | 2 ++
2 fi
From: Kuninori Morimoto
graph base DT binding are used on V4L2, and ALSA SoC is using different
style of DT. In case of simple case, ALSA SoC supports simple-card
driver.
In the future, V4L2 / ALSA will support HDMI, and then, DT bindings
between V4L2 / ALSA should be merged somehow.
Sometimes
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
---
v2 -> v3
- Added how to use Simple-Graph-SCU-Card, and cleaned-up
.../bindings/sound/simple-graph-scu-card.txt | 65 ++
From: Kuninori Morimoto
Signed-off-by: Kuninori Morimoto
---
v2 -> v3
- Added how to use Simple-Graph-SCU-Card, and cleaned-up
.../bindings/sound/simple-graph-scu-card.txt | 65 ++
1 file changed, 65 insertions(+)
create mode 100644
Documentation/devicet
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
Linux kernel already has of_graph_get_remote_port_parent(),
but, sometimes we want to get own port parent.
This patch adds of_graph_get_port_parent()
Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
graph base DT binding are used on V4L2, and ALSA SoC is using different
style of DT. In case of simple case, ALSA SoC supports simple-card
driver.
In the future, V4L2 / ALSA will support HDMI, and then, DT bindings
between V4L2
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
It is assuming that the card related information is located on
"card" node, but graph case doesn't have it.
This patch adds node parameter to adjust for graph support
Signed-off-by: Kuninori Morimoto <kuninori.mori
From: Kuninori Morimoto
Linux kernel already has of_graph_get_remote_port_parent(),
but, sometimes we want to get own port parent.
This patch adds of_graph_get_port_parent()
Signed-off-by: Kuninori Morimoto
---
v2 -> v3
- no change
drivers/of/base.c|
From: Kuninori Morimoto
graph base DT binding are used on V4L2, and ALSA SoC is using different
style of DT. In case of simple case, ALSA SoC supports simple-card
driver.
In the future, V4L2 / ALSA will support HDMI, and then, DT bindings
between V4L2 / ALSA should be merged somehow.
This patch
From: Kuninori Morimoto
It is assuming that the card related information is located on
"card" node, but graph case doesn't have it.
This patch adds node parameter to adjust for graph support
Signed-off-by: Kuninori Morimoto
---
v2 -> v3
- no change
include/sound/soc.h | 6
601 - 700 of 1650 matches
Mail list logo