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