Skip to content

Commit

Permalink
arm64: dts: qcom: msm8916-samsung-e5: 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 wonderfulShrineMaidenOfParadise committed Aug 22, 2023
1 parent e94f9c2 commit 2ee156c
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8916-samsung-e5.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,30 @@
model = "Samsung Galaxy E5";
compatible = "samsung,e5", "qcom,msm8916";
chassis-type = "handset";

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-0 = <&lcd_on_default>;
pinctrl-names = "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;
};
};

&blsp_i2c5 {
Expand All @@ -42,3 +66,20 @@
pinctrl-names = "default";
};
};

&panel {
/* Actually samsung,ea8061v-ams497ee10 */
compatible = "samsung,ea8061v-ams497ee01";

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

&tlmm {
lcd_on_default: lcd-on-default-state {
pins = "gpio87";
function = "gpio";
drive-strength = <2>;
bias-disable;
};
};

0 comments on commit 2ee156c

Please sign in to comment.