Skip to content

Commit

Permalink
arm64: dts: qcom: msm8916-samsung-e7: Add display panel (v2)
Browse files Browse the repository at this point in the history
v2: Add suffix "-state" to pinctrl.

Signed-off-by: "Lin, Meng-Bo" <[email protected]>
  • Loading branch information
bolilingmeng89006 authored and TravMurav committed Jun 20, 2024
1 parent 31c64eb commit 77359bc
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
19 changes: 19 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8916-samsung-e2015-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,25 @@
};
};

&mdss_dsi0 {
panel: panel@0 {
reg = <0>;

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 0x5a00000>;
};
Expand Down
39 changes: 39 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8916-samsung-e7.dts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,30 @@
pinctrl-0 = <&tsp_en_1p8_default>;
pinctrl-names = "default";
};

reg_vlcd_vdd3: regulator-vlcd-vdd3 {
compatible = "regulator-fixed";
regulator-name = "vlcd_vdd3";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
vin-supply = <&pm8916_s4>;

gpio = <&tlmm 87 GPIO_ACTIVE_HIGH>;
enable-active-high;

pinctrl-names = "default";
pinctrl-0 = <&lcd_en_default>;
};

reg_vlcd_vci: regulator-vlcd-vci {
compatible = "regulator-fixed";
regulator-name = "vlcd_vci";
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>;

gpio = <&tlmm 87 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
};

&battery {
Expand Down Expand Up @@ -63,12 +87,27 @@
};
};

&panel {
compatible = "samsung,e7-panel";

vdd3-supply = <&reg_vlcd_vdd3>;
vci-supply = <&reg_vlcd_vci>;
};

&pm8916_l17 {
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>;
};

&tlmm {
lcd_en_default: lcd-en-default-state {
pins = "gpio87";
function = "gpio";

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

tsp_en_1p8_default: tsp-en-1p8-default-state {
pins = "gpio60";
function = "gpio";
Expand Down

0 comments on commit 77359bc

Please sign in to comment.