Messages in this thread | | | Date | Thu, 6 Nov 2014 08:07:13 +0200 | From | Mika Westerberg <> | Subject | Re: [PATCH v2 0/2] pinctrl: Intel Cherryview/Braswell support |
| |
On Wed, Nov 05, 2014 at 01:44:24PM -0800, Olof Johansson wrote: > Pinctrl setup has traditionally always been done by firmware on x86, > and some ARM platforms are again moving back to that state (since > reconfiguring pinctrl in the kernel is in some cases not safe). > > What's the purpose of exposing this to the kernel on x86 now? I can > see the need to expose GPIO, but not pinctrl? Having the pin control > hidden away in firmware has been one of the benefits on x86, and > you're now undoing it... :)
Well, the hardware is actually a pin controller so it can configure pins in different way.
In addition to that we still do expect that the pins are configured by the BIOS for the time being. The advantage of having pinctrl driver is more like fixing things that the BIOS got wrong (like for example SPI pins that were muxed as GPIOs), not to reconfigure everything.
Plus it has really nice debugfs interface :-)
| |