Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1250755
| From | "Tirdea, Irina" <irina.tirdea@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | RE: [PATCH v9 2/9] Input: goodix - reset device at init |
| Date | 2015-10-19 16:40 +0200 |
| Message-ID | <qljLs-7dl-17@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <qj3B8-1vR-13@gated-at.bofh.it> <qj4GS-3km-17@gated-at.bofh.it> <qjnJw-6X9-17@gated-at.bofh.it> <qjspQ-5qz-11@gated-at.bofh.it> <qjuBk-8B-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> -----Original Message----- > From: linux-input-owner@vger.kernel.org [mailto:linux-input-owner@vger.kernel.org] On Behalf Of > mika.westerberg@linux.intel.com > Sent: 14 October, 2015 16:44 > To: Dmitry Torokhov > Cc: Tirdea, Irina; Bastien Nocera; Aleksei Mamlin; Karsten Merker; linux-input@vger.kernel.org; Mark Rutland; Purdila, Octavian; linux- > kernel@vger.kernel.org; devicetree@vger.kernel.org > Subject: Re: [PATCH v9 2/9] Input: goodix - reset device at init > > On Wed, Oct 14, 2015 at 02:18:20PM +0300, mika.westerberg@linux.intel.com wrote: > > On Tue, Oct 13, 2015 at 11:23:03PM -0700, Dmitry Torokhov wrote: > > > I understand why one might use acpi_dev_add_driver_gpios() to augment > > > data in ACPI, however here we have completely different issue: driver > > > that expects named gpios gets returned gpio that has nothing to do with > > > what it requested, because gpiolib acpi code always falls back to > > > unnamed gpio if it does not find named gpio. That can be acceptable if > > > driver uses the same con_id for all requests to gpiolib, but is not > > > working when driver supplies different con_ids. > > > > Right, the ACPI fallback ignores con_id completely and uses only the > > index. > > > > AFAIK there is only one driver using ACPI _CRS index method: > > sdhci-[acpi|pci].c. If we can convert that to use acpi_dev_add_driver_gpios() > > to feed names for card detection GPIOs, I think we can remove the > > fallback alltogether in favor of named GPIOs for ACPI. > > Nah, there seems to be several drivers relying on this already :-/ Would it be possible to add an optional parameter to the GPIO API to specify whether we want to fall back to indexed GPIOs for ACPI? > -- > To unsubscribe from this list: send the line "unsubscribe linux-input" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
RE: [PATCH v9 2/9] Input: goodix - reset device at init "Tirdea, Irina" <irina.tirdea@intel.com> - 2015-10-19 16:40 +0200
Re: [PATCH v9 2/9] Input: goodix - reset device at init "mika.westerberg@linux.intel.com" <mika.westerberg@linux.intel.com> - 2015-10-19 17:00 +0200
Re: [PATCH v9 2/9] Input: goodix - reset device at init Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2015-10-30 17:40 +0100
csiph-web