Hi, I’m trying with OV5647 camera module. At the moment I’m not using the dphy0 (4 lane), I’m trying with dphy1 (splitted mode that use lane 1 and 2). But I have some trouble with the ISP configuration.
[ 0.807003] iommu: Adding device fdff0000.rkisp to group 7
[ 0.807063] rkisp_hw fdff0000.rkisp: Linked as a consumer to fdff1a00.iommu
[ 0.807327] rkisp_hw fdff0000.rkisp: is_thunderboot: 0
[ 0.807349] rkisp_hw fdff0000.rkisp: max input:0x0@0fps
[ 0.807400] rkisp_hw fdff0000.rkisp: can't request region for resource [mem 0xfdff0000-0xfdffffff]
[ 0.808742] rkisp rkisp-vir0: rkisp driver version: v01.06.01
[ 0.808888] rkisp rkisp-vir0: No memory-region-thunderboot specified
[ 0.809167] rkisp rkisp-vir0: Entity type for entity rkisp-isp-subdev was not initialized!
[ 0.809208] rkisp rkisp-vir0: Entity type for entity rkisp-csi-subdev was not initialized!
[ 1.045365] rkisp rkisp-vir0: clear unready subdev num: 1
[ 1.045783] rkisp-vir0: update sensor failed
[ 63.603294] rkisp-vir0: update sensor info failed -19
This is my DTS code:
/* Enable CSI PHY */
&csi2_dphy_hw {
status = "okay";
};
/* Disable full mode mipi csi 4 lane - mutual exclusion in split mode */
&csi2_dphy0 {
status = "disabled";
};
/* Enable mipi csi single mode lane 1 - 2 */
&csi2_dphy1 {
status = "okay";
power-supply = <&vcc_camera>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
dphy1_in: endpoint@1 {
reg = <1>;
remote-endpoint = <&ov5647_out>;
data-lanes = <1 2>;
};
};
port@1 {
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
dphy1_out: endpoint@0 {
reg = <0>;
remote-endpoint = <&isp0_in>;
};
};
};
};
&csi2_dphy2 {
status = "disabled";
};
&rkisp {
status = "okay";
};
&rkisp_mmu {
status = "okay";
};
&rkisp_vir0 {
status = "okay";
port {
#address-cells = <1>;
#size-cells = <0>;
isp0_in: endpoint@0 {
reg = <0>;
remote-endpoint = <&dphy1_out>;
};
};
};