2 ================================
4 A canvas is a collection of metadata that describes a pixel buffer.
5 Those metadata include: width, height, phyaddr, wrapping and block mode.
6 Starting with GXBB the endianness can also be described.
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.
12 Amlogic SoCs have 256 canvas.
18 --------------------------
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.
30 canvas: video-lut@48 {
31 compatible = "amlogic,canvas";
32 reg = <0x0 0x48 0x0 0x14>;