Thread (28 messages) 28 messages, 6 authors, 2025-10-08

Re: [PATCH v3 4/7] media: qcom: camss: enable csid 690 for qcs8300

From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Date: 2025-08-13 21:33:48
Also in: linux-arm-msm, linux-devicetree, linux-media, lkml

On 13/08/2025 06:37, Vikram Sharma wrote:
quoted hunk ↗ jump to hunk
The CSID in qcs8300 is version 690, it is same as csid used in
lemans(sa8775p). csid gen3 have support for csid 690.

Signed-off-by: Vikram Sharma <redacted>
---
  drivers/media/platform/qcom/camss/camss-csid-gen3.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/media/platform/qcom/camss/camss-csid-gen3.c b/drivers/media/platform/qcom/camss/camss-csid-gen3.c
index fc6a9787febe..664245cf6eb0 100644
--- a/drivers/media/platform/qcom/camss/camss-csid-gen3.c
+++ b/drivers/media/platform/qcom/camss/camss-csid-gen3.c
@@ -45,7 +45,8 @@
  #define CSID_CSI2_RX_IRQ_CLEAR		0xA4
  #define CSID_CSI2_RX_IRQ_SET		0xA8
  
-#define IS_CSID_690(csid)	(csid->camss->res->version == CAMSS_8775P)
+#define IS_CSID_690(csid)	((csid->camss->res->version == CAMSS_8775P) \
+				 || (csid->camss->res->version == CAMSS_8300))
  #define CSID_BUF_DONE_IRQ_STATUS	0x8C
  #define BUF_DONE_IRQ_STATUS_RDI_OFFSET  (csid_is_lite(csid) ?\
  						1 : (IS_CSID_690(csid) ?\
This really feels like it should be a property of the CSID not of the 
SoC but... anyway it'll do for now.

Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help