devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/13] of: property: add port base loop
@ 2024-01-29  0:54 Kuninori Morimoto
  2024-01-29  0:54 ` [PATCH v2 01/13] " Kuninori Morimoto
                   ` (13 more replies)
  0 siblings, 14 replies; 38+ messages in thread
From: Kuninori Morimoto @ 2024-01-29  0:54 UTC (permalink / raw)
  To: "Uwe Kleine-König", Daniel Vetter,
	David Airlie, Frank Rowand, Helge Deller, Jaroslav Kysela,
	Laurent Pinchart, Liam Girdwood, Maarten Lankhorst, Mark Brown,
	Mauro Carvalho Chehab, Maxime Ripard, Michal Simek, Rob Herring,
	Saravana Kannan, Takashi Iwai, Thomas Zimmermann, Tomi Valkeinen
  Cc: alsa-devel, devicetree, linux-fbdev, linux-media, linux-sound


Hi Rob

This is v2 of port base loop patch-set

We have endpoint base functions
	- of_graph_get_next_endpoint()
	- of_graph_get_endpoint_count()
	- for_each_endpoint_of_node()

But to handling "port" base things, it is not useful. We want to have
"port" base functions, too. This patch-set adds it.

Because current existing drivers couldn't use "port" base functions,
it were implemented in a different way. This patch-set doesn't try
to full-replace to avoid unknown bug, try easy / quick replace only
for now, but easy to know how "port" base functions are needed.

Because I can't test the driver which I can't use, non-ASoC drivers
needs Tested-by, Acked-by.

v1 -> v2
	- tidyup function explain
	- add missing header on each files

Kuninori Morimoto (13):
  of: property: add port base loop
  of: property: use of_graph_get_next_port() on of_graph_get_next_endpoint()
  of: property: add of_graph_get_next_endpoint_raw()
  drm: omapdrm: use of_graph_get_next_endpoint_raw()
  media: xilinx-tpg: use of_graph_get_next_endpoint_raw()
  ASoC: audio-graph-card: use of_graph_get_next_endpoint_raw()
  ASoC: audio-graph-card2: use of_graph_get_next_port()
  ASoC: audio-graph-card2: use of_graph_get_next_endpoint_raw()
  ASoC: test-component: use for_each_port_of_node()
  fbdev: omapfb: use of_graph_get_remote_port()
  fbdev: omapfb: use of_graph_get_next_port()
  fbdev: omapfb: use of_graph_get_next_endpoint_raw()
  fbdev: omapfb: use of_graph_get_next_endpoint()

 drivers/gpu/drm/omapdrm/dss/dpi.c             |   2 +-
 drivers/gpu/drm/omapdrm/dss/sdi.c             |   2 +-
 drivers/media/platform/xilinx/xilinx-tpg.c    |   2 +-
 drivers/of/property.c                         |  92 +++++++++++++---
 drivers/video/fbdev/omap2/omapfb/dss/dpi.c    |   3 +-
 drivers/video/fbdev/omap2/omapfb/dss/dsi.c    |   3 +-
 drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 101 +-----------------
 drivers/video/fbdev/omap2/omapfb/dss/dss.c    |   9 +-
 drivers/video/fbdev/omap2/omapfb/dss/hdmi4.c  |   3 +-
 drivers/video/fbdev/omap2/omapfb/dss/hdmi5.c  |   3 +-
 drivers/video/fbdev/omap2/omapfb/dss/sdi.c    |   3 +-
 drivers/video/fbdev/omap2/omapfb/dss/venc.c   |   3 +-
 include/linux/of_graph.h                      |  23 ++++
 include/video/omapfb_dss.h                    |  11 --
 sound/soc/generic/audio-graph-card.c          |   2 +-
 sound/soc/generic/audio-graph-card2.c         |  31 ++----
 sound/soc/generic/test-component.c            |   2 +-
 17 files changed, 133 insertions(+), 162 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2024-02-05  9:26 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-29  0:54 [PATCH v2 00/13] of: property: add port base loop Kuninori Morimoto
2024-01-29  0:54 ` [PATCH v2 01/13] " Kuninori Morimoto
2024-01-29 12:16   ` Tomi Valkeinen
2024-01-31 18:52   ` Rob Herring
2024-01-31 23:25     ` Kuninori Morimoto
2024-01-31 18:59   ` Rob Herring
2024-01-29  0:54 ` [PATCH v2 02/13] of: property: use of_graph_get_next_port() on of_graph_get_next_endpoint() Kuninori Morimoto
2024-01-29 12:18   ` Tomi Valkeinen
2024-01-29  0:54 ` [PATCH v2 03/13] of: property: add of_graph_get_next_endpoint_raw() Kuninori Morimoto
2024-01-29 12:29   ` Tomi Valkeinen
2024-01-29 13:02     ` Laurent Pinchart
2024-01-30  0:08       ` Kuninori Morimoto
2024-01-31 18:43       ` Rob Herring
2024-02-01  0:43         ` Kuninori Morimoto
2024-02-01  1:48           ` Kuninori Morimoto
2024-01-29 13:37   ` Sakari Ailus
2024-01-30  0:37     ` Kuninori Morimoto
2024-01-29  0:55 ` [PATCH v2 04/13] drm: omapdrm: use of_graph_get_next_endpoint_raw() Kuninori Morimoto
2024-01-29  0:55 ` [PATCH v2 05/13] media: xilinx-tpg: " Kuninori Morimoto
2024-01-30 13:35   ` kernel test robot
2024-01-29  0:55 ` [PATCH v2 06/13] ASoC: audio-graph-card: " Kuninori Morimoto
2024-01-29  0:55 ` [PATCH v2 07/13] ASoC: audio-graph-card2: use of_graph_get_next_port() Kuninori Morimoto
2024-01-29  0:55 ` [PATCH v2 08/13] ASoC: audio-graph-card2: use of_graph_get_next_endpoint_raw() Kuninori Morimoto
2024-01-29  0:55 ` [PATCH v2 09/13] ASoC: test-component: use for_each_port_of_node() Kuninori Morimoto
2024-01-29  0:55 ` [PATCH v2 10/13] fbdev: omapfb: use of_graph_get_remote_port() Kuninori Morimoto
2024-01-29  0:55 ` [PATCH v2 11/13] fbdev: omapfb: use of_graph_get_next_port() Kuninori Morimoto
2024-01-29  0:55 ` [PATCH v2 12/13] fbdev: omapfb: use of_graph_get_next_endpoint_raw() Kuninori Morimoto
2024-01-29  0:55 ` [PATCH v2 13/13] fbdev: omapfb: use of_graph_get_next_endpoint() Kuninori Morimoto
2024-01-29 12:27 ` [PATCH v2 00/13] of: property: add port base loop Laurent Pinchart
2024-01-29 13:29   ` Sakari Ailus
2024-01-30  0:34     ` Kuninori Morimoto
2024-01-30  7:31       ` Sakari Ailus
2024-01-30  7:37         ` Tomi Valkeinen
2024-01-30  7:40           ` Sakari Ailus
2024-01-30 23:24             ` Kuninori Morimoto
2024-02-01  9:18               ` Sakari Ailus
2024-02-05  5:31                 ` Kuninori Morimoto
2024-02-05  9:26                   ` Laurent Pinchart

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).