| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright 2012 ST-Ericsson AB |
|---|
| 3 | | - * |
|---|
| 4 | | - * The code contained herein is licensed under the GNU General Public |
|---|
| 5 | | - * License. You may obtain a copy of the GNU General Public License |
|---|
| 6 | | - * Version 2 or later at the following locations: |
|---|
| 7 | | - * |
|---|
| 8 | | - * http://www.opensource.org/licenses/gpl-license.html |
|---|
| 9 | | - * http://www.gnu.org/copyleft/gpl.html |
|---|
| 10 | 4 | */ |
|---|
| 11 | 5 | |
|---|
| 12 | 6 | #include <dt-bindings/interrupt-controller/irq.h> |
|---|
| .. | .. |
|---|
| 44 | 38 | interrupt-controller; |
|---|
| 45 | 39 | vcc-supply = <&db8500_vsmps2_reg>; |
|---|
| 46 | 40 | vio-supply = <&db8500_vsmps2_reg>; |
|---|
| 41 | + pinctrl-names = "default"; |
|---|
| 42 | + pinctrl-0 = <&stmpe_stuib_mode>; |
|---|
| 47 | 43 | |
|---|
| 48 | 44 | wakeup-source; |
|---|
| 49 | 45 | st,autosleep-timeout = <1024>; |
|---|
| .. | .. |
|---|
| 132 | 128 | }; |
|---|
| 133 | 129 | |
|---|
| 134 | 130 | pinctrl { |
|---|
| 131 | + /* Pull up this GPIO pin */ |
|---|
| 132 | + stmpe { |
|---|
| 133 | + stmpe_stuib_mode: stmpe_stuib { |
|---|
| 134 | + stuib_cfg { |
|---|
| 135 | + ste,pins = "GPIO218_AH11"; |
|---|
| 136 | + ste,config = <&gpio_in_pu>; |
|---|
| 137 | + }; |
|---|
| 138 | + }; |
|---|
| 139 | + }; |
|---|
| 135 | 140 | prox { |
|---|
| 136 | 141 | prox_stuib_mode: prox_stuib { |
|---|
| 137 | 142 | stuib_cfg { |
|---|
| .. | .. |
|---|
| 190 | 195 | }; |
|---|
| 191 | 196 | }; |
|---|
| 192 | 197 | }; |
|---|
| 198 | + |
|---|
| 199 | + mcde@a0350000 { |
|---|
| 200 | + status = "okay"; |
|---|
| 201 | + |
|---|
| 202 | + dsi-controller@a0351000 { |
|---|
| 203 | + panel { |
|---|
| 204 | + compatible = "samsung,s6d16d0"; |
|---|
| 205 | + reg = <0>; |
|---|
| 206 | + vdd1-supply = <&ab8500_ldo_aux1_reg>; |
|---|
| 207 | + reset-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>; |
|---|
| 208 | + }; |
|---|
| 209 | + }; |
|---|
| 210 | + }; |
|---|
| 193 | 211 | }; |
|---|
| 194 | 212 | }; |
|---|