lkml.org 
[lkml]   [2021]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC PATCH 1/4] dt-bindings: Add bidings for mtk,apu-drm
Date
This adds the device tree bindings for the APU DRM driver.

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
---
.../devicetree/bindings/gpu/mtk,apu-drm.yaml | 38 +++++++++++++++++++
1 file changed, 38 insertions(+)
create mode 100644 Documentation/devicetree/bindings/gpu/mtk,apu-drm.yaml

diff --git a/Documentation/devicetree/bindings/gpu/mtk,apu-drm.yaml b/Documentation/devicetree/bindings/gpu/mtk,apu-drm.yaml
new file mode 100644
index 0000000000000..6f432d3ea478c
--- /dev/null
+++ b/Documentation/devicetree/bindings/gpu/mtk,apu-drm.yaml
@@ -0,0 +1,38 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/gpu/mediatek,apu-drm.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: AI Processor Unit DRM
+
+properties:
+ compatible:
+ const: mediatek,apu-drm
+
+ remoteproc:
+ maxItems: 2
+ description:
+ Handle to remoteproc devices controlling the APU
+
+ iova:
+ maxItems: 1
+ description:
+ Address and size of virtual memory that could used by the APU
+
+required:
+ - compatible
+ - remoteproc
+ - iova
+
+additionalProperties: false
+
+examples:
+ - |
+ apu@0 {
+ compatible = "mediatek,apu-drm";
+ remoteproc = <&vpu0>, <&vpu1>;
+ iova = <0 0x60000000 0 0x10000000>;
+ };
+
+...
--
2.31.1
\
 
 \ /
  Last update: 2021-09-17 14:59    [W:0.066 / U:1.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site