linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/24] of: property: add port base loop
@ 2024-01-31  5:04 Kuninori Morimoto
  2024-01-31  5:04 ` [PATCH v3 01/24] of: property: add missing kerneldoc for of_graph_get_endpoint_count() Kuninori Morimoto
                   ` (23 more replies)
  0 siblings, 24 replies; 37+ messages in thread
From: Kuninori Morimoto @ 2024-01-31  5:04 UTC (permalink / raw)
  To: Bryan O'Donoghue, Lad,  Prabhakar,
	"Niklas Söderlund",
	"Uwe Kleine-König", Abhinav Kumar,
	Alexander Shishkin, Alexander Stein, Alexandre Belloni,
	Alexandre Torgue, Alexey Brodkin, Andrzej Hajda, Andy Gross,
	Biju Das, Bjorn Andersson, Claudiu Beznea, Daniel Vetter,
	Dave Stevenson, David Airlie, Dmitry Baryshkov, Dmitry Torokhov,
	Emma Anholt, Eugen Hristev, Florian Fainelli, Frank Rowand,
	Greg Kroah-Hartman, Hans Verkuil, Helge Deller, Hugues Fruchet,
	Jacopo Mondi, Jacopo Mondi, James Clark, Jaroslav Kysela,
	Jonathan Hunter, Kevin Hilman, Kieran Bingham, Kieran Bingham,
	Konrad Dybcio, Krzysztof Kozlowski, Laurent Pinchart,
	Laurent Pinchart, Liam Girdwood, Liu Ying, Luca Ceresoli,
	Maarten Lankhorst, Marek Vasut, Mark Brown, Mauro Carvalho Chehab,
	Maxime Coquelin, Maxime Ripard, Michael Tretter, Michal Simek,
	Miguel Ojeda, Nathan Chancellor, Neil Armstrong, Nick Desaulniers,
	Nicolas Ferre, Philipp Zabel, Philippe Cornu, Raphael Gallais-Pou,
	Rob Clark, Rob Herring, Robert Foss, Russell King, Sakari Ailus,
	Saravana Kannan, Sascha Hauer, Shawn Guo, Sowjanya Komatineni,
	Stefan Agner, Suzuki K Poulose, Sylwester Nawrocki, Takashi Iwai,
	Thierry Reding, Thomas Zimmermann, Tim Harvey, Todor Tomov,
	Tomi Valkeinen, Yannick Fertre
  Cc: Alim Akhtar, Fabio Estevam, Jacopo Mondi, Jernej Skrabec,
	Jerome Brunet, Jessica Zhang, Jonas Karlman, Kieran Bingham,
	Laurent Pinchart, Leo Yan, Marijn Suijten, Martin Blumenstingl,
	Mike Leach, Sam Ravnborg, Sean Paul, Tom Rix, coresight,
	devicetree, dri-devel, freedreno, linux-amlogic, linux-arm-kernel,
	linux-arm-msm, linux-fbdev, linux-media, linux-omap,
	linux-renesas-soc, linu 


Hi Rob

This is v3 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.

This patch-set renames existing "endpoint" to *_device_*
because it is rather than focusing to device's endpoint instead of
port's endpoint.

	- of_graph_get_next_endpoint()
	+ of_graph_get_next_device_endpoint()

	- of_graph_get_endpoint_count()
	+ of_graph_get_device_endpoint_count()

	- for_each_endpoint_of_node()
	+ for_each_device_endpoint_of_node()


[PATCH 01/24] - [PATCH 02/24] : tidyup existing endpoint function kerneldoc
[PATCH 03/24] - [PATCH 11/24] : replace existing function to *_device_*
[PATCH 12/24] - [PATCH 24/24] : add new function and use it

v2 -> v3
	- tidyup existing endpoint function kerneldoc
	- replace exising function to *_device_*

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

https://lore.kernel.org/r/87jzo0uda2.wl-kuninori.morimoto.gx@renesas.com
https://lore.kernel.org/r/87fryhklhb.wl-kuninori.morimoto.gx@renesas.com


Kuninori Morimoto (24):
   1) of: property: add missing kerneldoc for of_graph_get_endpoint_count()
   2) of: property: use unsigned int return on of_graph_get_endpoint_count()
   3) of: property: rename of_graph_get_next_endpoint() to of_graph_get_next_device_endpoint()
   4) video: fbdev: switch to use of_graph_get_next_device_endpoint()
   5) media: i2c: switch to use of_graph_get_next_device_endpoint()
   6) media: platform: switch to use of_graph_get_next_device_endpoint()
   7) gpu: drm: switch to use of_graph_get_next_device_endpoint()
   8) hwtracing: switch to use of_graph_get_next_device_endpoint()
   9) staging: switch to use of_graph_get_next_device_endpoint()
  10) ASoC: switch to use of_graph_get_next_device_endpoint()
  11) of: remove of_graph_get_next_endpoint() define
  12) of: property: add port base loop
  13) of: property: use of_graph_get_next_port() on of_graph_get_next_endpoint()
  14) of: property: add of_graph_get_next_endpoint()
  15) drm: omapdrm: use of_graph_get_next_endpoint()
  16) media: xilinx-tpg: use of_graph_get_next_endpoint()
  17) ASoC: audio-graph-card: use of_graph_get_next_endpoint()
  18) ASoC: audio-graph-card2: use of_graph_get_next_port()
  19) ASoC: audio-graph-card2: use of_graph_get_next_endpoint()
  20) ASoC: test-component: use for_each_port_of_node()
  21) fbdev: omapfb: use of_graph_get_remote_port()
  22) fbdev: omapfb: use of_graph_get_next_port()
  23) fbdev: omapfb: use of_graph_get_next_endpoint()
  24) fbdev: omapfb: use of_graph_get_next_device_endpoint()

 .clang-format                                 |   2 +-
 drivers/gpu/drm/armada/armada_drv.c           |   2 +-
 drivers/gpu/drm/bridge/tc358767.c             |   2 +-
 drivers/gpu/drm/drm_of.c                      |   6 +-
 drivers/gpu/drm/meson/meson_drv.c             |   4 +-
 drivers/gpu/drm/msm/msm_drv.c                 |   2 +-
 drivers/gpu/drm/mxsfb/lcdif_drv.c             |   2 +-
 drivers/gpu/drm/omapdrm/dss/base.c            |   2 +-
 drivers/gpu/drm/omapdrm/dss/dpi.c             |   2 +-
 drivers/gpu/drm/omapdrm/dss/sdi.c             |   2 +-
 .../drm/panel/panel-raspberrypi-touchscreen.c |   2 +-
 drivers/gpu/drm/pl111/pl111_drv.c             |   2 +-
 drivers/gpu/drm/renesas/rcar-du/rcar_du_kms.c |   2 +-
 drivers/gpu/drm/stm/ltdc.c                    |   4 +-
 drivers/gpu/drm/tiny/arcpgu.c                 |   2 +-
 .../hwtracing/coresight/coresight-platform.c  |   4 +-
 drivers/media/i2c/adv7343.c                   |   2 +-
 drivers/media/i2c/adv748x/adv748x-core.c      |   2 +-
 drivers/media/i2c/adv7604.c                   |   2 +-
 drivers/media/i2c/isl7998x.c                  |   2 +-
 drivers/media/i2c/max9286.c                   |   2 +-
 drivers/media/i2c/mt9p031.c                   |   2 +-
 drivers/media/i2c/mt9v032.c                   |   2 +-
 drivers/media/i2c/ov2659.c                    |   2 +-
 drivers/media/i2c/ov5645.c                    |   2 +-
 drivers/media/i2c/ov5647.c                    |   2 +-
 drivers/media/i2c/s5c73m3/s5c73m3-core.c      |   2 +-
 drivers/media/i2c/s5k5baf.c                   |   2 +-
 drivers/media/i2c/tc358743.c                  |   2 +-
 drivers/media/i2c/tda1997x.c                  |   2 +-
 drivers/media/i2c/tvp514x.c                   |   2 +-
 drivers/media/i2c/tvp5150.c                   |   4 +-
 drivers/media/i2c/tvp7002.c                   |   2 +-
 drivers/media/platform/atmel/atmel-isi.c      |   4 +-
 drivers/media/platform/intel/pxa_camera.c     |   2 +-
 .../microchip/microchip-sama5d2-isc.c         |   2 +-
 .../microchip/microchip-sama7g5-isc.c         |   2 +-
 drivers/media/platform/qcom/camss/camss.c     |   2 +-
 drivers/media/platform/renesas/renesas-ceu.c  |   2 +-
 .../platform/samsung/exynos4-is/fimc-is.c     |   2 +-
 .../platform/samsung/exynos4-is/mipi-csis.c   |   2 +-
 drivers/media/platform/st/stm32/stm32-dcmi.c  |   4 +-
 .../media/platform/ti/am437x/am437x-vpfe.c    |   2 +-
 drivers/media/platform/ti/davinci/vpif.c      |   3 +-
 .../media/platform/ti/davinci/vpif_capture.c  |   3 +-
 drivers/media/platform/video-mux.c            |   2 +-
 drivers/media/platform/xilinx/xilinx-tpg.c    |   3 +-
 drivers/media/platform/xilinx/xilinx-vipp.c   |   2 +-
 drivers/of/property.c                         | 126 ++++++++++++++----
 .../deprecated/atmel/atmel-sama5d2-isc.c      |   2 +-
 .../deprecated/atmel/atmel-sama7g5-isc.c      |   2 +-
 drivers/staging/media/tegra-video/csi.c       |   2 +-
 drivers/staging/media/tegra-video/vi.c        |   2 +-
 drivers/staging/media/tegra-video/vip.c       |   2 +-
 drivers/video/fbdev/amba-clcd.c               |   2 +-
 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 +-
 .../omap2/omapfb/dss/omapdss-boot-init.c      |   2 +-
 drivers/video/fbdev/omap2/omapfb/dss/sdi.c    |   3 +-
 drivers/video/fbdev/omap2/omapfb/dss/venc.c   |   3 +-
 drivers/video/fbdev/pxafb.c                   |   2 +-
 include/linux/of_graph.h                      |  51 +++++--
 include/video/omapfb_dss.h                    |  11 --
 sound/soc/codecs/ak4613.c                     |   2 +-
 sound/soc/generic/audio-graph-card.c          |   2 +-
 sound/soc/generic/audio-graph-card2.c         |  33 ++---
 sound/soc/generic/simple-card-utils.c         |   6 +-
 sound/soc/generic/test-component.c            |   4 +-
 sound/soc/sh/rcar/core.c                      |   4 +-
 73 files changed, 247 insertions(+), 251 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2024-02-06  2:06 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-31  5:04 [PATCH v3 00/24] of: property: add port base loop Kuninori Morimoto
2024-01-31  5:04 ` [PATCH v3 01/24] of: property: add missing kerneldoc for of_graph_get_endpoint_count() Kuninori Morimoto
2024-01-31  5:05 ` [PATCH v3 02/24] of: property: use unsigned int return on of_graph_get_endpoint_count() Kuninori Morimoto
2024-01-31  6:30   ` Dmitry Baryshkov
2024-02-01  0:12     ` Kuninori Morimoto
2024-01-31  5:05 ` [PATCH v3 03/24] of: property: rename of_graph_get_next_endpoint() to of_graph_get_next_device_endpoint() Kuninori Morimoto
2024-01-31  5:05 ` [PATCH v3 04/24] video: fbdev: switch to use of_graph_get_next_device_endpoint() Kuninori Morimoto
2024-01-31  5:05 ` [PATCH v3 05/24] media: i2c: " Kuninori Morimoto
2024-02-02 17:49   ` Rob Herring
2024-02-04 23:44     ` Kuninori Morimoto
2024-02-05 16:55       ` Rob Herring
2024-02-05 23:34         ` Kuninori Morimoto
2024-02-06  2:06       ` Kuninori Morimoto
2024-01-31  5:05 ` [PATCH v3 06/24] media: platform: " Kuninori Morimoto
2024-02-02 17:56   ` Rob Herring
2024-01-31  5:05 ` [PATCH v3 07/24] gpu: drm: " Kuninori Morimoto
2024-01-31  6:32   ` Dmitry Baryshkov
2024-01-31  5:05 ` [PATCH v3 08/24] hwtracing: " Kuninori Morimoto
2024-02-02 18:01   ` Suzuki K Poulose
2024-01-31  5:05 ` [PATCH v3 09/24] staging: " Kuninori Morimoto
2024-01-31  5:06 ` [PATCH v3 10/24] ASoC: " Kuninori Morimoto
2024-01-31  5:06 ` [PATCH v3 11/24] of: remove of_graph_get_next_endpoint() define Kuninori Morimoto
2024-01-31  5:06 ` [PATCH v3 12/24] of: property: add port base loop Kuninori Morimoto
2024-01-31  5:06 ` [PATCH v3 13/24] of: property: use of_graph_get_next_port() on of_graph_get_next_endpoint() Kuninori Morimoto
2024-01-31  5:06 ` [PATCH v3 14/24] of: property: add of_graph_get_next_endpoint() Kuninori Morimoto
2024-01-31  9:07   ` Luca Ceresoli
2024-01-31 23:26     ` Kuninori Morimoto
2024-01-31  5:06 ` [PATCH v3 15/24] drm: omapdrm: use of_graph_get_next_endpoint() Kuninori Morimoto
2024-01-31  5:06 ` [PATCH v3 16/24] media: xilinx-tpg: " Kuninori Morimoto
2024-01-31  5:06 ` [PATCH v3 17/24] ASoC: audio-graph-card: " Kuninori Morimoto
2024-01-31  5:07 ` [PATCH v3 18/24] ASoC: audio-graph-card2: use of_graph_get_next_port() Kuninori Morimoto
2024-01-31  5:07 ` [PATCH v3 19/24] ASoC: audio-graph-card2: use of_graph_get_next_endpoint() Kuninori Morimoto
2024-01-31  5:07 ` [PATCH v3 20/24] ASoC: test-component: use for_each_port_of_node() Kuninori Morimoto
2024-01-31  5:07 ` [PATCH v3 21/24] fbdev: omapfb: use of_graph_get_remote_port() Kuninori Morimoto
2024-01-31  5:07 ` [PATCH v3 22/24] fbdev: omapfb: use of_graph_get_next_port() Kuninori Morimoto
2024-01-31  5:07 ` [PATCH v3 23/24] fbdev: omapfb: use of_graph_get_next_endpoint() Kuninori Morimoto
2024-01-31  5:07 ` [PATCH v3 24/24] fbdev: omapfb: use of_graph_get_next_device_endpoint() 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).