Skip to content

Commit

Permalink
arm64: dts: qcom: msm8916-acer-a1-724: Add display panel
Browse files Browse the repository at this point in the history
Signed-off-by: Lin, Meng-Bo <linmengbo0689@protonmail.com>
  • Loading branch information
bolilingmeng89006 authored and TravMurav committed Jun 13, 2024
1 parent c3bde1f commit 7faf67f
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8916-acer-a1-724.dts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,39 @@
status = "okay";
};

&gpu {
status = "okay";
};

&mdss {
status = "okay";
};

&mdss_dsi0 {
pinctrl-0 = <&mdss_default>;
pinctrl-1 = <&mdss_sleep>;
pinctrl-names = "default", "sleep";

panel@0 {
compatible = "acer,a1-724-hx8394d";
reg = <0>;

power-supply = <&pm8916_l17>;
reset-gpios = <&tlmm 25 GPIO_ACTIVE_LOW>;

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

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

&mpss_mem {
reg = <0x0 0x86800000 0x0 0x4500000>;
};
Expand Down Expand Up @@ -242,6 +275,22 @@
bias-pull-up;
};

mdss_default: mdss-default-state {
pins = "gpio25";
function = "gpio";

drive-strength = <8>;
bias-disable;
};

mdss_sleep: mdss-sleep-state {
pins = "gpio25";
function = "gpio";

drive-strength = <2>;
bias-pull-down;
};

sdc2_cd_default: sdc2-cd-default-state {
pins = "gpio38";
function = "gpio";
Expand Down

0 comments on commit 7faf67f

Please sign in to comment.