[PATCH 40/42] dt-bindings: display: mediatek: Introduce MT8196 Image Resizer
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Wed Jul 1 05:20:55 PDT 2026
Add documentation for the Image Resizer "RSZ" Scaler block found
in the MT8196 SoC and its variants.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
---
.../display/mediatek/mediatek,mt8196-rsz.yaml | 97 +++++++++++++++++++
1 file changed, 97 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,mt8196-rsz.yaml
diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,mt8196-rsz.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,mt8196-rsz.yaml
new file mode 100644
index 000000000000..cf6b0ed08bfb
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,mt8196-rsz.yaml
@@ -0,0 +1,97 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/mediatek/mediatek,mt8196-rsz.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MediaTek Display Image Resizer (RSZ)
+
+maintainers:
+ - AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
+
+description:
+ The MediaTek Display Image Resizer (RSZ) is a high fidelity scaler block,
+ with filters and signal enhancers, responsible for performing downscaling
+ or upscaling of a frame.
+
+properties:
+ compatible:
+ - const: mediatek,mt8196-disp-rsz
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ maxItems: 1
+
+ power-domains:
+ maxItems: 1
+
+ ports:
+ $ref: /schemas/graph.yaml#/properties/ports
+
+ properties:
+ port at 0:
+ $ref: /schemas/graph.yaml#/properties/port
+
+ port at 1:
+ $ref: /schemas/graph.yaml#/properties/port
+
+ required:
+ - port at 0
+ - port at 1
+
+ trigger-sources:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - clock-names
+ - ports
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+ #include <dt-bindings/clock/mediatek,mt8196-clock.h>
+ #include <dt-bindings/power/mediatek,mt8196-power.h>
+
+ scaler at 329d0000 {
+ compatible = "mediatek,mt8196-disp-rsz";
+ reg = <0x329d0000 0x1000>;
+ clocks = <&ovlsys0 CLK_OVL_MDP_RSZ0>;
+ power-domains = <&hpm_hwv MT8196_POWER_DOMAIN_OVL0_DORMANT>;
+ trigger-sources = <&ovl0_mutex 26>;
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port at 0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0>;
+
+ endpoint at 0 {
+ reg = <0>;
+ remote-endpoint = <&ep_main_out>;
+ };
+ };
+
+ port at 1 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <1>;
+
+ endpoint at 0 {
+ reg = <0>;
+ remote-endpoint = <&exdma0_2_in>;
+ };
+ };
+ };
+ };
+
+...
--
2.54.0
More information about the linux-arm-kernel
mailing list