diff options
author | Maxime Jourdan <mjourdan@baylibre.com> | 2018-08-23 07:49:52 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2018-09-13 00:37:02 -0400 |
commit | 5516803d48ed946320aba48fdf45bad383252891 (patch) | |
tree | 2c737b1af0129d7274988b7e381e2e90abbcb6be | |
parent | 0789724f86a59fa7078d67dfeb1ee4a15ae3c693 (diff) |
dt-bindings: soc: amlogic: add meson-canvas documentation
DT bindings doc for amlogic,meson-canvas
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Maxime Jourdan <mjourdan@baylibre.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
-rw-r--r-- | Documentation/devicetree/bindings/soc/amlogic/amlogic,canvas.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/soc/amlogic/amlogic,canvas.txt b/Documentation/devicetree/bindings/soc/amlogic/amlogic,canvas.txt new file mode 100644 index 000000000000..436d2106e80d --- /dev/null +++ b/Documentation/devicetree/bindings/soc/amlogic/amlogic,canvas.txt | |||
@@ -0,0 +1,29 @@ | |||
1 | Amlogic Canvas | ||
2 | ================================ | ||
3 | |||
4 | A canvas is a collection of metadata that describes a pixel buffer. | ||
5 | Those metadata include: width, height, phyaddr, wrapping, block mode | ||
6 | and endianness. | ||
7 | |||
8 | Many IPs within Amlogic SoCs rely on canvas indexes to read/write pixel data | ||
9 | rather than use the phy addresses directly. For instance, this is the case for | ||
10 | the video decoders and the display. | ||
11 | |||
12 | Amlogic SoCs have 256 canvas. | ||
13 | |||
14 | Device Tree Bindings: | ||
15 | --------------------- | ||
16 | |||
17 | Video Lookup Table | ||
18 | -------------------------- | ||
19 | |||
20 | Required properties: | ||
21 | - compatible: "amlogic,canvas" | ||
22 | - reg: Base physical address and size of the canvas registers. | ||
23 | |||
24 | Example: | ||
25 | |||
26 | canvas: video-lut@48 { | ||
27 | compatible = "amlogic,canvas"; | ||
28 | reg = <0x0 0x48 0x0 0x14>; | ||
29 | }; | ||