xref: /linux/Documentation/devicetree/bindings/display/samsung/samsung,exynos-mixer.yaml (revision 571c7ed0baa928447bac29ef79a90bd6525d1ebc)
168e89bb3SKrzysztof Kozlowski# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
268e89bb3SKrzysztof Kozlowski%YAML 1.2
368e89bb3SKrzysztof Kozlowski---
468e89bb3SKrzysztof Kozlowski$id: http://devicetree.org/schemas/display/samsung/samsung,exynos-mixer.yaml#
568e89bb3SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
668e89bb3SKrzysztof Kozlowski
768e89bb3SKrzysztof Kozlowskititle: Samsung Exynos SoC Mixer
868e89bb3SKrzysztof Kozlowski
968e89bb3SKrzysztof Kozlowskimaintainers:
1068e89bb3SKrzysztof Kozlowski  - Inki Dae <inki.dae@samsung.com>
1168e89bb3SKrzysztof Kozlowski  - Seung-Woo Kim <sw0312.kim@samsung.com>
1268e89bb3SKrzysztof Kozlowski  - Kyungmin Park <kyungmin.park@samsung.com>
138a1e6bb3SKrzysztof Kozlowski  - Krzysztof Kozlowski <krzk@kernel.org>
1468e89bb3SKrzysztof Kozlowski
1568e89bb3SKrzysztof Kozlowskidescription:
1668e89bb3SKrzysztof Kozlowski  Samsung Exynos SoC Mixer is responsible for mixing and blending multiple data
1768e89bb3SKrzysztof Kozlowski  inputs before passing it to an output device.  The output is passed to HDMI.
1868e89bb3SKrzysztof Kozlowski
1968e89bb3SKrzysztof Kozlowskiproperties:
2068e89bb3SKrzysztof Kozlowski  compatible:
2168e89bb3SKrzysztof Kozlowski    oneOf:
2268e89bb3SKrzysztof Kozlowski      - enum:
2368e89bb3SKrzysztof Kozlowski          - samsung,exynos4210-mixer
2468e89bb3SKrzysztof Kozlowski          - samsung,exynos4212-mixer
2568e89bb3SKrzysztof Kozlowski          - samsung,exynos5250-mixer
2668e89bb3SKrzysztof Kozlowski          - samsung,exynos5420-mixer
2768e89bb3SKrzysztof Kozlowski      - const: samsung,exynos5-mixer
2868e89bb3SKrzysztof Kozlowski        deprecated: true
2968e89bb3SKrzysztof Kozlowski
3068e89bb3SKrzysztof Kozlowski  clocks:
3168e89bb3SKrzysztof Kozlowski    minItems: 3
3268e89bb3SKrzysztof Kozlowski    items:
3368e89bb3SKrzysztof Kozlowski      - description: Gate of Mixer IP bus clock.
3468e89bb3SKrzysztof Kozlowski      - description: Gate of HDMI IP bus clock, needed together with sclk_hdmi.
3568e89bb3SKrzysztof Kozlowski      - description: HDMI Special clock, one of the two possible inputs of
3668e89bb3SKrzysztof Kozlowski          mixer mux.
3768e89bb3SKrzysztof Kozlowski      - description: Video Processor clock.
3868e89bb3SKrzysztof Kozlowski      - description: Mixer mux clock.
3968e89bb3SKrzysztof Kozlowski      - description: Mixer Special clock.
4068e89bb3SKrzysztof Kozlowski
4168e89bb3SKrzysztof Kozlowski  clock-names:
4268e89bb3SKrzysztof Kozlowski    minItems: 3
4368e89bb3SKrzysztof Kozlowski    items:
4468e89bb3SKrzysztof Kozlowski      - const: mixer
4568e89bb3SKrzysztof Kozlowski      - const: hdmi
4668e89bb3SKrzysztof Kozlowski      - const: sclk_hdmi
4768e89bb3SKrzysztof Kozlowski      - const: vp
4868e89bb3SKrzysztof Kozlowski      - const: mout_mixer
4968e89bb3SKrzysztof Kozlowski      - const: sclk_mixer
5068e89bb3SKrzysztof Kozlowski
5168e89bb3SKrzysztof Kozlowski  interconnects:
5268e89bb3SKrzysztof Kozlowski    maxItems: 1
5368e89bb3SKrzysztof Kozlowski
5468e89bb3SKrzysztof Kozlowski  interrupts:
5568e89bb3SKrzysztof Kozlowski    maxItems: 1
5668e89bb3SKrzysztof Kozlowski
5768e89bb3SKrzysztof Kozlowski  iommus:
5868e89bb3SKrzysztof Kozlowski    maxItems: 1
5968e89bb3SKrzysztof Kozlowski
6068e89bb3SKrzysztof Kozlowski  power-domains:
6168e89bb3SKrzysztof Kozlowski    maxItems: 1
6268e89bb3SKrzysztof Kozlowski
6368e89bb3SKrzysztof Kozlowski  reg:
6468e89bb3SKrzysztof Kozlowski    minItems: 1
6568e89bb3SKrzysztof Kozlowski    items:
6668e89bb3SKrzysztof Kozlowski      - description: Mixer memory region.
6768e89bb3SKrzysztof Kozlowski      - description: Video Processor memory region.
6868e89bb3SKrzysztof Kozlowski
6968e89bb3SKrzysztof Kozlowskirequired:
7068e89bb3SKrzysztof Kozlowski  - compatible
7168e89bb3SKrzysztof Kozlowski  - clocks
7268e89bb3SKrzysztof Kozlowski  - clock-names
7368e89bb3SKrzysztof Kozlowski  - interrupts
7468e89bb3SKrzysztof Kozlowski  - reg
7568e89bb3SKrzysztof Kozlowski
7668e89bb3SKrzysztof KozlowskiallOf:
7768e89bb3SKrzysztof Kozlowski  - if:
7868e89bb3SKrzysztof Kozlowski      properties:
7968e89bb3SKrzysztof Kozlowski        compatible:
8068e89bb3SKrzysztof Kozlowski          contains:
8168e89bb3SKrzysztof Kozlowski            const: samsung,exynos4210-mixer
8268e89bb3SKrzysztof Kozlowski              - samsung,exynos4212-mixer
8368e89bb3SKrzysztof Kozlowski    then:
8468e89bb3SKrzysztof Kozlowski      properties:
8568e89bb3SKrzysztof Kozlowski        clocks:
8668e89bb3SKrzysztof Kozlowski          minItems: 6
8768e89bb3SKrzysztof Kozlowski          maxItems: 6
88*571c7ed0SRob Herring        reg:
8968e89bb3SKrzysztof Kozlowski          minItems: 2
9068e89bb3SKrzysztof Kozlowski          maxItems: 2
9168e89bb3SKrzysztof Kozlowski
9268e89bb3SKrzysztof Kozlowski  - if:
9368e89bb3SKrzysztof Kozlowski      properties:
9468e89bb3SKrzysztof Kozlowski        compatible:
9568e89bb3SKrzysztof Kozlowski          contains:
9668e89bb3SKrzysztof Kozlowski            const: samsung,exynos4212-mixer
9768e89bb3SKrzysztof Kozlowski    then:
9868e89bb3SKrzysztof Kozlowski      properties:
9968e89bb3SKrzysztof Kozlowski        clocks:
10068e89bb3SKrzysztof Kozlowski          minItems: 4
10168e89bb3SKrzysztof Kozlowski          maxItems: 4
102*571c7ed0SRob Herring        reg:
10368e89bb3SKrzysztof Kozlowski          minItems: 2
10468e89bb3SKrzysztof Kozlowski          maxItems: 2
10568e89bb3SKrzysztof Kozlowski
10668e89bb3SKrzysztof Kozlowski  - if:
10768e89bb3SKrzysztof Kozlowski      properties:
10868e89bb3SKrzysztof Kozlowski        compatible:
10968e89bb3SKrzysztof Kozlowski          contains:
11068e89bb3SKrzysztof Kozlowski            enum:
11168e89bb3SKrzysztof Kozlowski              - samsung,exynos5-mixer
11268e89bb3SKrzysztof Kozlowski              - samsung,exynos5250-mixer
11368e89bb3SKrzysztof Kozlowski              - samsung,exynos5420-mixer
11468e89bb3SKrzysztof Kozlowski    then:
11568e89bb3SKrzysztof Kozlowski      properties:
11668e89bb3SKrzysztof Kozlowski        clocks:
11768e89bb3SKrzysztof Kozlowski          minItems: 3
11868e89bb3SKrzysztof Kozlowski          maxItems: 3
119*571c7ed0SRob Herring        reg:
12068e89bb3SKrzysztof Kozlowski          minItems: 1
12168e89bb3SKrzysztof Kozlowski          maxItems: 1
12268e89bb3SKrzysztof Kozlowski
12368e89bb3SKrzysztof KozlowskiadditionalProperties: false
12468e89bb3SKrzysztof Kozlowski
12568e89bb3SKrzysztof Kozlowskiexamples:
12668e89bb3SKrzysztof Kozlowski  - |
12768e89bb3SKrzysztof Kozlowski    #include <dt-bindings/clock/exynos5250.h>
12868e89bb3SKrzysztof Kozlowski    #include <dt-bindings/interrupt-controller/arm-gic.h>
12968e89bb3SKrzysztof Kozlowski
13068e89bb3SKrzysztof Kozlowski    mixer@14450000 {
13168e89bb3SKrzysztof Kozlowski        compatible = "samsung,exynos5250-mixer";
13268e89bb3SKrzysztof Kozlowski        reg = <0x14450000 0x10000>;
13368e89bb3SKrzysztof Kozlowski        interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
13468e89bb3SKrzysztof Kozlowski        clocks = <&clock CLK_MIXER>,
13568e89bb3SKrzysztof Kozlowski                 <&clock CLK_HDMI>,
13668e89bb3SKrzysztof Kozlowski                 <&clock CLK_SCLK_HDMI>;
13768e89bb3SKrzysztof Kozlowski        clock-names = "mixer",
13868e89bb3SKrzysztof Kozlowski                      "hdmi",
13968e89bb3SKrzysztof Kozlowski                      "sclk_hdmi";
14068e89bb3SKrzysztof Kozlowski        iommus = <&sysmmu_tv>;
14168e89bb3SKrzysztof Kozlowski        power-domains = <&pd_disp1>;
14268e89bb3SKrzysztof Kozlowski    };
143