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 v3:
Krzysztof:
- Add kerneldoc for vpdma_update_dma_addr function
- Change EXPORT_SYMBOL to EXPORT_SYMBOL_GPL for vpdma_update_dma_addr
- Remove redundant labels in bindings (Patch 4/5)
- Remove minItems in interrupts and mandate exactly 2 interrupts using items (Patch 4/5)
- Rename phandle from ti,vip-clk-polarity to ti,ctrl-module and explain why this is required by the device (Patch 4/5)
- Make the phandle verifiable instead of just descriptive (Patch 4/5)
- Drop entire sensor node from example DT (Patch 4/5)
- Fix ports hierarchy using appropriate references and descriptions (Patch 4/5)
- Use generic node names (Patch 4/5)
- Use dev_err_probe() instead of dev_err() (Patch 5/5)
- Remove functionality that identifies instance ID using label (Patch 5/5)
Hans:
- Do not fill bus_info in vip_querycap (Patch 5/5)
- Change "camera" to "Camera" in vip_enuminput (Patch 5/5)
- Add vb2_is_busy() check in vip_s_std function (Patch 5/5)
- Remove compose since the hardware does not support it (Patch 5/5)
- Add check for s->target in vip_s_selection function (Patch 5/5)
- Drop wait_prepare/wait_finish callbacks (Patch 5/5)
- Remove v4l2_dbg prints that only log the called ioctl (Patch 5/5)
- Drop the maintainer’s patch since it was already accepted
- Add two new properties ti,vip-pixel-mux and ti,vip-channels with appropriate types and descriptions (Patch 4/5)
- If the input matches the current video standard in vip_s_std, then return (Patch 5/5)
v4l2-compliance output: https://gist.github.com/Yemike-Abhilash-Chandra/cdab5a066bdca54034eb1168e5218e79
v4l2-compliance with -s: https://gist.github.com/Yemike-Abhilash-Chandra/51c70ab2bc00b7f0ae3224c9aefacb54
Test logs: https://gist.github.com/Yemike-Abhilash-Chandra/14b8e88237aa932cb5a44c728701bb1b
DT binding check results: https://gist.github.com/Yemike-Abhilash-Chandra/97240db08d3d83d1c51d91aa7a05201e
(No errors related to ti,vip.yaml)
Link for v2: https://lore.kernel.org/all/20250716111912.235157-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 (3):
Revert "media: platform: ti: Remove unused vpdma_update_dma_addr"
media: platform: ti: Add kerneldoc for vpdma_update_dma_addr()
media: platform: ti: Switch to EXPORT_SYMBOL_GPL()
.../devicetree/bindings/media/ti,vip.yaml | 178 +
MAINTAINERS | 1 +
drivers/media/platform/ti/Kconfig | 13 +
drivers/media/platform/ti/vpe/Makefile | 2 +
drivers/media/platform/ti/vpe/vip.c | 3768 +++++++++++++++++
drivers/media/platform/ti/vpe/vip.h | 724 ++++
drivers/media/platform/ti/vpe/vpdma.c | 48 +
drivers/media/platform/ti/vpe/vpdma.h | 3 +
8 files changed, 4737 insertions(+)
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