On 11/9/25 10:39, David Heidelberg via B4 Relay wrote:
From: David Heidelberg <[email protected]>

C-PHY mode is now supported, so the endpoint bus-type restriction to
D-PHY can be removed.

Signed-off-by: David Heidelberg <[email protected]>
---
  drivers/media/platform/qcom/camss/camss.c | 9 ---------
  1 file changed, 9 deletions(-)

diff --git a/drivers/media/platform/qcom/camss/camss.c 
b/drivers/media/platform/qcom/camss/camss.c
index 248aa6b21b5ad..1408e8a03f0bd 100644
--- a/drivers/media/platform/qcom/camss/camss.c
+++ b/drivers/media/platform/qcom/camss/camss.c
@@ -4044,15 +4044,6 @@ static int camss_of_parse_endpoint_node(struct device 
*dev,
        if (ret)
                return ret;
- /*
-        * Most SoCs support both D-PHY and C-PHY standards, but currently only
-        * D-PHY is supported in the driver.
-        */
-       if (vep.bus_type != V4L2_MBUS_CSI2_DPHY) {
-               dev_err(dev, "Unsupported bus type %d\n", vep.bus_type);
-               return -EINVAL;
-       }

Might be better to just expand the check to include C-phy, since there are other bus types that are also unsupported.> -
        csd->interface.csiphy_id = vep.base.port;
mipi_csi2 = &vep.bus.mipi_csi2;



Reply via email to