Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/samsung/samsung,exynos5433-mic.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Samsung Exynos5433 SoC Mobile Image Compressor (MIC)
0008 
0009 maintainers:
0010   - Inki Dae <inki.dae@samsung.com>
0011   - Seung-Woo Kim <sw0312.kim@samsung.com>
0012   - Kyungmin Park <kyungmin.park@samsung.com>
0013   - Krzysztof Kozlowski <krzk@kernel.org>
0014 
0015 description: |
0016   MIC (Mobile Image Compressor) resides between DECON and MIPI DSI. MIPI DSI is
0017   not capable of transferring high resoltuion frame data as DECON can send. MIC
0018   solves this problem by compressing the frame data by 1/2 before it is
0019   transferred through MIPI DSI. The compressed frame data must be uncompressed
0020   in the panel PCB.
0021 
0022 properties:
0023   compatible:
0024     const: samsung,exynos5433-mic
0025 
0026   clocks:
0027     minItems: 2
0028     maxItems: 2
0029 
0030   clock-names:
0031     items:
0032       - const: pclk_mic0
0033       - const: sclk_rgb_vclk_to_mic0
0034 
0035   ports:
0036     $ref: /schemas/graph.yaml#/properties/ports
0037     description:
0038       Contains a port which is connected to mic node.
0039 
0040   power-domains:
0041     maxItems: 1
0042 
0043   reg:
0044     maxItems: 1
0045 
0046   samsung,disp-syscon:
0047     $ref: /schemas/types.yaml#/definitions/phandle
0048     description:
0049       Phandle to DISP system controller interface.
0050 
0051 required:
0052   - compatible
0053   - clocks
0054   - clock-names
0055   - ports
0056   - reg
0057   - samsung,disp-syscon
0058 
0059 additionalProperties: false
0060 
0061 examples:
0062   - |
0063     #include <dt-bindings/clock/exynos5433.h>
0064     #include <dt-bindings/interrupt-controller/arm-gic.h>
0065 
0066     image-processor@13930000 {
0067         compatible = "samsung,exynos5433-mic";
0068         reg = <0x13930000 0x48>;
0069         clocks = <&cmu_disp CLK_PCLK_MIC0>,
0070                  <&cmu_disp CLK_SCLK_RGB_VCLK_TO_MIC0>;
0071         clock-names = "pclk_mic0",
0072                       "sclk_rgb_vclk_to_mic0";
0073         power-domains = <&pd_disp>;
0074         samsung,disp-syscon = <&syscon_disp>;
0075 
0076         ports {
0077             #address-cells = <1>;
0078             #size-cells = <0>;
0079 
0080             port@0 {
0081                 reg = <0>;
0082                 mic_to_decon: endpoint {
0083                     remote-endpoint = <&decon_to_mic>;
0084                 };
0085             };
0086 
0087             port@1 {
0088                 reg = <1>;
0089                 mic_to_dsi: endpoint {
0090                     remote-endpoint = <&dsi_to_mic>;
0091                 };
0092             };
0093         };
0094     };