刚刚弄好Linux 4.19的USB驱动,但发现一个问题,只要我打开fb, Otg就会失效,有大神能解决这个问题吗?必须dr_mode="host",才能使用host模式
离线
@晕哥,能发个zImage和dtb测试吓吗?
离线
@晕哥 有TF的版本吗?
离线
没遇到,4.20也是正常的
离线
@shaoxi2010 你的是TF镜像吗?能共享测试一吓吗?
离线
修改suniv-tcon.c
离线
打了patch后,LCD还不行的
离线
static const struct sun4i_tcon_quirks suniv_quirks = {
.has_channel_0 = true,
};
const struct of_device_id sun4i_tcon_of_table[] = {
{ .compatible = "allwinner,suniv-tcon", .data = &suniv_quirks },
{ .compatible = "allwinner,sun4i-a10-tcon", .data = &sun4i_a10_quirks },
{ .compatible = "allwinner,sun5i-a13-tcon", .data = &sun5i_a13_quirks },
{ .compatible = "allwinner,sun6i-a31-tcon", .data = &sun6i_a31_quirks },
{ .compatible = "allwinner,sun6i-a31s-tcon", .data = &sun6i_a31s_quirks },
{ .compatible = "allwinner,sun7i-a20-tcon", .data = &sun7i_a20_quirks },
{ .compatible = "allwinner,sun8i-a33-tcon", .data = &sun8i_a33_quirks },
{ .compatible = "allwinner,sun8i-a83t-tcon-lcd", .data = &sun8i_a83t_lcd_quirks },
{ .compatible = "allwinner,sun8i-a83t-tcon-tv", .data = &sun8i_a83t_tv_quirks },
{ .compatible = "allwinner,sun8i-v3s-tcon", .data = &sun8i_v3s_quirks },
{ .compatible = "allwinner,sun9i-a80-tcon-lcd", .data = &sun9i_a80_tcon_lcd_quirks },
{ .compatible = "allwinner,sun9i-a80-tcon-tv", .data = &sun9i_a80_tcon_tv_quirks },
{ }
};
离线
另外一个贴字小改了{ .compatible = "allwinner,suniv-tcon", .data = &suniv_quirks }, 这个是我自己加上去的
离线
但OTG不知道是什么问题
离线
@shaoxi2010 你的是TF镜像吗?能共享测试一吓吗?
没有,我没nano了,自己画的
离线