1c9ccf3a3SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c9ccf3a3SEmmanuel Vadot%YAML 1.2 3c9ccf3a3SEmmanuel Vadot--- 4c9ccf3a3SEmmanuel Vadot$id: http://devicetree.org/schemas/display/samsung/samsung,exynos-mixer.yaml# 5c9ccf3a3SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c9ccf3a3SEmmanuel Vadot 7c9ccf3a3SEmmanuel Vadottitle: Samsung Exynos SoC Mixer 8c9ccf3a3SEmmanuel Vadot 9c9ccf3a3SEmmanuel Vadotmaintainers: 10c9ccf3a3SEmmanuel Vadot - Inki Dae <inki.dae@samsung.com> 11c9ccf3a3SEmmanuel Vadot - Seung-Woo Kim <sw0312.kim@samsung.com> 12c9ccf3a3SEmmanuel Vadot - Kyungmin Park <kyungmin.park@samsung.com> 13c9ccf3a3SEmmanuel Vadot - Krzysztof Kozlowski <krzk@kernel.org> 14c9ccf3a3SEmmanuel Vadot 15c9ccf3a3SEmmanuel Vadotdescription: 16c9ccf3a3SEmmanuel Vadot Samsung Exynos SoC Mixer is responsible for mixing and blending multiple data 17c9ccf3a3SEmmanuel Vadot inputs before passing it to an output device. The output is passed to HDMI. 18c9ccf3a3SEmmanuel Vadot 19c9ccf3a3SEmmanuel Vadotproperties: 20c9ccf3a3SEmmanuel Vadot compatible: 21c9ccf3a3SEmmanuel Vadot oneOf: 22c9ccf3a3SEmmanuel Vadot - enum: 23c9ccf3a3SEmmanuel Vadot - samsung,exynos4210-mixer 24c9ccf3a3SEmmanuel Vadot - samsung,exynos4212-mixer 25c9ccf3a3SEmmanuel Vadot - samsung,exynos5250-mixer 26c9ccf3a3SEmmanuel Vadot - samsung,exynos5420-mixer 27c9ccf3a3SEmmanuel Vadot - const: samsung,exynos5-mixer 28c9ccf3a3SEmmanuel Vadot deprecated: true 29c9ccf3a3SEmmanuel Vadot 30c9ccf3a3SEmmanuel Vadot clocks: 31c9ccf3a3SEmmanuel Vadot minItems: 3 32c9ccf3a3SEmmanuel Vadot items: 33c9ccf3a3SEmmanuel Vadot - description: Gate of Mixer IP bus clock. 34c9ccf3a3SEmmanuel Vadot - description: Gate of HDMI IP bus clock, needed together with sclk_hdmi. 35c9ccf3a3SEmmanuel Vadot - description: HDMI Special clock, one of the two possible inputs of 36c9ccf3a3SEmmanuel Vadot mixer mux. 37c9ccf3a3SEmmanuel Vadot - description: Video Processor clock. 38c9ccf3a3SEmmanuel Vadot - description: Mixer mux clock. 39c9ccf3a3SEmmanuel Vadot - description: Mixer Special clock. 40c9ccf3a3SEmmanuel Vadot 41c9ccf3a3SEmmanuel Vadot clock-names: 42c9ccf3a3SEmmanuel Vadot minItems: 3 43c9ccf3a3SEmmanuel Vadot items: 44c9ccf3a3SEmmanuel Vadot - const: mixer 45c9ccf3a3SEmmanuel Vadot - const: hdmi 46c9ccf3a3SEmmanuel Vadot - const: sclk_hdmi 47c9ccf3a3SEmmanuel Vadot - const: vp 48c9ccf3a3SEmmanuel Vadot - const: mout_mixer 49c9ccf3a3SEmmanuel Vadot - const: sclk_mixer 50c9ccf3a3SEmmanuel Vadot 51c9ccf3a3SEmmanuel Vadot interconnects: 52c9ccf3a3SEmmanuel Vadot maxItems: 1 53c9ccf3a3SEmmanuel Vadot 54c9ccf3a3SEmmanuel Vadot interrupts: 55c9ccf3a3SEmmanuel Vadot maxItems: 1 56c9ccf3a3SEmmanuel Vadot 57c9ccf3a3SEmmanuel Vadot iommus: 58c9ccf3a3SEmmanuel Vadot maxItems: 1 59c9ccf3a3SEmmanuel Vadot 60c9ccf3a3SEmmanuel Vadot power-domains: 61c9ccf3a3SEmmanuel Vadot maxItems: 1 62c9ccf3a3SEmmanuel Vadot 63c9ccf3a3SEmmanuel Vadot reg: 64c9ccf3a3SEmmanuel Vadot minItems: 1 65c9ccf3a3SEmmanuel Vadot items: 66c9ccf3a3SEmmanuel Vadot - description: Mixer memory region. 67c9ccf3a3SEmmanuel Vadot - description: Video Processor memory region. 68c9ccf3a3SEmmanuel Vadot 69c9ccf3a3SEmmanuel Vadotrequired: 70c9ccf3a3SEmmanuel Vadot - compatible 71c9ccf3a3SEmmanuel Vadot - clocks 72c9ccf3a3SEmmanuel Vadot - clock-names 73c9ccf3a3SEmmanuel Vadot - interrupts 74c9ccf3a3SEmmanuel Vadot - reg 75c9ccf3a3SEmmanuel Vadot 76c9ccf3a3SEmmanuel VadotallOf: 77c9ccf3a3SEmmanuel Vadot - if: 78c9ccf3a3SEmmanuel Vadot properties: 79c9ccf3a3SEmmanuel Vadot compatible: 80c9ccf3a3SEmmanuel Vadot contains: 81c9ccf3a3SEmmanuel Vadot const: samsung,exynos4210-mixer 82c9ccf3a3SEmmanuel Vadot - samsung,exynos4212-mixer 83c9ccf3a3SEmmanuel Vadot then: 84c9ccf3a3SEmmanuel Vadot properties: 85c9ccf3a3SEmmanuel Vadot clocks: 86c9ccf3a3SEmmanuel Vadot minItems: 6 87c9ccf3a3SEmmanuel Vadot maxItems: 6 88*8d13bc63SEmmanuel Vadot reg: 89c9ccf3a3SEmmanuel Vadot minItems: 2 90c9ccf3a3SEmmanuel Vadot maxItems: 2 91c9ccf3a3SEmmanuel Vadot 92c9ccf3a3SEmmanuel Vadot - if: 93c9ccf3a3SEmmanuel Vadot properties: 94c9ccf3a3SEmmanuel Vadot compatible: 95c9ccf3a3SEmmanuel Vadot contains: 96c9ccf3a3SEmmanuel Vadot const: samsung,exynos4212-mixer 97c9ccf3a3SEmmanuel Vadot then: 98c9ccf3a3SEmmanuel Vadot properties: 99c9ccf3a3SEmmanuel Vadot clocks: 100c9ccf3a3SEmmanuel Vadot minItems: 4 101c9ccf3a3SEmmanuel Vadot maxItems: 4 102*8d13bc63SEmmanuel Vadot reg: 103c9ccf3a3SEmmanuel Vadot minItems: 2 104c9ccf3a3SEmmanuel Vadot maxItems: 2 105c9ccf3a3SEmmanuel Vadot 106c9ccf3a3SEmmanuel Vadot - if: 107c9ccf3a3SEmmanuel Vadot properties: 108c9ccf3a3SEmmanuel Vadot compatible: 109c9ccf3a3SEmmanuel Vadot contains: 110c9ccf3a3SEmmanuel Vadot enum: 111c9ccf3a3SEmmanuel Vadot - samsung,exynos5-mixer 112c9ccf3a3SEmmanuel Vadot - samsung,exynos5250-mixer 113c9ccf3a3SEmmanuel Vadot - samsung,exynos5420-mixer 114c9ccf3a3SEmmanuel Vadot then: 115c9ccf3a3SEmmanuel Vadot properties: 116c9ccf3a3SEmmanuel Vadot clocks: 117c9ccf3a3SEmmanuel Vadot minItems: 3 118c9ccf3a3SEmmanuel Vadot maxItems: 3 119*8d13bc63SEmmanuel Vadot reg: 120c9ccf3a3SEmmanuel Vadot minItems: 1 121c9ccf3a3SEmmanuel Vadot maxItems: 1 122c9ccf3a3SEmmanuel Vadot 123c9ccf3a3SEmmanuel VadotadditionalProperties: false 124c9ccf3a3SEmmanuel Vadot 125c9ccf3a3SEmmanuel Vadotexamples: 126c9ccf3a3SEmmanuel Vadot - | 127c9ccf3a3SEmmanuel Vadot #include <dt-bindings/clock/exynos5250.h> 128c9ccf3a3SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 129c9ccf3a3SEmmanuel Vadot 130c9ccf3a3SEmmanuel Vadot mixer@14450000 { 131c9ccf3a3SEmmanuel Vadot compatible = "samsung,exynos5250-mixer"; 132c9ccf3a3SEmmanuel Vadot reg = <0x14450000 0x10000>; 133c9ccf3a3SEmmanuel Vadot interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>; 134c9ccf3a3SEmmanuel Vadot clocks = <&clock CLK_MIXER>, 135c9ccf3a3SEmmanuel Vadot <&clock CLK_HDMI>, 136c9ccf3a3SEmmanuel Vadot <&clock CLK_SCLK_HDMI>; 137c9ccf3a3SEmmanuel Vadot clock-names = "mixer", 138c9ccf3a3SEmmanuel Vadot "hdmi", 139c9ccf3a3SEmmanuel Vadot "sclk_hdmi"; 140c9ccf3a3SEmmanuel Vadot iommus = <&sysmmu_tv>; 141c9ccf3a3SEmmanuel Vadot power-domains = <&pd_disp1>; 142c9ccf3a3SEmmanuel Vadot }; 143