From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B9B0D107761F for ; Wed, 18 Mar 2026 21:29:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EA07210E474; Wed, 18 Mar 2026 21:29:09 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="hmCSUMk5"; dkim-atps=neutral Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3D2E010E084 for ; Wed, 18 Mar 2026 21:28:56 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 9A90E61857; Wed, 18 Mar 2026 21:28:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id F0202C2BC9E; Wed, 18 Mar 2026 21:28:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773869335; bh=ektxWRnEpSIGcsZXfXej0R6lvzWhH/vJFJkEF99IZJw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=hmCSUMk5yb3npfUTwiFUrDz2R+7YCw/GBru/YmOqvXROC6w7flzHlC+WwY2KkiPnd pYvbUKhqyXFHSb8Zd1Po0YYTDaXnhn3/AIUmcz6NNhCBFzeLwfZgLiexWtMHnnPog3 00qVXS/TwXCZAM7dsLIl3QSOzTdnbOTu9fwYHMHVa7Mj2l4Jd0lSpGw5gjL468ijfO vOtDTyWxcKuPYnhsIOpI2EOgSkTC1Yn9gyq87u3xHw4RFg4JeE4i8qzLnJGRRRooln x4INygoAzSG1CCwp6jOJjEOPgJRxZC18AoKyvn/MLne++VzkHvyNGbpP6mZslf8e44 J6OT59pjpuDtQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0DCB107761F; Wed, 18 Mar 2026 21:28:54 +0000 (UTC) From: Cristian Cozzolino via B4 Relay Date: Wed, 18 Mar 2026 23:28:13 +0100 Subject: [PATCH v2 5/6] arm64: dts: qcom: msm8953-flipkart-rimob: Enable touchscreen MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260318-rimob-new-features-v2-5-c1bf8917449e@protonmail.com> References: <20260318-rimob-new-features-v2-0-c1bf8917449e@protonmail.com> In-Reply-To: <20260318-rimob-new-features-v2-0-c1bf8917449e@protonmail.com> To: Neil Armstrong , Jessica Zhang , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Cristian Cozzolino X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1773872973; l=1521; i=cristian_ci@protonmail.com; s=20250620; h=from:subject:message-id; bh=QcXNH44ceOuq5vwCAz4kBKVu3WJzySs2Zw2a5nsQCKw=; b=ypobSbKtVVIPNDRtWVMFSuhrzjmgFRaW6xfwY77HMHZQcxPWuut5E5hMu+cYY3xzC4WWqHjet 6Pz/3ElttflBbHM4PGEQN40bKBQQOnBjfg5Q6NU7SBRu9WBDRgH59/J X-Developer-Key: i=cristian_ci@protonmail.com; a=ed25519; pk=xH5IvIPUNHV1Q8R0/pq2CfuVFR/wTiAyuyi6IwedjZY= X-Endpoint-Received: by B4 Relay for cristian_ci@protonmail.com/20250620 with auth_id=438 X-Original-From: Cristian Cozzolino X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: cristian_ci@protonmail.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Cristian Cozzolino This device uses a Goodix GT5688 touch controller, connected to i2c_3. Add it to the device tree. Signed-off-by: Cristian Cozzolino --- .../arm64/boot/dts/qcom/msm8953-flipkart-rimob.dts | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8953-flipkart-rimob.dts b/arch/arm64/boot/dts/qcom/msm8953-flipkart-rimob.dts index 63e2c057319d..f641ec9f9486 100644 --- a/arch/arm64/boot/dts/qcom/msm8953-flipkart-rimob.dts +++ b/arch/arm64/boot/dts/qcom/msm8953-flipkart-rimob.dts @@ -94,6 +94,31 @@ &hsusb_phy { status = "okay"; }; +&i2c_3 { + status = "okay"; + + touchscreen@5d { + compatible = "goodix,gt5688"; + reg = <0x5d>; + + interrupts-extended = <&tlmm 65 IRQ_TYPE_LEVEL_LOW>; + + pinctrl-0 = <&tsp_int_rst_default>; + pinctrl-names = "default"; + + irq-gpios = <&tlmm 65 GPIO_ACTIVE_HIGH>; + reset-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>; + + VDDIO-supply = <&pm8953_l6>; + AVDD28-supply = <&pm8953_l10>; + + touchscreen-size-x = <1080>; + touchscreen-size-y = <1920>; + touchscreen-inverted-x; + touchscreen-inverted-y; + }; +}; + &ibb { qcom,discharge-resistor-kohms = <32>; }; @@ -318,6 +343,13 @@ panel_default: panel-default-state { bias-disable; output-high; }; + + tsp_int_rst_default: tsp-int-rst-default-state { + pins = "gpio64", "gpio65"; + function = "gpio"; + drive-strength = <8>; + bias-pull-up; + }; }; &usb3 { -- 2.53.0