Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd authored by Linus Torvalds on 06 May 2019, 00:42:58 UTC
Linux 5.1
Tip revision: e93c9c9
amlogic,canvas.txt
Amlogic Canvas
================================

A canvas is a collection of metadata that describes a pixel buffer.
Those metadata include: width, height, phyaddr, wrapping, block mode
and endianness.

Many IPs within Amlogic SoCs rely on canvas indexes to read/write pixel data
rather than use the phy addresses directly. For instance, this is the case for
the video decoders and the display.

Amlogic SoCs have 256 canvas.

Device Tree Bindings:
---------------------

Video Lookup Table
--------------------------

Required properties:
- compatible: "amlogic,canvas"
- reg: Base physical address and size of the canvas registers.

Example:

canvas: video-lut@48 {
	compatible = "amlogic,canvas";
	reg = <0x0 0x48 0x0 0x14>;
};
back to top