提交 f728b49d 编写于 作者: D Dave Stevenson 提交者: Zheng Zengkai

drm/vc4: Add configuration for BCM2711 DSI1.

raspberrypi inclusion
category: feature
bugzilla: 50432

--------------------------------

BCM2711 DSI1 doesn't have the issue with the ARM not being
able to write to the registers, therefore remove the DMA
workaround for that compatible string.
Signed-off-by: NDave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: NFang Yafen <yafen@iscas.ac.cn>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 2108d750
......@@ -1308,6 +1308,11 @@ static const struct drm_encoder_helper_funcs vc4_dsi_encoder_helper_funcs = {
static const struct of_device_id vc4_dsi_dt_match[] = {
{ .compatible = "brcm,bcm2835-dsi0", (void *)(uintptr_t)0 },
{ .compatible = "brcm,bcm2835-dsi1", (void *)(uintptr_t)1 },
/*
* Use 2 so that it uses the DSI1 register layout, but not DMA
* workaround
*/
{ .compatible = "brcm,bcm2711-dsi1", (void *)(uintptr_t)2 },
{}
};
......@@ -1495,8 +1500,8 @@ static int vc4_dsi_bind(struct device *dev, struct device *master, void *data)
return -ENODEV;
}
/* DSI1 has a broken AXI slave that doesn't respond to writes
* from the ARM. It does handle writes from the DMA engine,
/* DSI1 on BCM2835/6/7 has a broken AXI slave that doesn't respond to
* writes from the ARM. It does handle writes from the DMA engine,
* so set up a channel for talking to it.
*/
if (dsi->port == 1) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册