This patch series adds support for the TI VIP. VIP stands for Video
Input Port, it can be found on devices such as DRA7xx and provides
a parallel interface to a video source such as a sensor or TV decoder.
Each VIP can support two inputs (slices) and a SoC can be configured
with a variable number of VIP's. Each slice can support two ports
each connected to its own sub-device.
Changelog:
Changes in v6:
- Collect R/B from Rob
- Use latest v4l-utils (Hans)
- Remove 'default n' from VIDEO_TI_VIP Kconfig option (Hans)
- Updated Kconfig dependencies with COMPILE_TEST, now depends on SOC_DRA7XX || COMPILE_TEST (Hans)
- In vip_s_std(), moved the standard validation check before the vb2_is_busy() check (Hans)
- In vip_s_fmt_vid_cap(), moved the vip_try_fmt_vid_cap() call before the vb2_is_busy() check (Hans)
- Put all vip_set_slice_path() calls on a single line for better readability (Hans)
- Clean up set_fmt_params and unset_fmt_params functions to make the logic easier to read (Hans)
- Add a vb2_is_busy check in vip_s_selection (Hans)
- Remove buffer count check in vip_queue_setup (Hans)
- For *nplanes is != 0 just check the size in vip_queue_setup (Hans)
- Remove read support (Hans)
- Change vip_register_subdev_notif() to vip_register_subdev_notify() (Hans)
- Also fixed issues reported by Coccinelle and W=1 build.
v4l2-compliance output: https://gist.github.com/Yemike-Abhilash-Chandra/36af73c5f6f43d3cf497eebf729e39a5
v4l2-compliance output with -s: https://gist.github.com/Yemike-Abhilash-Chandra/bccf57e5ef9775bec912edff66a5bffd
Test logs: https://gist.github.com/Yemike-Abhilash-Chandra/d4e775f688256feb8ae2d7ec91de4249
(Tested on mainline: 6.18-rc6 since next-20251119 was broken for AM57 due to some othe reason)
DT binding check results: https://gist.github.com/Yemike-Abhilash-Chandra/da9b144943225326e0209bf5e0627810
(No errors related to ti,vip.yaml)
Link for v5: https://lore.kernel.org/all/20251024094452.549186-1-y-abhilashchandra@ti.com/
Dale Farnsworth (2):
dt-bindings: media: ti: vpe: Add support for Video Input Port
media: ti: vpe: Add the VIP driver
Yemike Abhilash Chandra (2):
media: ti: vpe: Re-introduce multi-instance and multi-client support
media: ti: vpe: Export vpdma_load_firmware() function
.../devicetree/bindings/media/ti,vip.yaml | 152 +
MAINTAINERS | 1 +
drivers/media/platform/ti/Kconfig | 13 +
drivers/media/platform/ti/vpe/Makefile | 2 +
drivers/media/platform/ti/vpe/vip.c | 3668 +++++++++++++++++
drivers/media/platform/ti/vpe/vip.h | 717 ++++
drivers/media/platform/ti/vpe/vpdma.c | 51 +-
drivers/media/platform/ti/vpe/vpdma.h | 6 +
8 files changed, 4609 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/media/ti,vip.yaml
create mode 100644 drivers/media/platform/ti/vpe/vip.c
create mode 100644 drivers/media/platform/ti/vpe/vip.h
--
2.34.1