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/ps8640.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: MIPI DSI to eDP Video Format Converter !! 7 title: MIPI DSI to eDP Video Format Converter Device Tree Bindings 8 8 9 maintainers: 9 maintainers: 10 - Nicolas Boichat <drinkcat@chromium.org> 10 - Nicolas Boichat <drinkcat@chromium.org> >> 11 - Enric Balletbo i Serra <enric.balletbo@collabora.com> 11 12 12 description: | 13 description: | 13 The PS8640 is a low power MIPI-to-eDP video 14 The PS8640 is a low power MIPI-to-eDP video format converter supporting 14 mobile devices with embedded panel resolutio 15 mobile devices with embedded panel resolutions up to 2048 x 1536. The 15 device accepts a single channel of MIPI DSI 16 device accepts a single channel of MIPI DSI v1.1, with up to four lanes 16 plus clock, at a transmission rate up to 1.5 17 plus clock, at a transmission rate up to 1.5Gbit/sec per lane. The 17 device outputs eDP v1.4, one or two lanes, a 18 device outputs eDP v1.4, one or two lanes, at a link rate of up to 18 3.24Gbit/sec per lane. 19 3.24Gbit/sec per lane. 19 20 20 properties: 21 properties: 21 compatible: 22 compatible: 22 const: parade,ps8640 23 const: parade,ps8640 23 24 24 reg: 25 reg: 25 maxItems: 1 26 maxItems: 1 26 description: Base I2C address of the devic 27 description: Base I2C address of the device. 27 28 28 powerdown-gpios: 29 powerdown-gpios: 29 maxItems: 1 30 maxItems: 1 30 description: GPIO connected to active low 31 description: GPIO connected to active low powerdown. 31 32 32 reset-gpios: 33 reset-gpios: 33 maxItems: 1 34 maxItems: 1 34 description: GPIO connected to active low 35 description: GPIO connected to active low reset. 35 36 36 vdd12-supply: 37 vdd12-supply: >> 38 maxItems: 1 37 description: Regulator for 1.2V digital co 39 description: Regulator for 1.2V digital core power. 38 40 39 vdd33-supply: 41 vdd33-supply: >> 42 maxItems: 1 40 description: Regulator for 3.3V digital co 43 description: Regulator for 3.3V digital core power. 41 44 42 aux-bus: << 43 $ref: /schemas/display/dp-aux-bus.yaml# << 44 << 45 ports: 45 ports: 46 $ref: /schemas/graph.yaml#/properties/port !! 46 type: object 47 !! 47 description: >> 48 A node containing DSI input & output port nodes with endpoint >> 49 definitions as documented in >> 50 Documentation/devicetree/bindings/media/video-interfaces.txt >> 51 Documentation/devicetree/bindings/graph.txt 48 properties: 52 properties: >> 53 '#address-cells': >> 54 const: 1 >> 55 >> 56 '#size-cells': >> 57 const: 0 >> 58 49 port@0: 59 port@0: 50 $ref: /schemas/graph.yaml#/properties/ !! 60 type: object 51 description: !! 61 description: | 52 Video port for DSI input 62 Video port for DSI input 53 63 54 port@1: 64 port@1: 55 $ref: /schemas/graph.yaml#/properties/ !! 65 type: object 56 description: !! 66 description: | 57 Video port for eDP output (panel or 67 Video port for eDP output (panel or connector). 58 68 59 required: 69 required: 60 - port@0 70 - port@0 61 71 >> 72 additionalProperties: false >> 73 62 required: 74 required: 63 - compatible 75 - compatible 64 - reg 76 - reg 65 - powerdown-gpios 77 - powerdown-gpios 66 - reset-gpios 78 - reset-gpios 67 - vdd12-supply 79 - vdd12-supply 68 - vdd33-supply 80 - vdd33-supply 69 - ports 81 - ports 70 82 71 additionalProperties: false 83 additionalProperties: false 72 84 73 examples: 85 examples: 74 - | 86 - | 75 #include <dt-bindings/gpio/gpio.h> 87 #include <dt-bindings/gpio/gpio.h> 76 i2c { !! 88 i2c0 { 77 #address-cells = <1>; 89 #address-cells = <1>; 78 #size-cells = <0>; 90 #size-cells = <0>; 79 91 80 ps8640: edp-bridge@18 { 92 ps8640: edp-bridge@18 { 81 compatible = "parade,ps8640"; 93 compatible = "parade,ps8640"; 82 reg = <0x18>; 94 reg = <0x18>; 83 powerdown-gpios = <&pio 116 GPIO_A 95 powerdown-gpios = <&pio 116 GPIO_ACTIVE_LOW>; 84 reset-gpios = <&pio 115 GPIO_ACTIV 96 reset-gpios = <&pio 115 GPIO_ACTIVE_LOW>; 85 vdd12-supply = <&ps8640_fixed_1v2> 97 vdd12-supply = <&ps8640_fixed_1v2>; 86 vdd33-supply = <&mt6397_vgp2_reg>; 98 vdd33-supply = <&mt6397_vgp2_reg>; 87 99 88 ports { 100 ports { 89 #address-cells = <1>; 101 #address-cells = <1>; 90 #size-cells = <0>; 102 #size-cells = <0>; 91 103 92 port@0 { 104 port@0 { 93 reg = <0>; 105 reg = <0>; 94 ps8640_in: endpoint { 106 ps8640_in: endpoint { 95 remote-endpoint = <&ds 107 remote-endpoint = <&dsi0_out>; 96 }; 108 }; 97 }; 109 }; 98 110 99 port@1 { 111 port@1 { 100 reg = <1>; 112 reg = <1>; 101 ps8640_out: endpoint { 113 ps8640_out: endpoint { 102 remote-endpoint = <&pa 114 remote-endpoint = <&panel_in>; 103 }; !! 115 }; 104 }; << 105 }; << 106 << 107 aux-bus { << 108 panel { << 109 compatible = "boe,nv133fhm << 110 power-supply = <&pp3300_dx << 111 backlight = <&backlight>; << 112 << 113 port { << 114 panel_in: endpoint { << 115 remote-endpoint = << 116 }; << 117 }; << 118 }; 116 }; 119 }; 117 }; 120 }; 118 }; 121 }; 119 }; >> 120
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.