|
【Linux】
RV1126 DVP驱动无法触发中断
发表于 2021-7-2 19:53:49
浏览:10539
|
回复:10
打印
只看该作者
[复制链接]
楼主
RV1126 DVP数据采集接口驱动无法触发中断。
dts配置如下:
camera: gd_infra@21 {
compatible = "gd,gd_infra";
reg = <0x21>;
status = "okay";
clocks = <&cru CLK_CIF_OUT>;
clock-names = "xvclk";
assigned-clocks = <&cru CLK_CIF_OUT>;
assigned-clock-rates = <10000000>;
avdd-supply = <&vcc_avdd>;
dovdd-supply = <&vcc_dovdd>;
dvdd-supply = <&vcc_dvdd>;
power-domains = <&power RV1126_PD_VI>;
rockchip,grf = <&grf>;
pinctrl-names = "default";
pinctrl-0 = <&cifm0_dvp_ctl>;
port {
gd_infra_out: endpoint {
remote-endpoint = <&cif_gd_infra_in>;
//bus-type = <0>;
//bus-width = <16>;
};
};
};
&rkcif {
status = "okay";
};
&rkcif_mmu {
status = "disabled";
};
&rkcif_dvp {
status = "okay";
port {
/* Parallel bus endpoint */
cif_gd_infra_in: endpoint {
remote-endpoint = <&gd_infra_out>;
bus-width = <16>;
hsync-active = <1>;
vsync-active = <0>;
};
};
};
用示波器显示像素时钟,Hsync Vsync均已正常输出到CIF管脚。
按理应该又VSYNC就应该出中断吧.
现在所有都有了,为什么不触发media/plarform/rockchip/cif/hw.c中断呢? |
|