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-scaler.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Samsung Exynos SoC Image Scaler 7 title: Samsung Exynos SoC Image Scaler 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,exynos5420-scaler 15 - samsung,exynos5420-scaler 16 - samsung,exynos5433-scaler 16 - samsung,exynos5433-scaler 17 17 18 reg: 18 reg: 19 maxItems: 1 19 maxItems: 1 20 20 21 interrupts: 21 interrupts: 22 maxItems: 1 22 maxItems: 1 23 23 24 clocks: 24 clocks: 25 minItems: 1 25 minItems: 1 26 maxItems: 3 26 maxItems: 3 27 27 28 clock-names: 28 clock-names: 29 minItems: 1 29 minItems: 1 30 maxItems: 3 30 maxItems: 3 31 31 32 iommus: 32 iommus: 33 minItems: 1 33 minItems: 1 34 maxItems: 2 34 maxItems: 2 35 35 36 power-domains: 36 power-domains: 37 maxItems: 1 37 maxItems: 1 38 38 39 required: 39 required: 40 - compatible 40 - compatible 41 - reg 41 - reg 42 - interrupts 42 - interrupts 43 - clocks 43 - clocks 44 - clock-names 44 - clock-names 45 45 46 allOf: 46 allOf: 47 - if: 47 - if: 48 properties: 48 properties: 49 compatible: 49 compatible: 50 contains: 50 contains: 51 const: samsung,exynos5420-scaler 51 const: samsung,exynos5420-scaler 52 52 53 then: 53 then: 54 properties: 54 properties: 55 clocks: 55 clocks: 56 items: 56 items: 57 - description: mscl clock 57 - description: mscl clock 58 clock-names: 58 clock-names: 59 items: 59 items: 60 - const: mscl 60 - const: mscl 61 iommus: 61 iommus: 62 minItems: 2 62 minItems: 2 63 63 64 else: 64 else: 65 properties: 65 properties: 66 clocks: 66 clocks: 67 items: 67 items: 68 - description: pclk clock 68 - description: pclk clock 69 - description: aclk clock 69 - description: aclk clock 70 - description: aclk_xiu clock 70 - description: aclk_xiu clock 71 clock-names: 71 clock-names: 72 items: 72 items: 73 - const: pclk 73 - const: pclk 74 - const: aclk 74 - const: aclk 75 - const: aclk_xiu 75 - const: aclk_xiu 76 iommus: 76 iommus: 77 maxItems: 1 77 maxItems: 1 78 78 79 additionalProperties: false 79 additionalProperties: false 80 80 81 examples: 81 examples: 82 - | 82 - | 83 #include <dt-bindings/clock/exynos5420.h> 83 #include <dt-bindings/clock/exynos5420.h> 84 #include <dt-bindings/interrupt-controller 84 #include <dt-bindings/interrupt-controller/arm-gic.h> 85 85 86 scaler@12800000 { 86 scaler@12800000 { 87 compatible = "samsung,exynos5420-scale 87 compatible = "samsung,exynos5420-scaler"; 88 reg = <0x12800000 0x1294>; 88 reg = <0x12800000 0x1294>; 89 interrupts = <GIC_SPI 220 IRQ_TYPE_LEV 89 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>; 90 clocks = <&clock CLK_MSCL0>; 90 clocks = <&clock CLK_MSCL0>; 91 clock-names = "mscl"; 91 clock-names = "mscl"; 92 }; 92 }; 93 93 94 ... 94 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.