Toshiba TC358775 DSI to LVDS bridge
Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/toshiba,tc358775.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vinay Simha BN <simhavcs@gmail.com>"
This binding supports DSI to LVDS bridges TC358765 and TC358775
MIPI DSI-RX Data 4-lane, CLK 1-lane with data rates up to 800 Mbps/lane. Video frame size: Up to 1600x1200 24-bit/pixel resolution for single-link LVDS display panel limited by 135 MHz LVDS speed Up to WUXGA (1920x1200 24-bit pixels) resolution for dual-link LVDS display panel, limited by 270 MHz LVDS speed.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "toshiba,tc358765", "toshiba,tc358775"
reg — required here #
Maximum number of items (maxItems): 1
i2c address of the bridge, 0x0f
vdd-supply — required here #
1.2V LVDS Power Supply
vddio-supply — required here #
1.8V IO Power Supply
stby-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Standby pin, Low active
reset-gpios — required here #
Maximum number of items (maxItems): 1
Hardware reset, Low active
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
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
DSI Input. The remote endpoint phandle should be a reference to a valid mipi_dsi_host device node.
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
port@1 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Video port for LVDS output (panel or connector).
port@2 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Video port for Dual link LVDS output (panel or connector).
Required in this object (required): "port@0", "port@1"
Required in this object (required): "compatible", "reg", "vdd-supply", "vddio-supply", "reset-gpios", "ports"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"toshiba,tc358765"When the condition matches (
then) #Properties and child nodes (
properties)
stby-gpios— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
/* For single-link LVDS display panel */
i2c@78b8000 {
/* On High speed expansion */
label = "HS-I2C2";
reg = <0x078b8000 0x500>;
clock-frequency = <400000>; /* fastmode operation */
#address-cells = <1>;
#size-cells = <0>;
tc_bridge: bridge@f {
compatible = "toshiba,tc358775";
reg = <0x0f>;
vdd-supply = <&pm8916_l2>;
vddio-supply = <&pm8916_l6>;
stby-gpios = <&msmgpio 99 GPIO_ACTIVE_LOW>;
reset-gpios = <&msmgpio 72 GPIO_ACTIVE_LOW>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
d2l_in_test: endpoint {
remote-endpoint = <&dsi0_out>;
data-lanes = <1 2 3 4>;
};
};
port@1 {
reg = <1>;
lvds_out: endpoint {
remote-endpoint = <&panel_in>;
};
};
};
};
};
dsi@1a98000 {
reg = <0x1a98000 0x25c>;
reg-names = "dsi_ctrl";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
dsi0_out: endpoint {
remote-endpoint = <&d2l_in_test>;
};
};
};
};
/* For dual-link LVDS display panel */
i2c@78b8000 {
/* On High speed expansion */
label = "HS-I2C2";
reg = <0x078b8000 0x500>;
clock-frequency = <400000>; /* fastmode operation */
#address-cells = <1>;
#size-cells = <0>;
tc_bridge_dual: bridge@f {
compatible = "toshiba,tc358775";
reg = <0x0f>;
vdd-supply = <&pm8916_l2>;
vddio-supply = <&pm8916_l6>;
stby-gpios = <&msmgpio 99 GPIO_ACTIVE_LOW>;
reset-gpios = <&msmgpio 72 GPIO_ACTIVE_LOW>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
d2l_in_dual: endpoint {
remote-endpoint = <&dsi0_out_dual>;
data-lanes = <1 2 3 4>;
};
};
port@1 {
reg = <1>;
lvds0_out: endpoint {
remote-endpoint = <&panel_in0>;
};
};
port@2 {
reg = <2>;
lvds1_out: endpoint {
remote-endpoint = <&panel_in1>;
};
};
};
};
};
dsi@1a98000 {
reg = <0x1a98000 0x25c>;
reg-names = "dsi_ctrl";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
dsi0_out_dual: endpoint {
remote-endpoint = <&d2l_in_dual>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)