aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2019-05-20 15:43:49 -0400
committerKevin Hilman <khilman@baylibre.com>2019-05-22 21:19:14 -0400
commita0b2ff531582c510af11b6d548732eb2fd7772ff (patch)
treeccd74e6294cac841f947b46c0a55b9978af819b5
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff)
dt-bindings: soc: amlogic: canvas: document support for Meson8/8b/8m2
The canvas IP on Meson8, Meson8b and Meson8m2 is similar to the one found on GXBB and newer. The only known difference is that the older SoCs cannot configure the "endianness". Add a compatible string for each of the older SoCs to make sure we won't be using unsupported features on these SoCs. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Acked-by: Maxime Jourdan <mjourdan@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
-rw-r--r--Documentation/devicetree/bindings/soc/amlogic/amlogic,canvas.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/soc/amlogic/amlogic,canvas.txt b/Documentation/devicetree/bindings/soc/amlogic/amlogic,canvas.txt
index 436d2106e80d..e876f3ce54f6 100644
--- a/Documentation/devicetree/bindings/soc/amlogic/amlogic,canvas.txt
+++ b/Documentation/devicetree/bindings/soc/amlogic/amlogic,canvas.txt
@@ -2,8 +2,8 @@ Amlogic Canvas
2================================ 2================================
3 3
4A canvas is a collection of metadata that describes a pixel buffer. 4A canvas is a collection of metadata that describes a pixel buffer.
5Those metadata include: width, height, phyaddr, wrapping, block mode 5Those metadata include: width, height, phyaddr, wrapping and block mode.
6and endianness. 6Starting with GXBB the endianness can also be described.
7 7
8Many IPs within Amlogic SoCs rely on canvas indexes to read/write pixel data 8Many IPs within Amlogic SoCs rely on canvas indexes to read/write pixel data
9rather than use the phy addresses directly. For instance, this is the case for 9rather than use the phy addresses directly. For instance, this is the case for
@@ -18,7 +18,11 @@ Video Lookup Table
18-------------------------- 18--------------------------
19 19
20Required properties: 20Required properties:
21- compatible: "amlogic,canvas" 21- compatible: has to be one of:
22 - "amlogic,meson8-canvas", "amlogic,canvas" on Meson8
23 - "amlogic,meson8b-canvas", "amlogic,canvas" on Meson8b
24 - "amlogic,meson8m2-canvas", "amlogic,canvas" on Meson8m2
25 - "amlogic,canvas" on GXBB and newer
22- reg: Base physical address and size of the canvas registers. 26- reg: Base physical address and size of the canvas registers.
23 27
24Example: 28Example: