1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google Trogdor dts fragment for the boards with Parade ps8640 edp bridge
5 * Copyright 2021 Google LLC.
8 #include <dt-bindings/gpio/gpio.h>
11 pp3300_brij_ps8640: pp3300-brij-ps8640-regulator {
12 compatible = "regulator-fixed";
14 regulator-name = "pp3300_brij_ps8640";
16 regulator-min-microvolt = <3300000>;
17 regulator-max-microvolt = <3300000>;
19 gpio = <&tlmm 32 GPIO_ACTIVE_HIGH>;
22 pinctrl-names = "default";
23 pinctrl-0 = <&en_pp3300_edp_brij_ps8640>;
25 vin-supply = <&pp3300_a>;
30 * ADDITIONS TO FIXED REGULATORS DEFINED IN PARENT DEVICE TREE FILES
32 * Sort order matches the order in the parent files (parents before children).
36 off-on-delay-us = <500000>;
39 * It's nicer to start with this regulator enabled. The
40 * bootloader may have left it on and it's nice not to cause an
41 * extra power cycle of the touchscreen and eDP panel at bootup.
42 * This should help speed bootup because we have off-on-delay-us.
47 /* ADDITIONS TO NODES DEFINED IN PARENT DEVICE TREE FILES */
51 clock-frequency = <400000>;
53 ps8640_bridge: bridge@8 {
54 compatible = "parade,ps8640";
57 powerdown-gpios = <&tlmm 104 GPIO_ACTIVE_LOW>;
58 reset-gpios = <&tlmm 11 GPIO_ACTIVE_LOW>;
60 pinctrl-names = "default";
61 pinctrl-0 = <&edp_brij_en>, <&edp_brij_ps8640_rst>;
63 vdd12-supply = <&pp1200_brij>;
64 vdd33-supply = <&pp3300_brij_ps8640>;
73 remote-endpoint = <&mdss_dsi0_out>;
79 ps8640_out: endpoint {
80 remote-endpoint = <&panel_in_edp>;
87 /* Compatible will be filled in per-board */
88 power-supply = <&pp3300_dx_edp>;
89 backlight = <&backlight>;
92 panel_in_edp: endpoint {
93 remote-endpoint = <&ps8640_out>;
102 remote-endpoint = <&ps8640_in>;
106 edp_brij_ps8640_rst: edp-brij-ps8640-rst-state {
109 drive-strength = <2>;
113 en_pp3300_edp_brij_ps8640: en-pp3300-edp-brij-ps8640-state {
116 drive-strength = <2>;