Skip to content

Commit befa797

Browse files
bolilingmeng89006andersson
authored andcommitted
arm64: dts: qcom: msm8916-samsung-e5: Add touchscreen
Similar to A5, E5 uses a Melfas MMS345L touchscreen that is connected to blsp_i2c5. Add it to the device tree. Signed-off-by: Lin, Meng-Bo <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 4fb40b2 commit befa797

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,23 @@
2222
compatible = "samsung,e5", "qcom,msm8916";
2323
chassis-type = "handset";
2424
};
25+
26+
&blsp_i2c5 {
27+
status = "okay";
28+
29+
touchscreen@48 {
30+
compatible = "melfas,mms345l";
31+
reg = <0x48>;
32+
33+
interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>;
34+
35+
touchscreen-size-x = <720>;
36+
touchscreen-size-y = <1280>;
37+
38+
avdd-supply = <&reg_vdd_tsp_a>;
39+
vdd-supply = <&pm8916_l6>;
40+
41+
pinctrl-0 = <&ts_int_default>;
42+
pinctrl-names = "default";
43+
};
44+
};

0 commit comments

Comments
 (0)