Re: [PATCH v4] clkdev: add devm_of_clk_get()

2016-11-30 Thread 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

Re: [PATCH v4] clkdev: add devm_of_clk_get()

2016-11-30 Thread 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

Re: [alsa-devel] [PATCH v2] clkdev: add devm_of_clk_get()

2016-11-30 Thread 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

Re: [alsa-devel] [PATCH v2] clkdev: add devm_of_clk_get()

2016-11-30 Thread 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

Re: [alsa-devel] [PATCH v2] clkdev: add devm_of_clk_get()

2016-11-29 Thread Kuninori Morimoto
Hi Stephen Thank you for your feedback. > > > > sound_soc { > > > > clocks = <>, <>; > > > > clock-names = "cpu", "codec"; > > > > ... > > > > cpu { > > > > ... > > > > }; > > > >

Re: [alsa-devel] [PATCH v2] clkdev: add devm_of_clk_get()

2016-11-29 Thread Kuninori Morimoto
Hi Stephen Thank you for your feedback. > > > > sound_soc { > > > > clocks = <>, <>; > > > > clock-names = "cpu", "codec"; > > > > ... > > > > cpu { > > > > ... > > > > }; > > > >

[PATCH v4] clkdev: add devm_of_clk_get()

2016-11-28 Thread Kuninori Morimoto
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>

[PATCH v4] clkdev: add devm_of_clk_get()

2016-11-28 Thread Kuninori Morimoto
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

[PATCH v3] clkdev: add devm_of_clk_get()

2016-11-28 Thread Kuninori Morimoto
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

[PATCH v3] clkdev: add devm_of_clk_get()

2016-11-28 Thread Kuninori Morimoto
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

Re: [PATCH v2] clkdev: add devm_of_clk_get()

2016-11-28 Thread Kuninori Morimoto
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

Re: [PATCH v2] clkdev: add devm_of_clk_get()

2016-11-28 Thread Kuninori Morimoto
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 >

[PATCH v2] clkdev: add devm_of_clk_get()

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v2] clkdev: add devm_of_clk_get()

2016-11-27 Thread Kuninori Morimoto
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,

Re: [PATCH v5 09/14] ASoC: simple-card-utils: add asoc_simple_card_parse_graph_dai()

2016-11-27 Thread Kuninori Morimoto
> 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

Re: [PATCH v5 09/14] ASoC: simple-card-utils: add asoc_simple_card_parse_graph_dai()

2016-11-27 Thread Kuninori Morimoto
> 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

[PATCH v5 12/14] ASoC: add simple-graph-card support

2016-11-27 Thread 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

[PATCH v5 12/14] ASoC: add simple-graph-card support

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 13/14] ASoC: add simple-graph-scu-card document

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 14/14] ASoC: add simple-graph-scu-card support

2016-11-27 Thread 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

[PATCH v5 13/14] ASoC: add simple-graph-scu-card document

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 14/14] ASoC: add simple-graph-scu-card support

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 08/14] ASoC: simple-card-utils: adjust for graph on asoc_simple_card_parse_card_name

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 10/14] ASoC: simple-card-utils: add asoc_simple_card_try_to_probe_graph_card()

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 08/14] ASoC: simple-card-utils: adjust for graph on asoc_simple_card_parse_card_name

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 10/14] ASoC: simple-card-utils: add asoc_simple_card_try_to_probe_graph_card()

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 11/14] ASoC: add simple-graph-card document

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 09/14] ASoC: simple-card-utils: add asoc_simple_card_parse_graph_dai()

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 07/14] of_graph: add of_graph_get_endpoint_count()

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 11/14] ASoC: add simple-graph-card document

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 09/14] ASoC: simple-card-utils: add asoc_simple_card_parse_graph_dai()

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 07/14] of_graph: add of_graph_get_endpoint_count()

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 03/14] of_graph: add of_graph_port_type_is()

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 03/14] of_graph: add of_graph_port_type_is()

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 06/14] of_graph: add for_each_of_port() / for_each_of_endpoint_in_port()

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 04/14] of_graph: add of_graph_get_port_parent()

2016-11-27 Thread Kuninori Morimoto
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>

[PATCH v5 05/14] of_graph: add of_graph_get_top_port()

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 06/14] of_graph: add for_each_of_port() / for_each_of_endpoint_in_port()

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 04/14] of_graph: add of_graph_get_port_parent()

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 05/14] of_graph: add of_graph_get_top_port()

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 02/14] of_graph: add of_graph_get_remote_endpoint()

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 02/14] of_graph: add of_graph_get_remote_endpoint()

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 01/14] Documentation: of: add type property

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 01/14] Documentation: of: add type property

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 00/14] ASoC: add OF graph base simple-card

2016-11-27 Thread Kuninori Morimoto
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

[PATCH v5 00/14] ASoC: add OF graph base simple-card

2016-11-27 Thread Kuninori Morimoto
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

Re: [PATCH] drm: bridge: dw-hdmi: add ASoC dependency

2016-11-27 Thread Kuninori Morimoto
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

Re: [PATCH] drm: bridge: dw-hdmi: add ASoC dependency

2016-11-27 Thread Kuninori Morimoto
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

Re: [PATCH v4] drm: bridge: add DesignWare HDMI I2S audio support

2016-11-24 Thread Kuninori Morimoto
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,

Re: [PATCH v4] drm: bridge: add DesignWare HDMI I2S audio support

2016-11-24 Thread Kuninori Morimoto
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,

Re: [PATCH v4] drm: bridge: add DesignWare HDMI I2S audio support

2016-11-23 Thread Kuninori Morimoto
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

Re: [PATCH v4] drm: bridge: add DesignWare HDMI I2S audio support

2016-11-23 Thread Kuninori Morimoto
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

Re: [alsa-devel] [PATCH v2] clkdev: add devm_of_clk_get()

2016-11-23 Thread 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

Re: [alsa-devel] [PATCH v2] clkdev: add devm_of_clk_get()

2016-11-23 Thread 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

Re: [alsa-devel] [PATCH v2] clkdev: add devm_of_clk_get()

2016-11-23 Thread Kuninori Morimoto
, > struct device_node *child); Thanks. I will check above 2 ideas. Best regards --- Kuninori Morimoto

Re: [alsa-devel] [PATCH v2] clkdev: add devm_of_clk_get()

2016-11-23 Thread Kuninori Morimoto
, > struct device_node *child); Thanks. I will check above 2 ideas. Best regards --- Kuninori Morimoto

Re: [PATCH v4 00/12] ASoC: add OF graph base simple-card

2016-11-21 Thread 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

Re: [PATCH v4 00/12] ASoC: add OF graph base simple-card

2016-11-21 Thread 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

Re: [alsa-devel] [PATCH v2] clkdev: add devm_of_clk_get()

2016-11-15 Thread 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

Re: [alsa-devel] [PATCH v2] clkdev: add devm_of_clk_get()

2016-11-15 Thread 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

[PATCH v4 12/12] ASoC: add simple-graph-scu-card support

2016-11-15 Thread 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

[PATCH v4 12/12] ASoC: add simple-graph-scu-card support

2016-11-15 Thread Kuninori Morimoto
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

[PATCH v4 11/12] ASoC: add simple-graph-scu-card document

2016-11-15 Thread Kuninori Morimoto
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

[PATCH v4 10/12] ASoC: add simple-graph-card support

2016-11-15 Thread 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

[PATCH v4 11/12] ASoC: add simple-graph-scu-card document

2016-11-15 Thread Kuninori Morimoto
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

[PATCH v4 10/12] ASoC: add simple-graph-card support

2016-11-15 Thread Kuninori Morimoto
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

[PATCH v4 08/12] ASoC: simple-card-utils: adjust for graph on asoc_simple_card_parse_card_name

2016-11-15 Thread Kuninori Morimoto
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

[PATCH v4 09/12] ASoC: add simple-graph-card document

2016-11-15 Thread Kuninori Morimoto
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

[PATCH v4 08/12] ASoC: simple-card-utils: adjust for graph on asoc_simple_card_parse_card_name

2016-11-15 Thread Kuninori Morimoto
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

[PATCH v4 09/12] ASoC: add simple-graph-card document

2016-11-15 Thread Kuninori Morimoto
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 --

[PATCH v4 07/12] ASoC: simple-card-utils: add asoc_simple_card_try_to_probe_graph_card()

2016-11-15 Thread Kuninori Morimoto
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

[PATCH v4 07/12] ASoC: simple-card-utils: add asoc_simple_card_try_to_probe_graph_card()

2016-11-15 Thread Kuninori Morimoto
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

[PATCH v4 04/12] of_graph: add for_each_of_port() / for_each_of_endpoint_in_port()

2016-11-15 Thread Kuninori Morimoto
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

[PATCH v4 05/12] of_graph: add of_graph_get_port/endpoint_count()

2016-11-15 Thread Kuninori Morimoto
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

[PATCH v4 05/12] of_graph: add of_graph_get_port/endpoint_count()

2016-11-15 Thread Kuninori Morimoto
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 |

[PATCH v4 04/12] of_graph: add for_each_of_port() / for_each_of_endpoint_in_port()

2016-11-15 Thread Kuninori Morimoto
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

[PATCH v4 06/12] ASoC: simple-card-utils: add asoc_simple_card_parse_graph_dai()

2016-11-15 Thread Kuninori Morimoto
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

[PATCH v4 06/12] ASoC: simple-card-utils: add asoc_simple_card_parse_graph_dai()

2016-11-15 Thread Kuninori Morimoto
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 |

[PATCH v4 02/12] of_graph: add of_graph_get_port_parent()

2016-11-15 Thread Kuninori Morimoto
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>

[PATCH v4 03/12] of_graph: add of_graph_get_top_port()

2016-11-15 Thread Kuninori Morimoto
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

[PATCH v4 02/12] of_graph: add of_graph_get_port_parent()

2016-11-15 Thread Kuninori Morimoto
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|

[PATCH v4 03/12] of_graph: add of_graph_get_top_port()

2016-11-15 Thread Kuninori Morimoto
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 +++

[PATCH v4 01/12] of_graph: add of_graph_get_remote_endpoint()

2016-11-15 Thread Kuninori Morimoto
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

[PATCH v4 01/12] of_graph: add of_graph_get_remote_endpoint()

2016-11-15 Thread Kuninori Morimoto
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 |

[PATCH v4 00/12] ASoC: add OF graph base simple-card

2016-11-15 Thread Kuninori Morimoto
) : 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

[PATCH v4 00/12] ASoC: add OF graph base simple-card

2016-11-15 Thread Kuninori Morimoto
) : 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

Re: [PATCH v3 12/17] ASoC: simple-card-utils: add asoc_simple_card_try_to_probe_graph_card()

2016-11-15 Thread Kuninori Morimoto
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

Re: [PATCH v3 12/17] ASoC: simple-card-utils: add asoc_simple_card_try_to_probe_graph_card()

2016-11-15 Thread Kuninori Morimoto
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

[PATCH v3 08/17] of_graph: add of_graph_get_top_port()

2016-11-10 Thread Kuninori Morimoto
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

[PATCH v3 17/17] ASoC: add simple-graph-scu-card support

2016-11-10 Thread 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

[PATCH v3 08/17] of_graph: add of_graph_get_top_port()

2016-11-10 Thread Kuninori Morimoto
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

[PATCH v3 17/17] ASoC: add simple-graph-scu-card support

2016-11-10 Thread Kuninori Morimoto
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

[PATCH v3 16/17] ASoC: add simple-graph-scu-card document

2016-11-10 Thread Kuninori Morimoto
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 ++

[PATCH v3 16/17] ASoC: add simple-graph-scu-card document

2016-11-10 Thread Kuninori Morimoto
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

[PATCH v3 07/17] of_graph: add of_graph_get_port_parent()

2016-11-10 Thread Kuninori Morimoto
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>

[PATCH v3 15/17] ASoC: add simple-graph-card support

2016-11-10 Thread 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

[PATCH v3 04/17] ASoC: soc-core: adjust for graph on snd_soc_of_parse_audio_prefix

2016-11-10 Thread Kuninori Morimoto
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

[PATCH v3 07/17] of_graph: add of_graph_get_port_parent()

2016-11-10 Thread Kuninori Morimoto
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|

[PATCH v3 15/17] ASoC: add simple-graph-card support

2016-11-10 Thread Kuninori Morimoto
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

[PATCH v3 04/17] ASoC: soc-core: adjust for graph on snd_soc_of_parse_audio_prefix

2016-11-10 Thread Kuninori Morimoto
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

<    2   3   4   5   6   7   8   9   10   11   >