]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/sun4i: sun6i-drc: Support DRC on A31 and A31s
authorChen-Yu Tsai <wens@csie.org>
Thu, 20 Oct 2016 03:43:38 +0000 (11:43 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 20 Oct 2016 15:58:06 +0000 (17:58 +0200)
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>
Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt
drivers/gpu/drm/sun4i/sun6i_drc.c

index b95696d748c759ceb38c1b14be1b7990bb744c1e..5368961cd72711217c31e19742cc78cb0be241a7 100644 (file)
@@ -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
index bf6d846d81322e04cdb8755502b8eaac3b5f02f9..6ef707c5a719edcd06276db5e1110526369d422a 100644 (file)
@@ -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" },
        { }
 };