[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200129.115131.1101786807458791369.davem@davemloft.net>
Date: Wed, 29 Jan 2020 11:51:31 +0100 (CET)
From: David Miller <davem@...emloft.net>
To: christophe.roullier@...com
Cc: joabreu@...opsys.com, mcoquelin.stm32@...il.com,
alexandre.torgue@...com, peppe.cavallaro@...com,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-stm32@...md-mailman.stormreply.com, netdev@...r.kernel.org
Subject: Re: [PATCH 1/1] net: ethernet: stmmac: simplify phy modes
management for stm32
From: Christophe Roullier <christophe.roullier@...com>
Date: Tue, 28 Jan 2020 09:39:42 +0100
> No new feature, just to simplify stm32 part to be easier to use.
> Add by default all Ethernet clocks in DT, and activate or not in function
> of phy mode, clock frequency, if property "st,ext-phyclk" is set or not.
> Keep backward compatibility
> -----------------------------------------------------------------------
> |PHY_MODE | Normal | PHY wo crystal| PHY wo crystal | No 125Mhz |
> | | | 25MHz | 50MHz | from PHY |
> -----------------------------------------------------------------------
> | MII | - | eth-ck | n/a | n/a |
> | | | st,ext-phyclk | | |
> -----------------------------------------------------------------------
> | GMII | - | eth-ck | n/a | n/a |
> | | | st,ext-phyclk | | |
> -----------------------------------------------------------------------
> | RGMII | - | eth-ck | n/a | eth-ck |
> | | | st,ext-phyclk | |st,eth-clk-sel|
> | | | | | or |
> | | | | | st,ext-phyclk|
> ------------------------------------------------------------------------
> | RMII | - | eth-ck | eth-ck | n/a |
> | | | st,ext-phyclk | st,eth-ref-clk-sel | |
> | | | | or st,ext-phyclk | |
> ------------------------------------------------------------------------
>
> Signed-off-by: Christophe Roullier <christophe.roullier@...com>
If anything, this is more of a cleanup, and therefore only appropriate for
net-next when it opens back up.
Powered by blists - more mailing lists