@@ -1491,6 +1491,7 @@ int msm_vfe_subdev_init(struct camss *camss, struct vfe_device *vfe,
return -EINVAL;
vfe->res = &res->vfe;
+
vfe->res->hw_ops->subdev_init(dev, vfe);
/* Power domain */
@@ -713,6 +713,7 @@ static const struct camss_subdev_resources csid_res_845[] = {
.interrupt = { "csid0" },
.type = CAMSS_SUBDEV_TYPE_CSID,
.csid = {
+ .is_lite = false,
.hw_ops = &csid_ops_gen2,
.formats = &csid_formats_gen2
}
@@ -738,6 +739,7 @@ static const struct camss_subdev_resources csid_res_845[] = {
.interrupt = { "csid1" },
.type = CAMSS_SUBDEV_TYPE_CSID,
.csid = {
+ .is_lite = false,
.hw_ops = &csid_ops_gen2,
.formats = &csid_formats_gen2
}
@@ -792,7 +794,7 @@ static const struct camss_subdev_resources vfe_res_845[] = {
.type = CAMSS_SUBDEV_TYPE_VFE,
.vfe = {
.line_num = 4,
- .has_pd = true,
+ .is_lite = false,
.hw_ops = &vfe_ops_170,
.formats_rdi = &vfe_formats_rdi_845,
.formats_pix = &vfe_formats_pix_845
@@ -820,7 +822,7 @@ static const struct camss_subdev_resources vfe_res_845[] = {
.type = CAMSS_SUBDEV_TYPE_VFE,
.vfe = {
.line_num = 4,
- .has_pd = true,
+ .is_lite = false,
.hw_ops = &vfe_ops_170,
.formats_rdi = &vfe_formats_rdi_845,
.formats_pix = &vfe_formats_pix_845
@@ -846,8 +848,8 @@ static const struct camss_subdev_resources vfe_res_845[] = {
.interrupt = { "vfe_lite" },
.type = CAMSS_SUBDEV_TYPE_VFE,
.vfe = {
- .is_lite = true,
.line_num = 4,
+ .is_lite = true,
.hw_ops = &vfe_ops_170,
.formats_rdi = &vfe_formats_rdi_845,
.formats_pix = &vfe_formats_pix_845
@@ -956,6 +958,7 @@ static const struct camss_subdev_resources csid_res_8250[] = {
.interrupt = { "csid0" },
.type = CAMSS_SUBDEV_TYPE_CSID,
.csid = {
+ .is_lite = false,
.hw_ops = &csid_ops_gen2,
.formats = &csid_formats_gen2
}
@@ -973,6 +976,7 @@ static const struct camss_subdev_resources csid_res_8250[] = {
.interrupt = { "csid1" },
.type = CAMSS_SUBDEV_TYPE_CSID,
.csid = {
+ .is_lite = false,
.hw_ops = &csid_ops_gen2,
.formats = &csid_formats_gen2
}
@@ -1034,6 +1038,7 @@ static const struct camss_subdev_resources vfe_res_8250[] = {
.type = CAMSS_SUBDEV_TYPE_VFE,
.vfe = {
.line_num = 3,
+ .is_lite = false,
.has_pd = true,
.pd_name = "ife0",
.hw_ops = &vfe_ops_480,
@@ -1061,6 +1066,7 @@ static const struct camss_subdev_resources vfe_res_8250[] = {
.type = CAMSS_SUBDEV_TYPE_VFE,
.vfe = {
.line_num = 3,
+ .is_lite = false,
.has_pd = true,
.pd_name = "ife1",
.hw_ops = &vfe_ops_480,
@@ -1086,8 +1092,8 @@ static const struct camss_subdev_resources vfe_res_8250[] = {
.interrupt = { "vfe_lite0" },
.type = CAMSS_SUBDEV_TYPE_VFE,
.vfe = {
- .is_lite = true,
.line_num = 4,
+ .is_lite = true,
.hw_ops = &vfe_ops_480,
.formats_rdi = &vfe_formats_rdi_845,
.formats_pix = &vfe_formats_pix_845
@@ -1111,8 +1117,8 @@ static const struct camss_subdev_resources vfe_res_8250[] = {
.interrupt = { "vfe_lite1" },
.type = CAMSS_SUBDEV_TYPE_VFE,
.vfe = {
- .is_lite = true,
.line_num = 4,
+ .is_lite = true,
.hw_ops = &vfe_ops_480,
.formats_rdi = &vfe_formats_rdi_845,
.formats_pix = &vfe_formats_pix_845