Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4305333rwl; Mon, 10 Apr 2023 09:04:10 -0700 (PDT) X-Google-Smtp-Source: AKy350YIo1GWYDODtvGRIs2RiuKbzZY7MBxUdrINF4v6m/vkKxRyVs3T5e36EQGXVZ512JzSPc7P X-Received: by 2002:aa7:d98e:0:b0:4fc:8642:ce56 with SMTP id u14-20020aa7d98e000000b004fc8642ce56mr9008351eds.25.1681142650154; Mon, 10 Apr 2023 09:04:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681142650; cv=none; d=google.com; s=arc-20160816; b=ykH/HedaUHbhjKgG5kGW14fTW45xa/cYCVumPmZKdkBqS9xUsSK/mr19mdmEmM+3S3 8W2LBSKTGgoxYOYtjSmRo/f3K0GkdruUxsIqcgLgpzB46gqrf++C0qMTnpp32IigHrQu IgzBdUJyg5rQnaDI1qCg4URh6+YtgVnuJNHZz0Cn07456spJ23ElH2FCVOHaUIuaqyny AL+g/XEUDo1zEZcTBaZ3mMxEmccV1wqpXiK+9tQEnPivg7IAL42VanLhrt8eBoyQdunD 53cYIYFxq/HROZTDSVuEDAyPFEL7vOucg+POGb+t1MNnZ3kRJzMMeLqjaPTgvu3qIPeW Me0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9WRbpW3m578x5MfQQ6H7U6/ppADfjexDu2jTLEQfa6Y=; b=mmwY6/aGrnK6+QYwI2xOWRLzUoTXk+7dATNPQUr0UcURKpaGgridsJ/d4/yaZ8R/7e ZJbAN48BJETH4/dXr/2eIw6m4pTWHCEQ5djHvtfIWsSqdjaO3dDATpqaTAe6V6IWlz87 BGfHyC3dn66ZgphAFzXwDVJaZZ8fevqX7AZ2OL9U+uIGIOi2OHcXpjmxqUDwPAX6Vcj1 9A5fzOAqtz7BAcPJrKINIbmxTMg1XcOQCz4QVv93tHqmPa0P06ll9ghYcvzkL/e5Im5x paWeaVirZlbtyzcvgOv5tb4yAGvi56fLsfJYJ5IQAK9wGDL8fJvUQTAiCVPas646MdQI KcmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fpWzPvsR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j10-20020aa7c0ca000000b0050494d25ba5si4431750edp.345.2023.04.10.09.03.29; Mon, 10 Apr 2023 09:04:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fpWzPvsR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230211AbjDJQCR (ORCPT + 99 others); Mon, 10 Apr 2023 12:02:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230178AbjDJQCM (ORCPT ); Mon, 10 Apr 2023 12:02:12 -0400 Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2872171C; Mon, 10 Apr 2023 09:02:10 -0700 (PDT) Received: by mail-il1-x134.google.com with SMTP id e9e14a558f8ab-328990497e7so209815ab.1; Mon, 10 Apr 2023 09:02:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1681142530; x=1683734530; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9WRbpW3m578x5MfQQ6H7U6/ppADfjexDu2jTLEQfa6Y=; b=fpWzPvsRs59pPJOjVNt3uOVg+XJI2QhYUCIsbOs8E+CZiPxXpQiGxWhJMUe5b44mmI F75WjKt2sZ7/5280GRSI3gp2pO2PT+BXTnGovyzJcxrc7gX1M69wvx2eIbpbEc3BvZQO s9gXhMXZCDwiLej8FD4Bah50C2F3PHiY9uRwV/JmAArvWG7mdsgdqpVtyz7VhfHtb4W6 K9tZBlTeeaaaI6AbqfR+LUn5+kzhv+eJW6tfcMferXYuGOAGZv/rQQDFe1p8BR7EIwxQ QMSAJeLVuMhPZlRS7V9WCaNdO3fOpkjWA6dXgfV5Buko8pXC8j7KWuoTiJsjeEbrG0O+ cQ4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681142530; x=1683734530; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9WRbpW3m578x5MfQQ6H7U6/ppADfjexDu2jTLEQfa6Y=; b=3DPTaCI7P/3CI9I/aOnehyeoJpDC2XLd7caBOFDJ6YfLhWUf/70YYBJZvxDrxDCrt7 xJiGv2IVw92qfxovT1ALd3NqSyujyL2TLKfx93U1TRF8nnbJcWjzKDk6SePeyrucTV2v xs9YJrnvf7dG4dd9DDEsEY+j3BDbjlgdHrwlEeBsml9OCceIYnn3mKosljz2kyDt4Cw/ wYVVN87kc8CXKL+eKQKdFz/fmhpNqCUUUQUpJsqGypH3mg2FSrhl3z3WoJPB9PbYUisc nlszogF0ecpTVzGR17b7OgGrHIQsXgYVW2cNnhjl2+flCysmUDt2gxenbwMo1xIi3aSg DxJw== X-Gm-Message-State: AAQBX9eNEFluucTAj5IvT244HV4puuNopuc4YmYNedx+ZFpI+o33UwAj bh8cpm54sIOu6r/X1dULrj8= X-Received: by 2002:a05:6602:2a48:b0:759:485:41d with SMTP id k8-20020a0566022a4800b007590485041dmr4376547iov.0.1681142530192; Mon, 10 Apr 2023 09:02:10 -0700 (PDT) Received: from JOEL-DESKTOP.. ([2604:2d80:4d87:cd00:9f51:32d7:1177:67d]) by smtp.gmail.com with ESMTPSA id c7-20020a5d9a87000000b00746041ecbf9sm3184435iom.39.2023.04.10.09.02.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Apr 2023 09:02:09 -0700 (PDT) From: Joel Selvaraj To: Caleb Connolly , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Henrik Rydberg , Arnd Bergmann , Robert Jarzmik , Jeff LaBundy , Markuss Broks , Jean Delvare , Job Noorman , Alistair Francis , Chris Morgan , Hans de Goede Cc: linux-input@vger.kernel.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, Joel Selvaraj Subject: [PATCH v2 4/5] arm64: dts: qcom: sdm845-xiaomi-beryllium-ebbg: introduce support for fts touchscreen Date: Mon, 10 Apr 2023 11:01:59 -0500 Message-Id: <20230410160200.57261-5-joelselvaraj.oss@gmail.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230410160200.57261-1-joelselvaraj.oss@gmail.com> References: <20230410160200.57261-1-joelselvaraj.oss@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Poco F1 EBBG variant uses Focaltech FTS8719 touchscreen. Introduce support for it. Signed-off-by: Joel Selvaraj --- .../dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts index 76931ebad065..f857ed3e2df4 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts @@ -13,3 +13,29 @@ &display_panel { compatible = "ebbg,ft8719"; status = "okay"; }; + +&i2c14 { + status = "okay"; + + dmas = <&gpi_dma1 0 6 QCOM_GPI_I2C>, + <&gpi_dma1 1 6 QCOM_GPI_I2C>; + dma-names = "tx", "rx"; + + touchscreen@38 { + compatible = "focaltech,fts8719"; + reg = <0x38>; + + interrupt-parent = <&tlmm>; + interrupts = <31 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&tlmm 32 GPIO_ACTIVE_LOW>; + + vddio-supply = <&vreg_l14a_1p8>; + + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&ts_int_default &ts_reset_default>; + pinctrl-1 = <&ts_int_sleep &ts_reset_sleep>; + + touchscreen-size-x = <1080>; + touchscreen-size-y = <2246>; + }; +}; -- 2.40.0