GNU Linux-libre 5.19-rc6-gnu
[releases.git] / Documentation / devicetree / bindings / display / samsung / samsung,exynos5433-mic.yaml
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
7 title: Samsung Exynos5433 SoC Mobile Image Compressor (MIC)
8
9 maintainers:
10   - Inki Dae <inki.dae@samsung.com>
11   - Joonyoung Shim <jy0922.shim@samsung.com>
12   - Seung-Woo Kim <sw0312.kim@samsung.com>
13   - Kyungmin Park <kyungmin.park@samsung.com>
14   - Krzysztof Kozlowski <krzk@kernel.org>
15
16 description: |
17   MIC (Mobile Image Compressor) resides between DECON and MIPI DSI. MIPI DSI is
18   not capable of transferring high resoltuion frame data as DECON can send. MIC
19   solves this problem by compressing the frame data by 1/2 before it is
20   transferred through MIPI DSI. The compressed frame data must be uncompressed
21   in the panel PCB.
22
23 properties:
24   compatible:
25     const: samsung,exynos5433-mic
26
27   clocks:
28     minItems: 2
29     maxItems: 2
30
31   clock-names:
32     items:
33       - const: pclk_mic0
34       - const: sclk_rgb_vclk_to_mic0
35
36   ports:
37     $ref: /schemas/graph.yaml#/properties/ports
38     description:
39       Contains a port which is connected to mic node.
40
41   power-domains:
42     maxItems: 1
43
44   reg:
45     maxItems: 1
46
47   samsung,disp-syscon:
48     $ref: /schemas/types.yaml#/definitions/phandle
49     description:
50       Phandle to DISP system controller interface.
51
52 required:
53   - compatible
54   - clocks
55   - clock-names
56   - ports
57   - reg
58   - samsung,disp-syscon
59
60 additionalProperties: false
61
62 examples:
63   - |
64     #include <dt-bindings/clock/exynos5433.h>
65     #include <dt-bindings/interrupt-controller/arm-gic.h>
66
67     image-processor@13930000 {
68         compatible = "samsung,exynos5433-mic";
69         reg = <0x13930000 0x48>;
70         clocks = <&cmu_disp CLK_PCLK_MIC0>,
71                  <&cmu_disp CLK_SCLK_RGB_VCLK_TO_MIC0>;
72         clock-names = "pclk_mic0",
73                       "sclk_rgb_vclk_to_mic0";
74         power-domains = <&pd_disp>;
75         samsung,disp-syscon = <&syscon_disp>;
76
77         ports {
78             #address-cells = <1>;
79             #size-cells = <0>;
80
81             port@0 {
82                 reg = <0>;
83                 mic_to_decon: endpoint {
84                     remote-endpoint = <&decon_to_mic>;
85                 };
86             };
87
88             port@1 {
89                 reg = <1>;
90                 mic_to_dsi: endpoint {
91                     remote-endpoint = <&dsi_to_mic>;
92                 };
93             };
94         };
95     };