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