[PATCH v6 0/3] media: ti: cal: Add streams support

From: Tomi Valkeinen
Date: Mon Mar 24 2025 - 05:29:57 EST


This adds streams support to TI CAL driver (and two minor improvements).

The previous version was sent in 2023, but there has been no changes
except from rebasing to upstream.

Tomi

---
Changes in v6:
- Rebase on top of v4.16-rc7
- Add two small patches (not related to streams as such)
- Dropper the metadata patch for now, to make the series apply to plain
upstream
- Link to v5: https://lore.kernel.org/r/20230918-cal-streams-v5-0-4851f073f58a@xxxxxxxxxxxxxxxx

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@xxxxxxxxxxxxxxxx

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@xxxxxxxxxxxxxxxx/

---
Tomi Valkeinen (3):
media: ti: cal: Use printk's fourcc formatting
media: ti: cal: Fix wrong goto on error path
media: ti: cal: Add streams support

drivers/media/platform/ti/cal/cal-camerarx.c | 271 +++++++++++++++++++++------
drivers/media/platform/ti/cal/cal-video.c | 157 ++++++++++------
drivers/media/platform/ti/cal/cal.c | 45 +++--
drivers/media/platform/ti/cal/cal.h | 3 +-
4 files changed, 348 insertions(+), 128 deletions(-)
---
base-commit: 4701f33a10702d5fc577c32434eb62adde0a1ae1
change-id: 20230808-cal-streams-b913802c69f4

Best regards,
--
Tomi Valkeinen <tomi.valkeinen@xxxxxxxxxxxxxxxx>