Skip to content

Commit 2c5d948

Browse files
committed
arm64: dts: qocm: add te pin for aps and aps2 panel
1 parent f367554 commit 2c5d948

File tree

2 files changed

+19
-5
lines changed

2 files changed

+19
-5
lines changed

arch/arm64/boot/dts/qcom/sm8550-ayaneo-ps.dts

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -852,9 +852,9 @@
852852
status = "okay";
853853
compatible = "ayaneo,wt0600-2k";
854854
reg = <0>;
855-
pinctrl-names = "default", "suspend";
856-
pinctrl-0 = <&sde_dsi_active>;
857-
pinctrl-1 = <&sde_dsi_suspend>;
855+
pinctrl-names = "default", "sleep";
856+
pinctrl-0 = <&sde_dsi_active>, <&sde_te_active>;
857+
pinctrl-1 = <&sde_dsi_suspend>, <&sde_te_suspend>;
858858

859859
avdd-supply = <&sgm3804>;
860860

@@ -1196,6 +1196,20 @@
11961196
bias-pull-down;
11971197
};
11981198

1199+
sde_te_active: sde-te-active-state {
1200+
pins = "gpio86";
1201+
function = "mdp_vsync";
1202+
drive-strength = <2>;
1203+
bias-pull-down;
1204+
};
1205+
1206+
sde_te_suspend: sde-te-suspend-state {
1207+
pins = "gpio86";
1208+
function = "mdp_vsync";
1209+
drive-strength = <2>;
1210+
bias-pull-down;
1211+
};
1212+
11991213
ts_irq: ts-irq-state {
12001214
pins = "gpio25";
12011215
function = "gpio";

arch/arm64/boot/dts/qcom/sm8650-ayaneo-ps2.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -895,8 +895,8 @@
895895
compatible = "ayaneo,wt0630-2k";
896896
reg = <0>;
897897
pinctrl-names = "default", "sleep";
898-
pinctrl-0 = <&disp0_reset_n_active>;
899-
pinctrl-1 = <&disp0_reset_n_suspend>;
898+
pinctrl-0 = <&disp0_reset_n_active>, <&mdp_vsync_active>;
899+
pinctrl-1 = <&disp0_reset_n_suspend>, <&mdp_vsync_suspend>;
900900
vddio-supply = <&vreg_l12b_1p8>;
901901
vci-supply = <&vreg_l13b_3p0>;
902902
vdd-supply = <&vreg_l11b_1p2>;

0 commit comments

Comments
 (0)