From: Arnd Bergmann <arnd@arndb.de>
To: "Tirdea, Irina" <irina.tirdea@intel.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Bastien Nocera <hadess@hadess.net>,
Aleksei Mamlin <mamlinav@gmail.com>,
"linux-input@vger.kernel.org" <linux-input@vger.kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
"Purdila, Octavian" <octavian.purdila@intel.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>
Subject: Re: [PATCH v8 0/9] Goodix touchscreen enhancements
Date: Fri, 09 Oct 2015 13:54:50 +0200 [thread overview]
Message-ID: <5056173.1qyR0F9zS3@wuerfel> (raw)
In-Reply-To: <1F3AC3675D538145B1661F571FE1805F2F0FB74F@irsmsx105.ger.corp.intel.com>
On Friday 09 October 2015 11:02:01 Tirdea, Irina wrote:
> > -----Original Message-----
> > From: linux-input-owner@vger.kernel.org [mailto:linux-input-owner@vger.kernel.org] On Behalf Of Arnd Bergmann
> > Sent: 08 October, 2015 17:32
> > To: Tirdea, Irina
> > Cc: Dmitry Torokhov; Bastien Nocera; Aleksei Mamlin; linux-input@vger.kernel.org; Mark Rutland; Purdila, Octavian; linux-
> > kernel@vger.kernel.org; devicetree@vger.kernel.org
> > Subject: Re: [PATCH v8 0/9] Goodix touchscreen enhancements
> >
> > On Thursday 08 October 2015 17:23:42 Irina Tirdea wrote:
> > > Add several enhancements to the Goodix touchscreen driver.
> > >
> > > The new functionality is only available for devices that
> > > declare named gpio pins for interrupt and reset in their
> > > ACPI/DT configuration.
> > >
> > > Thanks,
> > > Irina
> > >
> > > Changes in v8:
> > > - only allow new functionality for devices that declare named
> > > gpios (using _DSD properties in ACPI or named DT properties)
> > >
> > >
> >
> > Looks much cleaner this way, thanks!
> >
> > One remaining question: how would you handle the case where
> > the hardware doesn't support configuring the int-gpios line
> > as output but you still want to use the named gpios?
> >
>
> The only reason to use named gpios is to enable the new functionality
> introduced by this patch set (mainly reset and power management).
> You cannot use only one gpio either (e.g. only reset gpio but not the
> interrupt gpio), you need both for this functionality to work.
>
> If the hardware does not support using the interrupt gpio pin as output,
> it should not declare the named int-gpio pin in ACPI. It is true that
> we might later run into platforms that declare the int-gpio pin even if it
> does not actually work (just like we now have the indexed gpio pins).
> I could have added an additional property for this as you first suggested,
> but if we can modify the ACPI to add it, we could simply remove the
> named interrupt pin instead (that does not work anyway).
Ok, got it. Thanks,
Arnd
next prev parent reply other threads:[~2015-10-09 11:54 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-08 14:23 [PATCH v8 0/9] Goodix touchscreen enhancements Irina Tirdea
2015-10-08 14:23 ` [PATCH v8 1/9] Input: goodix - use actual config length for each device type Irina Tirdea
2015-10-08 14:23 ` [PATCH v8 2/9] Input: goodix - reset device at init Irina Tirdea
2015-10-09 14:22 ` Bastien Nocera
2015-10-10 23:35 ` kbuild test robot
2015-10-08 14:23 ` [PATCH v8 4/9] Input: goodix - add power management support Irina Tirdea
2015-10-08 14:23 ` [PATCH v8 5/9] Input: goodix - use goodix_i2c_write_u8 instead of i2c_master_send Irina Tirdea
2015-10-08 14:23 ` [PATCH v8 6/9] Input: goodix - add support for ESD Irina Tirdea
2015-10-08 14:23 ` [PATCH v8 7/9] Input: goodix - add sysfs interface to dump config Irina Tirdea
2015-10-08 14:23 ` [PATCH v8 8/9] Input: goodix - add runtime power management support Irina Tirdea
2015-10-08 14:23 ` [PATCH v8 9/9] Input: goodix - sort includes using inverse Xmas tree order Irina Tirdea
2015-10-08 14:32 ` [PATCH v8 0/9] Goodix touchscreen enhancements Arnd Bergmann
2015-10-09 11:02 ` Tirdea, Irina
2015-10-09 11:54 ` Arnd Bergmann [this message]
2015-10-09 14:27 ` Bastien Nocera
[not found] ` <1444314231-19206-1-git-send-email-irina.tirdea-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-10-08 14:23 ` [PATCH v8 3/9] Input: goodix - write configuration data to device Irina Tirdea
2015-10-09 16:10 ` [PATCH v8 0/9] Goodix touchscreen enhancements Aleksei Mamlin
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=5056173.1qyR0F9zS3@wuerfel \
--to=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=hadess@hadess.net \
--cc=irina.tirdea@intel.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mamlinav@gmail.com \
--cc=mark.rutland@arm.com \
--cc=octavian.purdila@intel.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