Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2573045ybl; Mon, 19 Aug 2019 04:22:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqzvpf6Jc8WUWsucExGUJQ1OUjFpeBx2dyqp2docfsOOlJ+kP7ybMsw999B+YmbtlMO9bG2F X-Received: by 2002:a63:704:: with SMTP id 4mr19314178pgh.242.1566213769603; Mon, 19 Aug 2019 04:22:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566213769; cv=none; d=google.com; s=arc-20160816; b=fWYn+kGpeFAvVxKw3cX4+49KNt+Z6wD6Few4jxp+BSt+MGwWdBU7CFVsPVjFHVfVre OjQTlbEo2GJMjZxgpzanZqTd6q3ubD1l5Whm4u4sjmW4J6JRnyEfchsEoLsAac+TN2Wm /9dgIDK7lnUh+Muy+LeED2kZJ+ZXil7JS8Jp72l9R4tiz03dRHrORHE9vhnw1Zoj7oAd Sy2BaWtWDtKRawxCMePOSEe2orIs76jacPokGsFLgwva7MiH1c1wvq+2Dqmq68t9Jl8h D1uwtMJecDICxRt3xTfarCzUFIlh4HT0sqeXnu9kaVENBM9QzfgA+UPK+TLfxyQOQv0/ bzJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=6nIte6Kja3W5AuJgKYvlYbou4w26yndN07D+x7EqtVU=; b=xDnBky89ryu8TYB30Op7B6pu6qNSipNuFYh9LtX97cgn4Ih4KbCoIp7H8pUiAKO/ow XMmgjWniKC3UmT9Id3djwOef3q2kGEdeXMVrsIjnwXfWPAY4SCBGRZY5u4WF1VDEWZKf +eyj0+iN0ecpzeM4NnvULFSB/Bo3kLSbRkaiNDVnoVwWLN0Wb/Fbe+Rx6Jc+i9wuDJBN k8pRlxb+zagaVjSJPqHKDmoPv2bhRmTgK9sC/swOjlONNYrHcQZ7JnizStUIFrMoSPj2 wpcdZD5d9R6meQsNm3rmXdhlQ2apz1KvBZWI9FzDVE24RZ1xHizqKwt0su9zJaE5R4YC Usow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hLRQkbiZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l1si9683852pgt.137.2019.08.19.04.22.33; Mon, 19 Aug 2019 04:22:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hLRQkbiZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727420AbfHSLVj (ORCPT + 99 others); Mon, 19 Aug 2019 07:21:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:34082 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726776AbfHSLVj (ORCPT ); Mon, 19 Aug 2019 07:21:39 -0400 Received: from X250 (37.80-203-192.nextgentel.com [80.203.192.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 97E352085A; Mon, 19 Aug 2019 11:21:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566213699; bh=rbe0ZJX0S7ZC9cn7XqBdlwI52Gljn2EhY1w3k/I2IDU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hLRQkbiZ6pcBq+kZyNNrEKS3av5RqmLttMJtMZVdRGpaNFrOIMT1o2Q2FfN8/sI4W xbVKqXeVVwkMJhH6UzXEztEsfJhpkyuOqep68cq4GUIGdkpVbi2eOB0N5X4Z6eqj+k ELUJui8xxI0izBklsJizC1ulI2wtWENH8qNb9CFI= Date: Mon, 19 Aug 2019 13:21:26 +0200 From: Shawn Guo To: Philippe Schenker Cc: Marcel Ziswiler , Max Krummenacher , "stefan@agner.ch" , "devicetree@vger.kernel.org" , Rob Herring , Mark Rutland , Michal =?utf-8?B?Vm9rw6HEjQ==?= , Fabio Estevam , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Pengutronix Kernel Team , NXP Linux Team , Sascha Hauer Subject: Re: [PATCH v4 08/21] ARM: dts: imx7-colibri: Add touch controllers Message-ID: <20190819112124.GR5999@X250> References: <20190812142105.1995-1-philippe.schenker@toradex.com> <20190812142105.1995-9-philippe.schenker@toradex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190812142105.1995-9-philippe.schenker@toradex.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 12, 2019 at 02:21:26PM +0000, Philippe Schenker wrote: > Add touch controller that is connected over an I2C bus. > > Signed-off-by: Philippe Schenker > Acked-by: Marcel Ziswiler > > --- > > Changes in v4: > - Add Marcel Ziswiler's Ack > > Changes in v3: > - Fix commit message > > Changes in v2: > - Deleted touchrevolution downstream stuff > - Use generic node name > - Better comment > > arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 24 +++++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi > index d4dbc4fc1adf..576dec9ff81c 100644 > --- a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi > +++ b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi > @@ -145,6 +145,21 @@ > &i2c4 { > status = "okay"; > > + /* > + * Touchscreen is using SODIMM 28/30, also used for PWM, PWM, > + * aka pwm2, pwm3. so if you enable touchscreen, disable the pwms > + */ > + touchscreen@4a { > + compatible = "atmel,maxtouch"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_gpiotouch>; > + reg = <0x4a>; > + interrupt-parent = <&gpio1>; > + interrupts = <9 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 28 */ > + reset-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; /* SODIMM 30 */ > + status = "disabled"; Why disabled? Shawn > + }; > + > /* M41T0M6 real time clock on carrier board */ > rtc: m41t0m6@68 { > compatible = "st,m41t0"; > @@ -200,3 +215,12 @@ > vmmc-supply = <®_3v3>; > status = "okay"; > }; > + > +&iomuxc { > + pinctrl_gpiotouch: touchgpios { > + fsl,pins = < > + MX7D_PAD_GPIO1_IO09__GPIO1_IO9 0x74 > + MX7D_PAD_GPIO1_IO10__GPIO1_IO10 0x14 > + >; > + }; > +}; > -- > 2.22.0 >