linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
To: "stefan@agner.ch" <stefan@agner.ch>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"robh+dt@kernel.org" <robh+dt@kernel.org>,
	"jonathanh@nvidia.com" <jonathanh@nvidia.com>,
	"linux-tegra-owner@vger.kernel.org"
	<linux-tegra-owner@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"thierry.reding@gmail.com" <thierry.reding@gmail.com>,
	"mark.rutland@arm.com" <mark.rutland@arm.com>,
	"linux-tegra@vger.kernel.org" <linux-tegra@vger.kernel.org>
Subject: Re: [PATCH 13/26] ARM: tegra: colibri_t30: use proper irq-gpio for stmpe811
Date: Wed, 29 Aug 2018 14:56:59 +0000	[thread overview]
Message-ID: <1535554617.14664.30.camel@toradex.com> (raw)
In-Reply-To: <844bac7c4e00a014f5e5b857e38a47bf@agner.ch>

On Thu, 2018-07-26 at 10:07 +0200, Stefan Agner wrote:
> On 23.07.2018 14:36, Marcel Ziswiler wrote:
> > From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> > 
> > Use proper irq-gpio for stmpe811 touch controller.
> 
> I don't think this change is necessary, interrupts/interrupt-parent
> specification seems to be supported by the driver as well.

Yes, however, should you look at the driver more closely you may notice
that only if using irq-gpio the GPIO in question also does get properly
requested by devm_gpio_request_one() with an "stmpe" label. So I really
do think doing it this way is advantageous. I did notice this
difference by chance when fighting some probe defer issues earlier.

> --
> Stefan
> 
> > 
> > Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> > 
> > ---
> > 
> >  arch/arm/boot/dts/tegra30-colibri.dtsi | 3 +--
> >  1 file changed, 1 insertion(+), 2 deletions(-)
> > 
> > diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi
> > b/arch/arm/boot/dts/tegra30-colibri.dtsi
> > index c80b9bf44752..ace72a53186a 100644
> > --- a/arch/arm/boot/dts/tegra30-colibri.dtsi
> > +++ b/arch/arm/boot/dts/tegra30-colibri.dtsi
> > @@ -836,8 +836,7 @@
> >  		stmpe811@41 {
> >  			compatible = "st,stmpe811";
> >  			reg = <0x41>;
> > -			interrupts = <TEGRA_GPIO(V, 0)
> > IRQ_TYPE_LEVEL_LOW>;
> > -			interrupt-parent = <&gpio>;
> > +			irq-gpio = <&gpio TEGRA_GPIO(V, 0)
> > IRQ_TYPE_LEVEL_LOW>;
> >  			interrupt-controller;
> >  			id = <0>;
> >  			blocks = <0x5>;

  reply	other threads:[~2018-08-29 14:56 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-23 12:36 [PATCH 00/26] ARM: dts: tegra: colibri_t30: major revamp Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 01/26] ARM: tegra: colibri_t30: enable broken-hpi on emmc Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 02/26] ARM: tegra: colibri_t30: add local-mac-address property Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 03/26] ARM: tegra: colibri_t30: reorder host1x/hdmi properties Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 04/26] ARM: tegra: colibri_t30: regulator clean-up Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 05/26] ARM: tegra: colibri_t30: add missing regulators Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 06/26] ARM: tegra: colibri_t30: annotate uarts Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 07/26] ARM: tegra: colibri_t30: white-space clean-up Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 08/26] ARM: tegra: colibri_t30: move dr_mode property from phy to controller Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 09/26] ARM: tegra: colibri_t30: reorder backlight properties Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 10/26] ARM: tegra: colibri_t30: drop pwmleds Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 11/26] ARM: tegra: colibri_t30: pinmux clean-up Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 12/26] ARM: tegra: colibri_t30: add missing pinmux Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 13/26] ARM: tegra: colibri_t30: use proper irq-gpio for stmpe811 Marcel Ziswiler
2018-07-26  8:07   ` Stefan Agner
2018-08-29 14:56     ` Marcel Ziswiler [this message]
2018-07-23 12:36 ` [PATCH 14/26] ARM: tegra: colibri_t30: further lm95245 temperature sensor annotation Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 15/26] ARM: tegra: colibri_t30: add i2c-thermtrip Marcel Ziswiler
2018-07-25 11:14   ` Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 16/26] ARM: tegra: colibri_t30: add proper emmc vmmc and vqmmc supplies Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 17/26] ARM: tegra: colibri_t30: enable emmc ddr52 mode Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 18/26] ARM: tegra: colibri_t30: rename clk to clock Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 19/26] ARM: tegra: colibri_t30: line break long compatible property line Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 20/26] ARM: tegra: colibri_t30: move input include to carrier board Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 21/26] ARM: tegra: colibri_t30: remove unused nvidia,is-wired property Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 22/26] ARM: tegra: colibri_t30: add gpio hog to unreset usb ethernet chip Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 23/26] ARM: tegra: colibri_t30: enable hda over hdmi Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 24/26] ARM: tegra: colibri_t30: annotate sd card detect Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 25/26] ARM: tegra: colibri_t30: annotate ehci instance 1 Marcel Ziswiler
2018-07-23 12:36 ` [PATCH 26/26] ARM: tegra: colibri_t30: update compatibility comment Marcel Ziswiler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1535554617.14664.30.camel@toradex.com \
    --to=marcel.ziswiler@toradex.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jonathanh@nvidia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tegra-owner@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=stefan@agner.ch \
    --cc=thierry.reding@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).