mbox series

[0/4] media: i2c: max9286: Use remote endpoint image format

Message ID 20200817143540.247340-1-jacopo+renesas@jmondi.org (mailing list archive)
Headers show
Series media: i2c: max9286: Use remote endpoint image format | expand


Jacopo Mondi Aug. 17, 2020, 2:35 p.m. UTC
In order to prepare to support multiple camera modules, which deliver image
streams in different formats, modify the max9286 driver in order to remote
the hardcoded formats it currently exposes.

The image formats, both for ACTIVE and TRY formats, are retrieved from
the remote subdevices instead of being hard-coded.

This series also dis-allow setting any format on the max9286 sink pads, as
the format only depends on the remote end and the MAX9286 chip cannot
perform any transformation of the image stream it de-serialize from GMSL


Jacopo Mondi (4):
  media: i2c: max9286: Initialize try formats
  media: i2c: max9286: Get format from remote ends
  media: i2c: max9286: Do not allow changing format
  media: i2c: max9286: Remove cached formats

 drivers/media/i2c/max9286.c | 124 +++++++++++++++---------------------
 1 file changed, 51 insertions(+), 73 deletions(-)

base-commit: f45882cfb152f5d3a421fd58f177f227e44843b9