* [PATCH] ARM: dts: at91: sama5d2 Xplained: Correct the macb irq pinctrl node
@ 2016-02-18 10:21 Romain Izard
2016-02-19 13:19 ` Ludovic Desroches
2016-03-01 9:48 ` Nicolas Ferre
0 siblings, 2 replies; 3+ messages in thread
From: Romain Izard @ 2016-02-18 10:21 UTC (permalink / raw)
To: linux-kernel, linux-arm-kernel, devicetree, Nicolas Ferre
Cc: Alexandre Belloni, Linus Walleij, Linux GPIO List, Romain Izard
All pinctrl nodes for the Atmel pinctrl controller need to have their
bias configuration explicitly defined. Otherwise, the pinctrl mapping
is not valid.
It works for now as the pinctrl driver proceeds even with invalid
mappings, but this can become an issue, if the pinctrl driver starts
to require valid mappings. Additionally, the pin is not protected from
being remapped later by an other driver.
There is an external 1kΩ pull-up to 3.3V, so no bias is required on
the Ethernet PHY's interrupt line.
Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>
---
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
index e683856c507c..75341eec2dfd 100644
--- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
@@ -308,6 +308,7 @@
pinctrl_macb0_phy_irq: macb0_phy_irq {
pinmux = <PIN_PC9__GPIO>;
+ bias-disable;
};
pinctrl_pdmic_default: pdmic_default {
--
2.5.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: dts: at91: sama5d2 Xplained: Correct the macb irq pinctrl node
2016-02-18 10:21 [PATCH] ARM: dts: at91: sama5d2 Xplained: Correct the macb irq pinctrl node Romain Izard
@ 2016-02-19 13:19 ` Ludovic Desroches
2016-03-01 9:48 ` Nicolas Ferre
1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Desroches @ 2016-02-19 13:19 UTC (permalink / raw)
To: Romain Izard
Cc: linux-kernel, linux-arm-kernel, devicetree, Nicolas Ferre,
Alexandre Belloni, Linus Walleij, Linux GPIO List
On Thu, Feb 18, 2016 at 11:21:06AM +0100, Romain Izard wrote:
> All pinctrl nodes for the Atmel pinctrl controller need to have their
> bias configuration explicitly defined. Otherwise, the pinctrl mapping
> is not valid.
>
> It works for now as the pinctrl driver proceeds even with invalid
> mappings, but this can become an issue, if the pinctrl driver starts
> to require valid mappings. Additionally, the pin is not protected from
> being remapped later by an other driver.
>
> There is an external 1kΩ pull-up to 3.3V, so no bias is required on
> the Ethernet PHY's interrupt line.
>
> Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Thanks
> ---
> arch/arm/boot/dts/at91-sama5d2_xplained.dts | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
> index e683856c507c..75341eec2dfd 100644
> --- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts
> +++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
> @@ -308,6 +308,7 @@
>
> pinctrl_macb0_phy_irq: macb0_phy_irq {
> pinmux = <PIN_PC9__GPIO>;
> + bias-disable;
> };
>
> pinctrl_pdmic_default: pdmic_default {
> --
> 2.5.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: dts: at91: sama5d2 Xplained: Correct the macb irq pinctrl node
2016-02-18 10:21 [PATCH] ARM: dts: at91: sama5d2 Xplained: Correct the macb irq pinctrl node Romain Izard
2016-02-19 13:19 ` Ludovic Desroches
@ 2016-03-01 9:48 ` Nicolas Ferre
1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Ferre @ 2016-03-01 9:48 UTC (permalink / raw)
To: Romain Izard, linux-kernel, linux-arm-kernel, devicetree
Cc: Alexandre Belloni, Linus Walleij, Linux GPIO List
Le 18/02/2016 11:21, Romain Izard a écrit :
> All pinctrl nodes for the Atmel pinctrl controller need to have their
> bias configuration explicitly defined. Otherwise, the pinctrl mapping
> is not valid.
>
> It works for now as the pinctrl driver proceeds even with invalid
> mappings, but this can become an issue, if the pinctrl driver starts
> to require valid mappings. Additionally, the pin is not protected from
> being remapped later by an other driver.
>
> There is an external 1kΩ pull-up to 3.3V, so no bias is required on
> the Ethernet PHY's interrupt line.
>
> Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
And queued on at91-4.5-dt.
Thanks! Bye,
> ---
> arch/arm/boot/dts/at91-sama5d2_xplained.dts | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
> index e683856c507c..75341eec2dfd 100644
> --- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts
> +++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
> @@ -308,6 +308,7 @@
>
> pinctrl_macb0_phy_irq: macb0_phy_irq {
> pinmux = <PIN_PC9__GPIO>;
> + bias-disable;
> };
>
> pinctrl_pdmic_default: pdmic_default {
>
--
Nicolas Ferre
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-03-01 9:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-18 10:21 [PATCH] ARM: dts: at91: sama5d2 Xplained: Correct the macb irq pinctrl node Romain Izard
2016-02-19 13:19 ` Ludovic Desroches
2016-03-01 9:48 ` Nicolas Ferre
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).