SN65DSI86 DSI to eDP bridge chip
Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/ti,sn65dsi86.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Douglas Anderson <dianders@chromium.org>"
The Texas Instruments SN65DSI86 bridge takes MIPI DSI in and outputs eDP. https://www.ti.com/general/docs/lit/getliterature.tsp?genericPartNumber=sn65dsi86&fileType=pdf
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,sn65dsi86"
reg — required here #
enable-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO specifier for bridge_en pin (active high).
suspend-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO specifier for GPIO1 pin on bridge (active low).
no-hpd — not listed as required here #
Value type (type): "boolean"
Set if the HPD line on the bridge isn't hooked up to anything or is otherwise unusable.
vccio-supply — required here #
A 1.8V supply that powers the digital IOs.
vpll-supply — required here #
A 1.8V supply that powers the DisplayPort PLL.
vcca-supply — required here #
A 1.2V supply that powers the analog circuits.
vcc-supply — required here #
A 1.2V supply that powers the digital core.
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
Clock specifier for input reference clock. The reference clock rate must be 12 MHz, 19.2 MHz, 26 MHz, 27 MHz or 38.4 MHz.
clock-names — not listed as required here #
Exact value (const): "refclk"
gpio-controller — not listed as required here #
true — No constraints added by this property rule.
#gpio-cells — not listed as required here #
Exact value (const): 2
First cell is pin number, second cell is flags. GPIO pin numbers are 1-based to match the datasheet. See ../../gpio/gpio.txt for more information.
#pwm-cells — not listed as required here #
Exact value (const): 1
See ../../pwm/pwm.yaml for description of the cell formats.
aux-bus — not listed as required here #
Shared schema rule ($ref): /schemas/display/dp-aux-bus.yaml#
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#/properties/port
Video port for MIPI DSI input
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.
Video port for eDP output (panel or connector).
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
Exactly one of these rules must match (oneOf)
Rule 1
Minimum number of items (
minItems):1Maximum number of items (
maxItems):1Items must be unique (
uniqueItems):trueArray item rules (
items)If you have 1 logical lane the bridge supports routing to either port 0 or port 1. Port 0 is suggested.
Rule 2
Minimum number of items (
minItems):2Maximum number of items (
maxItems):2Items must be unique (
uniqueItems):trueArray item rules (
items)If you have 2 logical lanes the bridge supports reordering but only on physical ports 0 and 1.
Rule 3
Minimum number of items (
minItems):4Maximum number of items (
maxItems):4Items must be unique (
uniqueItems):trueArray item rules (
items)If you have 4 logical lanes the bridge supports reordering in any way.
lane-polarities — not listed as required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Array item rules (items)
Property dependencies (dependencies)
lane-polarities — applies when this property is present
Also requires: "data-lanes"
Required in this object (required): "port@0", "port@1"
Required in this object (required): "compatible", "reg", "vccio-supply", "vpll-supply", "vcca-supply", "vcc-supply", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
bridge@2d {
compatible = "ti,sn65dsi86";
reg = <0x2d>;
interrupt-parent = <&tlmm>;
interrupts = <10 IRQ_TYPE_LEVEL_HIGH>;
enable-gpios = <&tlmm 102 GPIO_ACTIVE_HIGH>;
vpll-supply = <&src_pp1800_s4a>;
vccio-supply = <&src_pp1800_s4a>;
vcca-supply = <&src_pp1200_l2a>;
vcc-supply = <&src_pp1200_l2a>;
clocks = <&rpmhcc RPMH_LN_BB_CLK2>;
clock-names = "refclk";
no-hpd;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
endpoint {
remote-endpoint = <&dsi0_out>;
};
};
port@1 {
reg = <1>;
sn65dsi86_out: endpoint {
remote-endpoint = <&panel_in_edp>;
};
};
};
aux-bus {
panel {
compatible = "boe,nv133fhm-n62";
power-supply = <&pp3300_dx_edp>;
backlight = <&backlight>;
hpd-gpios = <&sn65dsi86_bridge 2 GPIO_ACTIVE_HIGH>;
port {
panel_in_edp: endpoint {
remote-endpoint = <&sn65dsi86_out>;
};
};
};
};
};
};
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
bridge@2d {
compatible = "ti,sn65dsi86";
reg = <0x2d>;
enable-gpios = <&msmgpio 33 GPIO_ACTIVE_HIGH>;
suspend-gpios = <&msmgpio 34 GPIO_ACTIVE_LOW>;
interrupts-extended = <&gpio3 4 IRQ_TYPE_EDGE_FALLING>;
vccio-supply = <&pm8916_l17>;
vcca-supply = <&pm8916_l6>;
vpll-supply = <&pm8916_l17>;
vcc-supply = <&pm8916_l6>;
clock-names = "refclk";
clocks = <&input_refclk>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
edp_bridge_in: endpoint {
remote-endpoint = <&dsi_out>;
};
};
port@1 {
reg = <1>;
edp_bridge_out: endpoint {
data-lanes = <2 1 3 0>;
lane-polarities = <0 1 0 1>;
remote-endpoint = <&edp_panel_in>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)