1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google Trogdor dts fragment for the boards with TI sn65dsi86 edp bridge
5 * Copyright 2021 Google LLC.
8 #include <dt-bindings/gpio/gpio.h>
11 * ADDITIONS TO FIXED REGULATORS DEFINED IN PARENT DEVICE TREE FILES
13 * Sort order matches the order in the parent files (parents before children).
17 off-on-delay-us = <500000>;
20 * It's nicer to start with this regulator enabled. The
21 * bootloader may have left it on and it's nice not to cause an
22 * extra power cycle of the touchscreen and eDP panel at bootup.
23 * This should help speed bootup because we have off-on-delay-us.
28 /* ADDITIONS TO NODES DEFINED IN PARENT DEVICE TREE FILES */
32 clock-frequency = <400000>;
34 sn65dsi86_bridge: bridge@2d {
35 compatible = "ti,sn65dsi86";
37 pinctrl-names = "default";
38 pinctrl-0 = <&edp_brij_en>, <&edp_brij_irq>;
42 interrupt-parent = <&tlmm>;
43 interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;
45 enable-gpios = <&tlmm 104 GPIO_ACTIVE_HIGH>;
47 vpll-supply = <&pp1800_edp_vpll>;
48 vccio-supply = <&pp1800_brij_vccio>;
49 vcca-supply = <&pp1200_brij>;
50 vcc-supply = <&pp1200_brij>;
52 clocks = <&rpmhcc RPMH_LN_BB_CLK3>;
53 clock-names = "refclk";
63 sn65dsi86_in: endpoint {
64 remote-endpoint = <&mdss_dsi0_out>;
70 sn65dsi86_out: endpoint {
72 remote-endpoint = <&panel_in_edp>;
79 /* Compatible will be filled in per-board */
80 power-supply = <&pp3300_dx_edp>;
81 backlight = <&backlight>;
82 hpd-gpios = <&sn65dsi86_bridge 2 GPIO_ACTIVE_HIGH>;
85 panel_in_edp: endpoint {
86 remote-endpoint = <&sn65dsi86_out>;
95 remote-endpoint = <&sn65dsi86_in>;
99 edp_brij_irq: edp-brij-irq-state {
102 drive-strength = <2>;