|
【Linux】
一款HDMI转MIPI桥片对接
发表于 2022-3-8 16:42:02
浏览:6332
|
回复:4
打印
只看该作者
[复制链接]
楼主
您好:
这个桥片是4LANE的,我的DTS文件如下:请问有什么问题吗?
我的系统报错:rockchip-csi2-dphy0: No link between dphy and sensor,从源码上看是描述链接关系时出错了。
&csi2_dphy_hw {
status = "okay";
};
&i2c3 {
status = "okay";
lt6911uxc: lt6911uxc@2b {
status = "okay";
reg = <0x2b>;
compatible = "lontium,lt6911uxc";
//jst clocks = <&ext_cam_clk>;
//clock-names = "xvclk";
interrupt-parent = <&gpio0>;
interrupts = <RK_PC6 IRQ_TYPE_EDGE_FALLING>;
//JST power-gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio1 RK_PB3 GPIO_ACTIVE_LOW>;
//plugin-det-gpios = <&gpio0 RK_PC6 IRQ_TYPE_EDGE_FALLING>;
//JST hpd-ctl-gpios = <&gpio3 27 GPIO_ACTIVE_LOW>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "LT6911UXC";
rockchip,camera-module-lens-name = "NC";
port {
lt6911uxc_out: endpoint {
remote-endpoint = <&hdmi_to_mipi_in>;
data-lanes = <1 2 3 4>;
};
};
};
};
&csi2_dphy0 {
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
hdmi_to_mipi_in: endpoint@1 {
reg = <1>;
remote-endpoint = <<6911uxc_out>;
data-lanes = <1 2 3 4>;
};
};
port@1 {
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
csidphy_out_jst: endpoint@1 {
reg = <1>;
remote-endpoint = <&mipi_csi2_input>;
data-lanes = <1 2 3 4>;
};
};
};
};
&mipi_csi2 {
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
mipi_csi2_input: endpoint@1 {
reg = <1>;
remote-endpoint = <&csidphy_out_jst>;
data-lanes = <1 2 3 4>;
};
};
port@1 {
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
mipi_csi2_output: endpoint@0 {
reg = <0>;
remote-endpoint = <&cif_mipi_in>;
data-lanes = <1 2 3 4>;
};
};
};
};
&rkcif_mipi_lvds {
status = "okay";
port {
cif_mipi_in: endpoint {
remote-endpoint = <&mipi_csi2_output>;
data-lanes = <1 2 3 4>;
};
};
};
/*
&rkcif_mipi_lvds_sditf {
status = "okay";
port {
mipi_lvds_sditf: endpoint {
remote-endpoint = <&isp1_in>;
data-lanes = <1 2>;
};
};
};
*/
&rkcif_mmu {
status = "okay";
};
&rkcif {
status = "okay";
};
&flash_led {
status = "okay";
};
&vcc_camera {
status = "okay";
gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_HIGH>;
/delete-property/ pinctrl-names;
/delete-property/ pinctrl-0;
};
&pwm11 {
status = "okay";
pinctrl-0 = <&pwm11m1_pins>;
};
多谢!
|
|