Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/gpu/samsung-g2d.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Samsung SoC 2D Graphics Accelerator
0008 
0009 maintainers:
0010   - Inki Dae <inki.dae@samsung.com>
0011 
0012 properties:
0013   compatible:
0014     enum:
0015       - samsung,s5pv210-g2d    # in S5PV210 & Exynos4210 SoC
0016       - samsung,exynos4212-g2d # in Exynos4x12 SoCs
0017       - samsung,exynos5250-g2d
0018 
0019   reg:
0020     maxItems: 1
0021 
0022   interrupts:
0023     maxItems: 1
0024 
0025   clocks: {}
0026   clock-names: {}
0027   iommus: {}
0028   power-domains: {}
0029 
0030 if:
0031   properties:
0032     compatible:
0033       contains:
0034         const: samsung,exynos5250-g2d
0035 
0036 then:
0037   properties:
0038     clocks:
0039       items:
0040         - description: fimg2d clock
0041     clock-names:
0042       items:
0043         - const: fimg2d
0044 
0045 else:
0046   properties:
0047     clocks:
0048       items:
0049         - description: sclk_fimg2d clock
0050         - description: fimg2d clock
0051     clock-names:
0052       items:
0053         - const: sclk_fimg2d
0054         - const: fimg2d
0055 
0056 required:
0057   - compatible
0058   - reg
0059   - interrupts
0060   - clocks
0061   - clock-names
0062 
0063 additionalProperties: false
0064 
0065 examples:
0066   - |
0067     g2d@12800000 {
0068         compatible = "samsung,s5pv210-g2d";
0069         reg = <0x12800000 0x1000>;
0070         interrupts = <0 89 0>;
0071         clocks = <&clock 177>, <&clock 277>;
0072         clock-names = "sclk_fimg2d", "fimg2d";
0073     };
0074 
0075 ...