aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJai Luthra <jai.luthra@ideasonboard.com>2025-08-11 13:50:16 +0530
committerHans Verkuil <hverkuil+cisco@kernel.org>2025-08-25 15:40:42 +0200
commit4d09706dfa0c57b01ff45005166eb6acefee8835 (patch)
tree2b7887797d93b81d60195f421a8c00143ab4dc11
parentmedia: ti: j721e-csi2rx: Fix source subdev link creation (diff)
downloadlinux-4d09706dfa0c57b01ff45005166eb6acefee8835.tar.gz
linux-4d09706dfa0c57b01ff45005166eb6acefee8835.zip
media: cadence: csi2rx: Implement get_fwnode_pad op
Use v4l2_subdev_get_fwnode_pad_1_to_1() as the get_fwnode_pad operation. Cadence CSI2RX maps port numbers and pad indices 1:1. Reviewed-by: Changhuang Liang <changhuang.liang@starfivetech.com> Reviewed-by: Devarsh Thakkar <devarsht@ti.com> Tested-by: Yemike Abhilash Chandra <y-abhilashchandra@ti.com> (on SK-AM68) Signed-off-by: Jai Luthra <jai.luthra@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
-rw-r--r--drivers/media/platform/cadence/cdns-csi2rx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/cadence/cdns-csi2rx.c b/drivers/media/platform/cadence/cdns-csi2rx.c
index 7f1ce95cdc3f..c23204748785 100644
--- a/drivers/media/platform/cadence/cdns-csi2rx.c
+++ b/drivers/media/platform/cadence/cdns-csi2rx.c
@@ -595,6 +595,7 @@ static const struct v4l2_subdev_internal_ops csi2rx_internal_ops = {
static const struct media_entity_operations csi2rx_media_ops = {
.link_validate = v4l2_subdev_link_validate,
+ .get_fwnode_pad = v4l2_subdev_get_fwnode_pad_1_to_1,
};
static int csi2rx_async_bound(struct v4l2_async_notifier *notifier,