1Amlogic Canvas
2================================
3
4A canvas is a collection of metadata that describes a pixel buffer.
5Those metadata include: width, height, phyaddr, wrapping and block mode.
6Starting with GXBB the endianness can also be described.
7
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
10the video decoders and the display.
11
12Amlogic SoCs have 256 canvas.
13
14Device Tree Bindings:
15---------------------
16
17Video Lookup Table
18--------------------------
19
20Required properties:
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
26- reg: Base physical address and size of the canvas registers.
27
28Example:
29
30canvas: video-lut@48 {
31	compatible = "amlogic,canvas";
32	reg = <0x0 0x48 0x0 0x14>;
33};
34