mbox series

[0/2] v4l: async: Switch to endpoint node matching

Message ID 20200807111619.3664763-1-niklas.soderlund+renesas@ragnatech.se (mailing list archive)
Headers show
Series v4l: async: Switch to endpoint node matching | expand

Message

Niklas Söderlund Aug. 7, 2020, 11:16 a.m. UTC
Hi,

With the recent merger of [1] in the media-tree it is finally possible 
to resurrect the last pieces of the work that started in 2017 :-)

Patch 1/2 switches the default behavior of V4L2 async to use endpoint 
node matching instead of device node matching. This is made possible by 
[1] where the matching logic is already changed to allow for both 
possibilities.

Patch 2/2 removes the special case in R-Car CSI-2 driver which have 
always used endpoint node matching since it needed to work with ADV748x 
that register multiple sub-devices using endpoint nodes in the async 
framework.

With this small series the split between V4L2 drivers that use endpoint 
vs device node matching is finally closed \o/.

1. b98158d837efa0b2 ("media: v4l2-async: Accept endpoints and devices for fwnode matching")

Niklas Söderlund (1):
  rcar-csi2: Use V4L2 async helpers to create the notifier

Sakari Ailus (1):
  v4l: async: Use endpoint node, not device node, for fwnode match

 drivers/media/platform/rcar-vin/rcar-csi2.c | 48 +++++----------------
 drivers/media/v4l2-core/v4l2-async.c        |  8 +++-
 drivers/media/v4l2-core/v4l2-fwnode.c       |  2 +-
 3 files changed, 18 insertions(+), 40 deletions(-)