~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/qcom/sc7180-trogdor-parade-ps8640.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm64/qcom/sc7180-trogdor-parade-ps8640.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/arm64/qcom/sc7180-trogdor-parade-ps8640.dtsi (Architecture m68k)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Google Trogdor dts fragment for the boards       3  * Google Trogdor dts fragment for the boards with Parade ps8640 edp bridge
  4  *                                                  4  *
  5  * Copyright 2021 Google LLC.                       5  * Copyright 2021 Google LLC.
  6  */                                                 6  */
  7                                                     7 
  8 #include <dt-bindings/gpio/gpio.h>                  8 #include <dt-bindings/gpio/gpio.h>
  9                                                     9 
 10 / {                                                10 / {
 11         pp3300_brij_ps8640: pp3300-brij-ps8640     11         pp3300_brij_ps8640: pp3300-brij-ps8640-regulator {
 12                 compatible = "regulator-fixed"     12                 compatible = "regulator-fixed";
 13                 status = "okay";                   13                 status = "okay";
 14                 regulator-name = "pp3300_brij_     14                 regulator-name = "pp3300_brij_ps8640";
 15                                                    15 
 16                 regulator-min-microvolt = <330     16                 regulator-min-microvolt = <3300000>;
 17                 regulator-max-microvolt = <330     17                 regulator-max-microvolt = <3300000>;
 18                                                    18 
 19                 gpio = <&tlmm 32 GPIO_ACTIVE_H     19                 gpio = <&tlmm 32 GPIO_ACTIVE_HIGH>;
 20                 enable-active-high;                20                 enable-active-high;
 21                                                    21 
 22                 pinctrl-names = "default";         22                 pinctrl-names = "default";
 23                 pinctrl-0 = <&en_pp3300_edp_br     23                 pinctrl-0 = <&en_pp3300_edp_brij_ps8640>;
 24                                                    24 
 25                 vin-supply = <&pp3300_a>;          25                 vin-supply = <&pp3300_a>;
 26         };                                         26         };
 27 };                                                 27 };
 28                                                    28 
 29 /*                                                 29 /*
 30  * ADDITIONS TO FIXED REGULATORS DEFINED IN PA     30  * ADDITIONS TO FIXED REGULATORS DEFINED IN PARENT DEVICE TREE FILES
 31  *                                                 31  *
 32  * Sort order matches the order in the parent      32  * Sort order matches the order in the parent files (parents before children).
 33  */                                                33  */
 34                                                    34 
 35 &pp3300_dx_edp {                                   35 &pp3300_dx_edp {
 36         off-on-delay-us = <500000>;                36         off-on-delay-us = <500000>;
 37                                                    37 
 38         /*                                         38         /*
 39          * It's nicer to start with this regul     39          * It's nicer to start with this regulator enabled. The
 40          * bootloader may have left it on and      40          * bootloader may have left it on and it's nice not to cause an
 41          * extra power cycle of the touchscree     41          * extra power cycle of the touchscreen and eDP panel at bootup.
 42          * This should help speed bootup becau     42          * This should help speed bootup because we have off-on-delay-us.
 43          */                                        43          */
 44         regulator-boot-on;                         44         regulator-boot-on;
 45 };                                                 45 };
 46                                                    46 
 47 /* ADDITIONS TO NODES DEFINED IN PARENT DEVICE     47 /* ADDITIONS TO NODES DEFINED IN PARENT DEVICE TREE FILES */
 48                                                    48 
 49 edp_brij_i2c: &i2c2 {                              49 edp_brij_i2c: &i2c2 {
 50         status = "okay";                           50         status = "okay";
 51         clock-frequency = <400000>;                51         clock-frequency = <400000>;
 52                                                    52 
 53         ps8640_bridge: bridge@8 {                  53         ps8640_bridge: bridge@8 {
 54                 compatible = "parade,ps8640";      54                 compatible = "parade,ps8640";
 55                 reg = <0x8>;                       55                 reg = <0x8>;
 56                                                    56 
 57                 powerdown-gpios = <&tlmm 104 G     57                 powerdown-gpios = <&tlmm 104 GPIO_ACTIVE_LOW>;
 58                 reset-gpios = <&tlmm 11 GPIO_A     58                 reset-gpios = <&tlmm 11 GPIO_ACTIVE_LOW>;
 59                                                    59 
 60                 pinctrl-names = "default";         60                 pinctrl-names = "default";
 61                 pinctrl-0 = <&edp_brij_en>, <&     61                 pinctrl-0 = <&edp_brij_en>, <&edp_brij_ps8640_rst>;
 62                                                    62 
 63                 vdd12-supply = <&pp1200_brij>;     63                 vdd12-supply = <&pp1200_brij>;
 64                 vdd33-supply = <&pp3300_brij_p     64                 vdd33-supply = <&pp3300_brij_ps8640>;
 65                                                    65 
 66                 ports {                            66                 ports {
 67                         #address-cells = <1>;      67                         #address-cells = <1>;
 68                         #size-cells = <0>;         68                         #size-cells = <0>;
 69                                                    69 
 70                         port@0 {                   70                         port@0 {
 71                                 reg = <0>;         71                                 reg = <0>;
 72                                 ps8640_in: end     72                                 ps8640_in: endpoint {
 73                                         remote     73                                         remote-endpoint = <&mdss_dsi0_out>;
 74                                 };                 74                                 };
 75                         };                         75                         };
 76                                                    76 
 77                         port@1 {                   77                         port@1 {
 78                                 reg = <1>;         78                                 reg = <1>;
 79                                 ps8640_out: en     79                                 ps8640_out: endpoint {
 80                                         remote     80                                         remote-endpoint = <&panel_in_edp>;
 81                                 };                 81                                 };
 82                         };                         82                         };
 83                 };                                 83                 };
 84                                                    84 
 85                 aux-bus {                          85                 aux-bus {
 86                         panel: panel {             86                         panel: panel {
 87                                 /* Compatible      87                                 /* Compatible will be filled in per-board */
 88                                 power-supply =     88                                 power-supply = <&pp3300_dx_edp>;
 89                                 backlight = <&     89                                 backlight = <&backlight>;
 90                                                    90 
 91                                 port {             91                                 port {
 92                                         panel_     92                                         panel_in_edp: endpoint {
 93                                                    93                                                 remote-endpoint = <&ps8640_out>;
 94                                         };         94                                         };
 95                                 };                 95                                 };
 96                         };                         96                         };
 97                 };                                 97                 };
 98         };                                         98         };
 99 };                                                 99 };
100                                                   100 
101 &mdss_dsi0_out {                                  101 &mdss_dsi0_out {
102         remote-endpoint = <&ps8640_in>;           102         remote-endpoint = <&ps8640_in>;
103 };                                                103 };
104                                                   104 
105 &tlmm {                                           105 &tlmm {
106         edp_brij_ps8640_rst: edp-brij-ps8640-r    106         edp_brij_ps8640_rst: edp-brij-ps8640-rst-state {
107                 pins = "gpio11";                  107                 pins = "gpio11";
108                 function = "gpio";                108                 function = "gpio";
109                 drive-strength = <2>;             109                 drive-strength = <2>;
110                 bias-disable;                     110                 bias-disable;
111         };                                        111         };
112                                                   112 
113         en_pp3300_edp_brij_ps8640: en-pp3300-e    113         en_pp3300_edp_brij_ps8640: en-pp3300-edp-brij-ps8640-state {
114                 pins = "gpio32";                  114                 pins = "gpio32";
115                 function = "gpio";                115                 function = "gpio";
116                 drive-strength = <2>;             116                 drive-strength = <2>;
117                 bias-disable;                     117                 bias-disable;
118         };                                        118         };
119 };                                                119 };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php