Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1370032 > unrolled thread
| Started by | Robert Jarzmik <robert.jarzmik@free.fr> |
|---|---|
| First post | 2016-04-02 21:00 +0200 |
| Last post | 2016-04-11 22:00 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] ARM: pxa: activate pinctrl for device-tree machines Robert Jarzmik <robert.jarzmik@free.fr> - 2016-04-02 21:00 +0200
Re: [PATCH] ARM: pxa: activate pinctrl for device-tree machines Linus Walleij <linus.walleij@linaro.org> - 2016-04-03 21:20 +0200
Re: [PATCH] ARM: pxa: activate pinctrl for device-tree machines Robert Jarzmik <robert.jarzmik@free.fr> - 2016-04-11 22:00 +0200
| From | Robert Jarzmik <robert.jarzmik@free.fr> |
|---|---|
| Date | 2016-04-02 21:00 +0200 |
| Subject | [PATCH] ARM: pxa: activate pinctrl for device-tree machines |
| Message-ID | <rjyW6-81e-1@gated-at.bofh.it> |
Pincontrol is not yet ready for all PXA platforms. For example, a legacy platform, if PINCTRL was activated, will fail its calls to gpio_request() or gpio_direction_output(), as the pinctrl driver might not be available, such as for pxa25x and pxa3xx. As a step forward, activate pincontrol for all device-tree available machines, ie. pxa27x device-tree based and pxa3xx device-tree based. If it appears later that pincontrol is also required for legacy platforms and if the mfp->pinctrl conversion can be achieved, then PINCTRL will be activated for the whole PXA architecture. Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> --- arch/arm/mach-pxa/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig index 7ee4652b4c61..cd894d69e766 100644 --- a/arch/arm/mach-pxa/Kconfig +++ b/arch/arm/mach-pxa/Kconfig @@ -6,6 +6,7 @@ comment "Intel/Marvell Dev Platforms (sorted by hardware release time)" config MACH_PXA27X_DT bool "Support PXA27x platforms from device tree" + select PINCTRL select POWER_SUPPLY select PXA27x select USE_OF @@ -17,6 +18,7 @@ config MACH_PXA27X_DT config MACH_PXA3XX_DT bool "Support PXA3xx platforms from device tree" select CPU_PXA300 + select PINCTRL select POWER_SUPPLY select PXA3xx select USE_OF -- 2.1.4
[toc] | [next] | [standalone]
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Date | 2016-04-03 21:20 +0200 |
| Message-ID | <rjVIZ-86Q-5@gated-at.bofh.it> |
| In reply to | #1370032 |
On Sat, Apr 2, 2016 at 8:56 PM, Robert Jarzmik <robert.jarzmik@free.fr> wrote: > Pincontrol is not yet ready for all PXA platforms. > For example, a legacy platform, if PINCTRL was activated, will fail its > calls to gpio_request() or gpio_direction_output(), as the pinctrl > driver might not be available, such as for pxa25x and pxa3xx. > > As a step forward, activate pincontrol for all device-tree available > machines, ie. pxa27x device-tree based and pxa3xx device-tree based. > > If it appears later that pincontrol is also required for legacy > platforms and if the mfp->pinctrl conversion can be achieved, then > PINCTRL will be activated for the whole PXA architecture. > > Cc: Linus Walleij <linus.walleij@linaro.org> > Cc: Masahiro Yamada <yamada.masahiro@socionext.com> > Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Linus Walleij <linus.walleij@linaro.org> Yours, Linus Walleij
[toc] | [prev] | [next] | [standalone]
| From | Robert Jarzmik <robert.jarzmik@free.fr> |
|---|---|
| Date | 2016-04-11 22:00 +0200 |
| Message-ID | <rmQa6-2Qx-9@gated-at.bofh.it> |
| In reply to | #1370275 |
Linus Walleij <linus.walleij@linaro.org> writes: > On Sat, Apr 2, 2016 at 8:56 PM, Robert Jarzmik <robert.jarzmik@free.fr> wrote: > >> Pincontrol is not yet ready for all PXA platforms. >> For example, a legacy platform, if PINCTRL was activated, will fail its >> calls to gpio_request() or gpio_direction_output(), as the pinctrl >> driver might not be available, such as for pxa25x and pxa3xx. >> >> As a step forward, activate pincontrol for all device-tree available >> machines, ie. pxa27x device-tree based and pxa3xx device-tree based. >> >> If it appears later that pincontrol is also required for legacy >> platforms and if the mfp->pinctrl conversion can be achieved, then >> PINCTRL will be activated for the whole PXA architecture. >> >> Cc: Linus Walleij <linus.walleij@linaro.org> >> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> >> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> > > Acked-by: Linus Walleij <linus.walleij@linaro.org> Thanks, queued to pxa/for-next. Cheers. -- Robert
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web