|
|
Log in / Subscribe / Register

Add support for TI VIP

From:  Yemike Abhilash Chandra <y-abhilashchandra-AT-ti.com>
To:  <mchehab-AT-kernel.org>, <robh-AT-kernel.org>, <krzk+dt-AT-kernel.org>, <conor+dt-AT-kernel.org>, <hverkuil+cisco-AT-kernel.org>
Subject:  [PATCH V5 0/4] Add support for TI VIP
Date:  Fri, 24 Oct 2025 15:14:48 +0530
Message-ID:  <20251024094452.549186-1-y-abhilashchandra@ti.com>
Cc:  <sakari.ailus-AT-linux.intel.com>, <bparrot-AT-ti.com>, <jai.luthra-AT-ideasonboard.com>, <dale-AT-farnsworth.org>, <linux-media-AT-vger.kernel.org>, <devicetree-AT-vger.kernel.org>, <linux-kernel-AT-vger.kernel.org>, <u-kumar1-AT-ti.com>, <y-abhilashchandra-AT-ti.com>
Archive-link:  Article

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 v5:
Krzysztof:
- Drop VIP node's label from the example in DT bindings
- Fix indentation of the example in DT bindings
- Get the phandle args directly through syscon call using syscon_regmap_lookup_by_phandle_args()
- Use devm_platform_ioremap_resource() instead of platform_get_resource() and devm_ioremap_resource()
- Drop struct resource *res from vip shared structure since it is now unused

v4l2-compliance output: https://gist.github.com/Yemike-Abhilash-Chandra/8d6834224...
v4l2-compliance output with -s: https://gist.github.com/Yemike-Abhilash-Chandra/1dfa740a3...
Test logs: https://gist.github.com/Yemike-Abhilash-Chandra/e44c4504d...
DT binding check results: https://gist.github.com/Yemike-Abhilash-Chandra/a7eb1308d...
(No errors related to ti,vip.yaml)

Link for v4: https://lore.kernel.org/linux-media/20251015054010.359442...

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           | 3731 +++++++++++++++++
 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, 4672 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




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds