of: Add of-graph helpers to loop over endpoints and find ports by id
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(-)
Hi Grant,
Am Donnerstag, den 22.01.2015, 09:38 +0100 schrieb Philipp Zabel:
Quoted 20 lines
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/linuxtags/of-graph-for-3.20for you to fetch changes up to
ae286de228412c3a60aa5b2707d53ead414028bb:of: Add
of_graph_get_port_by_idfunction (2015-01-13 13:24:04 +0100)regards
Philipp
Quoted 8 lines
----------------------------------------------------------------
of: Add of-graph helpers to loop over endpoints and find ports by idThis series converts
of_graph_get_next_endpointto decrement the refcount of the passed prev parameter. This allows to add afor_each_endpoint_of_nodehelper macro to loop over all endpoints in a device tree node. Theof_graph_get_port_by_idfunction is added to retrieve a port by its known port id (contained in the reg property) from the device tree.
Is there a chance you could still merge this in time for v3.20?
regards
Philipp
Hi Grant,
Quoted 21 lines · Philipp Zabel
Quoted 21 lines
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/linuxtags/of-graph-for-3.20for you to fetch changes up to
ae286de228412c3a60aa5b2707d53ead414028bb:of: Add
of_graph_get_port_by_idfunction (2015-01-13 13:24:04 +0100)regards
Philipp----------------------------------------------------------------
of: Add of-graph helpers to loop over endpoints and find ports by id
Quoted 7 lines
Quoted 5 lines
This series converts
of_graph_get_next_endpointto decrement the refcount of the passed prev parameter. This allows to add afor_each_endpoint_of_nodehelper macro to loop over all endpoints in a device tree node. Theof_graph_get_port_by_idfunction is added to retrieve a port by its known port id (contained in the reg property) from the device tree.Is there a chance you could still merge this in time for v3.20?
As this is already blocking further mainlining of other i.MX6 graphics patches for quite some time now, can we do something to make it easier for you to review (and hopefully pull) this series?
Thanks,
Robert
Signature · 4 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |