87 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/gpu/samsung-g2d.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Samsung SoC 2D Graphics Accelerator8 9maintainers:10 - Inki Dae <inki.dae@samsung.com>11 12properties:13 compatible:14 enum:15 - samsung,s5pv210-g2d # in S5PV210 & Exynos4210 SoC16 - samsung,exynos4212-g2d # in Exynos4x12 SoCs17 - samsung,exynos5250-g2d18 19 reg:20 maxItems: 121 22 interrupts:23 maxItems: 124 25 clocks:26 minItems: 127 maxItems: 228 29 clock-names:30 minItems: 131 maxItems: 232 33 iommus:34 minItems: 135 maxItems: 236 37 power-domains:38 maxItems: 139 40required:41 - compatible42 - reg43 - interrupts44 - clocks45 - clock-names46 47allOf:48 - if:49 properties:50 compatible:51 contains:52 const: samsung,exynos5250-g2d53 54 then:55 properties:56 clocks:57 items:58 - description: fimg2d clock59 clock-names:60 items:61 - const: fimg2d62 63 else:64 properties:65 clocks:66 items:67 - description: sclk_fimg2d clock68 - description: fimg2d clock69 clock-names:70 items:71 - const: sclk_fimg2d72 - const: fimg2d73 74additionalProperties: false75 76examples:77 - |78 g2d@12800000 {79 compatible = "samsung,s5pv210-g2d";80 reg = <0x12800000 0x1000>;81 interrupts = <0 89 0>;82 clocks = <&clock 177>, <&clock 277>;83 clock-names = "sclk_fimg2d", "fimg2d";84 };85 86...87