1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/gpu/samsung 4 $id: http://devicetree.org/schemas/gpu/samsung-g2d.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Samsung SoC 2D Graphics Accelerator 7 title: Samsung SoC 2D Graphics Accelerator 8 8 9 maintainers: 9 maintainers: 10 - Inki Dae <inki.dae@samsung.com> 10 - Inki Dae <inki.dae@samsung.com> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 enum: 14 enum: 15 - samsung,s5pv210-g2d # in S5PV210 & 15 - samsung,s5pv210-g2d # in S5PV210 & Exynos4210 SoC 16 - samsung,exynos4212-g2d # in Exynos4x12 16 - samsung,exynos4212-g2d # in Exynos4x12 SoCs 17 - samsung,exynos5250-g2d 17 - samsung,exynos5250-g2d 18 18 19 reg: 19 reg: 20 maxItems: 1 20 maxItems: 1 21 21 22 interrupts: 22 interrupts: 23 maxItems: 1 23 maxItems: 1 24 24 25 clocks: 25 clocks: 26 minItems: 1 26 minItems: 1 27 maxItems: 2 27 maxItems: 2 28 28 29 clock-names: 29 clock-names: 30 minItems: 1 30 minItems: 1 31 maxItems: 2 31 maxItems: 2 32 32 33 iommus: 33 iommus: 34 minItems: 1 34 minItems: 1 35 maxItems: 2 35 maxItems: 2 36 36 37 power-domains: 37 power-domains: 38 maxItems: 1 38 maxItems: 1 39 39 40 required: 40 required: 41 - compatible 41 - compatible 42 - reg 42 - reg 43 - interrupts 43 - interrupts 44 - clocks 44 - clocks 45 - clock-names 45 - clock-names 46 46 47 allOf: 47 allOf: 48 - if: 48 - if: 49 properties: 49 properties: 50 compatible: 50 compatible: 51 contains: 51 contains: 52 const: samsung,exynos5250-g2d 52 const: samsung,exynos5250-g2d 53 53 54 then: 54 then: 55 properties: 55 properties: 56 clocks: 56 clocks: 57 items: 57 items: 58 - description: fimg2d clock 58 - description: fimg2d clock 59 clock-names: 59 clock-names: 60 items: 60 items: 61 - const: fimg2d 61 - const: fimg2d 62 62 63 else: 63 else: 64 properties: 64 properties: 65 clocks: 65 clocks: 66 items: 66 items: 67 - description: sclk_fimg2d clock 67 - description: sclk_fimg2d clock 68 - description: fimg2d clock 68 - description: fimg2d clock 69 clock-names: 69 clock-names: 70 items: 70 items: 71 - const: sclk_fimg2d 71 - const: sclk_fimg2d 72 - const: fimg2d 72 - const: fimg2d 73 73 74 additionalProperties: false 74 additionalProperties: false 75 75 76 examples: 76 examples: 77 - | 77 - | 78 g2d@12800000 { 78 g2d@12800000 { 79 compatible = "samsung,s5pv210-g2d"; 79 compatible = "samsung,s5pv210-g2d"; 80 reg = <0x12800000 0x1000>; 80 reg = <0x12800000 0x1000>; 81 interrupts = <0 89 0>; 81 interrupts = <0 89 0>; 82 clocks = <&clock 177>, <&clock 277>; 82 clocks = <&clock 177>, <&clock 277>; 83 clock-names = "sclk_fimg2d", "fimg2d"; 83 clock-names = "sclk_fimg2d", "fimg2d"; 84 }; 84 }; 85 85 86 ... 86 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.