1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/display/bri 4 $id: http://devicetree.org/schemas/display/bridge/nxp,ptn3460.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: NXP PTN3460 eDP to LVDS bridge 7 title: NXP PTN3460 eDP to LVDS bridge 8 8 9 maintainers: 9 maintainers: 10 - Sean Paul <seanpaul@chromium.org> 10 - Sean Paul <seanpaul@chromium.org> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 const: nxp,ptn3460 14 const: nxp,ptn3460 15 15 16 reg: 16 reg: 17 description: I2C address of the bridge 17 description: I2C address of the bridge 18 maxItems: 1 18 maxItems: 1 19 19 20 edid-emulation: 20 edid-emulation: 21 $ref: /schemas/types.yaml#/definitions/uin 21 $ref: /schemas/types.yaml#/definitions/uint32 22 description: 22 description: 23 The EDID emulation entry to use 23 The EDID emulation entry to use 24 Value Resolution Description 24 Value Resolution Description 25 0 1024x768 NXP Generic 25 0 1024x768 NXP Generic 26 1 1920x1080 NXP Generic 26 1 1920x1080 NXP Generic 27 2 1920x1080 NXP Generic 27 2 1920x1080 NXP Generic 28 3 1600x900 Samsung LTM200KT 28 3 1600x900 Samsung LTM200KT 29 4 1920x1080 Samsung LTM230HT 29 4 1920x1080 Samsung LTM230HT 30 5 1366x768 NXP Generic 30 5 1366x768 NXP Generic 31 6 1600x900 ChiMei M215HGE 31 6 1600x900 ChiMei M215HGE 32 enum: [0, 1, 2, 3, 4, 5, 6] 32 enum: [0, 1, 2, 3, 4, 5, 6] 33 33 34 powerdown-gpios: 34 powerdown-gpios: 35 description: GPIO connected to the PD_N si 35 description: GPIO connected to the PD_N signal. 36 maxItems: 1 36 maxItems: 1 37 37 38 reset-gpios: 38 reset-gpios: 39 description: GPIO connected to the RST_N s 39 description: GPIO connected to the RST_N signal. 40 maxItems: 1 40 maxItems: 1 41 41 42 ports: 42 ports: 43 $ref: /schemas/graph.yaml#/properties/port 43 $ref: /schemas/graph.yaml#/properties/ports 44 44 45 properties: 45 properties: 46 port@0: 46 port@0: 47 $ref: /schemas/graph.yaml#/properties/ 47 $ref: /schemas/graph.yaml#/properties/port 48 description: 48 description: 49 Video port for LVDS output 49 Video port for LVDS output 50 50 51 port@1: 51 port@1: 52 $ref: /schemas/graph.yaml#/properties/ 52 $ref: /schemas/graph.yaml#/properties/port 53 description: 53 description: 54 Video port for eDP input 54 Video port for eDP input 55 55 56 required: 56 required: 57 - port@0 57 - port@0 58 - port@1 58 - port@1 59 59 60 required: 60 required: 61 - compatible 61 - compatible 62 - reg 62 - reg 63 - edid-emulation 63 - edid-emulation 64 - powerdown-gpios 64 - powerdown-gpios 65 - reset-gpios 65 - reset-gpios 66 - ports 66 - ports 67 67 68 additionalProperties: false 68 additionalProperties: false 69 69 70 examples: 70 examples: 71 - | 71 - | 72 #include <dt-bindings/gpio/gpio.h> 72 #include <dt-bindings/gpio/gpio.h> 73 73 74 i2c { 74 i2c { 75 #address-cells = <1>; 75 #address-cells = <1>; 76 #size-cells = <0>; 76 #size-cells = <0>; 77 77 78 bridge@20 { 78 bridge@20 { 79 compatible = "nxp,ptn3460"; 79 compatible = "nxp,ptn3460"; 80 reg = <0x20>; 80 reg = <0x20>; 81 edid-emulation = <5>; 81 edid-emulation = <5>; 82 powerdown-gpios = <&gpy2 5 GPIO_ACTIVE 82 powerdown-gpios = <&gpy2 5 GPIO_ACTIVE_HIGH>; 83 reset-gpios = <&gpx1 5 GPIO_ACTIVE_LOW 83 reset-gpios = <&gpx1 5 GPIO_ACTIVE_LOW>; 84 84 85 ports { 85 ports { 86 #address-cells = <1>; 86 #address-cells = <1>; 87 #size-cells = <0>; 87 #size-cells = <0>; 88 88 89 port@0 { 89 port@0 { 90 reg = <0>; 90 reg = <0>; 91 bridge_out: endpoint { 91 bridge_out: endpoint { 92 remote-endpoint = <&panel_in>; 92 remote-endpoint = <&panel_in>; 93 }; 93 }; 94 }; 94 }; 95 95 96 port@1 { 96 port@1 { 97 reg = <1>; 97 reg = <1>; 98 bridge_in: endpoint { 98 bridge_in: endpoint { 99 remote-endpoint = <&dp_out>; 99 remote-endpoint = <&dp_out>; 100 }; 100 }; 101 }; 101 }; 102 }; 102 }; 103 }; 103 }; 104 }; 104 }; 105 105 106 ... 106 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.