]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: rcar-vin: Extend group notifier DT parser to work with any port
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Fri, 9 Jul 2021 14:25:56 +0000 (16:25 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 5 Aug 2021 14:29:14 +0000 (16:29 +0200)
commit54c18011c387ac103b599093f3688ece8c6975f9
tree1beeb9efdab3498d958b54d4831e7651653908e5
parente1c9c83bb560b85761315325eb1a2fdf7611f6a3
media: rcar-vin: Extend group notifier DT parser to work with any port

The R-Car VIN group notifier will be extend to support a new group of
subdevices, the R-Car ISP channel selector in addition to the existing
R-Car CSI-2 receiver subdevices.

The existing DT parsing code can be reused if the port and max number of
endpoints are provided as parameters instead of being hard-coded. While
at it align the group notifier parser function names with the rest of
the driver.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/rcar-vin/rcar-core.c