PXA2xx and pinctrl
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.
Signature · 1 line
Robert
Quoted 8 lines · Robert Jarzmik
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.
Quoted 8 lines
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.
Regards
Haojian