On Wed, 04 Mar 2015 10:21:26 +0100 Bastien Nocera <hadess@xxxxxxxxxx> wrote: > On Wed, 2015-03-04 at 11:33 +0300, Aleksei Mamlin wrote: > > This patch adds device tree support for Goodix GT9xx series > > touchscreen controller. > > <snip> > > diff --git a/drivers/input/touchscreen/Kconfig > > b/drivers/input/touchscreen/Kconfig > > index 5891752..7a6ab8c 100644 > > --- a/drivers/input/touchscreen/Kconfig > > +++ b/drivers/input/touchscreen/Kconfig > > @@ -297,7 +297,7 @@ config TOUCHSCREEN_FUJITSU > > > > config TOUCHSCREEN_GOODIX > > tristate "Goodix I2C touchscreen" > > - depends on I2C && ACPI > > + depends on I2C > > Any way to say depends on I2C && (ACPI || OF) ? > Hi Bastien, I only see something like this in _one_ driver under drivers/: drivers/net/phy/Kconfig: depends on (OF || ACPI) && HAS_IOMEM I guess this is because "depends" is about compilation requirements rather than runtime ones? The driver should still compile fine without either ACPI or OF with the appropriate guards in place, so I'd rather leave this hunk as Aleksei proposed. Ciao, Antonio > > help > > Say Y here if you have the Goodix > > touchscreen (such as one > > installed in Onda v975w tablets) connected > > to your > > Can you update the description to add the newly supported devices to > the list? > > Cheers > -- > To unsubscribe from this list: send the line "unsubscribe linux-input" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Antonio Ospite http://ao2.it A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing? -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html