blob: cb102535838def8c9a354675545d4f4c988ccd0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
|
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024, Linaro Limited
*/
/*
* Display Card kit overlay
* This requires S5702 Switch 7 to be turned to OFF to route DSI0 to the display panel
*/
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
/dts-v1/;
/plugin/;
/* Disable HDMI bridge related nodes (mutually exclusive with the display card) */
&i2c6 {
status = "disabled";
};
<9611_1v2 {
status = "disabled";
};
<9611_3v3 {
status = "disabled";
};
&vreg_bob_3v3 {
status = "disabled";
};
<9611_codec {
status = "disabled";
};
&mdss_dsi0 {
#address-cells = <1>;
#size-cells = <0>;
panel@0 {
compatible = "visionox,vtdr6130";
reg = <0>;
reset-gpios = <&tlmm 133 GPIO_ACTIVE_LOW>;
vddio-supply = <&vreg_l12b_1p8>;
vci-supply = <&vreg_l13b_3p0>;
vdd-supply = <&vreg_l11b_1p2>;
pinctrl-0 = <&disp0_reset_n_active>, <&mdp_vsync>;
pinctrl-1 = <&disp0_reset_n_suspend>, <&mdp_vsync>;
pinctrl-names = "default", "sleep";
port {
panel0_in: endpoint {
remote-endpoint = <&mdss_dsi0_out>;
};
};
};
ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
mdss_dsi0_out: endpoint {
remote-endpoint = <&panel0_in>;
};
};
};
};
&spi4 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
touchscreen@0 {
compatible = "goodix,gt9916";
reg = <0>;
interrupt-parent = <&tlmm>;
interrupts = <162 IRQ_TYPE_LEVEL_LOW>;
reset-gpios = <&tlmm 161 GPIO_ACTIVE_LOW>;
avdd-supply = <&vreg_l14b_3p2>;
spi-max-frequency = <1000000>;
touchscreen-size-x = <1080>;
touchscreen-size-y = <2400>;
pinctrl-0 = <&ts_irq>, <&ts_reset>;
pinctrl-names = "default";
};
};
&tlmm {
disp0_reset_n_active: disp0-reset-n-active-state {
pins = "gpio133";
function = "gpio";
drive-strength = <8>;
bias-disable;
};
disp0_reset_n_suspend: disp0-reset-n-suspend-state {
pins = "gpio133";
function = "gpio";
drive-strength = <2>;
bias-pull-down;
};
mdp_vsync: mdp-vsync-state {
pins = "gpio86";
function = "mdp_vsync";
drive-strength = <2>;
bias-pull-down;
};
ts_irq: ts-irq-state {
pins = "gpio161";
function = "gpio";
drive-strength = <8>;
bias-pull-up;
output-disable;
};
ts_reset: ts-reset-state {
pins = "gpio162";
function = "gpio";
drive-strength = <8>;
bias-pull-up;
};
};
|