^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) %YAML 1.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ---
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) $id: http://devicetree.org/schemas/gpu/samsung-scaler.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) $schema: http://devicetree.org/meta-schemas/core.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) title: Samsung Exynos SoC Image Scaler
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) maintainers:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - Inki Dae <inki.dae@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) compatible:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) enum:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) - samsung,exynos5420-scaler
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) - samsung,exynos5433-scaler
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) reg:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) interrupts:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) clocks: {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) clock-names: {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) iommus: {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) power-domains: {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) if:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) compatible:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) contains:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) const: samsung,exynos5420-scaler
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) then:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) clocks:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) items:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) - description: mscl clock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) clock-names:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) items:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) - const: mscl
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) else:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) clocks:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) items:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) - description: pclk clock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) - description: aclk clock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) - description: aclk_xiu clock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) clock-names:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) items:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) - const: pclk
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) - const: aclk
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) - const: aclk_xiu
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) required:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) - compatible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) - reg
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) - interrupts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) - clocks
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) - clock-names
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) additionalProperties: false
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) examples:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) - |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) #include <dt-bindings/clock/exynos5420.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) #include <dt-bindings/interrupt-controller/arm-gic.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) scaler@12800000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) compatible = "samsung,exynos5420-scaler";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) reg = <0x12800000 0x1294>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) clocks = <&clock CLK_MSCL0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) clock-names = "mscl";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) ...