media/bcm2835-unicam: Add support for configuration via MC API
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Fri, 15 Oct 2021 16:57:27 +0000 (17:57 +0100)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Fri, 22 Oct 2021 10:49:05 +0000 (11:49 +0100)
commit8ee125813ce4ba5bd02044ab14353c73b8fa0868
tree8a1227a561dd409ab42298e80bd8785ef30d0632
parent13371d22767f4ea56d165cd89928a1afd6c70bde
media/bcm2835-unicam: Add support for configuration via MC API

Adds Media Controller API support for more complex pipelines.
libcamera is about to switch to using this mechanism for configuring
sensors.

This can be enabled by either a module parameter, or device tree.

Various functions have been moved to group video-centric and
mc-centric functions together.

Based on a similar conversion done to ti-vpe.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/media/platform/bcm2835/bcm2835-unicam.c