Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp776408pxb; Fri, 22 Apr 2022 10:55:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwEzwtJu2QUDQChawpRpDBPFAc8zs54qyY4rqxaUghPD2DZwBIbNqFxzQa2q0YhWSCYnlb X-Received: by 2002:a17:90a:c70f:b0:1bf:3e2d:6cfa with SMTP id o15-20020a17090ac70f00b001bf3e2d6cfamr6737871pjt.70.1650650127536; Fri, 22 Apr 2022 10:55:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650650127; cv=none; d=google.com; s=arc-20160816; b=R8TmRTzTm+Zyr6fXOmn/zCDZv3pe/PNTHAhM/alneKAWYGt290jN9a+Y92VKl3WzjO 3jToydHNefvRyzBNu9sFb932hz2MHDt+BFx4LK1jlAO+qg1sklg3QHYwJe57JjzhjT2v 67uu2vzF1uP1uUyS/O4bl/lImTKVmQjANdz00UEGdbJw7XPX8BTjkWSx17vNkveUsVXE 59CNyvD4XDbiW2eUrlQr7NOx9GdcQt4JpYkncLeMIo7cRvmtRAwBYeUmBcyE9quqyiVr PwB1MzBjsN7GLvn1Fx0Hs9C54HUgitvrEJsy07AX1/2XmewsGQcdWsv0LY3px7TW39ZB y4Zg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=YFeWTe5/8t8DJCylInaqk+s6rvXJPZdMzZTtFI+Yk/E=; b=0tRXdBcE1id2CCZhL1XSq//hHwxZGq8MQSC3dFD+UMY/UszDnCuJkVKZ/XFNsq4w99 lTcpeZ2OMtEhYjcpSXBwe+VzYuZ2mvyxAzDljjiZHg52eEi1Vn5l4LgNPpcV6zZafAqw 6B+r5ucEiXPBBFvfnq4KY6JNOJ3qDrt6ebxhUJiheahE1Coo0DOd8esEKFmfcWpws3DT CtBK13fQWZ3AENdLcliFniKJSpuz3T1WSG2eJclun/7ReCCmWaMi6zugZJcZviTmBrH9 ex+rTtqDlZK/9XGAn/ZrIV2YzL7WbWN1CwgydpI02PV5jQQu3W4JNjfUq00Ng+6qDkHn uFYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=KBa5XWHV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 6-20020a631546000000b0039f462590b6si9218285pgv.665.2022.04.22.10.55.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 10:55:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=KBa5XWHV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 65E89107828; Fri, 22 Apr 2022 10:38:42 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442199AbiDUVqm (ORCPT + 99 others); Thu, 21 Apr 2022 17:46:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343498AbiDUVqi (ORCPT ); Thu, 21 Apr 2022 17:46:38 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95A124E3BD; Thu, 21 Apr 2022 14:43:39 -0700 (PDT) Received: from g550jk.arnhem.chello.nl (a246182.upc-a.chello.nl [62.163.246.182]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id C76B5CC10C; Thu, 21 Apr 2022 21:43:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1650577387; bh=2Hlmv3hxYGQtorTzm2FTGISpw7EMEoWJ0bemUHHve7U=; h=From:To:Cc:Subject:Date; b=KBa5XWHVsFAtQ801Vou6rRucnYY4LyS32bVHYsnnYLKleuCwi545v/jP+mazJWR1N hP2Yb4e2tPbxuvldTAFNutuaWkap1Psbn9wl8y/YtdUo1v+++2ETpIvybqYCQB8N83 6oYVZaczCP8MNcISb8taI8Eq0E73IX0fS6t6CJak= From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Luca Weiss , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] ARM: dts: msm8974-FP2: Add support for touchscreen Date: Thu, 21 Apr 2022 23:42:41 +0200 Message-Id: <20220421214243.352469-1-luca@z3ntu.xyz> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD,RDNS_NONE,SPF_HELO_NONE autolearn=no 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 Configure the touchscreen found on the new display module of the FP2. To add some detail, FP2 has two different screen/touchscreen variants ("display module"), the old module has Synaptics touchscreen, the new one this Ilitek touchscreen. We're only supporting the new display module for now. Signed-off-by: Luca Weiss --- .../boot/dts/qcom-msm8974pro-fairphone-fp2.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts b/arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts index 96427d75ea82..8f07d8e363aa 100644 --- a/arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts +++ b/arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts @@ -57,6 +57,21 @@ vibrator { }; }; +&blsp1_i2c2 { + status = "okay"; + + touchscreen@41 { + compatible = "ilitek,ili2120"; + reg = <0x41>; + interrupt-parent = <&tlmm>; + interrupts = <28 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&tlmm 55 GPIO_ACTIVE_LOW>; + + touchscreen-size-x = <1080>; + touchscreen-size-y = <1920>; + }; +}; + &blsp1_uart2 { status = "okay"; }; -- 2.36.0