Northwest Logic MIPI-DSI controller on i.MX SoCs
Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/nwl-dsi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Guido Gúnther <agx@sigxcpu.org>", "Robert Chiras <robert.chiras@nxp.com>"
NWL MIPI-DSI host controller found on i.MX8 platforms. This is a dsi bridge for the SOCs NWL MIPI-DSI host controller.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):../dsi-controller.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "fsl,imx8mq-nwl-dsi"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
assigned-clock-parents — not listed as required here #
true — No constraints added by this property rule.
assigned-clock-rates — not listed as required here #
true — No constraints added by this property rule.
assigned-clocks — not listed as required here #
true — No constraints added by this property rule.
clocks — required here #
Array item rules (items) #
Item 1
DSI core clock
Item 2
RX_ESC clock (used in escape mode)
Item 3
TX_ESC clock (used in escape mode)
Item 4
PHY_REF clock
Item 5
LCDIF clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"rx_esc"
Item 3
Exact value (
const):"tx_esc"
Item 4
Exact value (
const):"phy_ref"
Item 5
Exact value (
const):"lcdif"
mux-controls — required here #
mux controller node to use for operating the input mux
phys — required here #
Maximum number of items (maxItems): 1
A phandle to the phy module representing the DPHY
phy-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dphy"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — required here #
Array item rules (items) #
Item 1
dsi byte reset line
Item 2
dsi dpi reset line
Item 3
dsi esc reset line
Item 4
dsi pclk reset line
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"byte"
Item 2
Exact value (
const):"dpi"
Item 3
Exact value (
const):"esc"
Item 4
Exact value (
const):"pclk"
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Input port node to receive pixel data from the display controller. Exactly one endpoint must be specified.
Properties and child nodes (properties)
endpoint@0 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/endpoint
sub-node describing the input from LCDIF
endpoint@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/endpoint
sub-node describing the input from DCSS
Exactly one of these rules must match (oneOf)
Rule 1
Rule 2
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
port@1 — 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
array of physical DSI data lane indexes.
Minimum number of items (minItems): 1
Array item rules (items)
Item 1
Exact value (
const):1
Item 2
Exact value (
const):2
Item 3
Exact value (
const):3
Item 4
Exact value (
const):4
Required in this object (required): "port@0", "port@1"
Required in this object (required): "#address-cells", "#size-cells", "clock-names", "clocks", "compatible", "interrupts", "mux-controls", "phy-names", "phys", "ports", "reg", "reset-names", "resets"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx8mq-clock.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/reset/imx8mq-reset.h>
dsi@30a00000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,imx8mq-nwl-dsi";
reg = <0x30A00000 0x300>;
clocks = <&clk IMX8MQ_CLK_DSI_CORE>,
<&clk IMX8MQ_CLK_DSI_AHB>,
<&clk IMX8MQ_CLK_DSI_IPG_DIV>,
<&clk IMX8MQ_CLK_DSI_PHY_REF>,
<&clk IMX8MQ_CLK_LCDIF_PIXEL>;
clock-names = "core", "rx_esc", "tx_esc", "phy_ref", "lcdif";
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
mux-controls = <&mux 0>;
power-domains = <&pgc_mipi>;
resets = <&src IMX8MQ_RESET_MIPI_DSI_RESET_BYTE_N>,
<&src IMX8MQ_RESET_MIPI_DSI_DPI_RESET_N>,
<&src IMX8MQ_RESET_MIPI_DSI_ESC_RESET_N>,
<&src IMX8MQ_RESET_MIPI_DSI_PCLK_RESET_N>;
reset-names = "byte", "dpi", "esc", "pclk";
phys = <&dphy>;
phy-names = "dphy";
panel@0 {
compatible = "rocktech,jh057n00900";
reg = <0>;
vcc-supply = <®_2v8_p>;
iovcc-supply = <®_1v8_p>;
reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
port {
panel_in: endpoint {
remote-endpoint = <&mipi_dsi_out>;
};
};
};
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
#size-cells = <0>;
#address-cells = <1>;
reg = <0>;
mipi_dsi_in: endpoint@0 {
reg = <0>;
remote-endpoint = <&lcdif_mipi_dsi>;
};
};
port@1 {
reg = <1>;
mipi_dsi_out: endpoint {
remote-endpoint = <&panel_in>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)