brintos

brintos / linux-shallow public Read only

0
0
Text · 3.2 KiB · 597c9cc Raw
143 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/display/samsung/samsung,exynos-mixer.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Samsung Exynos SoC Mixer8 9maintainers:10  - Inki Dae <inki.dae@samsung.com>11  - Seung-Woo Kim <sw0312.kim@samsung.com>12  - Kyungmin Park <kyungmin.park@samsung.com>13  - Krzysztof Kozlowski <krzk@kernel.org>14 15description:16  Samsung Exynos SoC Mixer is responsible for mixing and blending multiple data17  inputs before passing it to an output device.  The output is passed to HDMI.18 19properties:20  compatible:21    oneOf:22      - enum:23          - samsung,exynos4210-mixer24          - samsung,exynos4212-mixer25          - samsung,exynos5250-mixer26          - samsung,exynos5420-mixer27      - const: samsung,exynos5-mixer28        deprecated: true29 30  clocks:31    minItems: 332    items:33      - description: Gate of Mixer IP bus clock.34      - description: Gate of HDMI IP bus clock, needed together with sclk_hdmi.35      - description: HDMI Special clock, one of the two possible inputs of36          mixer mux.37      - description: Video Processor clock.38      - description: Mixer mux clock.39      - description: Mixer Special clock.40 41  clock-names:42    minItems: 343    items:44      - const: mixer45      - const: hdmi46      - const: sclk_hdmi47      - const: vp48      - const: mout_mixer49      - const: sclk_mixer50 51  interconnects:52    maxItems: 153 54  interrupts:55    maxItems: 156 57  iommus:58    maxItems: 159 60  power-domains:61    maxItems: 162 63  reg:64    minItems: 165    items:66      - description: Mixer memory region.67      - description: Video Processor memory region.68 69required:70  - compatible71  - clocks72  - clock-names73  - interrupts74  - reg75 76allOf:77  - if:78      properties:79        compatible:80          contains:81            const: samsung,exynos4210-mixer82              - samsung,exynos4212-mixer83    then:84      properties:85        clocks:86          minItems: 687          maxItems: 688        reg:89          minItems: 290          maxItems: 291 92  - if:93      properties:94        compatible:95          contains:96            const: samsung,exynos4212-mixer97    then:98      properties:99        clocks:100          minItems: 4101          maxItems: 4102        reg:103          minItems: 2104          maxItems: 2105 106  - if:107      properties:108        compatible:109          contains:110            enum:111              - samsung,exynos5-mixer112              - samsung,exynos5250-mixer113              - samsung,exynos5420-mixer114    then:115      properties:116        clocks:117          minItems: 3118          maxItems: 3119        reg:120          minItems: 1121          maxItems: 1122 123additionalProperties: false124 125examples:126  - |127    #include <dt-bindings/clock/exynos5250.h>128    #include <dt-bindings/interrupt-controller/arm-gic.h>129 130    mixer@14450000 {131        compatible = "samsung,exynos5250-mixer";132        reg = <0x14450000 0x10000>;133        interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;134        clocks = <&clock CLK_MIXER>,135                 <&clock CLK_HDMI>,136                 <&clock CLK_SCLK_HDMI>;137        clock-names = "mixer",138                      "hdmi",139                      "sclk_hdmi";140        iommus = <&sysmmu_tv>;141        power-domains = <&pd_disp1>;142    };143