Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions arch/arm64/boot/dts/qcom/sm8750-mtp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,48 @@
qcom,dmic-sample-rate = <4800000>;
};

&mdss {
status = "okay";
};

&mdss_dsi0 {
vdda-supply = <&vreg_l3g_1p2>;

status = "okay";

panel@0 {
compatible = "novatek,nt37801";
reg = <0>;

reset-gpios = <&tlmm 98 GPIO_ACTIVE_LOW>;

vddio-supply = <&vreg_l12b_1p8>;
vci-supply = <&vreg_l13b_3p0>;
vdd-supply = <&vreg_l11b_1p0>;

pinctrl-0 = <&disp0_reset_n_active>, <&mdp_vsync_active>;
pinctrl-1 = <&disp0_reset_n_suspend>, <&mdp_vsync_suspend>;
pinctrl-names = "default", "sleep";

port {
panel0_in: endpoint {
remote-endpoint = <&mdss_dsi0_out>;
};
};
};
};

&mdss_dsi0_out {
remote-endpoint = <&panel0_in>;
data-lanes = <0 1 2 3>;
};

&mdss_dsi0_phy {
vdds-supply = <&vreg_l3i_0p88>;

status = "okay";
};

&pm8550_flash {
status = "okay";

Expand Down Expand Up @@ -1021,6 +1063,34 @@
};

&tlmm {
disp0_reset_n_active: disp0-reset-n-active-state {
pins = "gpio98";
function = "gpio";
drive-strength = <8>;
bias-disable;
};

disp0_reset_n_suspend: disp0-reset-n-suspend-state {
pins = "gpio98";
function = "gpio";
drive-strength = <2>;
bias-pull-down;
};

mdp_vsync_active: mdp-vsync-active-state {
pins = "gpio86";
function = "mdp_vsync";
drive-strength = <2>;
bias-pull-down;
};

mdp_vsync_suspend: mdp-vsync-suspend-state {
pins = "gpio86";
function = "mdp_vsync";
drive-strength = <2>;
bias-pull-down;
};

wcd_default: wcd-reset-n-active-state {
pins = "gpio101";
function = "gpio";
Expand Down
Loading