51 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2# Copyright 2019 BayLibre, SAS3%YAML 1.24---5$id: http://devicetree.org/schemas/soc/amlogic/amlogic,canvas.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Amlogic Canvas Video Lookup Table9 10maintainers:11 - Neil Armstrong <neil.armstrong@linaro.org>12 - Maxime Jourdan <mjourdan@baylibre.com>13 14description: |15 A canvas is a collection of metadata that describes a pixel buffer.16 Those metadata include: width, height, phyaddr, wrapping and block mode.17 Starting with GXBB the endianness can also be described.18 19 Many IPs within Amlogic SoCs rely on canvas indexes to read/write pixel data20 rather than use the phy addresses directly. For instance, this is the case for21 the video decoders and the display.22 23 Amlogic SoCs have 256 canvas.24 25properties:26 compatible:27 oneOf:28 - items:29 - enum:30 - amlogic,meson8-canvas31 - amlogic,meson8b-canvas32 - amlogic,meson8m2-canvas33 - const: amlogic,canvas34 - const: amlogic,canvas # GXBB and newer SoCs35 36 reg:37 maxItems: 138 39required:40 - compatible41 - reg42 43additionalProperties: false44 45examples:46 - |47 canvas: video-lut@48 {48 compatible = "amlogic,canvas";49 reg = <0x48 0x14>;50 };51