* [PATCH v2] arm64: dts: qcom: msm8916-samsung-e5: Add touchscreen
@ 2023-08-12 7:16 Lin, Meng-Bo
2023-08-12 8:58 ` Konrad Dybcio
2023-08-14 3:30 ` Bjorn Andersson
0 siblings, 2 replies; 3+ messages in thread
From: Lin, Meng-Bo @ 2023-08-12 7:16 UTC (permalink / raw)
To: linux-kernel
Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Stephan Gerhold,
Nikita Travkin, linux-arm-msm, devicetree,
~postmarketos/upstreaming
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 <linmengbo0689@protonmail.com>
---
v2: use interrupts-extended
.../boot/dts/qcom/msm8916-samsung-e5.dts | 20 +++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-e5.dts b/arch/arm64/boot/dts/qcom/msm8916-samsung-e5.dts
index 777eb934eb4b..fad2535255f7 100644
--- a/arch/arm64/boot/dts/qcom/msm8916-samsung-e5.dts
+++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-e5.dts
@@ -22,3 +22,23 @@ / {
compatible = "samsung,e5", "qcom,msm8916";
chassis-type = "handset";
};
+
+&blsp_i2c5 {
+ status = "okay";
+
+ touchscreen@48 {
+ compatible = "melfas,mms345l";
+ reg = <0x48>;
+
+ interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>;
+
+ touchscreen-size-x = <720>;
+ touchscreen-size-y = <1280>;
+
+ avdd-supply = <®_vdd_tsp_a>;
+ vdd-supply = <&pm8916_l6>;
+
+ pinctrl-0 = <&ts_int_default>;
+ pinctrl-names = "default";
+ };
+};
--
2.39.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2] arm64: dts: qcom: msm8916-samsung-e5: Add touchscreen
2023-08-12 7:16 [PATCH v2] arm64: dts: qcom: msm8916-samsung-e5: Add touchscreen Lin, Meng-Bo
@ 2023-08-12 8:58 ` Konrad Dybcio
2023-08-14 3:30 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Konrad Dybcio @ 2023-08-12 8:58 UTC (permalink / raw)
To: Lin, Meng-Bo, linux-kernel
Cc: Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Stephan Gerhold, Nikita Travkin, linux-arm-msm,
devicetree, ~postmarketos/upstreaming
On 12.08.2023 09:16, Lin, Meng-Bo wrote:
> 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 <linmengbo0689@protonmail.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Konrad
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] arm64: dts: qcom: msm8916-samsung-e5: Add touchscreen
2023-08-12 7:16 [PATCH v2] arm64: dts: qcom: msm8916-samsung-e5: Add touchscreen Lin, Meng-Bo
2023-08-12 8:58 ` Konrad Dybcio
@ 2023-08-14 3:30 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2023-08-14 3:30 UTC (permalink / raw)
To: linux-kernel, Lin, Meng-Bo
Cc: Andy Gross, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Stephan Gerhold, Nikita Travkin, linux-arm-msm,
devicetree, ~postmarketos/upstreaming
On Sat, 12 Aug 2023 07:16:56 +0000, Lin, Meng-Bo wrote:
> Similar to A5, E5 uses a Melfas MMS345L touchscreen that is connected to
> blsp_i2c5. Add it to the device tree.
>
>
Applied, thanks!
[1/1] arm64: dts: qcom: msm8916-samsung-e5: Add touchscreen
commit: befa79798a614215521811e84e3b783a2a685595
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-14 3:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-12 7:16 [PATCH v2] arm64: dts: qcom: msm8916-samsung-e5: Add touchscreen Lin, Meng-Bo
2023-08-12 8:58 ` Konrad Dybcio
2023-08-14 3:30 ` Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).