]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
media: qcom: camss: Enumerate resources for QCS8300
authorVikram Sharma <quic_vikramsa@quicinc.com>
Wed, 13 Aug 2025 05:37:23 +0000 (11:07 +0530)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 9 Sep 2025 13:59:21 +0000 (15:59 +0200)
Enumerate csiphy, csid and vfe resources for qcs8300.

Signed-off-by: Vikram Sharma <quic_vikramsa@quicinc.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/qcom/camss/camss.c

index f0c47f951b07be7928bb9c0ed300449dd8d32808..dd1e8142da3fd05a3f0b30a29af3856e50e3d6ab 100644 (file)
@@ -4363,7 +4363,14 @@ static const struct camss_resources qcm2290_resources = {
 static const struct camss_resources qcs8300_resources = {
        .version = CAMSS_8300,
        .pd_name = "top",
+       .csiphy_res = csiphy_res_8300,
+       .csid_res = csid_res_8775p,
+       .csid_wrapper_res = &csid_wrapper_res_sm8550,
+       .vfe_res = vfe_res_8775p,
        .icc_res = icc_res_qcs8300,
+       .csiphy_num = ARRAY_SIZE(csiphy_res_8300),
+       .csid_num = ARRAY_SIZE(csid_res_8775p),
+       .vfe_num = ARRAY_SIZE(vfe_res_8775p),
        .icc_path_num = ARRAY_SIZE(icc_res_qcs8300),
        .link_entities = camss_link_entities
 };