[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdYD7b36-of+RMGKG=1t1gr+3gz_BuimqGK1egH2t_Oybw@mail.gmail.com>
Date: Tue, 17 Apr 2012 21:31:51 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Diego Elio Pettenò <flameeyes@...meeyes.eu>
Cc: Grant Likely <grant.likely@...retlab.ca>,
guillaume ligneul <guillaume.ligneul@...lis.com>,
Linus Walleij <linus.walleij@...ricsson.com>,
Guenter Roeck <guenter.roeck@...csson.com>,
Jean Delvare <khali@...ux-fr.org>,
Wim Van Sebroeck <wim@...ana.be>,
Denis Turischev <denis@...pulab.co.il>,
linux-kernel@...r.kernel.org, linux-watchdog@...r.kernel.org
Subject: Re: [RFC] IT87xx GPIO and other drivers
On Tue, Apr 17, 2012 at 4:51 PM, Diego Elio Pettenò
<flameeyes@...meeyes.eu> wrote:
> Does that mean that when the user enables the MFD, they get gpio,
> pinctrl and watchdog at once, or should it still have multiple Kconfig
> entries which select it?
No I just meant that the driver file in drivers/pinctrl/pinctrl-it87.c should
implement pinctrl, gpiolib (struct gpio_chip) and any GPIO
IRQs (struct irq_chip) in that one and the same file.
The MFD device will spawn cells/children as usual for HWMON and
other stuff, but the cell named "pinctrl-it87" (or however you
name it) should take care of all the pinctrl and GPIO stuff.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists