NXP PTN3460 eDP to LVDS bridge

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

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

Maintainers (maintainers): "Sean Paul <seanpaul@chromium.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "nxp,ptn3460"

reg — required here #

I2C address of the bridge

Maximum number of items (maxItems): 1

edid-emulation — required here #

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

The EDID emulation entry to use Value Resolution Description 0 1024x768 NXP Generic 1 1920x1080 NXP Generic 2 1920x1080 NXP Generic 3 1600x900 Samsung LTM200KT 4 1920x1080 Samsung LTM230HT 5 1366x768 NXP Generic 6 1600x900 ChiMei M215HGE

Allowed values (enum): 0, 1, 2, 3, 4, 5, 6

powerdown-gpios — required here #

GPIO connected to the PD_N signal.

Maximum number of items (maxItems): 1

reset-gpios — required here #

GPIO connected to the RST_N signal.

Maximum number of items (maxItems): 1

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 LVDS output

port@1 — required here

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

Video port for eDP input

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

Required in this object (required): "compatible", "reg", "edid-emulation", "powerdown-gpios", "reset-gpios", "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>

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

  bridge@20 {
    compatible = "nxp,ptn3460";
    reg = <0x20>;
    edid-emulation = <5>;
    powerdown-gpios = <&gpy2 5 GPIO_ACTIVE_HIGH>;
    reset-gpios = <&gpx1 5 GPIO_ACTIVE_LOW>;

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

      port@0 {
        reg = <0>;
        bridge_out: endpoint {
          remote-endpoint = <&panel_in>;
        };
      };

      port@1 {
        reg = <1>;
        bridge_in: endpoint {
          remote-endpoint = <&dp_out>;
        };
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page