* PXA2xx and pinctrl
@ 2014-06-16 20:05 Robert Jarzmik
2014-06-17 1:05 ` Haojian Zhuang
0 siblings, 1 reply; 2+ messages in thread
From: Robert Jarzmik @ 2014-06-16 20:05 UTC (permalink / raw)
To: linux-arm-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* PXA2xx and pinctrl
2014-06-16 20:05 PXA2xx and pinctrl Robert Jarzmik
@ 2014-06-17 1:05 ` Haojian Zhuang
0 siblings, 0 replies; 2+ messages in thread
From: Haojian Zhuang @ 2014-06-17 1:05 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Jun 17, 2014 at 4:05 AM, Robert Jarzmik <robert.jarzmik@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.
Regards
Haojian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-17 1:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-16 20:05 PXA2xx and pinctrl Robert Jarzmik
2014-06-17 1:05 ` Haojian Zhuang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).