devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V6 0/4] Add support for TI VIP
@ 2025-11-20  9:10 Yemike Abhilash Chandra
  2025-11-20  9:10 ` [PATCH V6 1/4] media: ti: vpe: Re-introduce multi-instance and multi-client support Yemike Abhilash Chandra
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Yemike Abhilash Chandra @ 2025-11-20  9:10 UTC (permalink / raw)
  To: mchehab, robh, krzk+dt, conor+dt, hverkuil+cisco
  Cc: sakari.ailus, bparrot, jai.luthra, dale, linux-media, devicetree,
	linux-kernel, u-kumar1, y-abhilashchandra

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-11-23  8:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-20  9:10 [PATCH V6 0/4] Add support for TI VIP Yemike Abhilash Chandra
2025-11-20  9:10 ` [PATCH V6 1/4] media: ti: vpe: Re-introduce multi-instance and multi-client support Yemike Abhilash Chandra
2025-11-20  9:10 ` [PATCH V6 2/4] media: ti: vpe: Export vpdma_load_firmware() function Yemike Abhilash Chandra
2025-11-20  9:10 ` [PATCH V6 3/4] dt-bindings: media: ti: vpe: Add support for Video Input Port Yemike Abhilash Chandra
2025-11-20  9:50   ` Krzysztof Kozlowski
2025-11-20 10:32     ` Yemike Abhilash Chandra
2025-11-20  9:10 ` [PATCH V6 4/4] media: ti: vpe: Add the VIP driver Yemike Abhilash Chandra
2025-11-23  8:10   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).