Samsung MIPI DSIM bridge controller
Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/samsung,mipi-dsim.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Inki Dae <inki.dae@samsung.com>", "Jagan Teki <jagan@amarulasolutions.com>", "Marek Szyprowski <m.szyprowski@samsung.com>"
Samsung MIPI DSIM bridge controller can be found it on Exynos and i.MX8M Mini/Nano/Plus SoC's.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"samsung,exynos3250-mipi-dsi","samsung,exynos4210-mipi-dsi","samsung,exynos5410-mipi-dsi","samsung,exynos5422-mipi-dsi","samsung,exynos5433-mipi-dsi","samsung,exynos7870-mipi-dsi","fsl,imx8mm-mipi-dsim","fsl,imx8mp-mipi-dsim"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx7d-mipi-dsim","fsl,imx8mn-mipi-dsim"Item 2
Exact value (
const):"fsl,imx8mm-mipi-dsim"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
clocks — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 5
clock-names — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 5
samsung,phy-type — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
phandle to the samsung phy-type
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
samsung,power-domain — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to the associated samsung power domain
vddcore-supply — not listed as required here #
MIPI DSIM Core voltage supply (e.g. 1.1V)
vddio-supply — not listed as required here #
MIPI DSIM I/O and PLL voltage supply (e.g. 1.8V)
samsung,burst-clock-frequency — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
DSIM high speed burst mode frequency. If absent, the pixel clock from the attached device or bridge will be used instead.
samsung,esc-clock-frequency — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
DSIM escape mode frequency.
samsung,pll-clock-frequency — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
DSIM oscillator clock frequency. If absent, the clock frequency of sclk_mipi will be used instead.
phys — not listed as required here #
Maximum number of items (maxItems): 1
phy-names — not listed as required here #
Exact value (const): "dsim"
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Input port node to receive pixel data from the display controller. Exactly one endpoint must be specified.
port@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
DSI output port node to the panel or the next bridge in the chain.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
data-lanes — not listed as required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Items must be unique (uniqueItems): true
Array item rules (items)
lane-polarities — not listed as required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 5
The Samsung MIPI DSI IP requires that all the data lanes have the same polarity.
Property dependencies (dependencies)
lane-polarities — applies when this property is present
Also requires: "data-lanes"
Required in this object (required): "clock-names", "clocks", "compatible", "interrupts", "reg", "samsung,esc-clock-frequency"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):../dsi-controller.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos7870-mipi-dsi"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):4Maximum number of items (
maxItems):4
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"bus"Item 2
Exact value (
const):"pll"Item 3
Exact value (
const):"byte"Item 4
Exact value (
const):"esc"
ports— required here
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-mipi-dsi"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):5
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"bus_clk"Item 2
Exact value (
const):"phyclk_mipidphy0_bitclkdiv8"Item 3
Exact value (
const):"phyclk_mipidphy0_rxclkesc0"Item 4
Exact value (
const):"sclk_rgb_vclk_to_dsim0"Item 5
Exact value (
const):"sclk_mipi"
ports— required hereRequired in this object (
required):"port@0"Required in this object (
required):"ports","vddcore-supply","vddio-supply"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5410-mipi-dsi"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):2
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"bus_clk"Item 2
Exact value (
const):"pll_clk"Required in this object (
required):"vddcore-supply","vddio-supply"
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos4210-mipi-dsi"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):2
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"bus_clk"Item 2
Exact value (
const):"sclk_mipi"Required in this object (
required):"vddcore-supply","vddio-supply"
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos3250-mipi-dsi"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):2
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"bus_clk"Item 2
Exact value (
const):"pll_clk"Required in this object (
required):"vddcore-supply","vddio-supply","samsung,phy-type"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
Value type (
type):"object"
Examples (examples) #
#include <dt-bindings/clock/exynos5433.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
dsi@13900000 {
compatible = "samsung,exynos5433-mipi-dsi";
reg = <0x13900000 0xC0>;
interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
phys = <&mipi_phy 1>;
phy-names = "dsim";
clocks = <&cmu_disp CLK_PCLK_DSIM0>,
<&cmu_disp CLK_PHYCLK_MIPIDPHY0_BITCLKDIV8>,
<&cmu_disp CLK_PHYCLK_MIPIDPHY0_RXCLKESC0>,
<&cmu_disp CLK_SCLK_RGB_VCLK_TO_DSIM0>,
<&cmu_disp CLK_SCLK_DSIM0>;
clock-names = "bus_clk",
"phyclk_mipidphy0_bitclkdiv8",
"phyclk_mipidphy0_rxclkesc0",
"sclk_rgb_vclk_to_dsim0",
"sclk_mipi";
power-domains = <&pd_disp>;
vddcore-supply = <&ldo6_reg>;
vddio-supply = <&ldo7_reg>;
samsung,burst-clock-frequency = <512000000>;
samsung,esc-clock-frequency = <16000000>;
samsung,pll-clock-frequency = <24000000>;
pinctrl-names = "default";
pinctrl-0 = <&te_irq>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
dsi_to_mic: endpoint {
remote-endpoint = <&mic_to_dsi>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)