]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/sun4i: Add compatible for the A10s pipeline
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sat, 27 May 2017 16:09:36 +0000 (18:09 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 1 Jun 2017 07:50:01 +0000 (09:50 +0200)
The A10s has a slightly different display pipeline than the A13, with an
HDMI controller.

Add a compatible for it.

Reviewed-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/sun4i_drv.c

index 58fa32900184d9b6c9d12afefad7f94280a79dff..b83e6018041d68d8fb0b552c3984233dab5b6d84 100644 (file)
@@ -210,6 +210,7 @@ extra node.
 
 Required properties:
   - compatible: value must be one of:
+    * allwinner,sun5i-a10s-display-engine
     * allwinner,sun5i-a13-display-engine
     * allwinner,sun6i-a31-display-engine
     * allwinner,sun6i-a31s-display-engine
index cfc0b2fcb0a694e2551434f49cb3c4c0874f3fb6..f19100c91c2bb1afe9cd6141ed3f97771fe8b6b0 100644 (file)
@@ -305,6 +305,7 @@ static int sun4i_drv_remove(struct platform_device *pdev)
 }
 
 static const struct of_device_id sun4i_drv_of_table[] = {
+       { .compatible = "allwinner,sun5i-a10s-display-engine" },
        { .compatible = "allwinner,sun5i-a13-display-engine" },
        { .compatible = "allwinner,sun6i-a31-display-engine" },
        { .compatible = "allwinner,sun6i-a31s-display-engine" },