完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我正在尝试从我的 imx8m 中获取 MIPI DSI 信号——但是我认为我的设备树配置不正确,我需要一些帮助。
我包括来自 imx8mm.dtsi 的这些: aips4: bus@32c00000 { compatible = "fsl,aips-bus", "simple-bus"; reg = <0x32c00000 0x400000>; #address-cells = <1>; #size-cells = <1>; ranges = <0x32c00000 0x32c00000 0x400000>; lcdif: lcdif@32e00000 { #address-cells = <1>; #size-cells = <0>; compatible = "fsl,imx8mm-lcdif"; reg = <0x32e00000 0x10000>; clocks = <&clk IMX8MM_CLK_LCDIF_PIXEL>, <&clk IMX8MM_CLK_DISP_AXI_ROOT>, <&clk IMX8MM_CLK_DISP_APB_ROOT>; clock-names = "pix", "disp-axi", "disp-apb"; assigned-clocks = <&clk IMX8MM_CLK_LCDIF_PIXEL>, <&clk IMX8MM_CLK_DISP_AXI>, <&clk IMX8MM_CLK_DISP_APB>; assigned-clock-parents = <&clk IMX8MM_VIDEO_PLL1_OUT>, <&clk IMX8MM_SYS_PLL2_1000M>, <&clk IMX8MM_SYS_PLL1_800M>; assigned-clock-rate = <594000000>, <500000000>, <200000000>; interrupts = ; lcdif-gpr = <&dispmix_gpr>; resets = <&lcdif_resets>; power-domains = <&dispmix_pd>; status = "disabled"; lcdif_disp0: port@0 { reg = <0>; lcdif_to_dsim: endpoint { remote-endpoint = <&dsim_from_lcdif>; }; }; }; mipi_dsi: mipi_dsi@32e10000 { #address-cells = <1>; #size-cells = <0>; compatible = "fsl,imx8mm-mipi-dsim"; reg = <0x32e10000 0x400>; clocks = <&clk IMX8MM_CLK_DSI_CORE>, <&clk IMX8MM_CLK_DSI_PHY_REF>; clock-names = "cfg", "pll-ref"; assigned-clocks = <&clk IMX8MM_CLK_DSI_CORE>, <&clk IMX8MM_CLK_DSI_PHY_REF>; assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_266M>, <&clk IMX8MM_CLK_24M>; assigned-clock-rates = <266000000>, <12000000>; interrupts = ; dsi-gpr = <&dispmix_gpr>; resets = <&mipi_dsi_resets>; power-domains = <&mipi_pd>; status = "disabled"; port@0 { dsim_from_lcdif: endpoint { remote-endpoint = <&lcdif_to_dsim>; }; }; }; 在我的设备树中,我编辑了如下属性: &i2c4 { #address-cells = <1>; #size-cells = <0>; clock-frequency = <100000>; /* 100kHz */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c4>; status = "okay"; lt_bridge: lt9211@2d { compatible = "lontium,lt9211"; reg=<0x2d>; pinctrl-0 = <&pinctrl_lt9211>; reset-gpios = <&gpio5 10 GPIO_ACTIVE_LOW>; /*vccio-supply = <&??>;*/ status = "okay"; ports { #address-cells = <1>; #size-cells = <0>; port@0 { /*primary input*/ reg = <0>; lt9211_mipi_in: endpoint { remote-endpoint = <&host_mipi_out>; }; }; /*port@2 { / reg = <2>; lt9211_mipi_out: endpoint { remote-endpoint = <&dsim_from_lcdif>; }; };*/ }; }; }; &lcdif { status = "okay"; }; &mipi_dsi { status = "okay"; port@1 { host_mipi_out: endpoint { remote-endpoint = <<9211_mipi_in>; /*attach-bridge; not needed ??? */ }; }; }; 我已验证 i2c 总线工作正常。我能够使用“gpioset 4 10=1”激活我的 lt9211,它响应通过 i2cset 和 i2cget 发送的命令。 我对https://www.kernel.org/doc/Documentation/devicetree/bindings/display/bridge/lontium%2Clt9211.yaml感到有点困惑, 它列出了 port0 和 port2 作为必需的属性。port2 应该是 lcdif_to_dsim 还是其他?是否向 mipi_dsi 节点添加新的数据线? 当前树输出错误: [2.216086][drm:drm_bridge_attach]*错误*无法将桥/soc@0/bus@32c00000/mipi_dsi@32e10000连接到编码器DSI-34:-19[2.235960]imx_sec_dsim_drv 32e10000.mipi_dsi:绑定sec dsim桥失败 : -19 |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
1935个成员聚集在这个小组
加入小组我的项目我做主,使用GN+Ninja来完成构建系统(VSCode开发RT106X)
36430 浏览 0 评论
NXP IMX8应用处理器快速入门必备:技巧、使用、设计指南
5031 浏览 1 评论
6115 浏览 1 评论
6822 浏览 0 评论
NXP i.MX6UL开发板(linux系统烧录+规格+硬件+模块移植)使用手册
4254 浏览 0 评论
655浏览 2评论
求助,S32G上Core M启动后如何让Core A在Flash指定位置加载uboot?
646浏览 2评论
ESP32-WROVER-IE + LAN8720以太网,GPIO0电压只有1.6v,无法正常进入spi flash boot模式如何解决?
647浏览 2评论
求分享适用于PN7160 Android的NFC工厂测试应用程序
737浏览 2评论
850浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-28 21:21 , Processed in 1.030408 second(s), Total 74, Slave 58 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号