Hi Rob
This is resend v2 of replace of_graph_get_next_endpoint()
We should get rid of or minimize of_graph_get_next_endpoint() in
its current form. In general, drivers should be asking for a specific
port number because their function is fixed in the binding.
https://lore.kernel.org/r/20240131184347.GA1906672-robh@kernel.org (local)
This patch-set replace of_graph_get_next_endpoint() by
of_graph_get_endpoint_by_regs(). There are still next_endpoint()
after this patch-set, but it will be replaced by
for_each_endpoint_of_node() in next patch-set (A)
[*] this patch-set
[o] done
[o] tidyup of_graph_get_endpoint_count()
[*] replace endpoint func - use endpoint_by_regs()
(A) [ ] replace endpoint func - use for_each()
[ ] rename endpoint func to device_endpoint
[ ] add new port function
[ ] add new endpont function
[ ] remove of_graph_get_next_device_endpoint()
v1 -> v2
- add Reviewed-by from Launrent
- use by_regs(xx, -1, -1) for some devices
- add extra explain for drm_of_get_dsi_bus()
- add FIXME and Link on adv7604.c
- based on latest of branch
Kuninori Morimoto (4):
gpu: drm: replace of_graph_get_next_endpoint()
media: i2c: replace of_graph_get_next_endpoint()
media: platform: replace of_graph_get_next_endpoint()
video: fbdev: replace of_graph_get_next_endpoint()
I wonder who should handle this patch-set ??
I'm posting these as part of "of patch-set" (= to Rob)
but does these should be handled by each driver maintainer ?
(I believe all maintainers are listed on To)
Thank you for your help !!
Best regards
---
Renesas Electronics
Ph.D. Kuninori Morimoto