Skip to content

Commit cddaf23

Browse files
superna9999andersson
authored andcommitted
arm64: dts: qcom: sdm450-lenovo-tbx605f: add DSI panel nodes
Add the necessary nodes to enable the DSI panel on the Lenovo Smart Tab M10 tablet. Signed-off-by: Neil Armstrong <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/20241115-topic-sdm450-upstream-lab-ibb-v1-2-8a8e74befbfe@linaro.org Signed-off-by: Bjorn Andersson <[email protected]>
1 parent f8ed8fd commit cddaf23

File tree

1 file changed

+97
-0
lines changed

1 file changed

+97
-0
lines changed

arch/arm64/boot/dts/qcom/sdm450-lenovo-tbx605f.dts

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,18 @@
4646
};
4747
};
4848

49+
backlight: gpio-backlight {
50+
compatible = "gpio-backlight";
51+
52+
gpios = <&tlmm 16 GPIO_ACTIVE_HIGH>;
53+
54+
default-on;
55+
56+
pinctrl-names = "default";
57+
pinctrl-0 = <&backlight_enable_active>;
58+
pinctrl-1 = <&backlight_enable_sleep>;
59+
};
60+
4961
gpio-keys {
5062
compatible = "gpio-keys";
5163
key-volume-up {
@@ -63,6 +75,49 @@
6375
};
6476
};
6577

78+
&mdss {
79+
status = "okay";
80+
};
81+
82+
&mdss_dsi0 {
83+
vdda-supply = <&pm8953_s3>;
84+
vddio-supply = <&pm8953_l6>;
85+
86+
status = "okay";
87+
88+
panel@0 {
89+
compatible = "boe,tv101wum-ll2";
90+
reg = <0>;
91+
92+
vsp-supply = <&lab>;
93+
vsn-supply = <&ibb>;
94+
reset-gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
95+
96+
backlight = <&backlight>;
97+
98+
pinctrl-names = "default";
99+
pinctrl-0 = <&panel_reset_active>;
100+
pinctrl-1 = <&panel_reset_sleep>;
101+
102+
port {
103+
panel_in: endpoint {
104+
remote-endpoint = <&mdss_dsi0_out>;
105+
};
106+
};
107+
};
108+
};
109+
110+
&mdss_dsi0_out {
111+
remote-endpoint = <&panel_in>;
112+
data-lanes = <0 1 2 3>;
113+
};
114+
115+
&mdss_dsi0_phy {
116+
vcca-supply = <&pm8953_l3>;
117+
118+
status = "okay";
119+
};
120+
66121
&hsusb_phy {
67122
vdd-supply = <&pm8953_l3>;
68123
vdda-pll-supply = <&pm8953_l7>;
@@ -90,6 +145,18 @@
90145
};
91146
};
92147

148+
&ibb {
149+
regulator-min-microvolt = <4600000>;
150+
regulator-max-microvolt = <6000000>;
151+
qcom,discharge-resistor-kohms = <32>;
152+
};
153+
154+
&lab {
155+
regulator-min-microvolt = <4600000>;
156+
regulator-max-microvolt = <6000000>;
157+
qcom,soft-start-us = <800>;
158+
};
159+
93160
&pm8953_resin {
94161
linux,code = <KEY_VOLUMEDOWN>;
95162
status = "okay";
@@ -237,6 +304,36 @@
237304
&tlmm {
238305
gpio-reserved-ranges = <0 4>, <135 4>;
239306

307+
backlight_enable_active: backlight-enable-active-state {
308+
pins = "gpio16";
309+
function = "gpio";
310+
drive-strength = <8>;
311+
bias-disable;
312+
output-high;
313+
};
314+
315+
backlight_enable_sleep: backlight-enable-sleep-state {
316+
pins = "gpio16";
317+
function = "gpio";
318+
drive-strength = <2>;
319+
bias-pull-down;
320+
};
321+
322+
panel_reset_active: panel-reset-active-state {
323+
pins = "gpio61";
324+
function = "gpio";
325+
drive-strength = <8>;
326+
bias-disable;
327+
output-high;
328+
};
329+
330+
panel_reset_sleep: panel-reset-sleep-state {
331+
pins = "gpio61";
332+
function = "gpio";
333+
drive-strength = <2>;
334+
bias-pull-down;
335+
};
336+
240337
ts_int_active: ts-int-active-state {
241338
pins = "gpio65";
242339
function = "gpio";

0 commit comments

Comments
 (0)