media: camss: csiphy: Move to hardcode CSI Clock Lane number
[platform/kernel/linux-starfive.git] / drivers / media / platform / qcom / camss / camss-csiphy.h
index d71b8bc..1c14947 100644 (file)
@@ -45,6 +45,13 @@ struct csiphy_config {
 struct csiphy_device;
 
 struct csiphy_hw_ops {
+       /*
+        * csiphy_get_lane_mask - Calculate CSI2 lane mask configuration parameter
+        * @lane_cfg - CSI2 lane configuration
+        *
+        * Return lane mask
+        */
+       u8 (*get_lane_mask)(struct csiphy_lanes_cfg *lane_cfg);
        void (*hw_version_read)(struct csiphy_device *csiphy,
                                struct device *dev);
        void (*reset)(struct csiphy_device *csiphy);