提交 b3e0b2db 编写于 作者: C Chen-Yu Tsai 提交者: Maxime Ripard

drm/sun4i: sun6i-drc: Support DRC on A31 and A31s

The A31 and A31s also have the DRC as part of the display pipeline.
As we know virtually nothing about them, just add compatible strings
for both SoCs to the stub driver.
Signed-off-by: NChen-Yu Tsai <wens@csie.org>
Acked-by: NRob Herring <robh@kernel.org>
Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
上级 1001354c
...@@ -64,6 +64,8 @@ adaptive backlight control. ...@@ -64,6 +64,8 @@ adaptive backlight control.
Required properties: Required properties:
- compatible: value must be one of: - compatible: value must be one of:
* allwinner,sun6i-a31-drc
* allwinner,sun6i-a31s-drc
* allwinner,sun8i-a33-drc * allwinner,sun8i-a33-drc
- reg: base address and size of the memory-mapped region. - reg: base address and size of the memory-mapped region.
- interrupts: interrupt associated to this IP - interrupts: interrupt associated to this IP
......
...@@ -98,6 +98,8 @@ static int sun6i_drc_remove(struct platform_device *pdev) ...@@ -98,6 +98,8 @@ static int sun6i_drc_remove(struct platform_device *pdev)
} }
static const struct of_device_id sun6i_drc_of_table[] = { static const struct of_device_id sun6i_drc_of_table[] = {
{ .compatible = "allwinner,sun6i-a31-drc" },
{ .compatible = "allwinner,sun6i-a31s-drc" },
{ .compatible = "allwinner,sun8i-a33-drc" }, { .compatible = "allwinner,sun8i-a33-drc" },
{ } { }
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册