mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] of: Add of-graph helpers to loop over endpoints and find ports by id
@ 2015-01-22  8:38 Philipp Zabel
  2015-02-11 17:05 ` Philipp Zabel
  0 siblings, 1 reply; 3+ messages in thread
From: Philipp Zabel @ 2015-01-22  8:38 UTC (permalink / raw)
  To: Grant Likely
  Cc: linux-kernel, Guennadi Liakhovetski, Laurent Pinchart,
	Mathieu Poirier, David Airlie, Mauro Carvalho Chehab,
	Russell King, Greg Kroah-Hartman, Andrzej Hajda, Tomi Valkeinen,
	Jean-Christophe Plagniol-Villard, kernel

Hi Grant,

I have prepared a tag with the of-graph helper patch series last
discussed here: https://lkml.org/lkml/2014/12/23/219

The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672:

  Linux 3.19-rc1 (2014-12-20 17:08:50 -0800)

are available in the git repository at:

  git://git.pengutronix.de/git/pza/linux tags/of-graph-for-3.20

for you to fetch changes up to ae286de228412c3a60aa5b2707d53ead414028bb:

  of: Add of_graph_get_port_by_id function (2015-01-13 13:24:04 +0100)

regards
Philipp

----------------------------------------------------------------
of: Add of-graph helpers to loop over endpoints and find ports by id

This series converts of_graph_get_next_endpoint to decrement the refcount of
the passed prev parameter. This allows to add a for_each_endpoint_of_node
helper macro to loop over all endpoints in a device tree node.
The of_graph_get_port_by_id function is added to retrieve a port by its known
port id (contained in the reg property) from the device tree.

----------------------------------------------------------------
Philipp Zabel (3):
      of: Decrement refcount of previous endpoint in of_graph_get_next_endpoint
      of: Add for_each_endpoint_of_node helper macro
      of: Add of_graph_get_port_by_id function

 drivers/coresight/of_coresight.c                  | 13 ++-----
 drivers/gpu/drm/imx/imx-drm-core.c                | 13 ++-----
 drivers/gpu/drm/rcar-du/rcar_du_kms.c             | 15 +++------
 drivers/media/platform/soc_camera/soc_camera.c    |  3 +-
 drivers/of/base.c                                 | 41 ++++++++++++++++++-----
 drivers/video/fbdev/omap2/dss/omapdss-boot-init.c |  7 +---
 include/linux/of_graph.h                          | 18 ++++++++++
 7 files changed, 62 insertions(+), 48 deletions(-)


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

end of thread, other threads:[~2015-02-27 22:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-22  8:38 [GIT PULL] of: Add of-graph helpers to loop over endpoints and find ports by id Philipp Zabel
2015-02-11 17:05 ` Philipp Zabel
2015-02-27 22:34   ` Robert Schwebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®