[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250110123835.2719824-6-paul-pl.chen@mediatek.com>
Date: Fri, 10 Jan 2025 20:34:00 +0800
From: paul-pl.chen <paul-pl.chen@...iatek.com>
To: <robh@...nel.org>, <krzk+dt@...nel.org>, <conor+dt@...nel.org>,
<chunkuang.hu@...nel.org>, <angelogioacchino.delregno@...labora.com>
CC: <matthias.bgg@...il.com>, <p.zabel@...gutronix.de>,
<jason-jh.lin@...iatek.com>, <nancy.lin@...iatek.com>,
<singo.chang@...iatek.com>, <xiandong.wang@...iatek.com>,
<sirius.wang@...iatek.com>, <paul-pl.chen@...iatek.com>,
<sunny.shen@...iatek.com>, <fshao@...omium.org>, <treapking@...omium.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<dri-devel@...ts.freedesktop.org>, <linux-mediatek@...ts.infradead.org>,
<linux-arm-kernel@...ts.infradead.org>,
<Project_Global_Chrome_Upstream_Group@...iatek.com>
Subject: [PATCH 04/12] dt-bindings: display: mediatek: add BLENDER yaml for MT8196
From: "Paul-pl.Chen" <paul-pl.chen@...iatek.com>
Add mediatek,blender.yaml to support BLENDER for MT8196.
Signed-off-by: Paul-pl.Chen <paul-pl.chen@...iatek.com>
---
The header used in examples:
#include <dt-bindings/clock/mt8196-clk.h>
is not upstreamed yet.
It will be sent by related owner soon.
---
.../display/mediatek/mediatek,blender.yaml | 50 +++++++++++++++++++
1 file changed, 50 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,blender.yaml
diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,blender.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,blender.yaml
new file mode 100644
index 000000000000..0bcc1a797f71
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,blender.yaml
@@ -0,0 +1,50 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/mediatek/mediatek,blender.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MediaTek Display Overlap Blender
+
+maintainers:
+ - Chun-Kuang Hu <chunkuang.hu@...nel.org>
+ - Philipp Zabel <p.zabel@...gutronix.de>
+
+description:
+ MediaTek display overlap blender, namely OVL_BLENDER or BLENDER,
+ executes the alpha blending function for overlapping layers
+ from different sources. This is the primary function of the
+ overlapping system.
+
+properties:
+ compatible:
+ const: mediatek,mt8196-blender
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ items:
+ - description: Overlap Blender Clock
+
+required:
+ - compatible
+ - reg
+ - clocks
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/clock/mt8196-clk.h>
+
+ soc {
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ disp_ovl0_blender0: blender@...d0000 {
+ compatible = "mediatek,mt8196-blender";
+ reg = <0 0x328d0000 0 0x1000>;
+ clocks = <&ovlsys_config_clk CLK_OVL_BLENDER0_DISP>;
+ };
+ };
--
2.34.1
Powered by blists - more mailing lists