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 May 29, 2023
1 parent 20fd0f0 commit 690256f
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 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 @@ -109,6 +109,35 @@
status = "okay";
};

&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 = <&msmgpio 25 GPIO_ACTIVE_LOW>;

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

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

&mdss {
status = "okay";
};

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

touchscreen_default: touchscreen-default-state {
reset-pins {
pins = "gpio12";
Expand Down

0 comments on commit 690256f

Please sign in to comment.