Firefly开源社区

打印 上一主题 下一主题

[Linux] rk3399pro mipi输出dts配置为问题

53

积分

0

威望

0

贡献

技术小白

积分
53

rk3399pro mipi输出dts配置为问题

发表于 2020-5-18 10:19:12      浏览:8736 | 回复:3        打印      只看该作者   [复制链接] 楼主
各位大神好,我现在用rk3399pro开发板,用的是mipi0接口接lt8912(mipi转hdmi芯片),我现在配置dts文件,让mipi0 接口输出mipi信号,我的dts配置如下:

修改rk3399.dtsi文件,


把 vopl节点的 status 设为"okay"

dsi: dsi@ff960000 {
                compatible = "rockchip,rk3399-mipi-dsi";
                reg = <0x0 0xff960000 0x0 0x8000>;
                interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH 0>;
                clocks = <&cru SCLK_DPHY_PLL>, <&cru PCLK_MIPI_DSI0>,
                         <&cru SCLK_DPHY_TX0_CFG>;
                clock-names = "ref", "pclk", "phy_cfg";
                power-domains = <&power RK3399_PD_VIO>;
                resets = <&cru SRST_P_MIPI_DSI0>;
                reset-names = "apb";
                rockchip,grf = <&grf>;
                status = "okay";
                #address-cells = <1>;
                #size-cells = <0>;

把dsi节点的status设为"okay"


编译内核:
       用的命令为:
make ARCH=arm64 firefly_defconfig
make -j8 ARCH=arm64 rk3399pro-firefly-aiojd4.img(用的是rk3399pro-firefly-aiojd4.dts )
内核运行,LOG打印出的错误如下所示:


请问:
   (1)这种情况是mipi的dts配置不正确,rk3399pro mipi输出正确的dts配置是怎样的呢?
(2)rk3399pro 官方源码中,有一个rk3399pro-evb-mipi.dts文件,这个文件是否是正确的mipi dts配置。

(3)有大神做的rk3399pro mipi接口接lt8912(mipi转hdmi芯片)的项目吗,这种情况怎样配置mipi输出呢(是否把lt8912看做一个LCD屏)。
谢谢大家的不瑟吝教。
回复

使用道具 举报

53

积分

0

威望

0

贡献

技术小白

积分
53
发表于 2020-5-18 10:25:54        只看该作者  沙发
[  355.941236] [drm] Rockchip DRM driver version: v1.0.1
[  355.941885] rockchip-drm display-subsystem: devfreq is ready
[  355.942205] rockchip-vop ff900000.vop: missing rockchip,grf property
[  355.942391] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[  355.942425] rockchip-vop ff8f0000.vop: missing rockchip,grf property
[  355.942510] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)
[  355.942526] rockchip-drm display-subsystem: failed to bind ff960000.dsi (ops dw_mipi_dsi_ops): -517
[  355.942706] rockchip-drm display-subsystem: master bind failed: -517
[  355.942941] ff960000.dsi.0 supply power not found, using dummy regulator
[  355.943512] [drm] Rockchip DRM driver version: v1.0.1
[  355.944150] rockchip-drm display-subsystem: devfreq is ready
[  355.944586] rockchip-vop ff900000.vop: missing rockchip,grf property
[  355.944779] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[  355.945940] [drm] Rockchip DRM driver version: v1.0.1
[  355.948873] rockchip-drm display-subsystem: devfreq is ready
[  355.949182] rockchip-vop ff900000.vop: missing rockchip,grf property
[  355.949363] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[  355.949395] rockchip-vop ff8f0000.vop: missing rockchip,grf property
[  355.949484] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)
[  355.949500] rockchip-drm display-subsystem: failed to bind ff960000.dsi (ops dw_mipi_dsi_ops): -517
[  355.949680] rockchip-drm display-subsystem: master bind failed: -517
[  355.949903] ff960000.dsi.0 supply power not found, using dummy regulator
[  355.950476] [drm] Rockchip DRM driver version: v1.0.1
[  355.951153] rockchip-drm display-subsystem: devfreq is ready
[  355.951472] rockchip-vop ff900000.vop: missing rockchip,grf property
[  355.951650] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[  355.951684] rockchip-vop ff8f0000.vop: missing rockchip,grf property
[  355.956565] rockchip-drm display-subsystem: master bind failed: -517
[  355.956805] ff960000.dsi.0 supply power not found, using dummy regulator
[  355.957364] [drm] Rockchip DRM driver version: v1.0.1
[  355.958063] rockchip-drm display-subsystem: devfreq is ready
[  355.958380] rockchip-vop ff900000.vop: missing rockchip,grf property
[  355.958566] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[  355.958598] rockchip-vop ff8f0000.vop: missing rockchip,grf property
[  355.958689] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)
[  355.958706] rockchip-drm display-subsystem: failed to bind ff960000.dsi (ops dw_mipi_dsi_ops): -517
[  355.958883] rockchip-drm display-subsystem: master bind failed: -517
[  355.959116] ff960000.dsi.0 supply power not found, using dummy regulator
[  355.959689] [drm] Rockchip DRM driver version: v1.0.1
[  355.960336] rockchip-drm display-subsystem: devfreq is ready
[  355.960637] rockchip-vop ff900000.vop: missing rockchip,grf property
[  355.964986] rockchip-drm display-subsystem: devfreq is ready
[  355.965316] rockchip-vop ff900000.vop: missing rockchip,grf property
[  355.965491] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[  355.965523] rockchip-vop ff8f0000.vop: missing rockchip,grf property
这是LOG数据。
回复

使用道具 举报

61

积分

0

威望

0

贡献

技术小白

积分
61
发表于 2020-11-23 16:46:32        只看该作者  板凳
你的问题解决的了吗? 我的qq1260099535
回复

使用道具 举报

45

积分

0

威望

0

贡献

技术小白

积分
45
发表于 2022-3-28 09:16:46        只看该作者  地板
楼主你好,我也遇到了类似的问题,我想配置两个gpio做中断接收和使能,用的pro aiojd4的开发板,我是修改的rk3399-firefly-dts文件,编译内核命令和楼主一样,但是结果配置失败,
请问楼主解决问题了吗,可以分享下吗
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表