linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ASoC: About graph node issue without 'reg' property
@ 2018-12-13 10:39 Kunihiko Hayashi
  2018-12-13 16:24 ` Mark Brown
  0 siblings, 1 reply; 6+ messages in thread
From: Kunihiko Hayashi @ 2018-12-13 10:39 UTC (permalink / raw)
  To: Kuninori Morimoto, Mark Brown
  Cc: Liam Girdwood, alsa-devel, linux-kernel, Masahiro Yamada,
	Masami Hiramatsu

Hello Morimoto-san, Mark,

I found that your commit b6f3fc005a2c ("ASoC: simple-card-utils:
fixup asoc_simple_card_get_dai_id() counting") replaced with
of_graph_parse_endpoint(), that needs 'reg' property in each port
that has an endpoint.

Currently devicetrees for UniPhier SoCs have also audio graph nodes [1],
and these graph nodes include an endpoint for each port.
Although the port doesn't have 'reg' property, it has worked fine before.
And after applying the commit, it doesn't work.

It is written in Documentation/devicetree/bindings/graph.txt
that common scheme is to include the 'reg' property.

Maybe I think that we'd better add 'reg' properties to each port,
however, there might be same matter in other SoCs, so I'm not sure
whether your patch breaks the backword compatibility or
our devicetrees are wrong.

I'd be glad if I could hear something about this issue from you.

Thank you,

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi#n348

---
Best Regards,
Kunihiko Hayashi



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

end of thread, other threads:[~2018-12-17  0:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-13 10:39 ASoC: About graph node issue without 'reg' property Kunihiko Hayashi
2018-12-13 16:24 ` Mark Brown
2018-12-13 18:27   ` Mark Brown
2018-12-14  0:05     ` Kuninori Morimoto
2018-12-14  2:13       ` Kunihiko Hayashi
2018-12-17  0:47         ` 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).