Skip to contentSkip to conversation

PXA2xx and pinctrl

DISCUSSION Robert Jarzmik 2 participants 2 messages Jun 16, 2014 – Jun 17, 2014

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw
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