Skip to content

Commit

Permalink
drm/sun4i: sun6i-drc: Support DRC on A31 and A31s
Browse files Browse the repository at this point in the history
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: Chen-Yu Tsai <wens@csie.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  • Loading branch information
Chen-Yu Tsai authored and Maxime Ripard committed Oct 20, 2016
1 parent 1001354 commit b3e0b2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ adaptive backlight control.

Required properties:
- compatible: value must be one of:
* allwinner,sun6i-a31-drc
* allwinner,sun6i-a31s-drc
* allwinner,sun8i-a33-drc
- reg: base address and size of the memory-mapped region.
- interrupts: interrupt associated to this IP
Expand Down
2 changes: 2 additions & 0 deletions drivers/gpu/drm/sun4i/sun6i_drc.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ static int sun6i_drc_remove(struct platform_device *pdev)
}

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" },
{ }
};
Expand Down

0 comments on commit b3e0b2d

Please sign in to comment.