Skip to content

Commit

Permalink
arm64: dts: qcom: msm8916-samsung-serranove: Add display panel (v3)
Browse files Browse the repository at this point in the history
v2: Make reset-gpios GPIO_ACTIVE_LOW
v3: Add &mdss { status = "okay"; };

Signed-off-by: Stephan Gerhold <[email protected]>
  • Loading branch information
stephan-gh committed Nov 12, 2021
1 parent 239e69e commit b3794be
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8916-samsung-serranove.dts
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,36 @@
status = "okay";
};

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

panel@0 {
compatible = "samsung,s6e88a0-ams427ap24";
reg = <0>;

vdd3-supply = <&pm8916_l17>;
vci-supply = <&pm8916_l6>;
reset-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>;

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

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

&mdss {
status = "okay";
};

&pm8916_resin {
status = "okay";
linux,code = <KEY_VOLUMEDOWN>;
Expand Down Expand Up @@ -465,6 +495,23 @@
bias-disable;
};

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

drive-strength = <8>;
bias-disable;
};
mdss_sleep: mdss-sleep {
pins = "gpio25";
function = "gpio";

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

muic_i2c_default: muic-i2c-default {
pins = "gpio105", "gpio106";
function = "gpio";
Expand Down

0 comments on commit b3794be

Please sign in to comment.