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

From: Tomi Valkeinen
Date: Wed Mar 26 2025 - 07:34:31 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 v7:
- Add Kieran's RBs
- Fix checkpatch warnings wrt. formatting
- Link to v6: https://lore.kernel.org/r/20250324-cal-streams-v6-0-28c93fb8f0c9@xxxxxxxxxxxxxxxx

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 | 270 +++++++++++++++++++++------
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, 347 insertions(+), 128 deletions(-)
---
base-commit: 38fec10eb60d687e30c8c6b5420d86e8149f7557
change-id: 20230808-cal-streams-b913802c69f4

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