* [PATCH] arm64: dts: qcom: qcm6490-fairphone-fp5: Add touchscreen node
@ 2025-03-11 8:23 Luca Weiss
2025-03-11 9:42 ` Konrad Dybcio
0 siblings, 1 reply; 2+ messages in thread
From: Luca Weiss @ 2025-03-11 8:23 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Jens Reidel
Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm,
devicetree, linux-kernel, Luca Weiss
Add a node for the GT9897 touchscreen found on this smartphone connected
via SPI.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
The series adding support for this chip (incl. dt-bindings) has been
applied on 2025-03-10 to the input tree:
https://web.git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git/log/?h=next
---
arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts
index 356cee8aeba90e21c11f46df924ed180bfce3160..35ce9dfca6f092a88d8873673ff57b591e210b02 100644
--- a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts
+++ b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts
@@ -1069,7 +1069,18 @@ &sdhc_2 {
&spi13 {
status = "okay";
- /* Goodix touchscreen @ 0 */
+ touchscreen@0 {
+ compatible = "goodix,gt9897";
+ reg = <0>;
+ interrupt-parent = <&tlmm>;
+ interrupts = <81 IRQ_TYPE_LEVEL_LOW>;
+ reset-gpios = <&tlmm 105 GPIO_ACTIVE_LOW>;
+ avdd-supply = <&vreg_l3c>;
+ vddio-supply = <&vreg_l2c>;
+ spi-max-frequency = <1000000>;
+ touchscreen-size-x = <1224>;
+ touchscreen-size-y = <2700>;
+ };
};
&tlmm {
---
base-commit: 93498f5ea4d0415cb5a95680224335651580cf08
change-id: 20250203-fp5-touchscreen-cc6960134dab
Best regards,
--
Luca Weiss <luca.weiss@fairphone.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: dts: qcom: qcm6490-fairphone-fp5: Add touchscreen node
2025-03-11 8:23 [PATCH] arm64: dts: qcom: qcm6490-fairphone-fp5: Add touchscreen node Luca Weiss
@ 2025-03-11 9:42 ` Konrad Dybcio
0 siblings, 0 replies; 2+ messages in thread
From: Konrad Dybcio @ 2025-03-11 9:42 UTC (permalink / raw)
To: Luca Weiss, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Jens Reidel
Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm,
devicetree, linux-kernel
On 3/11/25 9:23 AM, Luca Weiss wrote:
> Add a node for the GT9897 touchscreen found on this smartphone connected
> via SPI.
>
> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
> ---
> The series adding support for this chip (incl. dt-bindings) has been
> applied on 2025-03-10 to the input tree:
> https://web.git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git/log/?h=next
> ---
> arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 13 ++++++++++++-
> 1 file changed, 12 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts
> index 356cee8aeba90e21c11f46df924ed180bfce3160..35ce9dfca6f092a88d8873673ff57b591e210b02 100644
> --- a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts
> +++ b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts
> @@ -1069,7 +1069,18 @@ &sdhc_2 {
> &spi13 {
> status = "okay";
>
> - /* Goodix touchscreen @ 0 */
> + touchscreen@0 {
> + compatible = "goodix,gt9897";
> + reg = <0>;
> + interrupt-parent = <&tlmm>;
> + interrupts = <81 IRQ_TYPE_LEVEL_LOW>;
interrupts-extended
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-03-11 9:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-11 8:23 [PATCH] arm64: dts: qcom: qcm6490-fairphone-fp5: Add touchscreen node Luca Weiss
2025-03-11 9:42 ` Konrad Dybcio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®