Toshiba TC358767/TC358867/TC9595 DSI/DPI/eDP bridge
Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/toshiba,tc358767.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andrey Gusakov <andrey.gusakov@cogentembedded.com>"
The TC358767/TC358867/TC9595 is bridge device which converts DSI/DPI to eDP/DP .
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"toshiba,tc358767"
Rule 2
Exact value (
const):"toshiba,tc358767"
reg — required here #
Allowed values (enum): 15, 104
i2c address of the bridge, 0x68 or 0x0f, depending on bootstrap pins
clock-names — required here #
Exact value (const): "ref"
clocks — required here #
Maximum number of items (maxItems): 1
OF device-tree clock specification for refclk input. The reference. clock rate must be 13 MHz, 19.2 MHz, 26 MHz, or 38.4 MHz.
shutdown-gpios — not listed as required here #
Maximum number of items (maxItems): 1
OF device-tree gpio specification for SD pin(active high shutdown input)
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
OF device-tree gpio specification for RSTX pin(active low system reset)
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
toshiba,hpd-pin — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
TC358767 GPIO pin number to which HPD is connected to (0 or 1)
ports — 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#/$defs/port-base
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
DSI input port. The remote endpoint phandle should be a reference to a valid DSI output endpoint 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 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
DPI input/output port. The remote endpoint phandle should be a reference to a valid DPI output or input endpoint node.
port@2 — 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.
eDP/DP output port. The remote endpoint phandle should be a reference to a valid eDP panel input endpoint node. This port is optional, treated as DP panel if not defined
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)
toshiba,pre-emphasis — not listed as required here
Display port output Pre-Emphasis settings for both DP lanes.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
Array item rules (items)
At least one of these rules must match (anyOf) #
Rule 1
Rule 2
Required in this object (required): "compatible", "reg", "clock-names", "clocks", "ports"
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>
/* DPI input and eDP output */
i2c {
#address-cells = <1>;
#size-cells = <0>;
edp-bridge@68 {
compatible = "toshiba,tc358767";
reg = <0x68>;
shutdown-gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
clock-names = "ref";
clocks = <&edp_refclk>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
bridge_in_0: endpoint {
remote-endpoint = <&dpi_out>;
};
};
port@2 {
reg = <2>;
bridge_out: endpoint {
remote-endpoint = <&panel_in>;
};
};
};
};
};
/* DPI input and DP output */
i2c {
#address-cells = <1>;
#size-cells = <0>;
edp-bridge@68 {
compatible = "toshiba,tc358767";
reg = <0x68>;
shutdown-gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
clock-names = "ref";
clocks = <&edp_refclk>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
bridge_in_1: endpoint {
remote-endpoint = <&dpi_out>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 116: No pre-emphasis
Line 117: 3.5dB pre-emphasis
Line 118: 6dB pre-emphasis