[GIT PULL] Use of-graph helpers to loop over endpoints

Philipp Zabel p.zabel at pengutronix.de
Tue Mar 31 04:58:51 PDT 2015


Hi Dave,

now that the of-graph helper tag has been merged into
  git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
could you merge it and these patches that use it to clean up looping
over of-graph endpoints in drm drivers:

The following changes since commit d7de390bff7ad0f551fc0e409543e98db86a65df:

  Merge branch 'drm-atmel-hlcdc-4.1-fixes' of git://github.com/bbrezillon/linux-at91 into drm-next (2015-03-31 13:38:01 +1000)

are available in the git repository at:

  git://git.pengutronix.de/git/pza/linux.git tags/of-graph-drm-2015-03-31

for you to fetch changes up to 70dab9e2de9691f550416968f818be115c7b5491:

  drm/rockchip: use for_each_endpoint_of_node macro, drop endpoint reference on break (2015-03-31 12:07:51 +0200)

----------------------------------------------------------------
drm: Use of-graph helpers to loop over endpoints

Convert all drm callers that use of_graph_get_next_endpoint to loop over
of-graph endpoints to the newly introduced for_each_endpoint_of_node
helper macro.

----------------------------------------------------------------
Philipp Zabel (8):
      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
      Merge tag 'of-graph-for-4.0' of git://git.pengutronix.de/git/pza/linux into for-next
      drm: use for_each_endpoint_of_node macro in drm_of_find_possible_crtcs
      drm/imx: use for_each_endpoint_of_node macro in imx_drm_encoder_get_mux_id
      drm/rcar-du: use for_each_endpoint_of_node macro
      drm/rockchip: use for_each_endpoint_of_node macro, drop endpoint reference on break

 drivers/coresight/of_coresight.c                  | 13 ++-----
 drivers/gpu/drm/drm_of.c                          | 10 ++----
 drivers/gpu/drm/imx/imx-drm-core.c                | 20 +++--------
 drivers/gpu/drm/rcar-du/rcar_du_kms.c             | 25 +++-----------
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c       | 11 +++---
 drivers/media/platform/am437x/am437x-vpfe.c       |  1 -
 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 ++++++++++
 10 files changed, 71 insertions(+), 78 deletions(-)

regards
Philipp



More information about the dri-devel mailing list