Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1190208pxb; Fri, 6 Nov 2020 03:26:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJx9FnTHj+5OuSvYmQY37TzxdZga1nWEUAXgMRvOltt7PUGnKXW5ojkdiggtShjgpEDEFz7q X-Received: by 2002:a05:6402:b8e:: with SMTP id cf14mr1455924edb.86.1604662015238; Fri, 06 Nov 2020 03:26:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604662015; cv=none; d=google.com; s=arc-20160816; b=Hra5YWRJw/iJVuvTz/MxGKjMQk97394EelwAt1Mi+kHp95NlMoqcGRGNKSabG3iY7Q dLXtssjTJ+FbOVMJemij0CMJ3X9z9BmKA5VhBPxolbL8Bq22eex+esTmG06fVPYe9X1J a2pC1U8od2k0beScAhKyKv7cUWno10pXyvKyPnCDOzQZOpz43SxWiFsvL6QULfNRnr1w y/tw/Q3PQKQLwdatokdgMd2D9nor5Yguo3lJ3lBOfpJObHp+SuJYBD8hGCl8mwMhuibu v2K5+dwAop4S0WLW8kq1mR5CJQ5y/wnVEfRKmcQNf0iMWY0tCkM8qL22s4Fc44b8O2QO wvEQ== 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=7Ia6+lta0A1pK3w5HhKN1sy51fKgzn+PmnDp8MG1kWU=; b=oH3rd9vK3nEbaTdeNKgB11NGWUXRrtv/Ypqb3ALdgU43AKI5WqrlAzIJM/Tiy+SiX3 eLon3GlwPBUqaUc8yAEwN2Z0Ui4RsD/FaVr3FySlui6WeJdTG0jKMOE1F5ImoiY1jGxE RJRTuCwPlv3vgSN2G1Wc1mYsuF9xa04Jv6pmB1aTxV55jtXWZ5m/zG8yk+nzZBX7Q+3/ /wno6ke5byZ8/WnYnbmsMzikHHHUN4ha4cAvmkaFBxlJW7lGLESCxnK81deMs5VztvNm 3OQXVHTYFGcG2IhQa4Wbxvk4xK1GPUuXG8gmOfi2ByD7AOTbty4Cvmub5I5p/mG4fIY0 F1Bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=aOyFj+ih; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmx.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q7si732933edr.253.2020.11.06.03.26.32; Fri, 06 Nov 2020 03:26:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=aOyFj+ih; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmx.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727186AbgKFLZD (ORCPT + 99 others); Fri, 6 Nov 2020 06:25:03 -0500 Received: from mout.gmx.net ([212.227.15.15]:35353 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727169AbgKFLZC (ORCPT ); Fri, 6 Nov 2020 06:25:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1604661893; bh=h353MSDKnlc8XqUZeAyhas+YODqkJ+e9pssvf3FjUok=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=aOyFj+ihLNo8vNR9NmndGcVTXCZxT7uI61RkrFne59UM60AeURY4gINR/U4aGc1wV JGYwUuDSH4+bx1d8HxYowaKqLVrdFisMVV/cxwXyfDM19MozMROzLd/OrvPHi7GHKq lJVHrB3trnuz+2GhRW/Ja9of6I2XxgzhE6n2sWpE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from longitude ([37.201.214.162]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N5VHM-1kHuQQ4ArS-016wEu; Fri, 06 Nov 2020 12:24:53 +0100 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= To: linux-input@vger.kernel.org Cc: Dmitry Torokhov , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/3] ARM: dts: imx50-kobo-aura: Enable eKTF2132 touchscreen Date: Fri, 6 Nov 2020 12:24:12 +0100 Message-Id: <20201106112412.390724-4-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201106112412.390724-1-j.neuschaefer@gmx.net> References: <20201106112412.390724-1-j.neuschaefer@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Eb/mcNh+2C3ChXXzq4O8bBzixHexY7F7ebnCPUuzp8adYY8PHb8 n+jg1ro2q3wch1bs8eNLfUhN1uK0jv5/95w7l9kD36ePUkIXxF6/FC6NEN7Ddvgm0FQjWzF 8LNpimBG9tRWA4TxPk9e6fi48+BP+LNEC8BXuLzGXmQFwh/vzZzJXGjmIpb8Deja1avtaJB d/j7/6SewIyn7+tu0Xt1w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:K85UTosfvTo=:Kdq+p7usASgZEEWfOffCZO 3UOnagOb19HiiVSQrSNS32zdAvIUTU9cZrMqleCgARdtR/QdIhpRcXShtp6Y+uqBMt+vQBZdD cbihIunTRj5YJEom+ayGoJl+AeHBOziN9wy/azTLQcssQ7ezgO3XC/4B1sq5ZmceWsr4Qe1xe Z0+uBrjcN/CNoR0HnygpiOsbvmz0xYIP2dedpbJQhxJgdSpaJWhsbTSSedFbK+/+Ea2Bw8A0n wJrlcy7ZxrEKHJ/saXkdKKNulDH/NNDw08qJzDoGjtWxQjPCW61sT+QFjfiRR02793bJIXl5i KJpXWO0r22Tm0M+2hQaz/wkLrWstITjeS+ibK7zbPKQhN3ZJPv/2ZvUvWuKoi9OWP4U6+aF3F 4ySTRylPqO/8L7VTEFXwezOXiTYBBJcmkVYpA4GE81in5NPpNPARCiGh41v4K/Ow628cXngkV H4xQosYKYFII/UY/PR84WfOdf6UaCSh4I7IjbVOk3IhLARp5cZXGWqpbXEkLKAeBe+2J+60yJ Ar5/1FuKknK1b4JP0FhkD+twsACKcmHE7qSFIoXOw1W6yxba/G4+d9QNvW0VC9PqUnxbEI8hL enze9Fo4L5QMETf+tiAhPjeGkZv0XSYvtlRlDoxS30aoNT47hqPV/cDgXnPHBZBd+97z2qDJ/ jo4RFE2Ku8EsEobTn58BKztr40a/1QNMlXbJBsMZi8ckcWbpio0jAkpmmC/ch36nGUiN5FXJR TbmRj+8tYHbxmZW05AU7wFWEGDWiWJC7r9k1eQArmrXM3RZWXkLFoWYbKgeIYmefM3vl33Bp0 xOr0AcEiT0tDfSrQ04j14B8t6GeR+vWbXqq/RzW+7Haidx50TdZjyLVwIUaYf1QeMN6rOQEtl IzK719hMyRlozZiKYDN512y8ycBSVF+PtPne7OsDs= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Kobo Aura has an eKTF2132 touchscreen controller. Although the vendor kernel toggles a reset pin (GPIO5-12) during the startup sequence, the touchscreen works without it. Signed-off-by: Jonathan Neusch=C3=A4fer =2D-- This patch requires "[PATCH] ARM: dts: imx50-kobo-aura: Add 'grp' suffix to pinctrl node names" in order to apply cleanly. (https://lore.kernel.org/lkml/20201031210729.2804471-1-j.neuschaefer@gmx.n= et/) =2D-- arch/arm/boot/dts/imx50-kobo-aura.dts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx50-kobo-aura.dts b/arch/arm/boot/dts/imx= 50-kobo-aura.dts index b2fbee60271f2..82ce8c43be867 100644 =2D-- a/arch/arm/boot/dts/imx50-kobo-aura.dts +++ b/arch/arm/boot/dts/imx50-kobo-aura.dts @@ -120,7 +120,14 @@ &i2c1 { pinctrl-0 =3D <&pinctrl_i2c1>; status =3D "okay"; - /* TODO: ektf2132 touch controller at 0x15 */ + touchscreen@15 { + reg =3D <0x15>; + compatible =3D "elan,ektf2132"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_ts>; + power-gpios =3D <&gpio4 9 GPIO_ACTIVE_HIGH>; + interrupts-extended =3D <&gpio5 13 IRQ_TYPE_EDGE_FALLING>; + }; }; &i2c2 { @@ -240,6 +247,13 @@ MX50_PAD_SD3_D7__ESDHC3_DAT7 0x1d4 >; }; + pinctrl_ts: tsgrp { + fsl,pins =3D < + MX50_PAD_CSPI_MOSI__GPIO4_9 0x0 + MX50_PAD_SD2_D5__GPIO5_13 0x0 + >; + }; + pinctrl_uart2: uart2grp { fsl,pins =3D < MX50_PAD_UART2_TXD__UART2_TXD_MUX 0x1e4 =2D- 2.28.0