Skip to content

Commit

Permalink
dt-bindings: soc: amlogic: add meson-canvas documentation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Maxime Jourdan authored and Kevin Hilman committed Sep 13, 2018
1 parent 0789724 commit 5516803
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Documentation/devicetree/bindings/soc/amlogic/amlogic,canvas.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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>;
};

0 comments on commit 5516803

Please sign in to comment.