14c5e180bSKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0-only 24c5e180bSKrzysztof Kozlowski%YAML 1.2 34c5e180bSKrzysztof Kozlowski--- 44c5e180bSKrzysztof Kozlowski$id: http://devicetree.org/schemas/display/samsung/samsung,exynos5433-mic.yaml# 54c5e180bSKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml# 64c5e180bSKrzysztof Kozlowski 74c5e180bSKrzysztof Kozlowskititle: Samsung Exynos5433 SoC Mobile Image Compressor (MIC) 84c5e180bSKrzysztof Kozlowski 94c5e180bSKrzysztof Kozlowskimaintainers: 104c5e180bSKrzysztof Kozlowski - Inki Dae <inki.dae@samsung.com> 114c5e180bSKrzysztof Kozlowski - Seung-Woo Kim <sw0312.kim@samsung.com> 124c5e180bSKrzysztof Kozlowski - Kyungmin Park <kyungmin.park@samsung.com> 13*8a1e6bb3SKrzysztof Kozlowski - Krzysztof Kozlowski <krzk@kernel.org> 144c5e180bSKrzysztof Kozlowski 154c5e180bSKrzysztof Kozlowskidescription: | 164c5e180bSKrzysztof Kozlowski MIC (Mobile Image Compressor) resides between DECON and MIPI DSI. MIPI DSI is 174c5e180bSKrzysztof Kozlowski not capable of transferring high resoltuion frame data as DECON can send. MIC 184c5e180bSKrzysztof Kozlowski solves this problem by compressing the frame data by 1/2 before it is 194c5e180bSKrzysztof Kozlowski transferred through MIPI DSI. The compressed frame data must be uncompressed 204c5e180bSKrzysztof Kozlowski in the panel PCB. 214c5e180bSKrzysztof Kozlowski 224c5e180bSKrzysztof Kozlowskiproperties: 234c5e180bSKrzysztof Kozlowski compatible: 244c5e180bSKrzysztof Kozlowski const: samsung,exynos5433-mic 254c5e180bSKrzysztof Kozlowski 264c5e180bSKrzysztof Kozlowski clocks: 274c5e180bSKrzysztof Kozlowski maxItems: 2 284c5e180bSKrzysztof Kozlowski 294c5e180bSKrzysztof Kozlowski clock-names: 304c5e180bSKrzysztof Kozlowski items: 314c5e180bSKrzysztof Kozlowski - const: pclk_mic0 324c5e180bSKrzysztof Kozlowski - const: sclk_rgb_vclk_to_mic0 334c5e180bSKrzysztof Kozlowski 344c5e180bSKrzysztof Kozlowski ports: 354c5e180bSKrzysztof Kozlowski $ref: /schemas/graph.yaml#/properties/ports 364c5e180bSKrzysztof Kozlowski description: 374c5e180bSKrzysztof Kozlowski Contains a port which is connected to mic node. 384c5e180bSKrzysztof Kozlowski 394c5e180bSKrzysztof Kozlowski power-domains: 404c5e180bSKrzysztof Kozlowski maxItems: 1 414c5e180bSKrzysztof Kozlowski 424c5e180bSKrzysztof Kozlowski reg: 434c5e180bSKrzysztof Kozlowski maxItems: 1 444c5e180bSKrzysztof Kozlowski 454c5e180bSKrzysztof Kozlowski samsung,disp-syscon: 464c5e180bSKrzysztof Kozlowski $ref: /schemas/types.yaml#/definitions/phandle 474c5e180bSKrzysztof Kozlowski description: 484c5e180bSKrzysztof Kozlowski Phandle to DISP system controller interface. 494c5e180bSKrzysztof Kozlowski 504c5e180bSKrzysztof Kozlowskirequired: 514c5e180bSKrzysztof Kozlowski - compatible 524c5e180bSKrzysztof Kozlowski - clocks 534c5e180bSKrzysztof Kozlowski - clock-names 544c5e180bSKrzysztof Kozlowski - ports 554c5e180bSKrzysztof Kozlowski - reg 564c5e180bSKrzysztof Kozlowski - samsung,disp-syscon 574c5e180bSKrzysztof Kozlowski 584c5e180bSKrzysztof KozlowskiadditionalProperties: false 594c5e180bSKrzysztof Kozlowski 604c5e180bSKrzysztof Kozlowskiexamples: 614c5e180bSKrzysztof Kozlowski - | 624c5e180bSKrzysztof Kozlowski #include <dt-bindings/clock/exynos5433.h> 634c5e180bSKrzysztof Kozlowski #include <dt-bindings/interrupt-controller/arm-gic.h> 644c5e180bSKrzysztof Kozlowski 654c5e180bSKrzysztof Kozlowski image-processor@13930000 { 664c5e180bSKrzysztof Kozlowski compatible = "samsung,exynos5433-mic"; 674c5e180bSKrzysztof Kozlowski reg = <0x13930000 0x48>; 684c5e180bSKrzysztof Kozlowski clocks = <&cmu_disp CLK_PCLK_MIC0>, 694c5e180bSKrzysztof Kozlowski <&cmu_disp CLK_SCLK_RGB_VCLK_TO_MIC0>; 704c5e180bSKrzysztof Kozlowski clock-names = "pclk_mic0", 714c5e180bSKrzysztof Kozlowski "sclk_rgb_vclk_to_mic0"; 724c5e180bSKrzysztof Kozlowski power-domains = <&pd_disp>; 734c5e180bSKrzysztof Kozlowski samsung,disp-syscon = <&syscon_disp>; 744c5e180bSKrzysztof Kozlowski 754c5e180bSKrzysztof Kozlowski ports { 764c5e180bSKrzysztof Kozlowski #address-cells = <1>; 774c5e180bSKrzysztof Kozlowski #size-cells = <0>; 784c5e180bSKrzysztof Kozlowski 794c5e180bSKrzysztof Kozlowski port@0 { 804c5e180bSKrzysztof Kozlowski reg = <0>; 814c5e180bSKrzysztof Kozlowski mic_to_decon: endpoint { 824c5e180bSKrzysztof Kozlowski remote-endpoint = <&decon_to_mic>; 834c5e180bSKrzysztof Kozlowski }; 844c5e180bSKrzysztof Kozlowski }; 854c5e180bSKrzysztof Kozlowski 864c5e180bSKrzysztof Kozlowski port@1 { 874c5e180bSKrzysztof Kozlowski reg = <1>; 884c5e180bSKrzysztof Kozlowski mic_to_dsi: endpoint { 894c5e180bSKrzysztof Kozlowski remote-endpoint = <&dsi_to_mic>; 904c5e180bSKrzysztof Kozlowski }; 914c5e180bSKrzysztof Kozlowski }; 924c5e180bSKrzysztof Kozlowski }; 934c5e180bSKrzysztof Kozlowski }; 94