双通道mipi屏,系统不能启动
本帖最后由 wx_华间呼醉_Rj2 于 2021-11-1 18:19 编辑我们使用的buildroot搭的文件系统,安卓瑞芯微官方文档,基于rk3399-firefly-mipi.dts 制作双通道mipi的配置,主要修改rockchip,dual-channel = <&dsi1>; panel节点dsi,lanes = <8>; 并且使能dsi1:&dsi1 {
status = "okay";
};。 log提示dsi1 bind失败,麻烦给看下,拜托了!
请问有双通道mipi屏的参考dts文件吗?
你们跟khadas的dw-mipi-dsi驱动都不一样,khadas的驱动里有dual mipi的bind函数:
static int dw_mipi_dsi_dual_channel_probe(struct dw_mipi_dsi *dsi)
{
struct device_node *np;
struct platform_device *secondary;
np = of_parse_phandle(dsi->dev->of_node, "rockchip,dual-channel", 0);
if (np) {
secondary = of_find_device_by_node(np);
dsi->slave = platform_get_drvdata(secondary);
of_node_put(np);
if (!dsi->slave)
return -EPROBE_DEFER;
dsi->slave->master = dsi;
dsi->lanes /= 2;
dsi->slave->lanes = dsi->lanes;
dsi->slave->channel = dsi->channel;
dsi->slave->format = dsi->format;
dsi->slave->mode_flags = dsi->mode_flags;
}
return 0;
}
页:
[1]