Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
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 Converter Device Tree Bindings
8
9maintainers:
10 - Nicolas Boichat <drinkcat@chromium.org>
11 - Enric Balletbo i Serra <enric.balletbo@collabora.com>
12
13description: |
14 The PS8640 is a low power MIPI-to-eDP video format converter supporting
15 mobile devices with embedded panel resolutions up to 2048 x 1536. The
16 device accepts a single channel of MIPI DSI v1.1, with up to four lanes
17 plus clock, at a transmission rate up to 1.5Gbit/sec per lane. The
18 device outputs eDP v1.4, one or two lanes, at a link rate of up to
19 3.24Gbit/sec per lane.
20
21properties:
22 compatible:
23 const: parade,ps8640
24
25 reg:
26 maxItems: 1
27 description: Base I2C address of the device.
28
29 powerdown-gpios:
30 maxItems: 1
31 description: GPIO connected to active low powerdown.
32
33 reset-gpios:
34 maxItems: 1
35 description: GPIO connected to active low reset.
36
37 vdd12-supply:
38 description: Regulator for 1.2V digital core power.
39
40 vdd33-supply:
41 description: Regulator for 3.3V digital core power.
42
43 aux-bus:
44 $ref: /schemas/display/dp-aux-bus.yaml#
45
46 ports:
47 $ref: /schemas/graph.yaml#/properties/ports
48
49 properties:
50 port@0:
51 $ref: /schemas/graph.yaml#/properties/port
52 description:
53 Video port for DSI input
54
55 port@1:
56 $ref: /schemas/graph.yaml#/properties/port
57 description:
58 Video port for eDP output (panel or connector).
59
60 required:
61 - port@0
62
63required:
64 - compatible
65 - reg
66 - powerdown-gpios
67 - reset-gpios
68 - vdd12-supply
69 - vdd33-supply
70 - ports
71
72additionalProperties: false
73
74examples:
75 - |
76 #include <dt-bindings/gpio/gpio.h>
77 i2c0 {
78 #address-cells = <1>;
79 #size-cells = <0>;
80
81 ps8640: edp-bridge@18 {
82 compatible = "parade,ps8640";
83 reg = <0x18>;
84 powerdown-gpios = <&pio 116 GPIO_ACTIVE_LOW>;
85 reset-gpios = <&pio 115 GPIO_ACTIVE_LOW>;
86 vdd12-supply = <&ps8640_fixed_1v2>;
87 vdd33-supply = <&mt6397_vgp2_reg>;
88
89 ports {
90 #address-cells = <1>;
91 #size-cells = <0>;
92
93 port@0 {
94 reg = <0>;
95 ps8640_in: endpoint {
96 remote-endpoint = <&dsi0_out>;
97 };
98 };
99
100 port@1 {
101 reg = <1>;
102 ps8640_out: endpoint {
103 remote-endpoint = <&panel_in>;
104 };
105 };
106 };
107
108 aux-bus {
109 panel {
110 compatible = "boe,nv133fhm-n62";
111 power-supply = <&pp3300_dx_edp>;
112 backlight = <&backlight>;
113
114 port {
115 panel_in: endpoint {
116 remote-endpoint = <&ps8640_out>;
117 };
118 };
119 };
120 };
121 };
122 };
123