On 05/12/2025 11:33, Bryan O'Donoghue wrote:
On 04/12/2025 16:32, David Heidelberg via B4 Relay wrote:
+ case V4L2_MBUS_CSI2_CPHY:
+ for (int i = 0; i < lane_cfg->num_data; i++)
+ lane_mask |= (1 << lane_cfg->data[i].pos) + 1;
+ break;
What does the DTS configuration for this lane mask look like ?
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
csiphy0_ep: endpoint {
bus-type = <MEDIA_BUS_TYPE_CSI2_CPHY>;
data-lanes = <0 1 2>;
remote-endpoint = <&imx519_ep>;
};
};
...
rear_cam: camera@1a {
...
port {
imx519_ep: endpoint {
remote-endpoint = <&csiphy0_ep>;
data-lanes = <1 2 3>;
link-frequencies = /bits/ 64 <500399375>;
};
};
David
---
bod
--
David Heidelberg