From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: Corentin Labbe <clabbe.montjoie@gmail.com>
Cc: mark.rutland@arm.com, devicetree@vger.kernel.org,
alexandre.torgue@st.com, catalin.marinas@arm.com,
will.deacon@arm.com, linux@armlinux.org.uk,
linux-kernel@vger.kernel.org, wens@csie.org, robh+dt@kernel.org,
netdev@vger.kernel.org, peppe.cavallaro@st.com,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v3 12/20] ARM: dts: sun8i: Enable dwmac-sun8i on the Orange Pi plus
Date: Mon, 3 Apr 2017 13:37:21 +0200 [thread overview]
Message-ID: <20170403113721.nijh2uwgepfkrpm4@lukather> (raw)
In-Reply-To: <20170403091444.29876-13-clabbe.montjoie@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1693 bytes --]
On Mon, Apr 03, 2017 at 11:14:36AM +0200, Corentin Labbe wrote:
> The dwmac-sun8i hardware is present on the Orange PI plus.
> It uses an external PHY rtl8211e via RGMII.
>
> This patch create the needed regulator, emac and phy nodes.
>
> Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
> ---
> arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts | 36 ++++++++++++++++++++++++++++
> 1 file changed, 36 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
> index 8c40ab7..6852006 100644
> --- a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
> +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
> @@ -58,6 +58,18 @@
> enable-active-high;
> gpio = <&pio 6 11 GPIO_ACTIVE_HIGH>;
> };
> +
> + reg_gmac_3v3: gmac-3v3 {
> + compatible = "regulator-fixed";
> + pinctrl-names = "default";
> + pinctrl-0 = <&gmac_power_pin_orangepi>;
> + regulator-name = "gmac-3v3";
> + regulator-min-microvolt = <3300000>;
> + regulator-max-microvolt = <3300000>;
> + startup-delay-us = <100000>;
> + enable-active-high;
> + gpio = <&pio 3 6 GPIO_ACTIVE_HIGH>;
> + };
> };
>
> &ehci3 {
> @@ -86,8 +98,32 @@
> pins = "PG11";
> function = "gpio_out";
> };
> +
> + gmac_power_pin_orangepi: gmac_power_pin@0 {
> + pins = "PD6";
> + function = "gpio_out";
> + drive-strength = <10>;
> + };
This is not needed, and will even harm the fixing of a bug that will
require to remove all the GPIO nodes. It works fine without it, please
remove it.
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2017-04-03 11:37 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-03 9:14 [PATCH v3 00/20] net-next: stmmac: add dwmac-sun8i ethernet driver Corentin Labbe
2017-04-03 9:14 ` [PATCH v3 01/20] net: stmmac: export stmmac_set_mac_addr/stmmac_get_mac_addr Corentin Labbe
2017-04-03 12:39 ` Giuseppe CAVALLARO
[not found] ` <9514c077-1738-ea49-ca18-fbc46bac6144-qxv4g6HH51o@public.gmane.org>
2017-04-12 7:42 ` Corentin Labbe
2017-04-03 9:14 ` [PATCH v3 02/20] net: stmmac: add optional setup function Corentin Labbe
[not found] ` <20170403091444.29876-3-clabbe.montjoie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-04-03 12:32 ` Giuseppe CAVALLARO
[not found] ` <262f763b-d158-dd77-3dba-1d7b90a1eef9-qxv4g6HH51o@public.gmane.org>
2017-04-07 12:51 ` Corentin Labbe
2017-04-03 9:14 ` [PATCH v3 03/20] dt-bindings: net: Add DT bindings documentation for Allwinner dwmac-sun8i Corentin Labbe
[not found] ` <20170403091444.29876-4-clabbe.montjoie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-04-03 11:19 ` Maxime Ripard
2017-04-03 9:14 ` [PATCH v3 04/20] ARM: sun8i: dt: Add DT bindings documentation for Allwinner syscon Corentin Labbe
[not found] ` <20170403091444.29876-5-clabbe.montjoie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-04-03 11:19 ` Maxime Ripard
2017-04-07 12:50 ` Corentin Labbe
2017-04-03 9:14 ` [PATCH v3 05/20] net: stmmac: Add dwmac-sun8i Corentin Labbe
2017-04-03 9:14 ` [PATCH v3 06/20] ARM: dts: sunxi-h3-h5: Add dt node for the syscon control module Corentin Labbe
2017-04-03 9:14 ` [PATCH v3 08/20] ARM: dts: sun8i: Enable dwmac-sun8i on the Banana Pi M2+ Corentin Labbe
2017-04-03 9:14 ` [PATCH v3 09/20] ARM: dts: sun8i: Enable dwmac-sun8i on the Orange PI PC Corentin Labbe
2017-04-03 9:14 ` [PATCH v3 10/20] ARM: dts: sun8i: Enable dwmac-sun8i on the Orange Pi 2 Corentin Labbe
2017-04-03 9:14 ` [PATCH v3 11/20] ARM: dts: sun8i: Enable dwmac-sun8i on the Orange PI One Corentin Labbe
2017-04-03 9:14 ` [PATCH v3 13/20] ARM: dts: sun8i: orangepi-pc-plus: Set EMAC activity LEDs to active high Corentin Labbe
2017-04-03 9:14 ` [PATCH v3 14/20] ARM64: dts: sun50i-a64: Add dt node for the syscon control module Corentin Labbe
[not found] ` <20170403091444.29876-1-clabbe.montjoie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-04-03 9:14 ` [PATCH v3 07/20] ARM: dts: sunxi-h3-h5: add dwmac-sun8i ethernet driver Corentin Labbe
2017-04-03 9:14 ` [PATCH v3 12/20] ARM: dts: sun8i: Enable dwmac-sun8i on the Orange Pi plus Corentin Labbe
2017-04-03 11:37 ` Maxime Ripard [this message]
2017-04-03 9:14 ` [PATCH v3 15/20] ARM64: dts: sun50i-a64: add dwmac-sun8i Ethernet driver Corentin Labbe
2017-04-03 9:14 ` [PATCH v3 16/20] ARM: dts: sun50i-a64: enable dwmac-sun8i on pine64 Corentin Labbe
[not found] ` <20170403091444.29876-17-clabbe.montjoie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-04-03 11:38 ` Maxime Ripard
2017-04-07 12:48 ` Corentin Labbe
2017-04-03 9:14 ` [PATCH v3 17/20] ARM: dts: sun50i-a64: enable dwmac-sun8i on pine64 plus Corentin Labbe
2017-04-03 9:14 ` [PATCH v3 18/20] ARM: dts: sun50i-a64: enable dwmac-sun8i on the BananaPi M64 Corentin Labbe
2017-04-03 9:14 ` [PATCH v3 19/20] ARM: sunxi: Enable dwmac-sun8i driver on sunxi_defconfig Corentin Labbe
2017-04-03 9:14 ` [PATCH v3 20/20] ARM: sunxi: Enable dwmac-sun8i driver on multi_v7_defconfig Corentin Labbe
2017-04-03 11:39 ` Maxime Ripard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170403113721.nijh2uwgepfkrpm4@lukather \
--to=maxime.ripard@free-electrons.com \
--cc=alexandre.torgue@st.com \
--cc=catalin.marinas@arm.com \
--cc=clabbe.montjoie@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mark.rutland@arm.com \
--cc=netdev@vger.kernel.org \
--cc=peppe.cavallaro@st.com \
--cc=robh+dt@kernel.org \
--cc=wens@csie.org \
--cc=will.deacon@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox