[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250211025317.399534-2-sunny.shen@mediatek.com>
Date: Tue, 11 Feb 2025 10:52:50 +0800
From: Sunny Shen <sunny.shen@...iatek.com>
To: Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Chun-Kuang Hu <chunkuang.hu@...nel.org>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
CC: Matthias Brugger <matthias.bgg@...il.com>, Philipp Zabel
<p.zabel@...gutronix.de>, Fei Shao <fshao@...omium.org>, Pin-yen Lin
<treapking@...omium.org>, "Jason-JH . Lin" <jason-jh.lin@...iatek.com>, Nancy
Lin <nancy.lin@...iatek.com>, Singo Chang <singo.chang@...iatek.com>, "Paul
Chen --cc=devicetree @ vger . kernel . org" <paul-pl.chen@...iatek.com>,
<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>, Sunny Shen
<sunny.shen@...iatek.com>
Subject: [PATCH 1/5] dt-bindings: display: mediatek: mdp-rsz: Add rules for MT8196
Add MDP-RSZ hardware description for MediaTek MT8196 SoC
Signed-off-by: Sunny Shen <sunny.shen@...iatek.com>
---
.../display/mediatek/mediatek,mdp-rsz.yaml | 46 +++++++++++++++++++
1 file changed, 46 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,mdp-rsz.yaml
diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,mdp-rsz.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,mdp-rsz.yaml
new file mode 100644
index 000000000000..6642b9aa651a
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,mdp-rsz.yaml
@@ -0,0 +1,46 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/mediatek/mediatek,mdp-rsz.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MediaTek display multimedia data path resizer
+
+maintainers:
+ - Chun-Kuang Hu <chunkuang.hu@...nel.org>
+ - Philipp Zabel <p.zabel@...gutronix.de>
+
+description: |
+ MediaTek display multimedia data path resizer, namely MDP-RSZ,
+ can do scaling up/down to the picture.
+
+properties:
+ compatible:
+ const: mediatek,mt8196-disp-mdp-rsz
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ items:
+ - description: MDP-RSZ Clock
+
+required:
+ - compatible
+ - reg
+ - clocks
+
+additionalProperties: false
+
+examples:
+ - |
+ soc {
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ disp_mdp_rsz0: disp-mdp-rsz0@...a0000 {
+ compatible = "mediatek,mt8196-disp-mdp-rsz";
+ reg = <0 0x321a0000 0 0x1000>;
+ clocks = <&dispsys_config_clk 101>;
+ };
+ };
--
2.34.1
Powered by blists - more mailing lists