2 ================================
4 A canvas is a collection of metadata that describes a pixel buffer.
5 Those metadata include: width, height, phyaddr, wrapping, block mode
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: "amlogic,canvas"
22 - reg: Base physical address and size of the canvas registers.
26 canvas: video-lut@48 {
27 compatible = "amlogic,canvas";
28 reg = <0x0 0x48 0x0 0x14>;