[v5,0/2] media: ti: cal: Add streams support

Message ID 20230918-cal-streams-v5-0-4851f073f58a@ideasonboard.com (mailing list archive)
Series media: ti: cal: Add streams support |


Tomi Valkeinen Sept. 18, 2023, 2:58 p.m. UTC
  This adds streams support to TI CAL driver. The first patch adds the
base stream support, and does not support metadata. The first patch
applies to current upstream. The second patch adds metadata support, and
depends on Sakari's "[PATCH v3 00/10] Generic line based metadata
support, internal pads" series.

The first patch could be picked separately, but I think it makes sense
review these together, in the hopes that the second patch giving
confidence that the first one is good too.

Changes in v5:
- Some improvements in the patch description of the first patch
- Add "media: ti: cal: Add metadata streams support"
- Link to v4: https://lore.kernel.org/r/20230808-cal-streams-v4-1-1f37610e0946@ideasonboard.com

Changes in v4:
- A few minor formatting changes
- Small changes regarding how the code handles metadata formats.
  No metadata formats are supported yet, but we do have some code to
  ensure that metadata formats aren't allowed on video nodes in video
  capture mode. A future patch will enable metadata capture, allowing
  the runtime change of video nodes between video and meta capture.
- Link to v3: https://lore.kernel.org/all/20230302100755.191164-6-tomi.valkeinen@ideasonboard.com/

Tomi Valkeinen (2):
      media: ti: cal: Add streams support
      media: ti: cal: Add metadata streams support

 drivers/media/platform/ti/cal/cal-camerarx.c | 269 +++++++++++++++++------
 drivers/media/platform/ti/cal/cal-video.c    | 315 +++++++++++++++++++++++----
 drivers/media/platform/ti/cal/cal.c          |  60 +++--
 drivers/media/platform/ti/cal/cal.h          |   6 +-
 4 files changed, 533 insertions(+), 117 deletions(-)
base-commit: 0b70ec8aae7d61396ce54514f2257c060d49c97e
change-id: 20230808-cal-streams-b913802c69f4

Best regards,