PXA2xx and pinctrl

Haojian Zhuang haojian.zhuang at gmail.com
Mon Jun 16 18:05:40 PDT 2014

On Tue, Jun 17, 2014 at 4:05 AM, Robert Jarzmik <robert.jarzmik at free.fr> wrote:
> Hi Haojian, Eric,
> In my current work of porting things here and there to device-tree for PXA27x,
> I'm considering mfp-pxa2xx for pinctrl integration.
> I'm wondering if you see before hand any blocking point that can't be addressed
> and which prevents pxa2xx to be converted to pinctrl inftrastructure.
> And if no blocking point arises, how easy would it be according to your
> knowledge to still offer legacy mfp_* APIs, and replace the functions by
> pinctrl_*() calls ?
> Cheers.
> --
> Robert

1. GPDRx & GAFRx are used together to configure alternate function on
PXA2xx pins.

2. GPIOx_2 can also work as GPIOx.

If you define two logic pins binds to one real pin, and define pin
tables in DTS, you can
re-use the pinctrl-single driver. Otherwise, you need to write a new
pinctrl driver.


More information about the linux-arm-kernel mailing list