From: "Paul-pl.Chen" <paul-pl.chen@xxxxxxxxxxxx> Add mediatek,blender.yaml to support BLENDER for MT8196. Signed-off-by: Paul-pl.Chen <paul-pl.chen@xxxxxxxxxxxx> --- 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@xxxxxxxxxx> + - Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> + +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@328d0000 { + compatible = "mediatek,mt8196-blender"; + reg = <0 0x328d0000 0 0x1000>; + clocks = <&ovlsys_config_clk CLK_OVL_BLENDER0_DISP>; + }; + }; -- 2.34.1