Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1215886imu; Thu, 20 Dec 2018 12:11:42 -0800 (PST) X-Google-Smtp-Source: AFSGD/XWg0SjJ9rp/iJdq1War9zwkmxj73ckqL4g8uuRusnAZbprwusmoqqhQJvLdd3CRi+P5Yi8 X-Received: by 2002:a63:111c:: with SMTP id g28mr24150814pgl.85.1545336702338; Thu, 20 Dec 2018 12:11:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545336702; cv=none; d=google.com; s=arc-20160816; b=GW5Fgj0Py+tcSG1ndcJikIEblMJ+3Lpa48fKy7gMq7uKzUelaNbC+auUJFpiquFUh4 g+/oIG/zitG77weam4w6dYzJD/NK1/Bg5Yp0kCJQy1C/JO9pmOCMlXY8b7XWC82Y1ICB L08Sh2CfpIConQzgEH2/8DipnvZtBwECl0ob0prS3GxChTxR8bLLqxLbKVSPitSC/sLb lr5SKiH0nVQ7Hz1/BAeJYN0sT59W4Ekr0HtLoVtJywa4qpOhVsPtnINO6LRNcicqY3qe IJ2MRDMuiJ4L/ysMaKgSh7ilFTsCaEzwGGb3k7kB0V0qYDeh3HdRJmY5t84UXjx1lZTs UPYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Vg+IqngfjhTQ/KUtyzdiBE7OmEUDfdJN1SFzJd+Eo5k=; b=MXj9tikhicQP0ddrJYQzymk7fjpbK35+4Xas5X86lYnRvezWiiCqYOGcKLvdRH05IC H7Fc4vBEtFF1p2eHUvBpXpPZLuoLH3ctWboXrsf62JjMhAZWydXtVH+SWrDA/038AiAw lgkj9RLe4U1svziDM7+hkZjmA9cOuUdrt/NzOhVh6zmo6ltTbPou7GJ8FrBuZRU1kpZI XxPdiBKrx8PN+7O3N5s86HkQ26xEdFWEhVB89kd5ShmkbIsrb9gaQdz8tussXlj1m8UW sjk1+yxcX5crQ9aTvdT1BGJdItIP6Xe9sAJ0NYw6nW/WzY2zOfM6ixv5gCX7M5Mlywdc a0mA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JSKHF2Rl; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g10si16194481plm.1.2018.12.20.12.11.25; Thu, 20 Dec 2018 12:11:42 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=JSKHF2Rl; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732338AbeLTMed (ORCPT + 99 others); Thu, 20 Dec 2018 07:34:33 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:40529 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730039AbeLTMed (ORCPT ); Thu, 20 Dec 2018 07:34:33 -0500 Received: by mail-lf1-f68.google.com with SMTP id v5so1209807lfe.7; Thu, 20 Dec 2018 04:34:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Vg+IqngfjhTQ/KUtyzdiBE7OmEUDfdJN1SFzJd+Eo5k=; b=JSKHF2RlIaeRkRQ4gMY2We04ewJmer/ID6K4mqx2KzZCHdw2+A1++Sw+PRqZbpjOp/ diqwmuJ0qm2ht7I2i42ByZ6HLL1DxGnxWQtz/RNOryv+5Nh6Tafn5Tz7BHtWOCWmrRMs ukFej+I848P1p+zQhSZvS3p3Ehf6yQu/XpNsccE/AfNfKbyi3h6lGvSWywES2nw5QRKY s7K5ltRg0Td2HTAmHDiLkpGC9nKM9WnZUxp1k4qX/3O/dcYg2Pr9vrRsW/lXqJEc2s66 GcsdCQfy3HJDGcy64OJLE5EN/QSTbIy5rezJUNGFUAMKYW64nCDZuaISouEtj3OTIqK1 V+nQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Vg+IqngfjhTQ/KUtyzdiBE7OmEUDfdJN1SFzJd+Eo5k=; b=J4nT4hPgaYsQyiSo/vj1tm6RPefXA785x1/IGX+5V/GUtiGmUqrIy5CKI91fNSDiaH 6J5hxJx0MULf0BBuJYnLwvWo9M5PFwhRdVXthhUuL+R/926a/j6FcIYSfYCIXSMgeWj5 S4nWJzES9k5xibIh4kdo2a/Zz6TbKfuYWY8EPizJHaQQ0WdxN23AGYUpVWk0emIu/AjZ lBXYixJTCvXrrao/yTEzqgnArrpsR+5Sq23hYib7sfhf+9dGmTQyxk4Y/5wrrQk9V93t lE2F5S1RbCOYpu0g1QGSQ91vE0IxKpRsxFFZXFACdrU07lVTgR+izPwF8MJQID3wF1+5 t6Rw== X-Gm-Message-State: AA+aEWawAXD5evEoAS95r38AA8/Xx4LzWAAUtwwTSyqNNTnbrTFFsdwB OWPvxLaXwbD8XeXfyKhcZ50= X-Received: by 2002:a19:df41:: with SMTP id q1mr15836687lfj.25.1545309269699; Thu, 20 Dec 2018 04:34:29 -0800 (PST) Received: from [192.168.2.145] ([94.29.36.169]) by smtp.googlemail.com with ESMTPSA id d2sm4435168lfg.16.2018.12.20.04.34.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Dec 2018 04:34:28 -0800 (PST) Subject: Re: [PATCH v4 8/8] ARM: dts: Add stmpe-adc DT node to Toradex T30 modules To: Philippe Schenker , jic23@kernel.org, marcel.ziswiler@toradex.com, stefan@agner.ch Cc: thierry.reding@gmail.com, Philippe Schenker , devicetree@vger.kernel.org, Jonathan Hunter , linux-kernel@vger.kernel.org, Rob Herring , linux-tegra@vger.kernel.org, Mark Rutland References: <20181212130649.15146-1-dev@pschenker.ch> <20181212130649.15146-8-dev@pschenker.ch> From: Dmitry Osipenko Message-ID: <9c380fe2-2db8-8bc6-15b6-d112f982b70a@gmail.com> Date: Thu, 20 Dec 2018 15:34:16 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: <20181212130649.15146-8-dev@pschenker.ch> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Philippe, Please CC all the patches in the series to every recipient. On 12.12.2018 16:06, Philippe Schenker wrote: > Add the stmpe-adc DT node as found on Toradex T30 modules > > Signed-off-by: Philippe Schenker > --- > > Changes in v4: > - New separate commit to hold T30 devicetree changes > > Changes in v3: None > Changes in v2: None > > arch/arm/boot/dts/tegra30-apalis.dtsi | 22 ++++++++++++++-------- > arch/arm/boot/dts/tegra30-colibri.dtsi | 22 ++++++++++++++-------- > 2 files changed, 28 insertions(+), 16 deletions(-) > > diff --git a/arch/arm/boot/dts/tegra30-apalis.dtsi b/arch/arm/boot/dts/tegra30-apalis.dtsi > index 7f112f192fe9..850b0d13549a 100644 > --- a/arch/arm/boot/dts/tegra30-apalis.dtsi > +++ b/arch/arm/boot/dts/tegra30-apalis.dtsi > @@ -976,11 +976,18 @@ > id = <0>; > blocks = <0x5>; > irq-trigger = <0x1>; > + /* 3.25 MHz ADC clock speed */ > + st,adc-freq = <1>; > + /* 12-bit ADC */ > + st,mod-12b = <1>; > + /* internal ADC reference */ > + st,ref-sel = <0>; > + /* ADC converstion time: 80 clocks */ > + st,sample-time = <4>; > + /* forbid to use ADC channels 3-0 (touch) */> stmpe_touchscreen { > compatible = "st,stmpe-ts"; > - /* 3.25 MHz ADC clock speed */ > - st,adc-freq = <1>; > /* 8 sample average control */ > st,ave-ctrl = <3>; > /* 7 length fractional part in z */ > @@ -990,17 +997,16 @@ > * current limit value > */ > st,i-drive = <1>; > - /* 12-bit ADC */ > - st,mod-12b = <1>; > - /* internal ADC reference */ > - st,ref-sel = <0>; > - /* ADC converstion time: 80 clocks */ > - st,sample-time = <4>; Does this change depend on some other patch in the series? Is this a backwards-compatible change? Please explain. > /* 1 ms panel driver settling time */ > st,settling = <3>; > /* 5 ms touch detect interrupt delay */ > st,touch-det-delay = <5>; > }; > + > + stmpe_adc { > + compatible = "st,stmpe-adc"; > + st,norequest-mask = <0x0F>; > + }; > }; > > /* > diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri.dtsi > index 35af03ca9e90..1f9198bb24ff 100644 > --- a/arch/arm/boot/dts/tegra30-colibri.dtsi > +++ b/arch/arm/boot/dts/tegra30-colibri.dtsi > @@ -845,11 +845,18 @@ > id = <0>; > blocks = <0x5>; > irq-trigger = <0x1>; > + /* 3.25 MHz ADC clock speed */ > + st,adc-freq = <1>; > + /* 12-bit ADC */ > + st,mod-12b = <1>; > + /* internal ADC reference */ > + st,ref-sel = <0>; > + /* ADC converstion time: 80 clocks */ > + st,sample-time = <4>; > + /* forbid to use ADC channels 3-0 (touch) */ > > stmpe_touchscreen { > compatible = "st,stmpe-ts"; > - /* 3.25 MHz ADC clock speed */ > - st,adc-freq = <1>; > /* 8 sample average control */ > st,ave-ctrl = <3>; > /* 7 length fractional part in z */ > @@ -859,17 +866,16 @@ > * current limit value > */ > st,i-drive = <1>; > - /* 12-bit ADC */ > - st,mod-12b = <1>; > - /* internal ADC reference */ > - st,ref-sel = <0>; > - /* ADC converstion time: 80 clocks */ > - st,sample-time = <4>; > /* 1 ms panel driver settling time */ > st,settling = <3>; > /* 5 ms touch detect interrupt delay */ > st,touch-det-delay = <5>; > }; > + > + stmpe_adc { > + compatible = "st,stmpe-adc"; > + st,norequest-mask = <0x0F>; > + }; > }; > > /* >