1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/media/media 4 $id: http://devicetree.org/schemas/media/mediatek,mdp3-stitch.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: MediaTek Media Data Path 3 STITCH 7 title: MediaTek Media Data Path 3 STITCH 8 8 9 maintainers: 9 maintainers: 10 - Matthias Brugger <matthias.bgg@gmail.com> 10 - Matthias Brugger <matthias.bgg@gmail.com> 11 - Moudy Ho <moudy.ho@mediatek.com> 11 - Moudy Ho <moudy.ho@mediatek.com> 12 12 13 description: 13 description: 14 One of Media Data Path 3 (MDP3) components u 14 One of Media Data Path 3 (MDP3) components used to combine multiple video frame 15 with overlapping fields of view to produce a 15 with overlapping fields of view to produce a segmented panorame. 16 16 17 properties: 17 properties: 18 compatible: 18 compatible: 19 enum: 19 enum: 20 - mediatek,mt8195-mdp3-stitch 20 - mediatek,mt8195-mdp3-stitch 21 21 22 reg: 22 reg: 23 maxItems: 1 23 maxItems: 1 24 24 25 mediatek,gce-client-reg: 25 mediatek,gce-client-reg: 26 description: 26 description: 27 The register of display function block t 27 The register of display function block to be set by gce. There are 4 arguments, 28 such as gce node, subsys id, offset and 28 such as gce node, subsys id, offset and register size. The subsys id that is 29 mapping to the register of display funct 29 mapping to the register of display function blocks is defined in the gce header 30 include/dt-bindings/gce/<chip>-gce.h of 30 include/dt-bindings/gce/<chip>-gce.h of each chips. 31 $ref: /schemas/types.yaml#/definitions/pha 31 $ref: /schemas/types.yaml#/definitions/phandle-array 32 items: 32 items: 33 items: 33 items: 34 - description: phandle of GCE 34 - description: phandle of GCE 35 - description: GCE subsys id 35 - description: GCE subsys id 36 - description: register offset 36 - description: register offset 37 - description: register size 37 - description: register size 38 maxItems: 1 38 maxItems: 1 39 39 40 clocks: 40 clocks: 41 maxItems: 1 41 maxItems: 1 42 42 43 required: 43 required: 44 - compatible 44 - compatible 45 - reg 45 - reg 46 - mediatek,gce-client-reg 46 - mediatek,gce-client-reg 47 - clocks 47 - clocks 48 48 49 additionalProperties: false 49 additionalProperties: false 50 50 51 examples: 51 examples: 52 - | 52 - | 53 #include <dt-bindings/clock/mt8195-clk.h> 53 #include <dt-bindings/clock/mt8195-clk.h> 54 #include <dt-bindings/gce/mt8195-gce.h> 54 #include <dt-bindings/gce/mt8195-gce.h> 55 55 56 display@14003000 { 56 display@14003000 { 57 compatible = "mediatek,mt8195-mdp3-sti 57 compatible = "mediatek,mt8195-mdp3-stitch"; 58 reg = <0x14003000 0x1000>; 58 reg = <0x14003000 0x1000>; 59 mediatek,gce-client-reg = <&gce1 SUBSY 59 mediatek,gce-client-reg = <&gce1 SUBSYS_1400XXXX 0x3000 0x1000>; 60 clocks = <&vppsys0 CLK_VPP0_STITCH>; 60 clocks = <&vppsys0 CLK_VPP0_STITCH>; 61 }; 61 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.