Path: blob/master/Documentation/devicetree/bindings/display/bridge/nxp,ptn3460.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/display/bridge/nxp,ptn3460.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: NXP PTN3460 eDP to LVDS bridge78maintainers:9- Sean Paul <seanpaul@chromium.org>1011properties:12compatible:13const: nxp,ptn34601415reg:16description: I2C address of the bridge17maxItems: 11819edid-emulation:20$ref: /schemas/types.yaml#/definitions/uint3221description:22The EDID emulation entry to use23Value Resolution Description240 1024x768 NXP Generic251 1920x1080 NXP Generic262 1920x1080 NXP Generic273 1600x900 Samsung LTM200KT284 1920x1080 Samsung LTM230HT295 1366x768 NXP Generic306 1600x900 ChiMei M215HGE31enum: [0, 1, 2, 3, 4, 5, 6]3233powerdown-gpios:34description: GPIO connected to the PD_N signal.35maxItems: 13637reset-gpios:38description: GPIO connected to the RST_N signal.39maxItems: 14041ports:42$ref: /schemas/graph.yaml#/properties/ports4344properties:45port@0:46$ref: /schemas/graph.yaml#/properties/port47description:48Video port for LVDS output4950port@1:51$ref: /schemas/graph.yaml#/properties/port52description:53Video port for eDP input5455required:56- port@057- port@15859required:60- compatible61- reg62- edid-emulation63- powerdown-gpios64- reset-gpios65- ports6667additionalProperties: false6869examples:70- |71#include <dt-bindings/gpio/gpio.h>7273i2c {74#address-cells = <1>;75#size-cells = <0>;7677bridge@20 {78compatible = "nxp,ptn3460";79reg = <0x20>;80edid-emulation = <5>;81powerdown-gpios = <&gpy2 5 GPIO_ACTIVE_HIGH>;82reset-gpios = <&gpx1 5 GPIO_ACTIVE_LOW>;8384ports {85#address-cells = <1>;86#size-cells = <0>;8788port@0 {89reg = <0>;90bridge_out: endpoint {91remote-endpoint = <&panel_in>;92};93};9495port@1 {96reg = <1>;97bridge_in: endpoint {98remote-endpoint = <&dp_out>;99};100};101};102};103};104105...106107108