devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: Corentin Labbe <clabbe.montjoie@gmail.com>
Cc: robh+dt@kernel.org, mark.rutland@arm.com, wens@csie.org,
	linux@armlinux.org.uk, catalin.marinas@arm.com,
	will.deacon@arm.com, peppe.cavallaro@st.com,
	alexandre.torgue@st.com, andrew@lunn.ch, f.fainelli@gmail.com,
	netdev@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v9 04/10] arm: dts: sunxi: h3/h5: represent the mdio switch used by sun8i-h3-emac
Date: Fri, 27 Oct 2017 17:12:20 +0200	[thread overview]
Message-ID: <20171027151220.m3vbtqd22bbupvpe@flea> (raw)
In-Reply-To: <20171024175714.15840-5-clabbe.montjoie@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1360 bytes --]

Hi,

The prefix should be ARM, uppercase.

On Tue, Oct 24, 2017 at 07:57:08PM +0200, Corentin Labbe wrote:
> Since dwmac-sun8i could use either an integrated PHY or an external PHY
> (which could be at same MDIO address), we need to represent this selection
> by a MDIO switch.
> 
> Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
> ---
>  arch/arm/boot/dts/sunxi-h3-h5.dtsi | 32 +++++++++++++++++++++++++++-----
>  1 file changed, 27 insertions(+), 5 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
> index d762098fc589..0e97df490aba 100644
> --- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi
> +++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
> @@ -422,14 +422,36 @@
>  			#size-cells = <0>;
>  			status = "disabled";
>  
> -			mdio: mdio {
> +			mdio0: mdio {
>  				#address-cells = <1>;
>  				#size-cells = <0>;
> -				int_mii_phy: ethernet-phy@1 {
> -					compatible = "ethernet-phy-ieee802.3-c22";
> +				compatible = "snps,dwmac-mdio";
> +			};
> +
> +			mdio-mux {
> +				compatible = "allwinner,sun8i-h3-mdio-mux";
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				mdio-parent-bus = <&mdio0>;

And you should have a line here.

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

  parent reply	other threads:[~2017-10-27 15:12 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-24 17:57 [PATCH v9 00/10] net: stmmac: dwmac-sun8i: Handle integrated PHY Corentin Labbe
2017-10-24 17:57 ` [PATCH v9 01/10] dt-bindings: net: Restore sun8i dwmac binding Corentin Labbe
2017-10-24 17:57 ` [PATCH v9 02/10] dt-bindings: net: dwmac-sun8i: update documentation about integrated PHY Corentin Labbe
2017-10-26  9:53   ` Andrew Lunn
2017-10-27 14:37   ` Rob Herring
2017-10-30 18:35     ` Corentin Labbe
     [not found] ` <20171024175714.15840-1-clabbe.montjoie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-10-24 17:57   ` [PATCH v9 03/10] arm: dts: sunxi: h3/h5: Restore EMAC changes Corentin Labbe
2017-10-24 17:57   ` [PATCH v9 08/10] net: stmmac: snps,dwmac-mdio MDIOs are automatically registered Corentin Labbe
2017-10-24 17:57   ` [PATCH v9 10/10] net: stmmac: sun8i: Restore the compatibles Corentin Labbe
2017-10-24 17:57 ` [PATCH v9 04/10] arm: dts: sunxi: h3/h5: represent the mdio switch used by sun8i-h3-emac Corentin Labbe
2017-10-26  9:54   ` Andrew Lunn
     [not found]     ` <20171026095411.GJ20299-g2DYL2Zd6BY@public.gmane.org>
2017-10-26  9:56       ` Don Baton
2017-10-27 15:12   ` Maxime Ripard [this message]
2017-10-24 17:57 ` [PATCH v9 05/10] arm: dts: sunxi: Restore EMAC changes (boards) Corentin Labbe
2017-10-24 17:57 ` [PATCH v9 06/10] arm64: dts: allwinner: Restore EMAC changes Corentin Labbe
2017-10-27 15:11   ` Maxime Ripard
2017-10-30 18:51     ` Corentin Labbe
2017-10-24 17:57 ` [PATCH v9 07/10] arm64: dts: allwinner: add snps,dwmac-mdio compatible to emac/mdio Corentin Labbe
2017-10-24 17:57 ` [PATCH v9 09/10] net: stmmac: dwmac-sun8i: Handle integrated/external MDIOs Corentin Labbe
     [not found]   ` <20171024175714.15840-10-clabbe.montjoie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-10-26  9:57     ` Andrew Lunn
2017-10-27  3:01 ` [PATCH v9 00/10] net: stmmac: dwmac-sun8i: Handle integrated PHY David Miller

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=20171027151220.m3vbtqd22bbupvpe@flea \
    --to=maxime.ripard@free-electrons.com \
    --cc=alexandre.torgue@st.com \
    --cc=andrew@lunn.ch \
    --cc=catalin.marinas@arm.com \
    --cc=clabbe.montjoie@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=f.fainelli@gmail.com \
    --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;
as well as URLs for NNTP newsgroup(s).