TFP410 DPI to DVI encoder

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/ti,tfp410.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Tomi Valkeinen <tomi.valkeinen@ti.com>", "Jyri Sarha <jsarha@ti.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,tfp410"

reg — not listed as required here #

I2C address of the device.

Maximum number of items (maxItems): 1

powerdown-gpios — not listed as required here #

Maximum number of items (maxItems): 1

ti,deskew — not listed as required here #

Data de-skew value in 350ps increments, from 0 to 7, as configured through the DK[3:1] pins. The de-skew multiplier is computed as (DK[3:1] - 4), so it ranges from -4 to 3.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 7

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.

DPI input port.

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/$defs/endpoint-base

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

pclk-sample — not listed as required here

Endpoint sampling edge.

Allowed values (enum): 0, 1

Default value (default): 0

bus-width — not listed as required here

Endpoint bus width.

Allowed values (enum): 12, 24

Default value (default): 24

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

DVI output port.

Required in this object (required): "port@0", "port@1"

Required in this object (required): "compatible", "ports"

Condition (if) #

Required in this object (required): "reg"

When the condition matches (then) #

Properties and child nodes (properties) #

ti,deskew — not listed as required here #

false — Not permitted by this property rule.

When the condition does not match (else) #

Required in this object (required): "ti,deskew"

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>

tfp410: encoder {
    compatible = "ti,tfp410";
    powerdown-gpios = <&twl_gpio 2 GPIO_ACTIVE_LOW>;
    ti,deskew = <3>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
            tfp410_in: endpoint {
                pclk-sample = <1>;
                bus-width = <24>;
                remote-endpoint = <&dpi_out>;
            };
        };

        port@1 {
            reg = <1>;
            tfp410_out: endpoint {
                remote-endpoint = <&dvi_connector_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Line 52: Falling edge

Line 53: Rising edge

Line 60: 12 data lines connected and dual-edge mode

Line 61: 24 data lines connected and single-edge mode

Edit this page