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 <[email protected]>
  • Loading branch information
bolilingmeng89006 authored and stephan-gh committed Aug 1, 2023
1 parent d352b02 commit c0c6e88
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 @@ -111,6 +111,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>;
};

&pm8916_resin {
linux,code = <KEY_VOLUMEDOWN>;
status = "okay";
Expand Down Expand Up @@ -192,6 +225,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 c0c6e88

Please sign in to comment.