Path: blob/master/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml
29286 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/display/bridge/samsung,mipi-dsim.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Samsung MIPI DSIM bridge controller78maintainers:9- Inki Dae <inki.dae@samsung.com>10- Jagan Teki <jagan@amarulasolutions.com>11- Marek Szyprowski <m.szyprowski@samsung.com>1213description: |14Samsung MIPI DSIM bridge controller can be found it on Exynos15and i.MX8M Mini/Nano/Plus SoC's.1617properties:18compatible:19oneOf:20- enum:21- samsung,exynos3250-mipi-dsi22- samsung,exynos4210-mipi-dsi23- samsung,exynos5410-mipi-dsi24- samsung,exynos5422-mipi-dsi25- samsung,exynos5433-mipi-dsi26- samsung,exynos7870-mipi-dsi27- fsl,imx8mm-mipi-dsim28- fsl,imx8mp-mipi-dsim29- items:30- enum:31- fsl,imx7d-mipi-dsim32- fsl,imx8mn-mipi-dsim33- const: fsl,imx8mm-mipi-dsim3435reg:36maxItems: 13738interrupts:39maxItems: 14041'#address-cells':42const: 14344'#size-cells':45const: 04647clocks:48minItems: 249maxItems: 55051clock-names:52minItems: 253maxItems: 55455samsung,phy-type:56$ref: /schemas/types.yaml#/definitions/uint3257description: phandle to the samsung phy-type5859power-domains:60maxItems: 16162samsung,power-domain:63$ref: /schemas/types.yaml#/definitions/phandle64description: phandle to the associated samsung power domain6566vddcore-supply:67description: MIPI DSIM Core voltage supply (e.g. 1.1V)6869vddio-supply:70description: MIPI DSIM I/O and PLL voltage supply (e.g. 1.8V)7172samsung,burst-clock-frequency:73$ref: /schemas/types.yaml#/definitions/uint3274description:75DSIM high speed burst mode frequency. If absent,76the pixel clock from the attached device or bridge77will be used instead.7879samsung,esc-clock-frequency:80$ref: /schemas/types.yaml#/definitions/uint3281description:82DSIM escape mode frequency.8384samsung,pll-clock-frequency:85$ref: /schemas/types.yaml#/definitions/uint3286description:87DSIM oscillator clock frequency. If absent, the clock frequency88of sclk_mipi will be used instead.8990phys:91maxItems: 19293phy-names:94const: dsim9596ports:97$ref: /schemas/graph.yaml#/properties/ports9899properties:100port@0:101$ref: /schemas/graph.yaml#/properties/port102description:103Input port node to receive pixel data from the104display controller. Exactly one endpoint must be105specified.106107port@1:108$ref: /schemas/graph.yaml#/$defs/port-base109unevaluatedProperties: false110description:111DSI output port node to the panel or the next bridge112in the chain.113114properties:115endpoint:116$ref: /schemas/media/video-interfaces.yaml#117unevaluatedProperties: false118119properties:120data-lanes:121minItems: 1122maxItems: 4123uniqueItems: true124items:125enum: [ 1, 2, 3, 4 ]126127lane-polarities:128minItems: 1129maxItems: 5130description:131The Samsung MIPI DSI IP requires that all the data lanes have132the same polarity.133134dependencies:135lane-polarities: [data-lanes]136137required:138- clock-names139- clocks140- compatible141- interrupts142- reg143- samsung,esc-clock-frequency144145allOf:146- $ref: ../dsi-controller.yaml#147- if:148properties:149compatible:150contains:151const: samsung,exynos7870-mipi-dsi152153then:154properties:155clocks:156minItems: 4157maxItems: 4158159clock-names:160items:161- const: bus162- const: pll163- const: byte164- const: esc165166ports:167required:168- port@0169170required:171- ports172173- if:174properties:175compatible:176contains:177const: samsung,exynos5433-mipi-dsi178179then:180properties:181clocks:182minItems: 5183184clock-names:185items:186- const: bus_clk187- const: phyclk_mipidphy0_bitclkdiv8188- const: phyclk_mipidphy0_rxclkesc0189- const: sclk_rgb_vclk_to_dsim0190- const: sclk_mipi191192ports:193required:194- port@0195196required:197- ports198- vddcore-supply199- vddio-supply200201- if:202properties:203compatible:204contains:205const: samsung,exynos5410-mipi-dsi206207then:208properties:209clocks:210minItems: 2211212clock-names:213items:214- const: bus_clk215- const: pll_clk216217required:218- vddcore-supply219- vddio-supply220221- if:222properties:223compatible:224contains:225const: samsung,exynos4210-mipi-dsi226227then:228properties:229clocks:230minItems: 2231232clock-names:233items:234- const: bus_clk235- const: sclk_mipi236237required:238- vddcore-supply239- vddio-supply240241- if:242properties:243compatible:244contains:245const: samsung,exynos3250-mipi-dsi246247then:248properties:249clocks:250minItems: 2251252clock-names:253items:254- const: bus_clk255- const: pll_clk256257required:258- vddcore-supply259- vddio-supply260- samsung,phy-type261262additionalProperties:263type: object264265examples:266- |267#include <dt-bindings/clock/exynos5433.h>268#include <dt-bindings/gpio/gpio.h>269#include <dt-bindings/interrupt-controller/arm-gic.h>270271dsi@13900000 {272compatible = "samsung,exynos5433-mipi-dsi";273reg = <0x13900000 0xC0>;274interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;275phys = <&mipi_phy 1>;276phy-names = "dsim";277clocks = <&cmu_disp CLK_PCLK_DSIM0>,278<&cmu_disp CLK_PHYCLK_MIPIDPHY0_BITCLKDIV8>,279<&cmu_disp CLK_PHYCLK_MIPIDPHY0_RXCLKESC0>,280<&cmu_disp CLK_SCLK_RGB_VCLK_TO_DSIM0>,281<&cmu_disp CLK_SCLK_DSIM0>;282clock-names = "bus_clk",283"phyclk_mipidphy0_bitclkdiv8",284"phyclk_mipidphy0_rxclkesc0",285"sclk_rgb_vclk_to_dsim0",286"sclk_mipi";287power-domains = <&pd_disp>;288vddcore-supply = <&ldo6_reg>;289vddio-supply = <&ldo7_reg>;290samsung,burst-clock-frequency = <512000000>;291samsung,esc-clock-frequency = <16000000>;292samsung,pll-clock-frequency = <24000000>;293pinctrl-names = "default";294pinctrl-0 = <&te_irq>;295296ports {297#address-cells = <1>;298#size-cells = <0>;299300port@0 {301reg = <0>;302303dsi_to_mic: endpoint {304remote-endpoint = <&mic_to_dsi>;305};306};307};308};309310311