xref: /freebsd/sys/contrib/device-tree/Bindings/display/samsung/samsung,exynos5433-mic.yaml (revision 058ac3e8063366dafa634d9107642e12b038bf09)
1# SPDX-License-Identifier: GPL-2.0-only
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/samsung/samsung,exynos5433-mic.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Samsung Exynos5433 SoC Mobile Image Compressor (MIC)
8
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  MIC (Mobile Image Compressor) resides between DECON and MIPI DSI. MIPI DSI is
17  not capable of transferring high resoltuion frame data as DECON can send. MIC
18  solves this problem by compressing the frame data by 1/2 before it is
19  transferred through MIPI DSI. The compressed frame data must be uncompressed
20  in the panel PCB.
21
22properties:
23  compatible:
24    const: samsung,exynos5433-mic
25
26  clocks:
27    minItems: 2
28    maxItems: 2
29
30  clock-names:
31    items:
32      - const: pclk_mic0
33      - const: sclk_rgb_vclk_to_mic0
34
35  ports:
36    $ref: /schemas/graph.yaml#/properties/ports
37    description:
38      Contains a port which is connected to mic node.
39
40  power-domains:
41    maxItems: 1
42
43  reg:
44    maxItems: 1
45
46  samsung,disp-syscon:
47    $ref: /schemas/types.yaml#/definitions/phandle
48    description:
49      Phandle to DISP system controller interface.
50
51required:
52  - compatible
53  - clocks
54  - clock-names
55  - ports
56  - reg
57  - samsung,disp-syscon
58
59additionalProperties: false
60
61examples:
62  - |
63    #include <dt-bindings/clock/exynos5433.h>
64    #include <dt-bindings/interrupt-controller/arm-gic.h>
65
66    image-processor@13930000 {
67        compatible = "samsung,exynos5433-mic";
68        reg = <0x13930000 0x48>;
69        clocks = <&cmu_disp CLK_PCLK_MIC0>,
70                 <&cmu_disp CLK_SCLK_RGB_VCLK_TO_MIC0>;
71        clock-names = "pclk_mic0",
72                      "sclk_rgb_vclk_to_mic0";
73        power-domains = <&pd_disp>;
74        samsung,disp-syscon = <&syscon_disp>;
75
76        ports {
77            #address-cells = <1>;
78            #size-cells = <0>;
79
80            port@0 {
81                reg = <0>;
82                mic_to_decon: endpoint {
83                    remote-endpoint = <&decon_to_mic>;
84                };
85            };
86
87            port@1 {
88                reg = <1>;
89                mic_to_dsi: endpoint {
90                    remote-endpoint = <&dsi_to_mic>;
91                };
92            };
93        };
94    };
95