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