linux/drivers/media/platform
Pratyush Yadav dbca7b3c41 media: cadence: csi2rx: Add get_fmt and set_fmt pad ops
The format is needed to calculate the link speed for the external DPHY
configuration. It is not right to query the format from the source
subdev. Add get_fmt and set_fmt pad operations so that the format can be
configured and correct bpp be selected.

Initialize and use the v4l2 subdev active state to keep track of the
active formats. Also propagate the new format from the sink pad to all
the source pads.

Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Tested-by: Julien Massot <julien.massot@collabora.com>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Co-developed-by: Jai Luthra <j-luthra@ti.com>
Signed-off-by: Jai Luthra <j-luthra@ti.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2023-10-12 09:22:28 +02:00
..
allegro-dvt media: allegro: Annotate struct mcu_msg_push_buffers_internal with __counted_by 2023-10-07 10:55:45 +02:00
amlogic media: ge2d: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
amphion media: amphion: handle firmware debug message 2023-10-07 10:55:44 +02:00
aspeed media: aspeed: Fix memory overwrite if timing is 1600x900 2023-07-19 12:57:51 +02:00
atmel media: v4l: async: Set v4l2_device and subdev in async notifier init 2023-08-10 07:58:32 +02:00
cadence media: cadence: csi2rx: Add get_fmt and set_fmt pad ops 2023-10-12 09:22:28 +02:00
chips-media media: coda: Remove duplicated include 2023-08-14 20:27:58 +02:00
intel media: v4l: async: Set v4l2_device and subdev in async notifier init 2023-08-10 07:58:32 +02:00
marvell media: v4l: Use correct dependency for camera sensor drivers 2023-09-14 12:38:17 +02:00
mediatek media: mediatek: vcodec: add encoder power management helper functions 2023-10-07 10:55:45 +02:00
microchip media: microchip: don't set bus_info 2023-09-27 10:47:23 +02:00
nuvoton media: nuvoton: npcm-video: Fix IS_ERR() vs NULL bug 2023-10-07 10:55:45 +02:00
nvidia media: Explicitly include correct DT includes 2023-07-19 12:57:51 +02:00
nxp media: v4l: subdev: Clear frame descriptor before get_frame_desc 2023-10-07 10:55:48 +02:00
qcom media: qcom: camss: Comment CSID dt_id field 2023-10-07 10:55:44 +02:00
renesas media: rcar_drif: use explicit name for bus_info 2023-09-27 10:47:23 +02:00
rockchip media: v4l: async: Set v4l2_device and subdev in async notifier init 2023-08-10 07:58:32 +02:00
samsung media: s5p-mfc: Fix potential deadlock on condlock 2023-10-07 10:55:45 +02:00
st media: c8sectpfe: Use the devm_clk_get_enabled() helper function 2023-09-27 09:39:55 +02:00
sunxi media: v4l: async: Set v4l2_device and subdev in async notifier init 2023-08-10 07:58:32 +02:00
ti media: am437x: don't fill in bus_info 2023-09-27 10:47:23 +02:00
verisilicon media: verisilicon: replace snprintf with strscpy+strlcat 2023-09-27 10:47:23 +02:00
via media: via: Use correct dependency for camera sensor drivers 2023-09-14 12:38:17 +02:00
xilinx media: platform: Use dev_err_probe instead of dev_err 2023-09-27 09:40:01 +02:00
Kconfig media: nuvoton: Add driver for NPCM video capture and encoding engine 2023-09-27 09:40:02 +02:00
m2m-deinterlace.c media: m2m-deinterlace: Convert to platform remove callback returning void 2023-04-11 16:59:15 +02:00
Makefile media: nuvoton: Add driver for NPCM video capture and encoding engine 2023-09-27 09:40:02 +02:00
video-mux.c media: v4l: async: Set v4l2_device and subdev in async notifier init 2023-08-10 07:58:32 +02:00