brintos

brintos / linux-shallow public Read only

0
0
Text · 3.0 KiB · 5856450 Raw
122 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/display/bridge/ps8640.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: MIPI DSI to eDP Video Format Converter8 9maintainers:10  - Nicolas Boichat <drinkcat@chromium.org>11 12description: |13  The PS8640 is a low power MIPI-to-eDP video format converter supporting14  mobile devices with embedded panel resolutions up to 2048 x 1536. The15  device accepts a single channel of MIPI DSI v1.1, with up to four lanes16  plus clock, at a transmission rate up to 1.5Gbit/sec per lane. The17  device outputs eDP v1.4, one or two lanes, at a link rate of up to18  3.24Gbit/sec per lane.19 20properties:21  compatible:22    const: parade,ps864023 24  reg:25    maxItems: 126    description: Base I2C address of the device.27 28  powerdown-gpios:29    maxItems: 130    description: GPIO connected to active low powerdown.31 32  reset-gpios:33    maxItems: 134    description: GPIO connected to active low reset.35 36  vdd12-supply:37    description: Regulator for 1.2V digital core power.38 39  vdd33-supply:40    description: Regulator for 3.3V digital core power.41 42  aux-bus:43    $ref: /schemas/display/dp-aux-bus.yaml#44 45  ports:46    $ref: /schemas/graph.yaml#/properties/ports47 48    properties:49      port@0:50        $ref: /schemas/graph.yaml#/properties/port51        description:52          Video port for DSI input53 54      port@1:55        $ref: /schemas/graph.yaml#/properties/port56        description:57          Video port for eDP output (panel or connector).58 59    required:60      - port@061 62required:63  - compatible64  - reg65  - powerdown-gpios66  - reset-gpios67  - vdd12-supply68  - vdd33-supply69  - ports70 71additionalProperties: false72 73examples:74  - |75    #include <dt-bindings/gpio/gpio.h>76    i2c {77        #address-cells = <1>;78        #size-cells = <0>;79 80        ps8640: edp-bridge@18 {81            compatible = "parade,ps8640";82            reg = <0x18>;83            powerdown-gpios = <&pio 116 GPIO_ACTIVE_LOW>;84            reset-gpios = <&pio 115 GPIO_ACTIVE_LOW>;85            vdd12-supply = <&ps8640_fixed_1v2>;86            vdd33-supply = <&mt6397_vgp2_reg>;87 88            ports {89                #address-cells = <1>;90                #size-cells = <0>;91 92                port@0 {93                    reg = <0>;94                    ps8640_in: endpoint {95                        remote-endpoint = <&dsi0_out>;96                    };97                };98 99                port@1 {100                    reg = <1>;101                    ps8640_out: endpoint {102                        remote-endpoint = <&panel_in>;103                    };104                };105            };106 107            aux-bus {108                panel {109                    compatible = "boe,nv133fhm-n62";110                    power-supply = <&pp3300_dx_edp>;111                    backlight = <&backlight>;112 113                    port {114                        panel_in: endpoint {115                            remote-endpoint = <&ps8640_out>;116                        };117                    };118                };119            };120        };121    };122