media: qcom: camss: enable vfe 690 for qcs8300

The vfe in qcs8300 is version 690, it is same as vfe used in
lemans(sa8775p). vfe gen3 have support for vfe 690.

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>
This commit is contained in:
Vikram Sharma 2025-08-13 11:07:22 +05:30 committed by Mauro Carvalho Chehab
parent 950f3d308f
commit 42914692e8
2 changed files with 4 additions and 1 deletions

View File

@ -13,7 +13,8 @@
#include "camss-vfe.h"
#define IS_VFE_690(vfe) \
(vfe->camss->res->version == CAMSS_8775P)
((vfe->camss->res->version == CAMSS_8775P) \
|| (vfe->camss->res->version == CAMSS_8300))
#define BUS_REG_BASE_690 \
(vfe_is_lite(vfe) ? 0x480 : 0x400)

View File

@ -345,6 +345,7 @@ static u32 vfe_src_pad_code(struct vfe_line *line, u32 sink_code,
case CAMSS_8x96:
case CAMSS_8250:
case CAMSS_8280XP:
case CAMSS_8300:
case CAMSS_845:
case CAMSS_8550:
case CAMSS_8775P:
@ -1992,6 +1993,7 @@ static int vfe_bpl_align(struct vfe_device *vfe)
case CAMSS_7280:
case CAMSS_8250:
case CAMSS_8280XP:
case CAMSS_8300:
case CAMSS_845:
case CAMSS_8550:
case CAMSS_8775P: