From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Hershberger Date: Mon, 30 Jul 2018 16:43:46 -0500 Subject: [U-Boot] [PATCH v2 6/6] driver: net: fsl-mc: Add support of multiple phys for dpmac In-Reply-To: <20180730131505.16872-7-pankaj.bansal@nxp.com> References: <20180713144036.17606-1-pankaj.bansal@nxp.com> <20180730131505.16872-1-pankaj.bansal@nxp.com> <20180730131505.16872-7-pankaj.bansal@nxp.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Jul 30, 2018 at 8:15 AM, Pankaj Bansal wrote: > Till now we have had cases where we had one phy device per dpmac. > Now, with the upcoming products (LX2160AQDS), we have cases, where there > are sometimes two phy devices for one dpmac. One phy for TX lanes and > one phy for RX lanes. to handle such cases, add the support for multiple > phys in ethernet driver. The ethernet link is up if all the phy devices > connected to one dpmac report link up. also the link capabilities are > limited by the weakest phy device. > > i.e. say if there are two phys for one dpmac. one operates at 10G without > autoneg and other operate at 1G with autoneg. Then the ethernet interface > will operate at 1G without autoneg. > > Signed-off-by: Pankaj Bansal Acked-by: Joe Hershberger