[PATCH RFT v3 3/5] media: qcom: camss: Add sc7180 support
From: George Chan via B4 Relay
Date: Mon Jun 24 2024 - 08:14:33 EST
From: George Chan <gchan9527@xxxxxxxxx>
Add in functional logic throughout the code to support the sc7180.
Signed-off-by: George Chan <gchan9527@xxxxxxxxx>
---
drivers/media/platform/qcom/camss/camss-vfe.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/media/platform/qcom/camss/camss-vfe.c b/drivers/media/platform/qcom/camss/camss-vfe.c
index 83c5a36d071f..05191cc2c2f9 100644
--- a/drivers/media/platform/qcom/camss/camss-vfe.c
+++ b/drivers/media/platform/qcom/camss/camss-vfe.c
@@ -336,6 +336,7 @@ static u32 vfe_src_pad_code(struct vfe_line *line, u32 sink_code,
case CAMSS_8x96:
case CAMSS_660:
case CAMSS_845:
+ case CAMSS_7180:
case CAMSS_8250:
case CAMSS_8280XP:
switch (sink_code) {
@@ -1693,6 +1694,7 @@ static int vfe_bpl_align(struct vfe_device *vfe)
switch (vfe->camss->res->version) {
case CAMSS_845:
+ case CAMSS_7180:
case CAMSS_8250:
case CAMSS_8280XP:
ret = 16;
--
2.34.1