Skip to content

Commit 2ee156c

Browse files
arm64: dts: qcom: msm8916-samsung-e5: Add display panel
Signed-off-by: Lin, Meng-Bo <[email protected]>
1 parent e94f9c2 commit 2ee156c

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

arch/arm64/boot/dts/qcom/msm8916-samsung-e5.dts

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,30 @@
2121
model = "Samsung Galaxy E5";
2222
compatible = "samsung,e5", "qcom,msm8916";
2323
chassis-type = "handset";
24+
25+
reg_vlcd_vdd3: regulator-vlcd-vdd3 {
26+
compatible = "regulator-fixed";
27+
regulator-name = "vlcd_vdd3";
28+
regulator-min-microvolt = <1800000>;
29+
regulator-max-microvolt = <1800000>;
30+
vin-supply = <&pm8916_s4>;
31+
32+
gpio = <&tlmm 87 GPIO_ACTIVE_HIGH>;
33+
enable-active-high;
34+
35+
pinctrl-0 = <&lcd_on_default>;
36+
pinctrl-names = "default";
37+
};
38+
39+
reg_vlcd_vci: regulator-vlcd-vci {
40+
compatible = "regulator-fixed";
41+
regulator-name = "vlcd_vci";
42+
regulator-min-microvolt = <3000000>;
43+
regulator-max-microvolt = <3000000>;
44+
45+
gpio = <&tlmm 87 GPIO_ACTIVE_HIGH>;
46+
enable-active-high;
47+
};
2448
};
2549

2650
&blsp_i2c5 {
@@ -42,3 +66,20 @@
4266
pinctrl-names = "default";
4367
};
4468
};
69+
70+
&panel {
71+
/* Actually samsung,ea8061v-ams497ee10 */
72+
compatible = "samsung,ea8061v-ams497ee01";
73+
74+
vdd3-supply = <&reg_vlcd_vdd3>;
75+
vci-supply = <&reg_vlcd_vci>;
76+
};
77+
78+
&tlmm {
79+
lcd_on_default: lcd-on-default-state {
80+
pins = "gpio87";
81+
function = "gpio";
82+
drive-strength = <2>;
83+
bias-disable;
84+
};
85+
};

0 commit comments

Comments
 (0)