linux/drivers/media/platform
Bryan O'Donoghue 5900b05195 media: qcom: camss: Pass remainder of variables as resources
The following variables are being assigned statically based on
compatible strings in the probe path.

* enum camss_version version;
* unsigned int csiphy_num;
* unsigned int csid_num;
* unsigned int vfe_num;
* unsigned int vfe_lite_num;
* unsigned int vfe_total_num;

Migrate those variables to resource parameters passed in on platform
probe arguments. The one caveat is for VFE it has been necessary to
intoduce a new variable vfe_total_num to capture the aggregate value of
vfe_num + vfe_lite_num.

All the rest of the changes are rote camss->variable to
camss->res->variable with the parameter tables now populating the listed
variables.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2023-10-07 10:55:44 +02:00
..
allegro-dvt media: allegro-dvt: increase buffer size in msg_type_name() 2023-09-27 10:47:22 +02:00
amlogic media: ge2d: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
amphion media: amphion: ensure the bitops don't cross boundaries 2023-07-25 09:31:49 +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: use sizeof() instead of V4L2_SUBDEV_NAME_SIZE 2023-09-27 10:47:22 +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: fix spelling mistake "resonable" -> "reasonable" 2023-09-27 09:40:01 +02:00
microchip media: microchip: don't set bus_info 2023-09-27 10:47:23 +02:00
nuvoton media: nuvoton: Add driver for NPCM video capture and encoding engine 2023-09-27 09:40:02 +02:00
nvidia media: Explicitly include correct DT includes 2023-07-19 12:57:51 +02:00
nxp media: imx-jpeg: Remove unused declarations 2023-09-27 09:40:01 +02:00
qcom media: qcom: camss: Pass remainder of variables as resources 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: exynos4-is: fimc-is: replace duplicate pmu node with phandle 2023-09-27 09:40:01 +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